Updated Commands (markdown)

blakadder 2019-02-22 22:54:21 +01:00
parent 84658a0793
commit d2e3c21a98
1 changed files with 6 additions and 6 deletions

@ -2,7 +2,7 @@
* [**Device Control**](#control)
* [**Management and Configuration**](#management)
* [**Wi-Fi**](#Wi-Fi)
* [**MQTT**](#mqtt-configuration)
* [**MQTT**](#mqtt)
* [**Rules**](#rules)
* [**Timers**](#timers)
* [**Sensors**](#sensor)
@ -18,7 +18,7 @@
The Sonoff-Tasmota firmware provides three powerful man machine interfaces:<BR>**MQTT**, **web** and **serial**.
## MQTT
### Commands via MQTT
To send commands and view responses you'll need an [MQTT client](http://www.hivemq.com/blog/seven-best-mqtt-client-tools).
@ -26,7 +26,7 @@ Commands over MQTT are issued by using `cmnd/%topic%/<command> <parameter>`. If
See [MQTT](MQTT) wiki to find out more.
## Web
## Commands via Web
Commands can be executed via HTTP requests, for example:
@ -40,10 +40,10 @@ If you have set a password for web user interface access, this must be included
```
http://sonoff/cm?&user=put_username_here&password=put_password_here&cmnd=Power%20On
```
### Console in Web UI
#### Console in Web UI
**Console** menu in Web UI is a convenient place to send commands and it behaves similar to a terminal connection via serial port.
## Serial
## Commands via Serial
If you flashed the device via serial method you can connect to it with a terminal application (e.g. [Termite](https://www.compuphase.com/software_termite.htm), Arduino IDE Serial Monitor) to issue commands and follow responses. This is a practical way to do a `Backlog` setup of your new device.
*The serial interface is set to 115200 bps except for Sonoff Dual and the Sonoff RF Bridge where it is set to 19200 bps.*
@ -161,7 +161,7 @@ Command | Parameters
<a id="WifiConfig"> </a> WifiConfig | `0` - disable Wi-Fi config but restart (used with alternate AP)<BR>`1` = start smart config for 1 minute and set as current config tool<BR>`2` = start Wi-Fi manager (web server at 192.168.4.1) and set as current config tool<BR>`3` = start WPS config for 1 minute and set as current config tool<BR>`4` = disable Wi-Fi config but retry other AP without restart<BR>`5` = disable Wi-Fi config but retry same AP without restart and flash writes
See also | [`SetOption55`](#Setoption55) - mDNS service control<BR>[`SetOption56`](#Setoption56) - Wi-Fi network scan to select strongest signal on restart<BR>[`SetOption57`](#Setoption57) - Wi-Fi network re-scan every 44 minutes with switch to +10dB stronger signal if detected
### MQTT Configuration
### MQTT
Command | Parameters
:--- | :---