updated readme

This commit is contained in:
Johannes Braun
2022-02-08 22:07:34 +01:00
parent 189f43abfb
commit 46356a9f96

View File

@@ -4,20 +4,26 @@ This berry driver is intended for the usage with a custom HMI/TFT firmware on ns
It adds the following commands to Tasmota: It adds the following commands to Tasmota:
- Nextion *Payload* - `Nextion Payload`
Send's normal Nextion Commands to the Screen (suffixed by 0xFFFFFF) Send's normal Nextion Commands to the Screen (suffixed by 0xFFFFFF)
- CustomSend *Payload*
Send's normal Custom Commands to the Screen in the following format - `CustomSend Payload`
55 BB [payload length] [payload] [crc] [crc] Send's normal Custom Commands to the Screen in the following format:
`55 BB [payload length] [payload] [crc] [crc]`
- FlashNextion *URL*
- `FlashNextion URL`
Start's flashing a tft file to the nextion screen via Nextion Upload Protocol 1.2 Start's flashing a tft file to the nextion screen via Nextion Upload Protocol 1.2
Webserver must be reachable via HTTP and support Range Header Webserver must be reachable via HTTP and support Range Header
Example: FlashNextion http://192.168.75.30:8123/local/nspanel.tft Example: FlashNextion http://192.168.75.30:8123/local/nspanel.tft
Besides the commands, serial input will be published on 'RESULT' Topic, depending on the input in one of the following formats:
- `{"CustomRecv":%s}`
- `{"nextion":%s}`