Hacker News new | ask | show | jobs
by kienankb 3704 days ago
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.

1 comments

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.
I'm not a huge fan of using Bluetooth for this application, but you've done some great work there .. I'll have to look into your implementation of the Hue API, maybe we could use it on the MagicShifter (which uses WiFi instead of BT)... ?