-
Notifications
You must be signed in to change notification settings - Fork 13
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
Linear GD00Z-4 Garage Door Doesn't Open or Close from HomeKit #59
Comments
Not sure why that would be, I know there’s at least 10 others who have functioning doors. What model do you have?
|
Linear GD00Z-4 .....Works 100% through indigo touch and I get the status changes in HomeKit once Indigo changes it but just won't work through HomeKit to open or close Its the IRIS version sold in Lowes I can shoot a video on my phone of my watch trying to show you what it does if you like? |
Please run a simulator on it so I can see the states. Most helpful if you can run one when it’s open and another when it’s closed.
|
Closed should I do one open?
|
Open
|
Can you check the Indigo logs when you open/close the door. What it does in Indigo touch doesn't really make any difference, nor does the animation that appears in Home, it boils down to when you press a button it should be issuing an "On" command and an "Off" command, unless it operates differently than that but I don't think so since it's just a standard Z-wave door. |
Also, restart the server device, so that Homebridge is nice and clean, then try to open and close your door and use the Advanced Plugin Actions menu to post the Homebridge log too so we can see what it thinks is happening. |
in advanced plugin actions which option should I use? This is what Indigo Event Log shows when opening and closing Mar 15, 2018, 9:30:34 AM Mar 15, 2018, 9:31:27 AM |
As per the wiki instructions here. |
|
And what's happening in the Indigo log during this operation? From the HB log I can see it's calling the API properly and I can see from the simulation that when you go from 0 to 1 (open to close if you are inverting) that it's sending a TurnOff command and from 1 to 0 (close to open) that it's sending a TurnOn command. |
indigo shows the door opening and closing as well like in the above post.... Maybe I explained it bad If I press the button in the garage on the wall or in indigo or in indigo touch. The command is sent the door opens and closes and HomeKit shows the correct status change. If I press HomeKit in the phone or watch to open the door the door doesn't go up no changes anywhere In that log going from 1 to 0 and 0 to 1 would seem correct because HomeKit sees the change when indigo fires the command but HomeKit struggles to fire the command |
this was the log with the command fired from HomeKit door showed status opening but never opened and reverted back to closed
|
I do understand that it works with Indigo touch and Indigo. I'm asking what the INDIGO LOG says. When you turn on your device via touch or Indigo, it'll say "Garage Door On" and "Garage Door Off" (or something like that), what does it say when HomeKit does it. I have only 2/3 of the picture here - I'm not sure how I can ask any clearer than that. I understand what you see with your eyes and what you see the device status to be but I need what the Indigo log says. Trying to help you figure this out is about the logs, the logs from Homebridge, the logs from HKB, the logs from Indigo so I can see it in real time, this patching together doesn't do me a lot of good because it's not linked together. Turn on debug logging in in the plugin, open your garage door with HomeKit and send me the INDIGO LOG so I can see what is happening. |
the log in indigo is above? |
That is the HOMEBRIDGE LOG.......... |
Above HomeKit log it I'll do it with debug on |
I've looked at the two walls of text you posted and they both appear to be Homebridge logs, I'm not sure what I'm missing here that has Indigo data other than the short blurb you posted before I posed my screenshot. |
LOL, I just said that..... |
With debugging on command fired from HomeKit nothing hits the log...... |
I've tried to help you figure this out. I would suggest you track the process from start to finish by looking at the logs from Homebridge and the logs from Indigo and the logs from HKB and see if there's a disconnect. |
Ok well I don't know what exactly to do from Here. With Debug on button pressed from HomeKit nothing hits the log. If the button is pressed anywhere else but HomeKit the above Log shows the door open and close. |
I removed the Door Opener from HomeKit in an effort to add it back in. This was working prior to install of 17.2 not sure it it matters Removed the device HomeKit started after several attempts but the garage door opener still is not listed as a device that can be added.
HomeKit Bridge Attempting to stop 'HomeKit1' Mar 15, 2018, 10:50:44 AM Mar 15, 2018, 10:51:25 AM HomeKit Bridge HomeKit server 'HomeKit1' has been started
[2018-3-15 10:52:47] Homebridge is running on port 51826. |
It doesn't same issue ...it is the only device in the server |
I don't really have any explanation for this. The command is being passed from HK to Indigo, I can see that in the Homebridge logs, and that very act raises a universal action to execute something in Indigo. If this universal action was broken then it would be broken for every command on every device. The fact that Indigo doesn't say a single thing in the log is highly suspicious and makes me wonder if you have something else that is preventing this from happening. The only thing I can suggest at this point is:
The flow is simple: Press button in HomeKit -> Send data to HKB via the API -> Run action on Indigo -> Tell HomeKit about it. This flow should be logging things in Indigo and if it doesn't then either it's not happening at all (unlikely or nothing would work) or there's something else going on that has nothing to do with the plugin. |
I am going to try starting from scratch .... Last week installed a new Gen5 and until then used Vera Bridge for the Garage. I added the device to HomeKit after the Gen5 upgrade on the stick and that day it worked. Since then I did the 17.1 and 17.2 updates. Show I removed everything including the plugin did a reboot and I am going to start over to see if something got messed up through this process. I'll keep ya posted. |
So this garage door worked fine and then stopped working? That’s exceptionally suspect considering the changes made between 17.0 and 17.2, nothing came anywhere near the functions needed for this unless we were getting a null value somewhere, which we aren’t since garage doors rely on the onState and that can only be true or false and never null.
|
Never mind, I realized it was working via Vera before. Not the same thing. |
Still doesn't change the fact there should be all kinds of logging happening in Indigo. |
Also try making your garage door a switch and see if it works, if it doesn't then the plugin is not at issue. Your garage door, for all intents and purposes, is a switch - a simple On/Off device and the garage door device for HomeKit is configured to handle that (and does for a number of users without a problem), but eliminate that and go to a switch and it doesn't work then something is defiantly up. |
I will try that first |
So here is what I tried.....Added the Garage Door Open as a switch. Opened the door from HomeKit. While the door was opened edited the device to Garage Door Opener and tried to close it. Nothing happened. Switched it back to a switch device. sent the command and it worked again..... While at its core it is an On/Off device something is obviously different |
When you switched it between switch and garage door you did that from the server and restarted that server device each time? Or did you change it inside of the Home app itself? |
I did it from the server with a restart |
I don't see why it still doesn't work. I just configured an outlet as a garage door and it worked perfectly, on/off work just as they should and that's as basic of a test as I can think of doing. |
I'm just spit balling but could encryption have anything to do with it? And how the command is sent? |
Possibly, but at the core of it is that both a switch and an on/off device acting as a garage door use the same indigo.turnOff and indigo.turnOn commands. The fact that it worked as a switch means that those commands work and so they should as a garage door too. I'll try it with one of my door locks to see if it pukes but I don't think it will because a command is a command. Looking at the definitions, a switch (THE most basic device possible) does just one thing, on and off and it transmits on and off to Indigo and it works. The garage door has two, current state and target state, and both are drive - in your case - by on/off commands and that's how they work in the plugin. If I can set up a light switch as a garage door and it works and you can set up your garage door as a switch and it works but you setting it up as a garage door doesn't then it truly makes zero sense because there is absolutely no difference in the operation of the plugin. |
Ok, I just tested with my encrypted door lock and it works. Now I'm 99.9% convinced the plugin is fine. My front door lock is identical in just about every possible way to your Z-wave garage door as it's a Z-wave on/off device using the same Indigo Z-wave built-in plugin and when I made it a garage door it locked and unlocked without any problems and the HomeKit app properly represented the entire operation. |
I'm just as baffled.....With this unit its history was a nightmare. It always worked in Vera Bridge but when it was officially supported by indigo I was still unable to get it to include. After maybe 20-25 attempts I could get it to go in but never work. After I moved to the 5Gen stick I thought it was worth a try on the new stick and it went in on the first try which lead me to think the old stick was the problem. It has worked flawless on the 5Gen through Indigo since. When I included it today in HomeKit I did invert On/off for the closed and open to match. Now I'm thinking about trying to not invert it when its in Garage Door mode.... |
Inversion shouldn't make any difference but by all means try. If there was going to be a fail point it would be there since the plugin has to lie to HomeKit and reverse everything HomeKit asks for but, again, it's working for a ton of devices right now of various types so I doubt that's the issue. |
And, while not ideal, you could always use it as a switch until things get figured out. Hell, try it as a door lock and see what happens. |
as a door lock failed here is the end of the log part I think that matters [2018-3-15 13:34:54] Homebridge is running on port 51826. |
But I think I got it....... As a Garage door Opener not inverted it works but its backwards open is closed closed is open |
Ok, I'll test things inverted to see if I can reproduce the problem. |
When I switched it back to inverted it doesn't work again |
Invert was never intended to operate a garage door, it's intended for sensors and switches - very simple devices. I can now reproduce the problem using my door lock as a garage door and can confirm that inverted switches do work as planned but garage doors do not. I'll see if there's anything that can be done. |
Awesome thank you for baring with me on it |
This issue is resolved in the next release. |
* Added unicode conversion to device names for non-plugin device updates to try to trap any odd names that are used for Indigo devices (strange characters) - as [reported on the forums](http://forums.indigodomo.com/viewtopic.php?p=156812#p156812) * Expanded the ability of invert to cover **any** device with more than one active characteristic using the onState of a device. Until now it was built exclusively to handle on/off for simple devices like switches, outlets and various sensors, now it can be used for complex devices such as garage door openers that may use onState for multiple characteristics ([Issue #59](#59)) * [Issue #59](#59) resolved
When testing the Garage Door opener I can trigger it to open and close within Indigo Touch and Homekit updates its status from open to closed or closed to open. But If I try to open the door from HomeKit it goes through the motion attempting to but then remains closed. Same if I try to close it if open. It remains open.
When I added it to HomeKit I did Invert the switch to allow proper status
The text was updated successfully, but these errors were encountered: