Coder Social home page Coder Social logo

Comments (6)

steilerDev avatar steilerDev commented on August 19, 2024

That seems interesting...couple of questions:

  1. What's the timing on the issue? Does that happen immidiately or after some time?
  2. Which versions (node, npm, homebridge, openHAB) are you using?
  3. After the issue occurs, can you open the home app on your iOS/Mac, then go into openhab or to your accessory directly and change the value (e.g. turn it on/off) and see if the still opened home.app changes the value corectly?

Thanks,

Frank

from homebridge-openhab2-complete.

Naruk-TUBK avatar Naruk-TUBK commented on August 19, 2024
  1. Yes ist happens immediately. At the end i have a log with more length. There you can see the timing of the error
  2. node = 12.4.0, npm = 6.9.0, homebridge = 0.4.50, openhab = 2.5.0~S1587-1
  3. Yes it is possible to connect to the bridge and toggle lights for example. Changing the light via the Home app is really responsive. If i change the light via openhab it takes some seconds for Home.app to recognize it

[6/11/2019, 20:23:10] [openHAB2-Complete] Loading and activating accessory type thermostat
[6/11/2019, 20:23:10] [openHAB2-Complete] Loading and activating accessory type valve
[6/11/2019, 20:23:10] [openHAB2-Complete] Loading and activating accessory type window
[6/11/2019, 20:23:10] [openHAB2-Complete] Loading and activating accessory type windowcovering
[6/11/2019, 20:23:10] [openHAB2-Complete] Waiting for openHAB host (http://192.168.178.20) to come online...
[6/11/2019, 20:23:23] [openHAB2-Complete] openHAB host (http://192.168.178.20) is online, now syncing...
[6/11/2019, 20:23:23] [openHAB2-Complete] Syncing all items & types from openHAB
[6/11/2019, 20:23:23] [openHAB2-Complete] 'OpenHAB2 - Complete Edition' plugin loaded - Version 0.10.1
[6/11/2019, 20:23:23] [openHAB2-Complete] ---
[6/11/2019, 20:23:23] [openHAB2-Complete] Loading accessories from configuration, this might take a while...
[6/11/2019, 20:23:23] [openHAB2-Complete] Added accessory Schreib tischlampe (Type: light)
[6/11/2019, 20:23:23] [openHAB2-Complete] Syncing all item values from openHAB
[6/11/2019, 20:23:24] [openHAB2-Complete] Finished loading 1 accessories from configuration
[6/11/2019, 20:23:24] [openHAB2-Complete] ---
[6/11/2019, 20:23:24] [openHAB2-Complete] Initializing platform accessory 'Schreib tischlampe'...
[6/11/2019, 20:23:24] Loading 0 accessories...
Setup Payload:
X-HM://002472WAGCHH1
Scan this code with your HomeKit app on your iOS device to pair with Homebridge:

Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:

[6/11/2019, 20:23:24] Homebridge is running on port 51826.
[6/11/2019, 20:23:24] [openHAB2-Complete] Subscription service closed, trying to reconnect in 1sec...
[6/11/2019, 20:23:25] [openHAB2-Complete] Trying to reconnect subscription service...
[6/11/2019, 20:23:25] [openHAB2-Complete] Subscription service closed, trying to reconnect in 1sec...
[6/11/2019, 20:23:26] [openHAB2-Complete] Trying to reconnect subscription service...
[6/11/2019, 20:23:26] [openHAB2-Complete] Subscription service closed, trying to reconnect in 1sec...
[6/11/2019, 20:23:27] [openHAB2-Complete] Trying to reconnect subscription service...
[6/11/2019, 20:23:27] [openHAB2-Complete] Subscription service closed, trying to reconnect in 1sec...
[6/11/2019, 20:23:28] [openHAB2-Complete] Trying to reconnect subscription service...
[6/11/2019, 20:23:28] [openHAB2-Complete] Subscription service closed, trying to reconnect in 1sec...
[6/11/2019, 20:23:29] [openHAB2-Complete] Trying to reconnect subscription service...
[6/11/2019, 20:23:29] [openHAB2-Complete] Subscription service closed, trying to reconnect in 1sec...
[6/11/2019, 20:23:30] [openHAB2-Complete] Trying to reconnect subscription service...
[6/11/2019, 20:23:30] [openHAB2-Complete] Subscription service closed, trying to reconnect in 1sec...
[6/11/2019, 20:23:31] [openHAB2-Complete] Trying to reconnect subscription service...
[6/11/2019, 20:23:31] [openHAB2-Complete] Subscription service closed, trying to reconnect in 1sec...
[6/11/2019, 20:23:32] [openHAB2-Complete] Trying to reconnect subscription service...
[6/11/2019, 20:23:32] [openHAB2-Complete] Subscription service closed, trying to reconnect in 1sec...

from homebridge-openhab2-complete.

Naruk-TUBK avatar Naruk-TUBK commented on August 19, 2024

I resolved the problem by updating openhab to version 2.5.0~S1608-1. But still i think it would be nice to know what the root of the problem was.

from homebridge-openhab2-complete.

steilerDev avatar steilerDev commented on August 19, 2024

I could be possible that the older OpenHab version, that you were using does not support the subscription functionality, that I incorporated, OpenHab changed its API over the versions, or there is an OpenHAB bug within this services on certain releases.

The subscription service of OpenHAB has long been a source of bugs and unstable behavior. Not sure what fixes it, however it is the most efficient way to solve the problem for keeping a synchronized state.

from homebridge-openhab2-complete.

OsBenji avatar OsBenji commented on August 19, 2024

I recently updated my openhab2 from 2.5.10 to 2.5.11 and got this Error in my Homebridge. Everything works fine but this error every second is annoying.

from homebridge-openhab2-complete.

joeberlin123 avatar joeberlin123 commented on August 19, 2024

Same here. The Problem startet with the update of my openhab2 from 2.5.10 to 2.5.11.

from homebridge-openhab2-complete.

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.