Since a few weeks I do have again the problem, that my script is no longer correctly reading the current mode of my camera and my lights. After the first connect to Arlo, the modes are read correctly. If I then change the mode via the script, the mode is changed correctly also, but then, if I try to reread the current mode, it does not reflect the current one but still the old one.
It looks rather similar to this older issue #77.
Basically what my script is doing:
# Get the base object for the device
base = getDeviceFromName("Base",arlo.base_stations)
# Set the mode for the device to the specified value
base.mode = 'disarmed'
The above does work correctly. If I check with the Arlo app, the mode is set to the correct value.
# Get the base object for the device
base = getDeviceFromName("Base",arlo.base_stations)
# Get the current mode for that device
status = base.mode
This does not work. The "status" is still the one it had after the initial connect to Arlo and the initial reading of the state.
I enclose a debug file which has the following timestamps:
Before setting the mode: 2022-07-02 14:09:13,655
After setting the mode: 2022-07-02 14:10:08,375
Before getting the mode: 2022-07-02 14:11:37,357
After getting the mode: 2022-07-02 14:11:51,436
I am logging in with the following parameters:
arlo = pyaarlo.PyArlo(username=username, password=password,tfa_source='imap', tfa_type='email', tfa_host=tfa_host, tfa_username=tfa_username, tfa_password=tfa_password, synchronous_mode=False, refresh_devices_every=1,reconnect_every=90, stream_timeout=180, request_timeout=120, user_agent='arlo', verbose_debug=True)
Could you please have a look, if you can see, why this is no longer working? I did not change anything on my side and it worked a few months this way.
Thanks a lot.
UPDATE:
It seems that even setting the modes are most of the time working, but not always ...
Uploading debug-encrypted.log…
Since a few weeks I do have again the problem, that my script is no longer correctly reading the current mode of my camera and my lights. After the first connect to Arlo, the modes are read correctly. If I then change the mode via the script, the mode is changed correctly also, but then, if I try to reread the current mode, it does not reflect the current one but still the old one.
It looks rather similar to this older issue #77.
Basically what my script is doing:
The above does work correctly. If I check with the Arlo app, the mode is set to the correct value.
This does not work. The "status" is still the one it had after the initial connect to Arlo and the initial reading of the state.
I enclose a debug file which has the following timestamps:
I am logging in with the following parameters:
arlo = pyaarlo.PyArlo(username=username, password=password,tfa_source='imap', tfa_type='email', tfa_host=tfa_host, tfa_username=tfa_username, tfa_password=tfa_password, synchronous_mode=False, refresh_devices_every=1,reconnect_every=90, stream_timeout=180, request_timeout=120, user_agent='arlo', verbose_debug=True)Could you please have a look, if you can see, why this is no longer working? I did not change anything on my side and it worked a few months this way.
Thanks a lot.
UPDATE:
It seems that even setting the modes are most of the time working, but not always ...
Uploading debug-encrypted.log…