Skip to content
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

Arm Home Broken (Latest HA) #24

Closed
zemerick1 opened this issue Mar 7, 2019 · 7 comments
Closed

Arm Home Broken (Latest HA) #24

zemerick1 opened this issue Mar 7, 2019 · 7 comments

Comments

@zemerick1
Copy link

zemerick1 commented Mar 7, 2019

I recently upgraded to the latest HA 89.0 (RC) and it appears there is a breaking change somewhere in there that is causing the arm_home function to stop working. I haven't changed my config any, so not sure where the issue lies.

Seeing some different output in the logs. Specifically the 'unhandled response...' lines.
When I click Arm Away

2019-03-06 19:30:38 INFO (MainThread) [pyaarlo] Home:new-mode=armed,id=mode1
2019-03-06 19:30:38 INFO (EventStream) [pyaarlo] Home BASE got modes
2019-03-06 19:30:38 INFO (EventStream) [pyaarlo] unhandled response devices/4N72777G61922/states
2019-03-06 19:30:38 INFO (EventStream) [pyaarlo] unhandled response devices/5EX184SL58C98/states
2019-03-06 19:30:38 INFO (EventStream) [pyaarlo] unhandled response devices/5EX184SM573C2/states
2019-03-06 19:30:38 INFO (EventStream) [pyaarlo] unhandled response devices/5EX184SM58F82/states
2019-03-06 19:30:39 INFO (EventStream) [pyaarlo] Home BASE got activeAutomations
2019-03-06 19:30:39 INFO (EventStream) [pyaarlo] Home BASE got modes

If I click Disarm:

2019-03-06 19:31:22 INFO (MainThread) [pyaarlo] Home:new-mode=disarmed,id=mode0
2019-03-06 19:31:22 INFO (EventStream) [pyaarlo] Home BASE got modes
2019-03-06 19:31:23 INFO (EventStream) [pyaarlo] unhandled response devices/4N72777G61922/states
2019-03-06 19:31:23 INFO (EventStream) [pyaarlo] unhandled response devices/5EX184SL58C98/states
2019-03-06 19:31:23 INFO (EventStream) [pyaarlo] unhandled response devices/5EX184SM573C2/states
2019-03-06 19:31:23 INFO (EventStream) [pyaarlo] unhandled response devices/5EX184SM58F82/states
2019-03-06 19:31:23 INFO (EventStream) [pyaarlo] Home BASE got activeAutomations
2019-03-06 19:31:23 INFO (EventStream) [pyaarlo] Home BASE got modes

If I click Arm Home nothing happens. However, here is the debug output:

2019-03-06 19:32:15 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.139832323785000] Received {'type': 'call_service', 'domain': 'alarm_control_panel', 'service': 'alarm_arm_home', 'service_data': {'entity_id': 'alarm_control_panel.aarlo_home', 'code': ''}, 'id': 115}
@twrecked
Copy link
Owner

twrecked commented Mar 7, 2019

0.89 is working for me. Can you check your installation. That looks like really old code, all those messages should be DEBUG not INFO. I would check all the files under custom_components and make sure nothing is hanging around, everything should be under the aarlo directory.

For reference, mine gives:
2019-03-06 20:54:06 DEBUG (EventStream) [pyaarlo] Front Base BASE got activeAutomations

I just noticed the traces in the other bug are showing INFO not DEBUG, I think you are using old code.

@zemerick1
Copy link
Author

zemerick1 commented Mar 7, 2019

Hmm. I just cloned it last night. I'll pull again and retest.

*EDIT: I'm showing last edit under aarlo/pyaarlo/backend.py (and others) as 02/18 . . is that accurate?

@twrecked
Copy link
Owner

twrecked commented Mar 7, 2019

No. Mine is showing 5 days ago that. And I updated aarlo-glance.js about 24 minutes ago.

@zemerick1
Copy link
Author

lol would you believe that I didn't do a cp -rf ? I was using cp -R and it wasn't overwriting anything. My bad man.

@twrecked
Copy link
Owner

twrecked commented Mar 7, 2019

Sorry it took so long for me to spot. Those thumbnails working now?

@zemerick1
Copy link
Author

They were great earlier today. Not now. The debug logs say they're happening, but thumbnail doesnt update. Probably not a code issue, but an HA issue.

@twrecked
Copy link
Owner

twrecked commented Mar 7, 2019

I have that problem too. I tell HA the picture has changed and the glance picture updates maybe... I added some code into aarlo-glance to help with this, it will set a timer and try an update after a few seconds. I'm having trouble with conditional glance cards stopping working so I think this is a HA code issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants