Comments (6)
That seems interesting...couple of questions:
- What's the timing on the issue? Does that happen immidiately or after some time?
- Which versions (node, npm, homebridge, openHAB) are you using?
- 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.
- Yes ist happens immediately. At the end i have a log with more length. There you can see the timing of the error
- node = 12.4.0, npm = 6.9.0, homebridge = 0.4.50, openhab = 2.5.0~S1587-1
- 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.
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.
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.
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.
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)
- Homebridge crash with ReferenceError: url is not defined HOT 1
- Thermostat errors - when trying to allow Heating (on Off and Auto) HOT 3
- README Install command small fixes HOT 1
- Documentation for irrigation items is wrong HOT 2
- 'Current Heater-Cooler State' didn't respond at all HOT 8
- Heater/Cooler Swing not working HOT 5
- After update to iOS 15 asking for current room temperature fails and only replies with "Heating is off" HOT 3
- item not deleted after label is changed - creating duplicate HOT 1
- Add Multiplier Option to Humidity Values
- Heater/Cooler Accessory with sepparate min-max temp for thresholds HOT 5
- Connection with OpenHabian3 HOT 6
- Homebridge crashes: not a valid UUID HOT 8
- Devices don't turn on/off HOT 2
- Color of Lamp is recognized as Brightness HOT 1
- when new accessories added old ones that were on the dashboard dissappear HOT 3
- OH3 Support? HOT 1
- Temperature sensor no response HOT 1
- Speaker Object doesn't show volume controls HOT 5
- Invalid JSON in an platform Oliver HOT 2
- request still used in OpenHab.js HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-openhab2-complete.