Open jurgenweber opened 6 years ago
@jurgenweber I justed tested your snippet using my latest version mentioned on the PR #75 and this is what I got:
devices {'cameras': [<ArloCamera: Front Door Lateral>, <ArloCamera: Patio Gate>, <ArloCamera: Front Door Hall>, <ArloCamera: Garage>], 'base_station': [<ArloBaseStation: HomeBase>]}
cameras [<ArloCamera: Front Door Lateral>, <ArloCamera: Patio Gate>, <ArloCamera: Front Door Hall>, <ArloCamera: Garage>]
connected True
serial 48B14XXXXXXX
model_id VMC3030
unseen videos 771
brightness 0
signal 4
flip False
mirror False
powersave 1
battery level 74
Which model do you have as it did not identified your base station?
@jurgenweber if you do this:
arlo.base_stations[0]
base = arlo.base_stations[0]
base.update()
Then repeat the print steps, does it work?
Traceback (most recent call last):
File "./arlo.py", line 6, in <module>
arlo.base_stations[0]
IndexError: list index out of range
:P
I have the same problem with an Arlo Go. The basestation list is empty. And I also tried with the other API jeffreydwalter/arlo and that also have the same problem with an empty basestation list.
I made a quick script to see what is going on, because I use this module in home-assistant.
Some of the things it is return, is broken or empty: