You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Overview

A Sonoff device running the Tasmota firmware can be configured using the web console.

Commands


CommandDescriptionExample
PulseTimeSet the relay to turn off after a number of seconds +100.

> PulseTime 400 (turn off after 5 minutes)

> PulseTime 1300 (turn off after 20 minutes [20*60+100] )

SwitchMode

Set the switch mode of the device

0=Togle

1=Follow

2=Follow Inverted

...

> SwitchMode 1

> SwitchMode1 1

>SwitchMode2 1

LedState

Set the LED

0 = Disable the LED

1 = Show power state on led 

...

> LedState 0 (disable LED)


Web Commands

CommandDescription
http://sonoff/cm?user=USER&password=PASS&cmnd=status%2010

Output status:

{

  • StatusSNS: {
    • Time"2018-06-12T20:25:09",

    • DS18B20: {
      • Temperature25.3

      },
    • TempUnit"C"

    }

}




Reference




  • No labels