WS2812 Neopixel (Candle) Plugin can not be controlled via MQTT

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
User avatar
micropet
Normal user
Posts: 34
Joined: 23 Jan 2018, 11:39
Location: Essen, Germany
Contact:

WS2812 Neopixel (Candle) Plugin can not be controlled via MQTT

#1 Post by micropet » 26 Jan 2018, 08:23

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

User avatar
micropet
Normal user
Posts: 34
Joined: 23 Jan 2018, 11:39
Location: Essen, Germany
Contact:

Re: WS2812 Neopixel (Candle) Plugin can not be controlled via MQTT

#2 Post by micropet » 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.

User avatar
toffel969
Normal user
Posts: 469
Joined: 03 Jan 2017, 10:58
Location: Germany

Re: WS2812 Neopixel (Candle) Plugin can not be controlled via MQTT

#3 Post by toffel969 » 27 Jan 2018, 15:27

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.
check this out, it should work for you
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

luc3as
New user
Posts: 1
Joined: 25 Mar 2018, 20:23

Re: WS2812 Neopixel (Candle) Plugin can not be controlled via MQTT

#4 Post by luc3as » 25 Mar 2018, 20:25

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.
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.
many thanks

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests