Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

> cp -R * ~/Documents/Arduino/libraries/.


  • Startup the Arduino IDE
  • Open sonoff.ino
  • Update parameters in user_config.h. These will be the default values for SSID, etc.


  • Set Board Info


  • Connect the Sonoff device to a USB port while holding down the button. This will put it in flash mode.

...

See https://github.com/arendst/Sonoff-Tasmota/wiki/Arduino-IDE


Commands


http://HOST/cm?user=USER&password=PASSWORD&cmnd=Power%20TOGGLE

CommandDescriptionOutput
Power%20TOGGLEToggle Power
{"POWER":"OFF"}
{"POWER":"ON"}

Power%20On

Power On
{"POWER":"ON"}

Power%20Off

Power Off
{"POWER":"OFF"}
PowerPower status
{"POWER":"ON"}
FriendlyNameDisplay Friendly name
{"FriendlyName1":"Sonoff"}







See https://github.com/arendst/Sonoff-Tasmota/wiki/Commands for the full list.

References