GithubHelp home page GithubHelp logo

Comments (13)

htreu avatar htreu commented on July 21, 2024

The homebridge project is a great idea but in my opinion it integrates the different technologies on the wrong level (read: different level then OpenHAB). the OpenHAB-HomeKit-Bridge tries to be an easy to use add-on for OpenHAB to support HomeKit but integration is all done in OpenHAB itself.
As I restructure the OpenHAB-HomeKit-Bridge to support the new API style of HAP-NodeJS I might try to bring it closer to the plugin style of homebridge.

from openhab-homekit-bridge.

andreheuer avatar andreheuer commented on July 21, 2024

I am looking forward for the restructured version as I have problems in pairing my iOS device to the OpenHAB bridge (after verfify m3 success, the devices are still not paired :-(). However, HAP-NodeJS with its sample items works well for me.

from openhab-homekit-bridge.

htreu avatar htreu commented on July 21, 2024

Thanks for mentioning the problems. Please update your sources, delete node_modules & persist folder and

npm install

again. It will now pull an early version of HAP-NodeJS which allows iOS8 for correct pairing. Make sure not to expose a roller shutter in your sitemap. This is not supported at the moment.

from openhab-homekit-bridge.

andreheuer avatar andreheuer commented on July 21, 2024

Thank you for the update. I immediately tested the new version.

However, I still have the same problem as described in #13 :-(

from openhab-homekit-bridge.

htreu avatar htreu commented on July 21, 2024

Please delete persist once again and also remove the existing pairing from iOS. Restart the bridge and pair again.

from openhab-homekit-bridge.

andreheuer avatar andreheuer commented on July 21, 2024

Sorry, that did not work. I still get the same error...

from openhab-homekit-bridge.

htreu avatar htreu commented on July 21, 2024

Please test again with the branch new-api which builds upon the latest version of HAP-NodeJS.
Remember to

  1. delete node_modules folder
  2. delete persist folder
  3. npm install
  4. remove bridge pairing from iOS
  5. start the bridge and pair again

from openhab-homekit-bridge.

andreheuer avatar andreheuer commented on July 21, 2024

Ok, I have switched to the new-api branch and followed your steps.
The pairing works perfect now! Thank you!
However, after adding the OpenHab Bridge as accessory, there is only one available service: OpenHab Homekit bridge. And I cannot switch any device in the Openhab sitemap using homekit.

from openhab-homekit-bridge.

htreu avatar htreu commented on July 21, 2024

Please make sure to have a separate sitemap for the bridge which only consists of plain items w/o any frames.
Here is an example:

sitemap demo label="HomeKit" {
    Switch item=DemoSwitch label="Toggle Switch"
    Slider item=DimmedLight label="Dimmed Light" switchSupport
    Colorpicker item=RGBLight icon="slider"
}

from openhab-homekit-bridge.

andreheuer avatar andreheuer commented on July 21, 2024

Ok, that was the problem! Thank you! Now its working fine!!

from openhab-homekit-bridge.

htreu avatar htreu commented on July 21, 2024

To come back to the original question: I have no plans to merge with homebridge, here is why:

  1. OpenHAB-HomeKit-Bridge should only be one of many control points for smart home accessories. The voice control gained by Siri is not what makes gadgets of different vendors 'smart'.
  2. In my opinion openHAB does a really good job of integration of different accessories from different vendors and protocols. The effort in developing bindings should not be doubled just to adopt to HomeKit.
  3. The exclusive bridging to openHAB allows for a focused development against one single service. This allows for a very slick implementation with very few dependencies.

from openhab-homekit-bridge.

tolgraven avatar tolgraven commented on July 21, 2024

Good reasoning imo! However I'm unable to get homebridge and openhab-homekit-bridge to run at the same time. Even when setting them up to run on different ports there still seems like something in the hap-nodejs backend tries to bind to the same port resulting in whatever opened last crashing. Do you know how to sort that?

from openhab-homekit-bridge.

htreu avatar htreu commented on July 21, 2024

I don't know how to circumvent the fixed ports. There is an issue at hap-nodejs for this: https://github.com/KhaosT/HAP-NodeJS/issues/131

from openhab-homekit-bridge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.