python-arlo icon indicating copy to clipboard operation
python-arlo copied to clipboard

Retrieving Camera "State" Attributes

Open jwillaz opened this issue 7 years ago • 3 comments

I've been working on modifications to turn individual cameras On/Off. This is achievable by setting "privacyActive" to False/True, respectively. However, while setting the data is straightforward, getting it is not. In order to initialize the state of a device, it would be helpful to retrieve the current values like privacyActive. However, I cannot find any endpoint for retrieving this particular value. I've spent hours sifting through Fiddler traces and javascript to see how the arlo.netgear.com website is reading whether a camera is On or Off, but I have found nothing.

It would also be great to figure out how event alerts are triggered, as those could be used as motion/sound sensors. SmartThings publishes the cameras as motion sensors, so they can be used to trigger other automation events.

jwillaz avatar Oct 01 '17 11:10 jwillaz

@jwillaz I think that is a great idea indeed! I'll try to play with mitmproxy and see if I can find the endpoint.

Thanks for your work on this!

tchellomello avatar Oct 06 '17 05:10 tchellomello

@jwillaz was this issue addressed by your latest patch series?

tchellomello avatar Oct 10 '17 06:10 tchellomello

Nope, this will be separate.

jwillaz avatar Oct 10 '17 06:10 jwillaz