ESP-MQTT-JSON-Digital-LEDs icon indicating copy to clipboard operation
ESP-MQTT-JSON-Digital-LEDs copied to clipboard

Mqtt

Open andrein81 opened this issue 8 years ago • 4 comments

If I use your script and didn't change any MQTT topics, how will a MQTT message needs look to trigger one effect?

I'm just trying to trigger the lights thru NodeRed.

andrein81 avatar Jun 08 '17 19:06 andrein81

use the mosquittoclient and listen to the same topic as the one that the nodemcu is listening to. send some commands to ur led strip through homeasssistant. the answer will be in the logs from mosquittoclient.

hamidzr avatar Jul 07 '17 16:07 hamidzr

I am not using homeassistant but openhab with MQTT

Is there an other way to find out how to trigger the effects with MQTT commands ?

zamzon avatar Sep 25 '17 19:09 zamzon

Can someone show me what's the message json format should be sent to MQTT broker from mqtt client if using mosquitto_pub for debugging purpose ( my broker working ok, nodemcu has been properly upload this firmware ), e.g. to trigger "rainbow" effect and rest setting, pls kindly give me a message example, thank you !

ahome-wugu avatar Feb 09 '18 08:02 ahome-wugu

mosquitto_pub -t 'SmartHome/Office/LED/set' -m '{"effect":"sine hue","state":"ON"}'

snetAT avatar Aug 05 '18 14:08 snetAT