Updated Button usage (markdown)

blakadder 2019-02-23 11:11:38 +01:00
parent 677064270c
commit 2f51853345
1 changed files with 1 additions and 1 deletions

@ -2,7 +2,7 @@ The main button on a Sonoff-Tasmota flashed module provides the following functi
- **1 short press:** Toggles the relay either directly or by sending a MQTT message like ```cmnd/sonoff/POWER1 ON```. This will blink the LED twice and sends a MQTT status message like ```stat/sonoff/POWER1 ON```. If ```cmnd/sonoff/ButtonRetain on``` has been used the MQTT message will also contain the MQTT retain flag.
- **2 short presses:** Toggles the relay 2 if available on the device (for example [Sonoff Dual](Sonoff-Dual)). This will blink the LED twice and sends a MQTT status message like ```stat/sonoff/POWER2 on```.
- **2 short presses:** Toggles the relay 2 if available on the device. This will blink the LED twice and sends a MQTT status message like ```stat/sonoff/POWER2 on```.
- **3 short presses:** Start Wi-Fi smartconfig allowing for SSID and Password configuration using an Android mobile phone with the [ESP8266 SmartConfig](https://play.google.com/store/apps/details?id=com.cmmakerclub.iot.esptouch) app. The LED will blink during the config period. A single button press during this period will abort and restart sonoff.