-->
Page 1 of 1

HELP: RGB LED Control via MQTT

PostPosted: Sat Jun 11, 2016 7:31 am
by ZorAxe
Hi there guys,

I'm new here, and having a bit of trouble. Currently I have a RPi2 running OpenHAB server. I have a NodeMCU v1.0 dev board connected to a relay that controls a light. It's been programmed with Arduino IDE using a sketch I found online. All of that works 100%. I can switch the light on/off via OpenHAB's UI. Now here is were I have a problem.

I also have a WeMos D1 Mini. I've made a custom RGB LED strip light driver board. If I upload a simple sketch to the WeMos that controls PWM, I get my RGB LED strip fading between colors. So all hardware is working. I've setup OpenHAB to use a ColorPicker to select colors but I'm not sure what sketch to run on the WeMos.

Please can someone help me out with a sketch I can use?

Thanks in advanced :mrgreen:

Re: HELP: RGB LED Control via MQTT

PostPosted: Sat Aug 20, 2016 11:58 pm
by friedpenguin
Did you follow the example from Make Mag? I got it working using a single Neopixel with a Wemos. Can drop a codebender link and openhab examples if needed.