Sonoff / Tasmota ...quick and dirty


Switch state after loss of power / initial boot

poweronstate 3 (at boot switch will be set to the last known state before loss of power or restart)
poweronstate 4 (switch will be always set to ON, toggle will be disabled)

Set network addresses

IPAddress1   (set IP address)
IPAddress2    (set Gateway)
IPAddress3  (set Netmask)
IPAddress4    (set DNS Server)


restart 1