Tasmota on Sonoff S31 using NodeMCU

Wiki.TerraBase.info
Jump to navigation Jump to search
  • Disassemble: Remove grey Cap with spooger (or equivalent), then unscrew three obvious screws, slide out 'slides', pull off cover
  • Attach Serial Communication Cables ( x 4), from closest top corner of PCB: VCC, RX, TX, skip, skip, Ground (IE that's what's printed on the PCB)
  • Plug in Serial Communication Device (TTL), but FIRST: "Push the Button Max!" (to put the Sonoff device into 'Flash Mode')
  • Start NodeMCU: Set Serial COM Port, Select .bin file, Dual Output (DOUT), yes, wipes all data
  • ...wait
  • Unplug Serial Communication Device and plug it back in (IE, restart / reboot Sonoff / Tasmota device), no need to plug it into 120V, power comes through Serial Communication Device.
  • Look for Tasmota (or maybe Sonoff for older firmware) with a WiFi Device (Computer or Phone or Whatever) and connect
  • Most devices will automatically open a Browser window, if not, look for WiFi IP Address and associated Default Gateway (should be the Sonoff / Tasmota device), navigate to that IP Address (192.168.4.1 on newer firmware, as of 01.2025).
  • In Web GUI for Sonoff / Tasmota device, connect to a WiFi Network
  • If Sonoff / Tasmota device connects successfully, it should display new IP Address (of local WiFi network Sonoff / Tasmota device is connected to) and should then redirect to that same IP Address. Whatever WiFi Client Device was connected to Sonoff / Tasmota device will be disconnected.
  • TIP: If moving a Sonoff / Tasmota device to another "LAN", it is usually safer to configure the "new LAN's" WiFi Access Point (if using something like OpenWRT) with the Sonoff / Tasmota's 'previous' WiFi AP SSID and Password, then reconfigure the Sonoff / Tasmota to connect to the new WiFi AP
  • OR, configure the secondary WiFi AP info (SSID / Password) within the Tasmota / Sonoff GUI.

https://www.youtube.com/watch?v=08_GBROKQH0

https://www.adventurousway.com/blog/sonoff-s31

https://github.com/arendst/Tasmota-firmware/tree/firmware/release-firmware/tasmota

https://github.com/arendst/Tasmota/releases