home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.75k stars 30k forks source link

Zone switch turns off immediately after being turned on, but zone keeps running #17668

Closed turboc1208 closed 4 years ago

turboc1208 commented 5 years ago

Home Assistant release with the issue:

0.80.3

Last working Home Assistant release (if known): Unknown

Operating environment (Hass.io/Docker/Windows/etc.):

Linux Venv Component/platform:

Rachio

Description of problem: When I activate the switch for a zone, the switch turns on, the sprinkler starts running. The switch immediately turns off but the sprinkler keeps going.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

rachio:
  api_key:  Youdontreallyneedtoknowthis

panel_iframe:
  rachio:
    title: Rachio
    url: "https://app_rach.io"
    icon: mdi:water-pump

Traceback (if applicable):

(homeassistant) homeassistant@hass3:~/.homeassistant$ tail -f home-assistant.log -n 100000 | grep rachio
2018-10-21 09:29:08 INFO (MainThread) [homeassistant.loader] Loaded rachio from homeassistant.components.rachio
2018-10-21 09:29:08 INFO (MainThread) [homeassistant.setup] Setting up rachio
2018-10-21 09:29:09 INFO (SyncWorker_4) [homeassistant.components.rachio] Using Rachio API as user "my@email.com"
2018-10-21 09:29:09 INFO (SyncWorker_4) [homeassistant.components.rachio] 1 Rachio device(s) found
2018-10-21 09:29:09 INFO (MainThread) [homeassistant.setup] Setup of domain rachio took 1.3 seconds.
2018-10-21 09:29:09 INFO (MainThread) [homeassistant.loader] Loaded switch.rachio from homeassistant.components.switch.rachio
2018-10-21 09:29:09 INFO (MainThread) [homeassistant.components.switch] Setting up switch.rachio
2018-10-21 09:29:09 INFO (SyncWorker_15) [homeassistant.components.switch.rachio] Rachio run time is 0:10:00
2018-10-21 09:29:10 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.rachio entity: switch.front_central
2018-10-21 09:29:10 INFO (SyncWorker_15) [homeassistant.components.switch.rachio] 8 Rachio switch(es) added
2018-10-21 09:29:10 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.rachio entity: switch.front_left
2018-10-21 09:29:10 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.rachio entity: switch.back_left
2018-10-21 09:29:10 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.rachio entity: switch.rachioXXXXXX_in_standby_mode
2018-10-21 09:29:10 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.rachio entity: switch.front_flowerbed
2018-10-21 09:29:10 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.rachio entity: switch.back_away
2018-10-21 09:29:10 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.rachio entity: switch.back_house
2018-10-21 09:29:10 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.rachio entity: switch.driveway
2018-10-21 09:29:10 INFO (MainThread) [homeassistant.loader] Loaded binary_sensor.rachio from homeassistant.components.binary_sensor.rachio
2018-10-21 09:29:10 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.rachio
2018-10-21 09:29:10 INFO (SyncWorker_3) [homeassistant.components.binary_sensor.rachio] 1 Rachio binary sensor(s) added
2018-10-21 09:29:10 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new binary_sensor.rachio entity: binary_sensor.rachioXXXXXX_online
2018-10-21 09:33:47 INFO (SyncWorker_6) [homeassistant.components.rachio] Stopped watering of all zones on Rachio controller "Rachio-XXXXXX"
2018-10-21 09:39:45 INFO (SyncWorker_2) [homeassistant.components.rachio] Stopped watering of all zones on Rachio controller "Rachio-XXXXXX"
^C

Additional information:

uchagani commented 5 years ago

i've seen the same behavior for the RainMachine also

bmorgan99 commented 5 years ago

I also have the Standby issue stated in #17667, HA Standby state not following rachio state, but my zone switches also do not follow rachio's actual state. Neither using the rachio app in manual mode or via schedule, or using the HA switch (which does fire up the zone, though) triggers a change. History also shows no change.

All app control is done via LAN, not WAN. FWIW, I use several other cloud components that work properly: ecobee, hue, Amazon, Google, etc. HA cloud, too.

Setting hass_url_override to WAN or LAN address didn't help.

Running 0.80.3 - 0.86.2 HassOS 1.11 - 1.13 on rp3

turboc1208 commented 5 years ago

Any work being done on this? I know it's the dead of winter, but I have faith that spring is coming and it would be nice if this worked.

therimmer96 commented 5 years ago

Is this still an issue you are experiencing? Can you please try upgrading to the latest version of Home Assistant (0.90) and report back if this is still a problem? Thanks!

bmorgan99 commented 5 years ago

Same issues for me.

Hassio 0.90.1

turboc1208 commented 5 years ago

Can't try it yet, irrigation is turned off for the winter. Hopefully we can get it turned back on in the next couple of weeks. But it seems bmorgan99 is still having the same problem so I imagine I will see the same issue.

turboc1208 commented 5 years ago

I have my irrigation system back on now and I'm still seeing the same results. I did a little more playing around and found that as stated earlier when I turn on a switch, it turns off after a couple of seconds. If I turn it back on and quickly turn it off (before it has a chance to turn itself off), it does sent the turn off message and shuts off the zone. So it seems that for some reason the switch is getting set to off in the system without sending the message to the sprinkler. But if the switch is caught in the on state then clicking it to turn it off works.

mdw73 commented 5 years ago

I can confirm this behavior, too.

0.92.2 Hassio (HassOS 2.11)

When I start a zone, the switch stays "on" for a few seconds and then moves to the "off" position, but the sprinklers continue to run for their default time. Expected behavior is that the switch should stay in the "on" position while the sprinklers are running.

In this scenario, (after the switch has returned to the "off" position), I am unable to turn the sprinklers off. Pressing the switch again just starts the default time over.

Note: If I turn the switch off before it moves itself to the "off" position, I am able to turn the sprinklers off. For testing purposes, this is pretty quick--no more than a few seconds.

I am currently testing Home Assistant so I can migrate off of HomeSeer and would definitely like the Rachio functionality to work correctly. Let me know how I can help or if there's other data I can provide. I'm also interested in enhancements to the plug-in if anybody is interested--again, let me know how I can help.

OrangeFlick commented 5 years ago

Same here. Would love this to work correctly. Eventing does not hit groups or "lights" that are mapped. Currently, just command to control.

smallrebelarmy commented 5 years ago

Same issues here. Zone turns off immediately after being turned on.

Hassio 0.96.5 on rp4

bmorgan99 commented 5 years ago

My zone switches now work as they should. When I send a turn_on to switch.whatever in node-red, they stay on. Not sure when this started as I haven't checked in a long while. This also turns on/off standby mode in the cloud, but still no state change in HA. So close.

hassio 98.3

stale[bot] commented 4 years ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

reisfni commented 4 years ago

Same issue here... I added my Rachio to SmartThings for now as that seems to work better, but would love to have it work natively in Hassio.