Home Deutsch Changelog Contact Imprint & Privacy Protection
   
A A

Integrate Netatmo Weather Station into your Smart Home

title Integrate Netatmo Weather Station into your Smart Home

Weather Station

Netatmo weather stations are popular because they have a great design, are easily accessible via app and web browser and are easy to expand. But trying to integrate them into the smart home, e.g. to integrate the sprinkler and lawn robot in case of rain or to close the blinds in case of wind, they quickly reach their limits. Although Netatmo offers an interface to third-party programs, this is not a used one for smart homes.

MQTT

A popular standard for the smart homes is MQTT. MQTT Clients send data to a MQTT Broker, which provides them for other MQTT Clients. Often smart home systems support access to MQTT for visualization of data and to send commands to the devices.

Connection

Double-click on the image to create a new container When creating the container click on Advanced Settings Configure the network to use the same network as the Docker host Under Environment enter the ENV variables In the protocol you can check the connectionTo send the Netatmo weather data to MQTT a connection is needed. For this purpose there is a project on GitHub >mqtt-netatmo-bridge. I installed this as a >Docker Image on my Synology NAS. The installation is shown in the pictures and the required values are described below.

ENV Variables

Variable Example Value
MQTT_HOSTmqtt://192.168.1.21
TOPIC_PREFIXnetatmo
NETATMO_USERsomeone@somewhere.de
NETATMO_PASSverysecret
NETATMO_CLIENT_IDxxx
NETATMO_CLIENT_SECRETyyy
LOGGING_NAMEmqtt-netatmo-bridge

Docker Updates

When Docker updates are released, you can't just update them at the touch of a button. To avoid having to reinstall and especially reconfigure everything, proceed as follows:

Netatmo Connect

Configuration of the developer accessPrerequisite for the external access to the weather station is a configured >Netatmo Connect, by creating an app. This gives you get all needed values to access the MQTT connection.

Available Data

Display of the data available via MQTT in the MQTT ExplorerThe by MQTT accessible data may be shown e.g. with >MQTT Explorer.

Recommended Links

>Netatmo Weather Stations

 

>MQTT Explorer - Program for Mac/Windows/Linux to check & explore MQTT data


Overview

Back to main pageBack to main page