OpenHab and RGB led strip
-
Hello!
I would like to implement a RGB led strip controlled via arduino/mysensors on openhab.
Has someone done some tests?I've seen this thread:
http://forum.mysensors.org/topic/1862/rgbw-example
and this:
http://easydomoticz.com/forum/viewtopic.php?f=20&t=704Could it be used with Openhab as well?
Any experience?
Which led strip to use?Thanks
Simon
-
What gateway you have?
I have mine with Serial gateway and is very simple. I Just write the command with the color code and in the incoming message in the arduino I set the color to the leds (in my case a Ring).
I'm in the office right now, but I can share code later if you want.
-
Hello!
Thanks for the answer. Is there a way to get a notification via mail on a reply on this forum? I miss the replies
BTW, I'm using MQTT as gateway with openhab. I've never thought to use serial GW. I expect it's more or less the same or do you suggest serial GW is better? In case why?
Thanks!Simon
-
@xefil Notifications can be setup under your profile settings.
-
RGB-3D sketch use 3 dimmers and 1 switch.
If your controler support this, all is fine.
Serial gateway or others, same battle, if you can connet it to your controler, all is fine.
-
Thanks, I'll start using a led to test the dimmer. If it works, than all the rest should work as well.
Simon
PS: I'll go now to see in my profile the notification settings, thx!
-
Actually I have one meter of the following LED strip:
Should it work exactly like the others?
-
Hi, would you please share the code, arduino, item and rules. I use serial gateway, OH 1.8.3 with bidding.
Thanks
-
Give me some time and I'll share it.
Simon
-
Hi,
I modified an Ikea Dioder and currently I'm controlling it by openhab. Here you can find items and rules.https://www.openhardware.io/view/80/MySensor-Dioder-Ikea#tabs-comments
-
Hello @mortommy , great job
@andredts , are youo using serial gateway? I've the code used on the sketch to handle the rgb strips. I've build it following exactly this:
http://easydomoticz.com/forum/viewtopic.php?f=20&t=704But I've as gateway, the MQTT ClientForwarder.
Simon
-
Thanks, take all the time you need, Now I´m using the RGB-3D exemple, I can get it to work on Openhab with 3 separated dimmers. But I can´t get it to recall the values or to use the color wheel.
-
Thanks, It seems great, but I will only control it from OH side. Unfortunately no Ikea on my country. Having that control would be great. If I can´t find anything simpler I will try to adapt that.
-
Thanks, I got it working the way it is there, for the Domoticz, on my Openhab. Using 3 separated slides, but now I´m trying to use the color wheel to set the colors with Openhab as the controller.
-
@andredts
Sure. Just have a look at the code to grab some ideas.
-
@andredts now I'm on travel. I'll send/share you the code as soon I'll reach my home again
-
Hi @andredts !
Well, I had not implemented the RGB Color panel, but then I've tried to create it and it works well.
BTW I've read right now that you are using the serial gateway. I'm on MQTT, so, you need to implement the rules to parse the serial messages. Apart of this, if you need the sketch and the rules/items for handling the RGB I can share it.
I've two radio networks. First on nrf24l01+ with mqttclientforwarder on mosquitto mqtt-server and other nodes on rf64 with serial gateway and python service to parse the serial and forward it to the same mqtt-server.Cheers, Simon
-
@andredts hey did you manage to get the colour wheel working? I'm having similar issues, everything works well but with 3 seperate dimmers.
Thanks
-
@matt-shepherd Never got the time to do it. Sorry