Service Netatmo

First, there is the « wifi_strength » and « state » (« disconnect », « on », « off ») info + others that I don’t use yet.
Then the behavior is particular. The initial stream looks like vpnUrl: https://prodvpn-eu-4.netatmo.net/10.255.0.3/d259xxxxxxxxxxxxx/MTU4NDDr-aMZIkmaaLLg,, (hence the mention of a call/demo). To that you add, as with other cameras, ${vpnUrl}/live/snapshot_720.jpg for the image. But the live stream itself is ${vpnUrl}/live/files/high/index.m3u8 in this case, the ‹ MTU4NDDr-aMZIkmaaLLg, › part changes at each restart or disconnection and it’s accessed via their platform. If your Gladys is on the same local network as the camera, there is a property is_local: true to access it directly and there is a double request ${vpnUrl}/command/ping to perform to obtain an address like localUrl: http://192.168.0.10/d259xxxxxxxxxxxxx which then allows having ${localUrl}/live/snapshot_720.jpg for the image and either ${vpnUrl}/live/files/high/index_local.m3u8 or ${localUrl}/live/files/high/index.m3u8. So I have a ‹ CAMERA_URL › param and a ‹ CAMERA_LIVE_URL › param.

Very interesting, but that therefore means I have to modify the ‹ startStreaming › file


to be able to access this « new » parameter.

I handle both and it works very well ^^ Moreover in the future, I want to add access to the histories as well as the ability to download them… which will differ from the original service… or not.

Well, while writing these lines I realize that we could maybe only use CAMERA_URL = ${vpnUrl}/live/files/high/index.m3u8 or ${localUrl}/live/files/high/index.m3u8 if local = true since it’s the integration that makes the snapshot of the video.
So I will do like the USB service. Thanks for your answer. And that shouldn’t be blocking for future updates either.

PS (continued):

So I’m not talking about the height but the width. For example, with the same name at the limit of double lines we have this:


It’s silly but it comes down to 1 character (368px for the center versus 378px for the left and right columns), if I add the ‹ n › of « consigne » on the right it indeed jumps the line:
image
image
I thought it was related to the free spaces between the columns, but no we have 27 or 28px on each side.