mirror of https://github.com/arendst/Tasmota.git
SerialBridge initialization
parent
7cd75720e1
commit
9d1e196638
|
@ -454,7 +454,7 @@ Both Hardware and Software Serial Bridge are supported.
|
|||
|
||||
Hardware Serial Bridge uses GPIO1 (Tx) and GPIO3 (Rx) or GPIO13 (Tx) and GPIO15 (Rx) pins of your device. Software Serial Bridge can use any other GPIO to be configured as components `Serial Tx` and `Serial Rx`or `SerBr Tx` and `SerBr Rx`. You must disable serial logging (`SerialLog 0`).
|
||||
|
||||
Information received by Tasmota over the serial bridge is captured automatically. A `{"SSerialReceived":{"Data":"<string>"}}` message will be posted. You can use [a rule](Rule-Cookbook#switch-relays-via-serial-interface) to process the string which will be contained in `SSerialReceived#Data`.
|
||||
Information received by Tasmota over the serial bridge is captured automatically. Before data will be received, a properly formatted [`SerialSend<x>` or `SSerialSend<x>`](#SerialSend) command must executed. This must be done any time the device restarts (e.g., via a `System#Boot` triggered rule). This command is required in order to set how the expected serial data will be formatted and interpreted (i.e., which \<x> option). A `{"SSerialReceived":{"Data":"<string>"}}` message will be posted. You can use [a rule](Rule-Cookbook#switch-relays-via-serial-interface) to process the string which will be contained in `SSerialReceived#Data`.
|
||||
|
||||
Expect possible communication errors when additional sensors are configured.
|
||||
|
||||
|
|
Loading…
Reference in New Issue