-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
cover.isy994 error: Unable to close the cover #4662
Comments
@hoopty As for your issue - can you clarify exactly what is happening? It sounds like you have a momentary relay that will reset after about 30 seconds (Normally Off). You turn the relay on to open a gate, about 30 so seconds, the relay turns itself off, correct? When you trigger this cover program in HA, does the relay respond or does it respond but quickly turn off? What exactly is happening? Also, I just looked at the PyISY library - the library HA uses to talk to ISY - and it looks like there is a small bug in the "Program: Run Else" method where if it fails, it returns False (expected) but if it succeeds, it returns NOTHING. In Python
Obviously the "else" is running successfully because I see So, if your concern is just that there is an error message in the log - you can ignore it, and I will submit an update to PyISY to fix this bug. If your issue is that the relay is not responding correctly at all, then please provide more detail on what is happening physically on the device. Thank you so much for the logs, those helped greatly in looking into this issue so far! |
Thanks @Teagan42 for the response, I'll try to respond to each of your paragraphs below:
and that is indeed ZW004_104, which is the binary sensor that tells us when the gate is CLOSED.
|
In regards to #4 - we don't have any real control over that. Python's logging puts each on it's own line. In regards to #3 - it definitely should not be doing that. There's nothing in HA, that I'm aware of, that tries to send a service call again if failed. I'll keep digging - assuming your log is complete (it does look cut off some) - something about ISY is doing this.
There is no extra command (that I'm seeing) between the If you go into the ISY control panel and go to Programs and right click on the Do you know if this worked before the September rearchitecture of the ISY component in HA? I'll be back online in a bit - this is very odd. |
Use |
|
tldr; Hold of before digging any further! OK, I'm now starting to better understand how the programs work on the ISY controller (the ISY wiki leaves much to be desired) and I think my behavior is a result of how I have my programs setup on the ISY and not a problem with HA. Let me kick this around some more before you dig in any further. If I do figure this out, I will likely have HA doc suggestions. |
Sounds good, thanks
…On Thu, Dec 1, 2016 at 11:15 PM, Bryce Edwards ***@***.***> wrote:
tldr; Hold of before digging any further!
OK, I'm now starting to better understand how the programs work on the ISY
controller (the ISY wiki leaves much to be desired) and I think my behavior
is a result of how I have my programs setup on the ISY and not a problem
with HA. Let me kick this around some more before you dig in any further.
If I do figure this out, I will likely have HA doc suggestions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4662 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AC2fZfJGU3qQGyW70AbtYq4UTRfengr9ks5rD7dygaJpZM4LBvcO>
.
|
Yep, it was how I had things setup - closing this issue. The 'actions' program needed to be disabled, as to not have it auto execute on status changes. The 'status' program needs to stay enable so that it's state changes when the sensor device does. I also had two other programs (one to close the gate and one to open it) that I needed to create since I needed the 'If' condition evaluated (I check that the gate is not already opened/closed before triggering the toggle to open/close the cover) and those programs must also stay disabled. |
Home Assistant release (
hass --version
):0.33.4 and also tried 0.34.0.dev0 (just cloned @dev from GitHub)
Python release (
python3 --version
):Python 3.5.2
Component/platform:
isy994
cover.isy994
Description of problem:
Get the below error logged when closing a (program based) cover.isy994 entity. FWIW, it also causes the gate to re-open, even though it does close:
homeassistant.components.cover.isy994: Unable to close the cover
Expected:
No error logged, and no attempt to re-open the cover. When the program is triggered, I expected HA to be a happy camper once it executes the runElse of the program actions. If there is required behavior of the status, etc. then it would help to know more info about that.
Problem-relevant
configuration.yaml
entries and steps to reproduce:Here's the ISY program setup:
![screen shot 2016-12-01 at 12 13 13 pm](https://cloud.githubusercontent.com/assets/552149/20806212/95f3eec8-b7bf-11e6-9563-27060013a465.png)
Traceback (if applicable):
Additional info:
The '~Gate Closed Sensor' is a binary sensor and 'Gate Opener' is a switch that that triggers the gate to open AND close (it is a toggle, do no have discrete relays). The state for Gate Opener reverts back to Off shortly after it is turned On since the z-wave device is set to be a momentary trigger (http://www.fortrezz.com/shop/mimo-lite). Also note that it normally take ~30 seconds for the gate to close and the '~Gate Closed Sensor' state to change.
Everything works as expected when I interact directly with that ISY, I assume it is related to the interaction on HA and the ISY program(s).
Log activity:
@Teagan42, I may just be misunderstanding how the ISY is to be setup for covers to work but I think it is a good use case to have a binary sensor that reports cover status and a (toggle) switch to open and close the cover. Thanks!
The text was updated successfully, but these errors were encountered: