Files

985 B

name, version
name version
tasmota-http-api 1.0.0

Tasmota HTTP API Command Reference

Core cmnd commands

Command Description Example
Power ON Turn plug on http://<ip>/cmnd?Power=ON
Power OFF Turn plug off http://<ip>/cmnd?Power=OFF
Power TOGGLE Toggle state http://<ip>/cmnd?Power=TOGGLE
Status 1 Read current state http://<ip>/ (returns JSON with Status field)
GetConfig Read configuration http://<ip>/cmnd?GetConfig
Restart Reboot the plug http://<ip>/cmnd?Restart

Optional backlog command

| Backlog | Execute multiple commands separated by ; | http://<ip>/cmnd?Backlog=Power%20ON;%20Status%201 |

Full URL format

http://<tasmota-ip>/?cmnd=<command>

Notes

  • Tasmota ignores unknown cmnd values gracefully
  • Some commands require the plug to be powered and network-responsive
  • Use Status 1 after any command to verify execution ",