Netatmo Welcome Camera Guide

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

ben53252642
Posts: 543
Joined: Saturday 02 July 2016 5:17
Target OS: Linux
Domoticz version: Beta
Contact:

Netatmo Welcome Camera Guide

Post by ben53252642 »

Hey Folks,

I've bought a Netatmo Welcome camera, this is a guide for integrating the live snapshot into Domoticz using the camera's local IP address:

Step 1: Get your Home ID
1) Login here using Google Chrome:
https://my.netatmo.com/app/camera
2) Click the gear Icon and a popup settings box will appear
3) Right click on "Location" and select inspect, about 2 lines up from the default highlight you will see "href="/settingscamera/localisation/YOURHOMEID"

Step 2: Get your cameras local IP access details:
1) Go to this url and make sure you are logged in or you can't use the tool: https://dev.netatmo.com/dev/resources/t ... ethomedata
2) You will see a large grey area on the page titled "Try this method by yourself with our TRY IT module.", that's what we want to do, put in your Home_ID and click try it.
3) You will see "body" highlighted in red, click the right point arrow next to it, the path we want is:
body > homes > cameras > object >
4) Copy your VPN url and add this to the end of it: ,/live/files/high/index_local.m3u8
So your url should look something like:

Code: Select all

https://0.vpn.netatmo.net/10.255.0.1/52ced8bcc8149089968095f995XXXXXX/ur8YcNFRXOyPTHONKZeeHXXXXX,/live/files/high/index_local.m3u8
5) The response you get in the browser will show URL's similar to this and include a local IP access key (this is what we want)

Code: Select all

http://LOCALIP/ACCESSKEY/live/files/high/live0000006692.ts
6) Using the access key, we can get the local live snapshot from the camera which allows us to integrate it into Domoticz camera section:

Code: Select all

http://LOCALIP/ACCESSKEY/live/snapshot_720.jpg
7) In Domoticz add camera wizard, you enter it like this:
Screen Shot 2016-12-30 at 12.12.09 am.png
Screen Shot 2016-12-30 at 12.12.09 am.png (119.66 KiB) Viewed 23992 times
If you want to get the live stream in high quality from the local IP, this is the URL for the m3u8

Code: Select all

http://LOCALIP/ACCESSKEY/live/files/high/index.m3u8
Other:
1) The unit appears to require the MicroSD card to be inserted to view the live snapshot or m3u8 either locally or via the Netatmo VPN url method. Removing the card and rebooting resulted in a unit that could be pinged but local access displayed a 404 - Not Found and access via Netatmo VPN resulted in 502 Bad Gateway.

↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
I am a bit concerned about live snapshots not working without the MicroSD card, this would appear to indicate that the snapshots are being written to the MicroSD card which is not really an ideal design since a snapshot being temporary should be written directly into RAM to minimise wear and tear on the MicroSD limited life span. I've reached out to Netatmo here to see if we can get an answer.

http://forum.netatmo.com/viewtopic.php?f=29&t=7571

2) The camera jpg and m3u8 can still be accessed locally without an internet connection however after rebooting the unit with its internet connection blocked I was unable to access any local URL's. Unblocking the internet connection and opening ports 500 and 4500 udp, and rebooting the unit once again allowed me to access the local IP urls.
Unless otherwise stated, all my code is released under GPL 3 license: https://www.gnu.org/licenses/gpl-3.0.en.html
BristolBaz
Posts: 5
Joined: Wednesday 01 January 2014 21:53
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Hampshire, UK
Contact:

Re: Netatmo Welcome Camera Guide

Post by BristolBaz »

Thank you! I had been looking for a way to get the access token for a while. Cheers!
MadDog11
Posts: 1
Joined: Monday 11 April 2016 16:39
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Maarssen
Contact:

Re: Netatmo Welcome Camera Guide

Post by MadDog11 »

Thank you, really works like a charme with a Welcome and my two Presence, Frontdoor and Backdoor are covered and the frontgarden and backgarden as well. My neightbour isn't happy, now he can't do anything in my garden without me noticing him doing things without deliberation with me :lol:
ricorico94
Posts: 94
Joined: Monday 26 October 2015 10:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Netatmo Welcome Camera Guide

Post by ricorico94 »

Wonderful!! Thanks a lot !

One comment: maybe URL chanegd since your post or maybe I did not fully follow it. But to reach the "try me" button (Step 2 / 1) ), I had to go to this URL instead of yours:

https://dev.netatmo.com/resources/techn ... ethomedata

By the way, I don't yet understand the mechanisms of webhooks and things like that.. If you already know how to bypass the centralized servers so that the Welcome camera can directly send a notification to Domoticz when someone is recognized, I'd appreciate your help..

br,
Ricorico94
nigels0
Posts: 221
Joined: Thursday 23 January 2014 12:43
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Contact:

Re: Netatmo Welcome Camera Guide

Post by nigels0 »

I'm afraid its not working any more - at step 4, I get a Forbidden message (ngix).

Notably, the URL in step 3 already has two commas at the end of it - trying all combinations I could think of didn't get past this.
dextm80
Posts: 117
Joined: Tuesday 24 October 2017 18:32
Target OS: Linux
Domoticz version: 4.10159
Contact:

Re: Netatmo Welcome Camera Guide

Post by dextm80 »

hi guys, get the snapshot in the browser but not in domoticz, video stream don't show in domoticz

can you help me?
Domoticz on AsRock j3455-ITX 8gb ram - Aeotec ZWave Usb Stick - RFLink 433Mhz
1x Fibaro Wall Plug
1x Fibaro Motion Sensor
x NeoCoolcam Wall Plug
Netatmo Weather Station - Netatmo Thermostat
Philips Hue Bridge
rizzah
Posts: 75
Joined: Monday 17 October 2016 16:11
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Groningen
Contact:

Re: Netatmo Welcome Camera Guide

Post by rizzah »

nigels0 wrote: Sunday 22 October 2017 1:02 I'm afraid its not working any more - at step 4, I get a Forbidden message (ngix).

Notably, the URL in step 3 already has two commas at the end of it - trying all combinations I could think of didn't get past this.
I first had that ngnix error aswell, but the url was wrong. I use this one and it worked: xc7g,,/live/files/high/index_local.m3u8

So, 2 comma's ,,
User avatar
interfaqiez
Posts: 1
Joined: Wednesday 13 December 2017 21:14
Target OS: Windows
Domoticz version:
Contact:

Re: Netatmo Welcome Camera Guide

Post by interfaqiez »

i newli did these step, and succeed .. thanks for this nice information
sike8426
Posts: 1
Joined: Friday 29 December 2017 13:59
Target OS: Linux
Domoticz version:
Contact:

Re: Netatmo Welcome Camera Guide

Post by sike8426 »

dextm80 wrote: Tuesday 24 October 2017 20:09 hi guys, get the snapshot in the browser but not in domoticz, video stream don't show in domoticz

can you help me?

I have the same problem. Any help ?
pipiche
Posts: 1977
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Netatmo Welcome Camera Guide

Post by pipiche »

looks like it is outdated and doesn't work. Netatmo seems to have changed their APIs
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
dextm80
Posts: 117
Joined: Tuesday 24 October 2017 18:32
Target OS: Linux
Domoticz version: 4.10159
Contact:

Re: Netatmo Welcome Camera Guide

Post by dextm80 »

for me works ok
Domoticz on AsRock j3455-ITX 8gb ram - Aeotec ZWave Usb Stick - RFLink 433Mhz
1x Fibaro Wall Plug
1x Fibaro Motion Sensor
x NeoCoolcam Wall Plug
Netatmo Weather Station - Netatmo Thermostat
Philips Hue Bridge
pipiche
Posts: 1977
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Netatmo Welcome Camera Guide

Post by pipiche »

dextm80 wrote: Wednesday 04 April 2018 22:57 for me works ok
May be because you did it already, but on my side when I try to access step2 and especially the dev.netatmo URL, this doesn't show what is expected !
Step 2: Get your cameras local IP access details:
1) Go to this url and make sure you are logged in or you can't use the tool: https://dev.netatmo.com/dev/resources/t ... ethomedata
2) You will see a large grey area on the page titled "Try this method by yourself with our TRY IT module.", that's what we want to do, put in your Home_ID and click try it.
3) You will see "body" highlighted in red, click the right point arrow next to it, the path we want is:
body > homes > cameras > object >
4) Copy your VPN url and add this to the end of it: ,/live/files/high/index_local.m3u8
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
dextm80
Posts: 117
Joined: Tuesday 24 October 2017 18:32
Target OS: Linux
Domoticz version: 4.10159
Contact:

Re: Netatmo Welcome Camera Guide

Post by dextm80 »

Ready, this link is outdated, you ve to search manually it.....
I will try, if i ve a couple of time, to post exactly link
Domoticz on AsRock j3455-ITX 8gb ram - Aeotec ZWave Usb Stick - RFLink 433Mhz
1x Fibaro Wall Plug
1x Fibaro Motion Sensor
x NeoCoolcam Wall Plug
Netatmo Weather Station - Netatmo Thermostat
Philips Hue Bridge
pipiche
Posts: 1977
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Netatmo Welcome Camera Guide

Post by pipiche »

Don't know if that is usefull for you, but I found a github API, where they are showing how to interact with their differents APIs
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
pipiche
Posts: 1977
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Netatmo Welcome Camera Guide

Post by pipiche »

Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
dextm80
Posts: 117
Joined: Tuesday 24 October 2017 18:32
Target OS: Linux
Domoticz version: 4.10159
Contact:

Re: Netatmo Welcome Camera Guide

Post by dextm80 »

pipiche wrote: Thursday 05 April 2018 11:44 Looks like the URL is :

https://dev.netatmo.com/resources/techn ... ethomedata
exactly, thanks
Domoticz on AsRock j3455-ITX 8gb ram - Aeotec ZWave Usb Stick - RFLink 433Mhz
1x Fibaro Wall Plug
1x Fibaro Motion Sensor
x NeoCoolcam Wall Plug
Netatmo Weather Station - Netatmo Thermostat
Philips Hue Bridge
pipiche
Posts: 1977
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Netatmo Welcome Camera Guide

Post by pipiche »

Looks that is not enought. When I copy-paste the URL + ,/live/files/high/index_local.m3u8 it's open a stream and start vLC

So I'm stuck for now!
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
photography33
Posts: 1
Joined: Monday 02 July 2018 14:12
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Netatmo Welcome Camera Guide

Post by photography33 »

interfaqiez wrote: Wednesday 13 December 2017 21:30 i newli did these step, and succeed .. thanks for this nice information
I also done but not working on my side. how did you do this? Please share with me as well
JMI69
Posts: 1
Joined: Thursday 01 November 2018 18:25
Target OS: -
Domoticz version:
Contact:

Re: Netatmo Welcome Camera Guide

Post by JMI69 »

Any news about this issue ?

In Step 2.4 the proposed URL start with:
https://v7.netatmo.net/restricted/10.255.21.................

Using this URL within a browser the result is: 403 Forbidden - nginx

any idea how to solve this ??
thearr
Posts: 4
Joined: Wednesday 06 June 2018 6:17
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Netatmo Welcome Camera Guide

Post by thearr »

Very helpful guide.

I also added switches to turn on/off cameras from domoticz:
Screenshot 2019-02-20 at 21.41.33.png
Screenshot 2019-02-20 at 21.41.33.png (90.86 KiB) Viewed 13559 times
Screenshot 2019-02-20 at 21.42.42.jpg
Screenshot 2019-02-20 at 21.42.42.jpg (133.09 KiB) Viewed 13559 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest