Closed collse closed 5 years ago
Noted. The base station is a simple fix. The monitoring is more complicated - the code has to pick apart some binary data - so I'll need to be more careful bringing that across.
Can you try now? I added the code back into create the arlo base for the baby cam.
I added some experimental code for the humidity, temperature and air quality but it's a bit of a 'leap of faith'. The original pyarlo decoded a history log but the new code just checks for real time updates the same way the battery level works.
If the temperature/humidity/air quality doesn't work I'll look to get the pyarlo code in later this week.
@twrecked Hi Steve,
I have just tried using your latest version with my Arlo Baby and temperature, humidity and air quality are coming back as unknown. Also, there is no Sound binary sensor created for the Arlo Baby which caused some confusion when adding the custom card to my Lovelace instance. The camera definitely supports Sound as an activation source... As for the control panel, I am now able to add that to my HomeAssistant instance!
Thanks,
Dan
The sound was because I didn't add the baby arlo as having that capability. Should be fixed now.
I'm going to have to port the history code from pyarlo for temp/humidity... which might take a day or two.
Sound binary sensor confirmed as working.
Thanks!
If you need any raw dumps of Arlo Baby activity, I am happy to share!
just downloaded and installed - as previously mentioned some sensors show unknown - sound is however working on the Baby ...
I've just created a branch - baby-arlo - that will possibly (hopefully) support baby arlo ambient sensors. The code is ported from pyarlo but modified to make it all happen in the background. It's here:
https://github.com/twrecked/hass-aarlo/tree/baby-arlo
@danieledwardgeorgehitchcock if this doesn't work I'll definitely take you up on that packet dump offer!
@twrecked just installed the code but same results - what do you need? regular pcap is obviously encrypted with TLS so there is nothing to see - SSL decryption breaks the connection completely ...
Thanks for trying and appreciate your patience. We can turn on event stream dumping for a start, add packet_dump
to your configuration.yaml.
aarlo:
username: !secret arlo_username
password: !secret arlo_password
packet_dump: True
This will output all the event packets received into /config/.aarlo/packets.dump
. /config
should be where configuration.yaml
is. Restart HA and you'll see all sorts of packets arrive, for example, motion detection looks like:
{ 'action': 'is',
'from': 'XXXXXXXXXXXXX',
'properties': {'motionDetected': True},
'resource': 'cameras/XXXXXXXXXXXXX',
'transId': 'XXXXXXXXXXXXX!4def0e15!1550696029077'}
What I'm looking for is any packet mentioning ambientSensors
in the resource
field but this packet is what I'm really interested in. I try getting this data from my cameras and they just come back with syntax errors.
Later tonight I'll tweak the code to dump outgoing packets.
@collse Actually, can you update and try again. I don't think I was noticing the ambient data packet correctly.
@twrecked we are go - working now ... awesome work! much appreciated. Can be merged!
That's excellent news and thanks for the update!
No mate thank you for addressing the issues!!
I have installed it and it seems to work well except for the Arlo Baby Cam - it seems to pull a few entities though:
I also no longer get a separate alarm_panel for the Arlo Baby as previously
I installed this in VENV
config as per examples - at the moment I excluded the monitored conditions to see if its picks the others up from the Arlo Baby