Newbie here!! I was wondering if anyone had done any testing/implementation using ESP Easy with NeoPixel (BusFX) on an ESP8266 NodeMCU which has WS2811/WS2812/WS2813 LED strips attached to it and for it to be controlled via OpenHab 3? Ive got the ESP Easy configured with a small LED strip and its setup with a MQTT controller pointing to my MQTT Broker in OpenHab. I have managed to configure a new Generic MQTT Thing and I can see the same values in ESPEasy UI within OpenHab so the state topics are being read into OpenHab.
At this point I am a bit lost because what I would like it to do for example is to turn on the LED strip and for it to flash red if the temperature value exceeds a certain value. For this I have a DHT11 temperature sensor attached to the same ESP8266 device and I can also read in its value via MQTT into OpenHab. I am a bit perplexed because the only values I am seeing from ESPEasy NeoPixel UI is shown below.
You need to figure out what command messages ESP Easy expects on which MQTT topics to control these devices. From there you can configure your Generic MQTT Things with MQTT Command Topic and outgoing configuration parameters.
I’ve tried creating a new channel and item which basically tried to turn on the LED strip using the above as a reference and this line is then placed on the MQTT Command Topic line with NeoPixel being the name of the ESP device and LEDStrip is the name of the device within ESPEasy. Now this MQTT path does work with the DHT11 temperature so I assumed it would be the same for the MQTT Command Topic with nfx,on proceeding it?
Its configured as a switch but nothing happens when i click the switch to turn it on. It does show the state as being OFF though. I have also tested the LED strip with a multi-meter and I can see 5v supply is supplied to it but looks like it just needs a command to turn the strip on.
The paths are going to be dictated by ESP Easy. Usually the command topic is different from the state topic. The DHT11 only publishes messages, you can’t command it so I would expect the topic to be different to command the lights.
Use an MQTT client to see what is being published.