4

Use a Raspberry Pi or other ARM board as the Bluetooth App portal

Having to have one of my smart phones in Bluetooth range to be able to control Wi-Fi devices is severely limiting. When I ordered, I didn't realise I'd need my phone to be a bridge between the remote and my Wi-Fi devices.

Discovered just going to my bedroom and trying to turn on/off my LIFX bulb, it would flash red to signal that it can't reach my phone.

I have a Raspberry Pi with an LCD touchscreen, and would love to use this with a decent bluetooth dongle as the hub/bridge for the remote to talk to. Even better, with a Raspberry Pi (or other ARM maker board), it would run a small web server, so that could configure the remote from a web page.

6 comments

Date Votes
0
Avatar
beady

especially the rpi3, with built in BLE, this would make HA integration much better

0
Avatar
paul speckens

Just tested the code, works fine, the profilechange works and the spin-actions are displayed in the command window. thanks. next step is to get my profiles (sonos, hue) into performing the specified action from the raspberry. I have no idea how to proceed. should this work already when the profiles and actions are created from my mobile phone (android)?

0
Avatar
Nate

Hi Paul,

Good to hear it works fine!
Unfortunately it is not possible to load the profiles (as far as I know (I assume they are not stored on the SPIN, but on the smartphone)). The code is meant to show how to access the SPIN remote, the rest is up to you (or someone else, or me).

You could look around for a Sonos & Hue library for Python and extend the QuickStart to connect these devices.

0
Avatar
Carsten Houweling

I'll create a NodeJs script to work as a bridge between the SDC-1 and HUE Bridge over the weekend.

Stay tuned.

0
Avatar
Nate

Hi Paul and everybody else,

To get the Pi to not only connect to the SPIN remote, but also to other appliances, I'm creating a Home Assistant component.
Home Assistant already supports Sonos, Hue, and a lot more!

The component still needs some more tweaking, but you can already give it a test-drive ;)
Take a look at the GitHub repo for more information about installing and some sample configurations.

Information about how to set up Home Assistant on the Raspberry Pi can be found in their docs, or take a look at my gist.
If you run into a bug or anything, feel free to create a ticket in the issue tracker!

Hopefully this will give us all some more uses to our SPIN Remote ;)

Please sign in to leave a comment.