mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
allow number and string for MQTT json commands - #445
This commit is contained in:
@@ -112,7 +112,7 @@ Breaking change: The MQTT base has been removed in version 2. The hostname is on
|
||||
|
||||
All commands must be written as `{"cmd":<cmd> ,"data":<data>, "id":<n>}`.
|
||||
|
||||
The `id` can be replaced with `hc` for some devices. `cmd` and `data` must be enclose in quotes as a string.
|
||||
The `id` can be replaced with `hc` for some devices and represented as a string or a number. `cmd` is a string, `data` can be a string or number.
|
||||
|
||||
```
|
||||
*boiler_cmd*
|
||||
|
||||
Reference in New Issue
Block a user