Giter Club home page Giter Club logo

Comments (13)

twrecked avatar twrecked commented on August 19, 2024

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.

from hass-aarlo.

twrecked avatar twrecked commented on August 19, 2024

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.

from hass-aarlo.

danieledwardgeorgehitchcock avatar danieledwardgeorgehitchcock commented on August 19, 2024

@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

from hass-aarlo.

twrecked avatar twrecked commented on August 19, 2024

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.

from hass-aarlo.

danieledwardgeorgehitchcock avatar danieledwardgeorgehitchcock commented on August 19, 2024

Sound binary sensor confirmed as working.

Thanks!

If you need any raw dumps of Arlo Baby activity, I am happy to share!

from hass-aarlo.

collse avatar collse commented on August 19, 2024

just downloaded and installed - as previously mentioned some sensors show unknown - sound is however working on the Baby ...

from hass-aarlo.

twrecked avatar twrecked commented on August 19, 2024

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!

from hass-aarlo.

collse avatar collse commented on August 19, 2024

@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 ...

from hass-aarlo.

twrecked avatar twrecked commented on August 19, 2024

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.

from hass-aarlo.

twrecked avatar twrecked commented on August 19, 2024

@collse Actually, can you update and try again. I don't think I was noticing the ambient data packet correctly.

from hass-aarlo.

collse avatar collse commented on August 19, 2024

@twrecked we are go - working now ... awesome work! much appreciated. Can be merged!

from hass-aarlo.

twrecked avatar twrecked commented on August 19, 2024

That's excellent news and thanks for the update!

from hass-aarlo.

collse avatar collse commented on August 19, 2024

No mate thank you for addressing the issues!!

from hass-aarlo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.