HomeKit Integration

I have been able to connect NEEO with HomeKit using the node.js homebridge project (NEEO team should restructure NEEO-sdk to the same pattern as homebridge. Allows multiple drivers to run on one instance of the server and easily extensible). The integration is very basic at the moment and simply sends a button press command to homebridge. I use homebridge to define buttons in HomeKit which trigger a HomeKit scene. This way I can actually trigger any number of HomeKit scenes (like 'watch movie' that closes the window shades and dims the lights) with one button press on the NEEO remote. This button can be added to any recipe so that the HomeKit scene is triggered when you run your TV recipe. 

 

I'm working on packaging it up on github and will add it to the public drivers list but I will need help to tidy it up and perhaps improve the structure. I haven't done any serious coding for quite some time so it's all a bit rusty. We can use this thread to discuss any future improvements we'd like to make. 

 

Future enhancements:

1. Stateful integration so NEEO knows the state of the HomeKit scenes and devices. Currently it's a stateless implementation so no status is sent back to NEEO. 

2. Allow HomeKit scene activation from iOS devices (including Siri) to trigger NEEO recipes (bi-directional integration)

Reply
21replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • Very cool, I guess I will have to start using home kit too to be able to give you some feedback 馃槈

    Like
    • Patrick slowly making progress. I can now also trigger NEEO recipes by asking Siri to turn on TV or set a HomeKit scene that includes triggering a NEEO recipe. New video!

      In this example, my evening scene includes closing the window shades, turning on the lights to a dimmed value and running a NEEO recipe (turn on TV, AV receiver and TiVo).

      Like 3
      • Patrick
      • Patrick
      • 5 yrs ago
      • 1
      • Reported - view

      Humayun Hasan Cool! I now feel like I need automatic shades too.

      Like 1
    • Patrick I've published the driver to NPM and GitHub ( https://github.com/va-lemon/homebridge-neeo ). It will require some customization for your environment but should not require more than a few changes. I've tried to document as best as I could. If something does not work, you may need to install the plugin and it's dependencies as global (url, request, homebridge-websocket etc).

      Like 2
      • Patrick
      • Patrick
      • 5 yrs ago
      • Reported - view

      Humayun Hasan Thanks a lot, cool stuff 馃憤 I need to find some time to test this though. You may want to add your project to the list over here .

      Like
    • Humayun Hasan , does your  solution require the z-wave hardware for the rpi?

      Like
    • Bj枚rn Str枚mros I'm not sure since I haven't tried out this plugin, but z-wave is not required with homebridge.

      Like
  • Humayun Hasan do you have a video guide of installing? This would be great, just to see how the config.js file is layed out? 

     

    This is looks great, have you tired using this on a RPi 1?

    Like
  • Cool stuff!! Will try it out soon!

    Like
  • Humayun Hasan Just wanted to follow up that I found your Homebridge plugin and wow! Totally cool and it works great.

    The directions in the readme are missing a few things though. I know what a pain writing documentation is (I've done my fair share of it) but was completely confused about a few things.

    Just some quick notes for anyone else who might be trying to get this working:

    1. This plugin is required and while the example config file includes it there's no mention that you'll need to install if you haven't already:

    homebridge-websocket

    Run this:

    sudo npm install -g homebridge-websocket

    2. Probably obvious but the neeo-sdk is required to be installed too.

    sudo npm install -g neeo-sdk

    3. Since I hadn't done any NEEO SDK work before I wasn't immediately clear on how to find your hostname. You can find it in the About panel of the phone app.

    Like 1
  • Do I have to know anything about coding or node.js in order to get this to work? I鈥檓 a complete noob when it comes to any coding. Would love to get this setup.

    Like
  • Hey Sean Booth it鈥檚 not too bad really but does require being comfortable with the command line and editing config files by hand. 

    You鈥檒l also need to run Homebridge from a computer that you never turn off.

    The easiest way to do that is to get a raspberry pi and use that. 

    Like
    • Thanks Jamie Poitra 

      I plan on using a MacMini that I have running as a media server 24/7.

      I鈥檒l give it a go and report back. Thanks

      Like
      • Jamie Poitra
      • Developer
      • Jamie_Poitra
      • 4 yrs ago
      • Reported - view

      Sean Booth How did it go?

      Like
    • Jamie Poitra I鈥檝e not done it yet. It鈥檚 working its way to the top of my todo list :)

      Like
  • Humayun Hasan First, thanks for your work and time you are investing to share with the community. 馃檹

    Due to the recent Logitech Harmony Firmware mess (closing API), I'm considering to switch to NEEO. I use the Harmony Hub with a Homebridge HomeKit Plugin, so I wouldn't want to miss the integration to HomeKit anymore. Is this/your plugin working and development still going on? It would be fantastic and I'm sure there a a lot more people of the Homebridge community who now have NEEO in focus with a working Homebridge Plugin in addition. 

    Thanks again and hope hearing from you. 馃憤

    Like
      • Fonzo
      • Fonzo
      • 4 yrs ago
      • Reported - view

      DJay Just install the latest firmware and you can use the home bridge as usual with the Logitech Hub.

      Like
  • When I try to start Homebridge, I always get the following error:

    NEEO ERROR! Invalid device detected! Check the src-e1279429be71b5d5233ba6f94c84039d0b22506e driver device exports.

    What can I do?

    Like
    • Same problem as Dominik, looks like it needs an update but I guess the project is dead as it hasn't been touched for two years...

      Like
    • Dominik Sahli there is an unoffical neeo homekit integration built in. The brain should be discovered by your Home App and then use the following code: 63366336

      Like 1
    • Julien Luca Weil I didn't realise this, thanks a lot!

      Like
Like15 Follow