From 24c4ae641085461fa14791f420ce584b4b4405b8 Mon Sep 17 00:00:00 2001 From: Michael Ingraham <34340210+meingraham@users.noreply.github.com> Date: Fri, 19 Apr 2019 10:08:27 -0400 Subject: [PATCH] Updated MQTT Features (markdown) --- MQTT-Features.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MQTT-Features.md b/MQTT-Features.md index 26f6a2fc..53f838c2 100644 --- a/MQTT-Features.md +++ b/MQTT-Features.md @@ -6,11 +6,11 @@ Sonoff responds to the following MQTT commands using MQTT Topic for ```cmnd/sono - The telemetry messages can also be sent with the retain flag, but this is a compile time option. See [#1071](https://github.com/arendst/Sonoff-Tasmota/issues/1071). -- For sonoff dual or 4CH the relays need to be addressed with ```cmnd/sonoff/power{n}```, where {n} is the relay number from 1 to 2(dual) or from 1 to 4(4CH). +- For Sonoff Dual or 4CH the relays need to be addressed with `cmnd/sonoff/power`, where `` is the relay number from 1 to 2 (Dual) or from 1 to 4 (4CH). - The MQTT topic can be changed with ```cmnd/sonoff/topic sonoff1``` which reboots sonoff and makes it available for MQTT commands like ```cmnd/sonoff1/power on```. -- The OTA firmware location can be made known to sonoff with ```cmnd/sonoff/otaurl http://domus1:80/api/sonoff/sonoff.ino.bin``` where domus1 is your webserver hosting the firmware. Reset to default with ```cmnd/sonoff/otaurl 1```. +- The OTA firmware location can be made known to sonoff with ```cmnd/sonoff/otaurl http://domus1:80/api/sonoff/sonoff.ino.bin``` where domus1 is your web server hosting the firmware. Reset to default with ```cmnd/sonoff/otaurl 1```. - Upgrade OTA firmware with ```cmnd/sonoff/upgrade 1```. @@ -18,7 +18,7 @@ Sonoff responds to the following MQTT commands using MQTT Topic for ```cmnd/sono - The button can send a MQTT message to the broker that in turn will switch the relay. To configure this you need to perform ```cmnd/sonoff/ButtonTopic sonoff``` where sonoff equals to Topic. The message can also be provided with the retain flag by ```cmnd/sonoff/ButtonRetain on```. -- Sonoff Pow status can be retreived with ```cmnd/sonoff/status 8``` or periodically every 5 minutes using ```cmnd/sonoff/TelePeriod 300```. +- Sonoff Pow status can be retrieved with ```cmnd/sonoff/status 8``` or periodically every 5 minutes using ```cmnd/sonoff/TelePeriod 300```. - When a Sonoff Pow threshold like PowerLow has been met a message ```tele/sonoff/POWER_LOW ON``` will be sent. When the error is corrected a message ```tele/sonoff/POWER_LOW OFF``` will be sent.