Flash ESPEasy with a FTDI adapter
sudo apt-get install -y unzip wget python-minimal python-serial wget -q https://codeload.github.com/espressif/esptool/zip/master -qO /tmp/espressif.zip unzip /tmp/espressif.zip -d /tmp wget http://www.letscontrolit.com/downloads/ESPEasy_R147_RC8.zip -qO /tmp/ESPEasy_R147_RC8.zip unzip /tmp/ESPEasy_R147_RC8.zip -d /tmp /tmp/esptool-master/esptool.py --port /dev/ttyUSB0 write_flash --flash_mode dio --flash_size 1MB 0x0 /tmp/ESPEasy_R147_1024.bin
Connect to temporary WiFi access point
SSID: ESP_0
pass: configesp
Configure connect to your WiFi access point
http://192.168.4.1/setup
Commands
# on
http://192.168.178.10/tools?cmd=gpio,12,1
# off
http://192.168.178.10/tools?cmd=gpio,12,0
Fix
Hidden rules page
http://192.168.178.10/rules
Links
https://wiki.fhem.de/w/index.php?title=Sonoff
https://wiki.fhem.de/wiki/Sonoff#Produkt.C3.BCbersichtsliste_sonoff
https://github.com/espressif/esptool
https://waschto.eu/easyesp
https://www.letscontrolit.com
https://github.com/arendst/Sonoff-MQTT-OTA
https://forum.fhem.de/index.php/topic,55036.90.html
http://captain-slow.dk/2016/05/22/replacing-the-itead-sonoff-firmware/