Open Diplo95 opened 1 year ago
I'll take a look a the code. The problem is I don't have an useful account with locations enabled, my main accounts are still using the old base station set up. Can you:
homeassistant.log
, when you try to change mode, you can encrypt the output using the page shown hereHi, I activated the standard alarm_control dashboard, and still had the issue. Here is the log : Aarlo_debug 20231114.txt
Thx for the help
The logs are showing these 3 modes for your alarm bases: armAway
, armHome
, and standby
.
Try sending armAway
instead of armed
as part of the automation.
You should also be able to put these in as your alarm modes and the standard alarm_control_panel
services will work. (Something like this):
alarm_control_panel:
- platform: aarlo
away_mode_name: armAway
home_mode_name: armHome
night_mode_name: night
disarmed_mode_name: standby
trigger_time: 30
alarm_volume: 8
Thank you : if I use armAway
in my automation, it does the trick.
But I don't understand why. Here is a screenshot of the values of alarm_control_panel.aarlo_user_location_home
As you can see, state is armed_away
So, I'll try now with Alarmo. And I've got a subsidiary question : if you can't relie on the info in the state page, where can you find the name of the states otherwise than in the the logs ?
My bad, it's been a while since I looked at this code. After looking:
armHome
, armAway
and standby
, you can also get these from the logs, look for <=M=>
alarm_control_panel
device created for a location will do the right thing, it maps those 3 values into the appropriate Home Assistant one (as you saw on the states page)aarlo.alarm_set_mode
passes the alarm code directly to the underlying location objects so you need to be accurate about what you passThe last one is an oversight/bug, I'll modify the code to map the Home Assistant states to the Aarlo location ones. For now you'll need to use the native Arlo values.
I hope that makes sense.
I use both Alarmo and Aarlo integrations. My aim is to sync between the both when I change the surveillance mode. So, as I created a package to deal with all my camera stuff, I tried this code :
But I can't make it work. I know the trigger is good because I tested it with a notification on my phone. But there is no way I managed to change the surveillance mode in Arlo.
Here are the log :
and
Any idea ? Thx