Relationship between http cmd and mqtt
Posted: 21 Apr 2017, 23:33
I am working on a plugin to add MY9291 (RGBW LED controller)
Things are looking good so far, and I seem to be getting the desired results when using http to control the esp8266 (Still to test inside the smart bulb, but logic analyser is looking healthy.
The command I am sending is http://192.168.0.54/control?cmd=my9291,255,255,255,255 and this is responding.
But I am trying to send a command via MQTT and i am getting nothing much useable...
I can send /test/my9291/ payload 255,255,255,255
and I get Par1: 0 Par2: 255 Par3: 0 Par4: 1076067464
I can send /test/my9291/255 payload 255,255,255,255
and I get Par1: 255 Par2: 255 Par3: 0 Par4: 1076067464
But not much else. I notice that the documentation for most output devices does not give more than http outputs, but GPIO for instance does seem to offer some mqtt function.
Can someone tell me what is working/not working here
Things are looking good so far, and I seem to be getting the desired results when using http to control the esp8266 (Still to test inside the smart bulb, but logic analyser is looking healthy.
The command I am sending is http://192.168.0.54/control?cmd=my9291,255,255,255,255 and this is responding.
But I am trying to send a command via MQTT and i am getting nothing much useable...
I can send /test/my9291/ payload 255,255,255,255
and I get Par1: 0 Par2: 255 Par3: 0 Par4: 1076067464
I can send /test/my9291/255 payload 255,255,255,255
and I get Par1: 255 Par2: 255 Par3: 0 Par4: 1076067464
But not much else. I notice that the documentation for most output devices does not give more than http outputs, but GPIO for instance does seem to offer some mqtt function.
Can someone tell me what is working/not working here