-
Notifications
You must be signed in to change notification settings - Fork 34
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
Alarm Panel modes fail to read #77
Comments
I can confirm that I do see the same issue here since some days.Setting modes is working, reading modes is working after re-connecting for some time and then fails (not with hass-arlo but with pyaarlo) |
Can either of you turn on packet debug? I'm guessing they've changed the return packet. I'll try and reproduce it here. |
It seems that in "debug.log" nothing happens if I issue a "get-mode" command. If I issue a "set-mode" command I can see new entries in "debug.log" Anything special I need to set for debugging besides "logging.basicConfig(level=logging.DEBUG,"? Update: Guess that is a problem with my code. " elif command == 'get-mode': My code does nothing than just checking and returning the current state. So I guess the issue is already that after setting the mode the state is not correctly updated. I will send you later the debugging of my "set-mode" command. Maybe you can see something in it. However I need to wait until it fails again. Directly after reconnecting everything is fine for some time. |
Not sure if this is helpful. Please let me know if I should try anything different. |
Here's mine. Note that I have two base stations. The end of the log corresponds to me trying a few times to change panel modes. Again, the base stations did change modes, and it's reflected on the App, but the Home Assistant panels remain in their previous state. |
Apologies. I haven't had much spare time to look at this stuff. Arlo just made some changes that might making debugging this stuff a little easier. Firstly, thanks for the logs, I'll take a look. |
Neither of you is getting the @m0urs Can you paste your pyaarlo.PyArlo() settings (minus any sensitive data obviously). @hanskroner Can you add the following to you aarlo:
... your existing config
verbose_debug: True
logger:
default: info
logs:
custom_components.aarlo: debug
custom_components.aarlo.alarm_control_panel: debug
custom_components.aarlo.binary_sensor: debug
custom_components.aarlo.camera: debug
custom_components.aarlo.light: debug
custom_components.aarlo.media_player: debug
custom_components.aarlo.sensor: debug
custom_components.aarlo.switch: debug
pyaarlo: debug |
After upgrading my code to version 0.8.0.alpha.12, I do no longer see these issues. Reading the states is now working again for me. |
For the last few weeks I've been facing an issue where the Alarm Panels that represent the Arlo base stations within Home Assistant fail at reading their state:
When using service calls to set the Alarm Panel's mode, the Arlo Base Stations do actually change mode (verified from within the App) but the Alarm Panels in Home Assistant do not. The particular error I pasted above started happening 6 days ago, and happens each time I tried to change modes on the Panels.
Restarting Home Assistant, which will reestablish a connection to the Arlo Cloud seems to fix the problem for a while. After observing it for a while, it seems the panels get stuck most often after a change from an "armed" mode to another "armed" mode (e.g., changing to "night" while on "home").
This is on hass-aarlo v0.7.1.7 configured with:
The text was updated successfully, but these errors were encountered: