Firstly I have to say it is VERY frustrating that the forum does not let me search for "LED MQTT"..... I'd be able to help myself then I'm sure.
I've connected up a NeoPixel to my Wemos D1 Mini and using the HTTP command below I can happily control the LED.
http://192.168.1.35/control?cmd=NeoPixelAll,255,255,255
Now I'm trying to control it via MQTT, the logs show that it is properly connecting to the broker.
5884 : MQTT : Connected to broker
5886 : Subscribed to: /ESP_Easy_01/#
Can someone help me out with with the syntax to publish to the device and set the LED colours? I only have one devices setup as task 1.
Also I was expecting that when I updated the LED using the HTPP method that it would publish to the MQTT broker so that my OpenHAB setup could be updated with the current status of the LEDs... Is this not the case?
Controlling LEDs via MQTT?
Moderators: grovkillen, Stuntteam, TD-er
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Controlling LEDs via MQTT?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



Who is online
Users browsing this forum: Ahrefs [Bot] and 26 guests