Is the “private” logitech API public (yes, I know that it’s still private in the sense that one has to request credentials)? Is there documentation somewhere?
As of few months ago, yes: https://developers.logitech.com/circle
Most of the capabilities there are implemented in the Logi python wrapper I wrote for this integration: GitHub - evanjd/python-logi-circle: Python 3.7+ API for Logi Circle cameras
FYI Evan, the stream latency is not as high for me as you are reporting.
The stream latency I am referring to is how long it takes for HA to return the first frame of the *proxied* camera feed to the browser. If you’re measuring from the app, that is a different workload and a different stream API.
Also, battery powered cameras in a low power state can take up to 45s to wake up and return a stream. I need to support these as well.
On that, I tracked down where the 10s timeout was and got approval on the HA discord from baloob and the stream component maintainer to make it configurable. I haven’t started implementing that change yet.
Been watching this page for a while and progress is very slow.
I’ve gotten suddenly very low on free time this year. I would gladly accept help.
Note that I have implemented everything (live stream support, push support, motion, binary sensor, etc) in this PR from Jan this year: Logi Circle public API refactor and config flow by evanjd · Pull Request #20179 · home-assistant/core · GitHub. It got knocked back for being too large (which is fair enough), and since then I’ve been slowly extracting discrete bits of functionality to submit in smaller PRs. So all the functionality is there, it just requires time and work to split into separate PRs and update relevant parts to match updated HA APIs and code standards
To date, I’ve extracted and raised PRs for:
a) Public API support + config flow (merged)
Which put everyone through hell trying to get API keys, but I digress…
b) Live stream support (blocked)
Works, but couldn’t be merged in any form due to MJPEG streams being deprecated + the new stream component having a timeout that is almost always tripped when connecting to Logi streams. When the timeout is updated, I have a PR ready to go.
The bits that are left are:
a) Update HA core to resolve 10s timeout
I’ve identified what needs to be updated, just need to do the work:
b) Push support
c) Binary sensor
Depends on push support as some of the sensors are only available on the websocket. This should be very trivial to copy from my other PR once push support is merged.
If someone wants to work with me on this, ping me, I’d love the help. Otherwise I will continue to chip away at this.