Comments (4)
Yes, @neutmute this is exactly the behavior, a little bit frustrating but hard to work around. The way I handle it (and in my opinion it works well enough in practice) is the following: Every time HomeKit starts it will check with the accessory (or in this case homebridge) what the TargetState
is. If there is no TargetState
stored it will use CurrentState
as TargetState
. That is also the way manuMode
works, it never uses the stored TargetState
but always asks for the CurrentState
when asked about the TargetState
.
I don't know rn if manuMode
would be feasible for GarageDoor, however, I currently have very limited time to work on this unfortunately. If you come up with a Pull Request I would be happy to integrate it!
from homebridge-openhab2-complete.
I'm playing with using a sonoff SV as garage door opener. The trick I realised is that HomeKit for garage door (and it appears lock too) - sets a target state and expects the mechanism to actuate to conform to the target state.
By having an external actor (OpenHab, wireless remote) change the lock/garage door state then the current state of the lock no longer matches the target state and HomeKit decides the lock must be moving toward the state it still expects - hence "opening/closing/locking/unlocking".
The question I came to ask steilerDev about is - can we drive HomeKit from OpenHab? My idea is that once the door sensor is out of sync because someone pressed an old remote control - can we update homekit with a new target state? I tried but it appears that homebridge flow is one way - from HomeKit to openHab item binding.
Or alternatively can the manuMode
on Window
be used on garage?
EDIT: Looking at the source, it appears not as garage
is missing the required characteristic - assuming that follows Apple spec
from homebridge-openhab2-complete.
I can confirm that the behaviour of the garage is the same as lock. So it has the same problem.
from homebridge-openhab2-complete.
I can see that this is closed, but the problem still remains in the latest version 0.10.2.
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
- Switch from OpenHAB is not synced to Homebridge HOT 2
- AssertionError [ERR_ASSERTION]: Services must be created with a valid UUID.
- 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.