direct access to netatmo devices

The Netatmo API is a set of webservices allowing developers and third parties to access Netatmo device's data.
Da9L
Posts: 19
Joined: 01 Jan 2019, 13:41

Re: direct access to netatmo devices

Post by Da9L »

Might as well step in and also give my +1

I'm awaiting the wind gauge for my weather station, but seriously considering if its a good idea or not. Lately netatmos servers have been very spotty, making all my devices unreliable. I don't like being dependent on your servers for my weather station etc. to work.

And why don't you answer in here ? Just give your users a headsup, this is NOT okay !
gieljnssns
Posts: 41
Joined: 23 Nov 2016, 17:56

Re: direct access to netatmo devices

Post by gieljnssns »

contact with Netatmo:
me:
isn’t it better you provide a LOCAL MQTT service, so that data hasn’t to go through your servers?
Something like this is asked since 2012
https://forum.netatmo.com/viewtopic.php?f=5&t=900

Netatmo:
....

me again:
isn’t it better you provide a LOCAL MQTT service, so that data hasn’t to go through your servers?
Something like this is asked since 2012
https://forum.netatmo.com/viewtopic.php?f=5&t=900

WHY everyone at Netatmo keeps avoiding to answer these questions?, Can you please give an answer to that?
For people like me is this the best option; my home-assistant instance is in the same local network as my precense camera.
Camera sends events to a LOCAL MQTT broker -> my home-assistant instance subscribes to the same topic -> everthing OK. No data has to come through your unreliable servers.....

Netatmo:
Regarding the local access, it will not be possible with our products,
we exclusively make connected products, which are accessible from anywhere around the world.
Many of our services are cloud-based.
JamesLong
Posts: 3
Joined: 12 Jul 2019, 10:20

Re: direct access to netatmo devices

Post by JamesLong »

To retrieve data from Netatmo security products, you have to choose between three scopes for Welcome, two scopes for Presence and only one for the Smart Smoke Alarm.

read_camera (for Welcome)
to retrieve events and timelines
to retrieve snapshots

read_smokedetector (for The Smart Smoke Alarm)
to retrieve events and timelines

write_camera (for Welcome)
to tell Welcome a specific person or everybody has left the Home

access_camera (for Welcome) and access_presence (for Presence)
to access the live stream
to access any video stored on the SD card

By default, Welcome apps have access to the scope read_camera, Presence apps to the scope read_presence and Smart Smoke Alarm one to the scope read_smokedetector. The scopes access_camera and access_presence are only for the developer's own camera.
*You need to request the scope access_camera/access_presence to access other user camera.
This scope is granted on a per app basis. As security is one of our main concern and as this scope gives you access to user’s videos, Netatmo will give extra-attention to each request.Check here:
https://docsbay.net/security

Requirements
Provide Netatmo with a high-level workflow diagram of its integration (App / your servers / Netatmo servers)
Logos and Icons should comply with Netatmo branding guidelines.
Authorization code grant type is required for authentication.
User should be able to remove its cameras access from the 3rd party application.
Storing token/refresh token anywhere else than on the user device is not allowed.
Providing video access and streaming capability to anyone else than the authenticated user is not allowed.
Provide Netatmo with a link to pre-production application for review.

Netatmo teams will check that you are compliant with these guidelines and will test your app before granting the access.
Naesstrom
Posts: 1
Joined: 13 Jun 2022, 17:51

Re: direct access to netatmo devices

Post by Naesstrom »

So after the insteon scandal I think most people got a bit worried. I'm not saying that @netatmo will do the same thing but I can't see any really strong arguments for allowing a local API connection that's not dependant on the cloud

https://arstechnica.com/gadgets/2022/04 ... art-homes/
Sankotronic
Posts: 3
Joined: 08 Aug 2022, 11:53

Re: direct access to netatmo devices

Post by Sankotronic »

Local API connection would be very nice option so that home automation gateways can get measurements from Netatmo devices even when internet is down. Also this is more safe than constant communication over the cloud. Besides when Netatmo remove Client Credentials grant type access many gateways will not be able to get measurements directly from cloud, so many installations will stop working. BYE BYE Netatmo integration :-( BYE BYE Netatmo devices.
Daegil_Netatmo
Posts: 31
Joined: 18 Jul 2019, 09:51

Re: direct access to netatmo devices

Post by Daegil_Netatmo »

Hi!

Use the refresh token instead as recommended.
We will also allow the generation of refresh & access token from your own dev account. There are also work arrounds to allow aouth2 as long as you have internet access. All you need is the token with the correct scope to be generated once after that you can just refresh it.

BR
Daegil
Post Reply

Return to “Netatmo API”