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
17replies 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 😉

    Reply 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).

      Reply Like 3
      • Patrick@NEEO
      • Community Manager
      • Patrick
      • 1 yr ago
      • 1
      • Reported - view

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

      Reply 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).

      Reply Like 2
      • Patrick@NEEO
      • Community Manager
      • Patrick
      • 1 yr 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 .

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

      Reply 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.

      Reply 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?

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

    Reply 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.

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

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

    You’ll 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. 

    Reply Like
      • Sean Booth
      • Sean_Booth
      • 5 mths ago
      • Reported - view

      Thanks Jamie Poitra 

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

      I’ll give it a go and report back. Thanks

      Reply Like
      • Jamie Poitra
      • Developer
      • Jamie_Poitra
      • 4 mths ago
      • Reported - view

      Sean Booth How did it go?

      Reply Like
      • Sean Booth
      • Sean_Booth
      • 4 mths ago
      • Reported - view

      Jamie Poitra I’ve not done it yet. It’s working its way to the top of my todo list :)

      Reply 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. 👍

    Reply Like
      • Fonzo
      • Fonzo
      • 3 wk ago
      • Reported - view

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

      Reply Like
Like15 Follow