Securifi Community Forum

Sensors and Home Automation => Home automation => Topic started by: thomas on January 07, 2017, 03:34:56 pm

Title: Siri and Homekit support using Homebridge
Post by: thomas on January 07, 2017, 03:34:56 pm
Hey everyone, I've spent some time writing a homebridge (https://github.com/nfarina/homebridge) plugin for the Almond+ using the websocket API. Using this you can control your Almond accessories using Siri on iOS, and the Home app.

The package can be found on npm (https://www.npmjs.com/package/homebridge-almond). Currently it only support basic binary switches, and not particularly well tested. If people are interested in using it and need help, feel free to post here, and I'll do my best to lend a hand.

Title: Re: Homekit support using Homebridge
Post by: Square Cherry on January 14, 2017, 04:36:41 pm
thomas,

This is awesome! Thank you. I've installed it and will test as I have time. Eventually, I'll take a look at the code and see if I can contribute in some way. I'd love to have control over my Almond+'s paired thermostat, garage door trigger, and dimmers.

Some early feedback: Turning switches (and non-dimmer lights) on and off works reliably, but there doesn't seem to be any status reporting. HomeKit doesn't appear to be notified if the state of a switch changes by a command from the Almond+ or by manually hitting a physical switch.

Thanks for your work so far! It's great to have some native Apple control with Siri and the Home app.
Title: Re: Homekit support using Homebridge
Post by: Square Cherry on January 15, 2017, 12:59:36 am
OK,

I think the status-reporting issue might have been my fault. I got my HomeKit configuration into a tangled mess with an iPad and Apple TV fighting over who is the "hub." After many HomeKit resets across several iOS devices, all seems well again. Thomas' Homebridge plugin is working nicely!

I'll update here as I continue to test.
Title: Re: Homekit support using Homebridge
Post by: thomas on January 22, 2017, 05:01:04 pm
Couple of know issues, currently only support for normal switches, no dimmers. Also it will crash badly if it's connection to the almond is broken (currently no reconnect).

If you can tell what types of devices you have connected to your almond, then I can look at adding support for them over the next week or so.

If you could, install this chrome plugin (https://chrome.google.com/webstore/detail/simple-websocket-client/pfdhoblngboilpfeibdedpjgfnlcodoo?hl=en) and then follow the Almond web socket documentation to get a list of devices. If you need more detailed instructions give me a shout.
Title: Re: Siri and Homekit support using Homebridge
Post by: mparadis on January 23, 2017, 09:20:52 am
Excellent job setting this up. A lot of people are interested in this and since the Almond devices are supported by Apple natively this is a nice work. Keep up the good work!
Title: Re: Homekit support using Homebridge
Post by: drgreenberg on January 26, 2017, 10:17:38 am
If you can tell what types of devices you have connected to your almond, then I can look at adding support for them over the next week or so.

I have some Wink-compatible, dimmable GE Link bulbs that I'd love to be able to control.
Title: Re: Siri and Homekit support using Homebridge
Post by: mrmmc on February 06, 2018, 07:05:35 am
dummy asking... ::)

how i install homebridge my almond + ?
almond -> openwrt -> software ???


step by step instruction?
Title: Re: Siri and Homekit support using Homebridge
Post by: Ae_g on February 24, 2018, 02:34:41 am
Would love getting some more guidance in this!