Hey I got a callback
MQTTtoPilight json data analysis
MQTTtoPilight msg & protocol ok
pilight(3): elro_800_switch: insufficient number of arguments
MQTTtoPilight raw KO
ESPiLight Error:
invalid pulse train message
Which is the right syntax for the MQTT-Message?
My setup:
ESP32 + RXB6 + KXD10036
OpenMQTTGateway v0.9beta (BT & Pilight activated)
Home Automation: Pimatic on Ubuntu VM
After some tests here is two examples of commands that worked for me: ON
mosquitto_pub -t “home/OpenMQTTGateway_ESP8266/commands/MQTTtoPilight” -m ‘{“message”:"{“systemcode”:12,“unitcode”:22,“on”:1}",“protocol”:“elro_400_switch”}’ OFF
mosquitto_pub -t “home/OpenMQTTGateway_ESP8266/commands/MQTTtoPilight” -m ‘{“message”:"{“systemcode”:12,“unitcode”:22,“off”:1}",“protocol”:“elro_400_switch”}’
Please note that the state parameter is replaced by on or off with a value equal to 1