Live data from Hacker News

Show HN: LuxBase – Open-Source Smart Lighting Control System

github.com

1–10 of 14 posts

Re: Show HN: LuxBase – Open-Source Smart Lighting Control System

#2
You can also use the pins of a RaspberryPi as a PWN output and do the same thing with only 3 inexpensive power transistors: http://mitchtech.net/raspberry-pi-pwm-rgb-led-strip/

Instead of servoblaster I recommend you to use PiBlaster: https://github.com/sarfata/pi-blaster

Re: Show HN: LuxBase – Open-Source Smart Lighting Control System

#3

You can also use the pins of a RaspberryPi as a PWN output and do the same thing with only 3 inexpensive power transistors: http://mitchtech.net/raspberry-pi-pwm-rgb-led-strip/ Instead of servoblaster I recommend you to use PiBlaster: https://github.com/sarfata/pi-blaster

Awesome, thanks for the heads up! Like it says in the blog post, PWM + transistors was an option I was thinking of (and still am if I ever decided to dip into dedicated hardware later on), I just wasn't sure if I had the electronics chops yet to not blow something up.

Re: Show HN: LuxBase – Open-Source Smart Lighting Control System

#4
I picked up a http://www.amazon.com/gp/product/B017CKVG7G a couple of months ago - it's pretty terrible in terms of build quality and range, but it's a simple Bluetooth LE protocol for full RGB control of the lights, and you can run multiple sets off a single machine with a bluetooth 4.0 controller. Rather than using a custom protocol I bridged it to something that emulates enough of a Hue hub for the Amazon Echo to let me control it. I don't know how the economics compare, but there's plenty of avenues to explore here.

Re: Show HN: LuxBase – Open-Source Smart Lighting Control System

#5
post #4

I picked up a http://www.amazon.com/gp/product/B017CKVG7G a couple of months ago - it's pretty terrible in terms of build quality and range, but it's a simple Bluetooth LE protocol for full RGB control of the lights, and you can run multiple sets off a single machine with a bluetooth 4.0 controller. Rather than using a custom protocol I bridged it to something that emulates enough of a Hue hub for the Amazon Echo to…

Well hey, would you look at that. Exactly what I'm trying to do!

Heh I was shooting for the REST API because I figured there's nothing that doesn't communicate through it today. I'll have to check into it more, especially if I decide to do dedicated stuffs down the line. I am a fan of the multiple strips thing.

Re: Show HN: LuxBase – Open-Source Smart Lighting Control System

#6
post #5
post #4

I picked up a http://www.amazon.com/gp/product/B017CKVG7G a couple of months ago - it's pretty terrible in terms of build quality and range, but it's a simple Bluetooth LE protocol for full RGB control of the lights, and you can run multiple sets off a single machine with a bluetooth 4.0 controller. Rather than using a custom protocol I bridged it to something that emulates enough of a Hue hub for the Amazon Echo to…

Well hey, would you look at that. Exactly what I'm trying to do! Heh I was shooting for the REST API because I figured there's nothing that doesn't communicate through it today. I'll have to check into it more, especially if I decide to do dedicated stuffs down the line. I am a fan of the multiple strips thing.

The bridge code is at https://github.com/mjg59/ulfire but doesn't have the Bluetooth code since I haven't got it working reliably yet (the machine I'm testing with has an ancient version of Bluez, and I need to upgrade that before doing more testing). I'll push that in the near future. It's pretty board specific though, I've found at least 6 different Bluetooth LE protocols for lighting so far. The easiest way to do it for testing is to just call out to gatttool in the callbacks.

Re: Show HN: LuxBase – Open-Source Smart Lighting Control System

#8
rather than using addressable LED strips I've been using some RGBW LED Par Cans over DMX.

I use a raspberry pi running openlighting to act as bridge between artnet, osc and a few other protocols and control it over the network.

openlighting: https://www.openlighting.org/

Re: Show HN: LuxBase – Open-Source Smart Lighting Control System

#10
post #8

rather than using addressable LED strips I've been using some RGBW LED Par Cans over DMX. I use a raspberry pi running openlighting to act as bridge between artnet, osc and a few other protocols and control it over the network. openlighting: https://www.openlighting.org/

This is all new to me, I'll definitely check it out. Thanks!
Post reply on HN