Overview Netatmo account



This block connects the controller to a Netatmo account. It signs in to the Netatmo cloud, queries the devices and sends the commands of the device blocks (weather station, indoor climate, home, room, camera, detector, actuator). The device blocks take their values from this block, without it they receive nothing. One block is created per Netatmo account.

Netatmo devices can only be reached through the manufacturer's cloud. The controller needs an internet connection for this.

Signing in (once):
  • Connect the Studio to the controller and open »Sign in / status« in the block properties.
  • »Sign in to Netatmo« opens the Netatmo sign-in page in the browser. Sign in with the Netatmo account there and allow access.
  • Netatmo then redirects to a uni-PRO page that shows a code. Paste this code (or the complete address of the page) into the dialog and apply it.
  • The controller signs in and keeps the sign-in, also across restarts. The device list in the dialog fills after a few seconds.
Queries: The state of the homes (rooms, cameras, actuators) is read in the query interval, the events of cameras and detectors in the event interval. Netatmo only delivers weather station and Home Coach data every 10 minutes, they are queried less often accordingly. Only what a device block in the project needs is queried. After a command the block reads the state again after 3 and after 15 seconds. Camera events therefore arrive with a delay of up to one event interval.

Netatmo limits: Netatmo allows 500 requests per hour per user. The block keeps to the parameter »Requests per hour« and reserves 10 % of it for commands. If Netatmo throttles anyway, the block pauses and reports status 2.

Backup controller: In standby the backup controller does not query Netatmo. Netatmo renews the sign-in with every extension and invalidates the old one, two controllers with the same sign-in would sign each other out. If the backup controller takes over and reports status 1, it has to be signed in again from the Studio.

Outputs

ST
Status
0 = connected, 1 = sign-in required (not yet signed in, signed out or sign-in rejected by Netatmo), 2 = throttled by Netatmo, the block pauses, 3 = connection error.
TX
Status text
Short description of the state, empty when everything is fine.
AN
Requests per hour
Number of requests to Netatmo during the last hour.


Parameters

Sign in / status
Opens the dialog for signing in, signing out and with the list of devices found.
Query interval
Interval of the home state queries in seconds, at least 60, default 180.
Event interval
Interval of the camera and detector event queries in seconds, at least 30, default 60. Only used when a camera or detector block exists.
Requests per hour
Upper limit of requests to Netatmo per hour, 50 to 480, default 400.
Debug
On = every request to Netatmo and the beginning of every response are logged in the trace.