Hello everybody,
I want to control a Neopixel Stripe via mqtt.
I have the latest mega version installed on a Wemos D1
The plugin I've tried is "Neopixel (Candle)." I can switch the Ledstripe on and off via Flame Type in the plugin.
So the hardware is ok.
I've tried different mqtt commands, but the logfile shows no entry.
eg:
mosquitto_pub -t ESP-209 / Neopixel / Type / cmd -m '2
mosquitto_pub -t ESP-209 / cmd -m "Neopixel 1,255,0,0"
Can someone tell me which Neopixel plugin works and tell me the exact mqtt syntax.
Greetings Peter
WS2812 Neopixel (Candle) Plugin can not be controlled via MQTT
Moderators: grovkillen, Stuntteam, TD-er
Re: WS2812 Neopixel (Candle) Plugin can not be controlled via MQTT
Meanwhile, I think that the commands via mqtt do not arrive at the plugin.
Only the mqtt gpio commands work.
I can turn on a Led on D5 with
mosquitto_pub -t ESP-209/gpio/14 -m '1'
and turn off with
mosquitto_pub -t ESP-209/gpio/14 -m '0'
again.
This is also in the log file:
SW: GPIO 14 Set to 1
All Neopixel Command are not in the Logfile.
Only the mqtt gpio commands work.
I can turn on a Led on D5 with
mosquitto_pub -t ESP-209/gpio/14 -m '1'
and turn off with
mosquitto_pub -t ESP-209/gpio/14 -m '0'
again.
This is also in the log file:
SW: GPIO 14 Set to 1
All Neopixel Command are not in the Logfile.
Re: WS2812 Neopixel (Candle) Plugin can not be controlled via MQTT
check this out, it should work for youmicropet wrote: ↑26 Jan 2018, 20:30 Meanwhile, I think that the commands via mqtt do not arrive at the plugin.
Only the mqtt gpio commands work.
I can turn on a Led on D5 with
mosquitto_pub -t ESP-209/gpio/14 -m '1'
and turn off with
mosquitto_pub -t ESP-209/gpio/14 -m '0'
again.
This is also in the log file:
SW: GPIO 14 Set to 1
All Neopixel Command are not in the Logfile.
viewtopic.php?f=6&t=4051&p=22969&hilit= ... lue#p22969
https://www.letscontrolit.com/wiki/inde ... QTT_Import
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8
Re: WS2812 Neopixel (Candle) Plugin can not be controlled via MQTT
Hello, I came to exactly the same problem here, did you find out some solution please ? I spent few nights trying to find some documentation but I really don't get it with MQTT import and how to pass variables to Neopixel Candle.micropet wrote: ↑26 Jan 2018, 20:30 Meanwhile, I think that the commands via mqtt do not arrive at the plugin.
Only the mqtt gpio commands work.
I can turn on a Led on D5 with
mosquitto_pub -t ESP-209/gpio/14 -m '1'
and turn off with
mosquitto_pub -t ESP-209/gpio/14 -m '0'
again.
This is also in the log file:
SW: GPIO 14 Set to 1
All Neopixel Command are not in the Logfile.
many thanks
Who is online
Users browsing this forum: No registered users and 14 guests