Closed bidyutper closed 7 years ago
The JSON commands I list in the readme are the ones you'd use with the Home Assistant light.turn_on service. Essentially, it manipulates that color_name/flash shorthand into a new MQTT message it sends to the NodeMCU. The actual transmitted MQTT message should look something like..
{
"brightness": 120,
"color": {
"r": 255,
"g": 100,
"b": 100
},
"flash": 2,
"transition": 5,
"state": "ON"
}
Cheers!
k..thx
I try to send this :
{
"brightness": 120,
"color": {
"r": 255,
"g": 100,
"b": 100
},
"flash": 2,
"transition": 5,
"state": "ON"
}
via MQTTBOX to the topic bruh/porch/set
and nothing happens.
Can I get a little help ? :)
Thank you
I have successfully uploaded the code but failed to test run with mqtt tools like mqttLens, Fx or other mobile mqtt client app...what are the parameter i should pass from pub side.. tried pub on topic "light_set_topic" and message {"entity_id":"light.porch_strip", "color_name":"green", "brightness":255, "flash":"short" }
obviously not correct one..no response from node mcu