-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GarageDoor icon keeps showing "Opening..." or "Closing..." indefinitely #91
Comments
Any reason why you've reversed the In Home it's
So you should probably reverse the current state as well. |
I reversed the CurrentDoorState but I still get an indefinite duration for the "Opening..." or "Closing..." icon state when using the Home app or Siri On the other had, when I use KNX (Gira app) to open or close the gate the device's icon state on the Apple Home app is changed immediately (but in the wrong order - the Home app device icon shows "Closed" instead of "Open" and "Open" instead of "Closed") - I believe this "wrong order" is happening because the "Listen" statement under TargetDoorState cannot be reversed (so when I use Gira to open the gate the homebridge Listener receives the inverted state) Here's my code:
|
|
What log file should I check for homebrige? Here's the debug output in syslog for OPEN and CLOSE actions:
Thanks for your help. |
I think I can trace what is happening. For some reason it is reversing the action ("set") but not the answers. I think that the reason for that is that the forced dpt to 1 is only used when writing to the bus, but on getting answers it reads the characteristic type from HomeKit (to avoid illegal answers and the consequential lock-out of the bridge ) so it sees integer type, and integers cannot be reversed (what would be the opposite of 42?). |
That's fine. |
By the way, do you have a complete list of the supported ServiceTypes and their Characteristics? |
Supported Services etc: last link in that paragraph https://github.com/snowdd1/homebridge-knx/blob/master/knx_config.json.md#services |
Thanks for providing the link 1 -> Up How can I control this GarageDoor via the homebridge? Should I use the StatelessProgrammableSwitch. |
The StatelessProgramableSwitch is a sensor to HomeKit , not an actuator. It is thought to be a wall switch that can trigger actions in HomeKit. An actuator that receives only a one way trigger and the switch returns to its initial state is not part of HomeKit as of now, you might use the handler OneWaySwitch I wrote for the "all lights off" group address use case. |
That's cool.
How can I use your OneWaySwitch handler with my switch? P.S. Can I also apply this handler to my "pushbutton" GarageDoorOpener?
Thanks |
I've just committed 9b284d5 that should support Reverse on the incoming value in HomeKit from KNX (see my #91 (comment)). Could you please test it and give feedback? I am away and have no testing site available. As for the OneWaySwitch, for your convenience I paste the comments from the file linked above:
You can configure the value for the KNX bus:
|
Hi, Installed the new homebridge-knx but it has not solved this Reverse issue: Here's my code
Here's the DEBUG log for "Closing" Jun 15 16:58:25 raspberrypi homebridge[12026]: Thu, 15 Jun 2017 15:58:25 GMT EventedHTTPServer [::ffff:192.168.0.70] HTTP request: /characteristics Jun 15 16:59:53 raspberrypi homebridge[12026]: Thu, 15 Jun 2017 15:59:53 GMT Accessory [Homebridge] Getting value for Characteristic "Current Door State" . . . Here's the DEBUG log for "Opening" Jun 15 17:01:41 raspberrypi homebridge[12026]: Thu, 15 Jun 2017 16:01:41 GMT EventedHTTPServer [::ffff:192.168.0.70] HTTP request: /characteristics |
Regarding the OneWaySwitch it works fine on the Home app (all my lights are turned off and the switch returns to previous state), but it does not work when I ask Siri to turn off All lights (in this case the switch changes state but it does not return to previous state and the Lights are not turned off) Here's my code:
Why does it work fine when I manually press the button on the Home app but it doesn't work when I Ask Siri to to do it? |
Because you manually turn the switch on, not off, so you need to tell Siri to turn "All Lights" ON. |
Yes, I know that. When I press the Homekit button on the app it works perfectly. Strange!! |
Any idea why it works fine with the app but not with Siri? |
That's really strange. Maybe I find some time next weekend to set up my dev environment to test that. What iOS are you on? |
OK, Thx. P.S. What about the GarageDoorOpener reversing issue? Any news on this one? |
Hi, Any news on the GarageDoorOpener reversing issue?
Thanks, |
Hi, Since the "Reverse" action does not work for the CurrentDoorState I solved the issue by doing the reversing in a handler
It's working OK. Thanks, |
Hi snowdd1, Any news on "Reverse" support on the incoming value in HomeKit from KNX? I have the same issue, but with LockMechanism. |
@migabc I am struggling with this one!! Help :) BR, |
There are now multiple handlers for garage doors, the ADVANCED one should fit your needs. |
Hi
My GarageDoor icon keeps showing "Opening..." or "Closing..." indefinitely
It works OK (meaning I can actually open and close the gate) - it's just the icon that keeps stuck in a wait state ...
Here's my code.
Any help on this?
P.S.
My gate only has one KNX address (7/1/11) and the value is binary
1 -> Open
0 -> Close
Thanks for any help
The text was updated successfully, but these errors were encountered: