diff --git a/MQTT.md b/MQTT.md index 885011f5..500c3889 100644 --- a/MQTT.md +++ b/MQTT.md @@ -51,7 +51,7 @@ By looking at the [commands](commands) table we can learn about the [Power](comm * Ask the device for status: ```java cmnd/sonoff-switch/Power ← // an empty message/payload sends a status query - ↳ cmnd/sonoff-switch/RESULT → {"POWER":"OFF"} + ↳ stat/sonoff-switch/RESULT → {"POWER":"OFF"} ↳ stat/sonoff-switch/POWER → OFF ``` We can see that the module's relay is turned off. @@ -60,7 +60,7 @@ By looking at the [commands](commands) table we can learn about the [Power](comm ```java cmnd/sonoff-switch/Power ← "TOGGLE" ↳ // Power for relay 1 is toggled - ↳ cmnd/sonoff-switch/RESULT → {"POWER":"ON"} + ↳ stat/sonoff-switch/RESULT → {"POWER":"ON"} ↳ stat/sonoff-switch/POWER → ON ``` We've sent the toggle command and received confirmation that the switch is turned on.