--- name: tasmota-http-api version: 1.0.0 --- # Tasmota HTTP API Command Reference ## Core `cmnd` commands | Command | Description | Example | |---------|-------------|---------| | `Power ON` | Turn plug on | `http:///cmnd?Power=ON` | | `Power OFF` | Turn plug off | `http:///cmnd?Power=OFF` | | `Power TOGGLE` | Toggle state | `http:///cmnd?Power=TOGGLE` | | `Status 1` | Read current state | `http:///` (returns JSON with `Status` field) | | `GetConfig` | Read configuration | `http:///cmnd?GetConfig` | | `Restart` | Reboot the plug | `http:///cmnd?Restart` | ## Optional `backlog` command | `Backlog` | Execute multiple commands separated by `;` | `http:///cmnd?Backlog=Power%20ON;%20Status%201` | ## Full URL format ``` http:///?cmnd= ``` ## 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 ",