Page 1 of 1

Wifi bulb

Posted: Thu Jul 02, 2015 4:17 am
by Krsound
Has anyone took the time to look into the protocol for wifi rgb bulbs with qlc plus, for my show I was trying to figure a way to put a dimmer on a light switch with no wires then I saw th rgb wifi bulbs such as mi light or hue, I read they are udp 2.4ghz like the dmx wireless node. Has anyone tried to get one of those bulbs to work with qlc?

Re: Wifi bulb

Posted: Thu Jul 02, 2015 6:51 am
by pipolino419
QLC + just sending data to an interface. Behind your interface whether WIFI ARTNET DMXUSB it does not change anything.
Everything works very well.

Re: Wifi bulb

Posted: Thu Jul 02, 2015 7:27 am
by plugz
Hi,

If the bulb description contains dmx512 or artnet or osc or e1.31, QLC+ should be able to control it out of the box.

If it's one of these bulbs: http://qlcplus.org/forum/viewtopic.php?f=5&t=8613 then you'll have quite some tinkering to do.

Re: Wifi bulb

Posted: Thu Jul 02, 2015 8:57 am
by mcallegari
Krsound wrote:Has anyone took the time to look into the protocol for wifi rgb bulbs with qlc plus, for my show I was trying to figure a way to put a dimmer on a light switch with no wires then I saw th rgb wifi bulbs such as mi light or hue, I read they are udp 2.4ghz like the dmx wireless node. Has anyone tried to get one of those bulbs to work with qlc?
I have worked with wireless light bulbs before, but in my experience in most of the cases they're not WiFi.
2.4 GHz is used also by ZigBee, which is everythjing but standard.
I worked on a ZigBee implementation for another project, but forget the Philips Hue. It's not standard at all and the specifications are not public.
Also (and most important) there is no up-to-date open source ZigBee stack around, so in any case it would be (almost) impossible to integrate such technology in QLC+.

If the bulbs you're talking about are WiFi, instead, you're invited to point us to the product pages and specs if available.

Re: Wifi bulb

Posted: Thu Jul 02, 2015 1:09 pm
by Krsound
I found this, I am not a software writer :geek: But it looks like someone has put in code for controlling the mi light system https://github.com/openhab/openhab/wiki/Milight-Binding

Re: Wifi bulb

Posted: Thu Jul 02, 2015 1:09 pm
by mcallegari
Krsound wrote:I found this, I am not a software writer :geek: But it looks like someone has put in code for controlling the mi light system https://github.com/openhab/openhab/wiki/Milight-Binding
I know the openHAB project.
Seems like a custom QLC+ plugin is needed to send UDP packets formatted in a way the bulb can understand.
Unfortunately I don't have time to do it, nor a bulb to test it with. Sorry.

Re: Wifi bulb

Posted: Thu Jul 02, 2015 2:22 pm
by pipolino419

Re: Wifi bulb

Posted: Thu Jul 02, 2015 5:14 pm
by Krsound
Maybe I am reaching for the stars but I was reading artnet sends packets via udp, to a IP address. But I found this but I don't know if the values 0-255 would translate to these commands

If you’re looking to create your own app, here are the codes for the various functions. You need to send them as HEX UDP packets to 192.168.1.100 port 50000

Commands must be sent as hexadecimal data!

Commands for color changing bulbs
Turn bulb on: 220055
Turn bulb off: 210055
Turn brightness up: 230055
Turn brightness down: 240055
Mode up: 270055
Mode down: 280055
Speed up: 250055
Speed down: 260055
Color selection: 20[xx]55 (where [xx] is a value between 0 and 255, converted to hex)
Commands for white only bulbs
I don’t have any of the white bulbs but fortunately a couple of readers (Adam & Dave) sent the codes in to share with everyone.

Turn all bulbs on: 350055
Turn all bulbs off: 390055
Turn brightness up: 3c0055
Turn brightness down: 340055
Make light warmer: 3E0055
Make light whiter: 3F0055
Turn Zone 1 on: 380055
Turn Zone 1 off: 3B0055
Turn Zone 2 on: 3D0055
Turn Zone 2 off: 330055
Turn Zone 3 on: 370055
Turn Zone 3 off: 3A0055
Turn Zone 4 on: 320055
Turn Zone 4 off: 360055