SwitchBot-MQTT-BLE-ESP32
SwitchBot-MQTT-BLE-ESP32 copied to clipboard
Add possible JSON payload coming in via MQTT for use with Domoticz
Add possible JSON payload coming in via MQTT. This is needed for Domoticz. It used to send position requests for curtain using integers. Since the last update it uses {"position":< integer >} as payload via MQTT. Other commands like PAUSE are sent as STRINGs, not JSON.