Netatmo Favorites Weather Station Addon

Hi everyone,

I got venetian blinds on our house and needed reliable wind gust data to raise them when wind gust is too big. In the beginning I used Netatmo integration, but as I don’t own Netatmo weather station, I was facing 2 major issues:

  • you don’t know what you get - when you have a favourite weather station, in my case my neighbours, even when you provide exact coordinates, you must not get this station data in answer
  • from my observation, wind modules often disappear or don’t return data.

Then I checked Netatmo API and found a solution for me:

  • Netatmo offers getstationsdata API, which returns user Weather Stations Data. You get your favourites station from your Netatmo account. Maximum is five stations. You know what you get.
  • I added - function first - which retrieves desired value from first available station defined in your list. You just find 5 stations in you surroundings and you have a good chance, that at least one works and venetian blinds are safe

Config example: stations_example.yaml

Check my addon at github and feel free to test it

Open your Home Assistant instance and show the add add-on repository dialog with a specific repository URL pre-filled.


Hi, thanks for your work! This addon works nice for me. Just what I was looking for.

could you please help, how can I use that addon? especially the .yaml config
to retrieve the data of my favorite station, but where should stations.yaml be created to make it a sensor?

go to hass config/nfws directory and edit stations.yaml using MAC addresses you got.
from hass-addons/ at 28e36a889bc3c41ce2d0d794a540a6cd84f9689c · GiZMoSK1221/hass-addons · GitHub

I was able to set this up. But the individual stations do not appear as MQTT sensors. Is this normal? Based on python code I would expect them as well.
Only the calculated ones appear. And calculated pressure one does have any data, while others like temp. and humidity have values. Is there a way to analyze this further?

can you post your stations.yaml? i will check it.

Hi, thanks for the offer. I just used VScode to check the configuration yaml and it turned out that there formatting errors. So now I get also the individual values from favorite stations.

For pressure there is no option for a calculated one like min/max/avg across the multiple stations, right?

i released a new version. you can use pressure as calculated sensor now

A bit off topic, but is the wind gust reliable? I’m considering buying the Netatmo today when Amazon has nice Price prices and will like you use it for my blinds. Does the gust reporting go up and down as wind changes or is it amore an average over the last minute/hour or similar?

i thing is reliable when you install it on right place. The gust value must be absolute, not average - when you take the value from one station.
There might be a small delay, but i’m ok with that.
I have a rule, when gust is > 60 for 5 min, than open the shutters

1 Like

Why Netatmo integration and nfws sensors show different readings ?

Screen Shot 2023-08-10 at 09.28.57

Netatmo integration uses getpublicdata method, which returns average data from all station from defined area. Even if you area is your house with your netatmo device, you must not get data from this one station.
NFWS uses getstationdata method and it returns exact values from you favorite stations

check your results against

1 Like

I can’t get a sensor in mqtt, can you help me ?
Thank you beautiful


        name: Mon domicile                       #name will be nfws_name_station1_...
        sensors:                             #WindAngle, WindAngleCompass, WindAngleCompassSymbol, GustAngle, GustAngleCompass, GustAngleCompassSymbol, Humidity, Pressure, rain, sum_rain_1, sum_rain_24, WindStrength, GustStrength, Temperature
            - WindStrength                   #name will be nfws_name_station1_WindStrength
            - WindAngleCompass
            - WindAngleCompassSymbol
            - GustStrength
            - GustAngleCompass
            - GustAngleCompassSymbol
            - Humidity
            - rain
            - sum_rain_1
            - sum_rain_24

calculated_sensors:                         #sensor name = nfws_function_sensor_suffix
    - function: min                         #min, max, avg, first
          - Temperature                     #any sensor
          - Humidity
      suffix: ""                            #define if you need to have more sensors of one kind/function
        - "70:ee:50:2c:f1:54"

    - function: first                       #especially for wind station, which often disappears
      suffix: ""
      timeDelta: 30                         #netatmo sensor data shoudn't be older than timeDelta (in min). Compared to dashboard_data.time_utc. Default is 30min
          - WindStrength                    #only first sensor will be evaluated
          - WindAngleCompass                #next sensors will be taken from same station+module
          - WindAngleCompassSymbol
          - WindAngle
          - GustStrength
          - GustAngleCompass
          - GustAngleCompassSymbol
      stations:                             #ordered list
        - "70:ee:50:2c:f1:54"

System Information

version core-2023.10.0
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.11.5
os_name Linux
os_version 6.1.45
arch aarch64
timezone Europe/Paris
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4651
Installed Version 1.33.0
Stage running
Available Repositories 1320
Downloaded Repositories 55
Home Assistant Cloud
logged_in true
subscription_expiration 12 juillet 2024 à 02:00
relayer_connected true
relayer_region eu-central-1
remote_enabled true
remote_connected true
alexa_enabled true
google_enabled true
certificate_status ready
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 10.5
update_channel stable
supervisor_version supervisor-2023.10.0
agent_version 1.5.1
docker_version 23.0.6
disk_total 110.0 GB
disk_used 21.7 GB
healthy true
supported true
board khadas-vim3
supervisor_api ok
version_api ok
installed_addons File editor (5.6.0), Samba share (10.0.2), Zigbee2MQTT (1.33.1-1), Mosquitto broker (6.3.1), Advanced SSH & Web Terminal (15.0.8), InfluxDB (4.8.0), Grafana (9.1.1), Linky (1.1.0), Studio Code Server (5.11.0), Netatmo Favorites Weather Stations (0.9.6)
dashboards 2
resources 35
views 16
mode storage
oldest_recorder_run 28 août 2023 à 13:55
current_recorder_run 25 octobre 2023 à 13:36
estimated_db_size 8792.04 MiB
database_engine sqlite
database_version 3.41.2
api_endpoint_reachable ok

hi, just to be sure, do you have all stations from config set as favorite in netatmo?
It looks like you get no data

thank you for your feedback, I think so but I don’t see the location of your image


hi, i’m not at home right now, so I cannot debug your config.

  1. rename name: Mon domicile to mon_domicile
  2. add all stations to
        - "70:ee:50:2c:f1:54"

list is in log, in part Not used station id …

HA sensors are created, when some data are received.
Then you will see in log line like this:
27.10.2023 16:58:23 Registering: {‘unique_id’: ‘nfws_first_GustStrength’, ‘name’: ‘nfws_first_GustStrength’, ‘state_topic’: ‘nfws/sensor/nfws_first_GustStrength/state’, ‘json_attributes_topic’: ‘nfws/sensor/nfws_first_GustStrength/state’, ‘value_template’: ‘{{ value_json.value }}’, ‘device’: {‘identifiers’: [‘Netatmo weather station_70ee50’], ‘name’: ‘Netatmo Favourite Weather Stations’, ‘manufacturer’: ‘Netatmo’, ‘model’: ‘Weather Stations’}, ‘state_class’: ‘measurement’, ‘unit_of_measurement’: ‘km/h’}

1 Like

thank you for your help, I have the data coming back now

@GIZMO-DK Awesome addon, thank you very much!!

I see on the Netatmo dev documentation that it should also be possible to retrieve the min and max temperatures - would it be possible for your addon to retrieve the min and max temperatures from the last 24h? :slight_smile:


i published a new version with min/max temp values from netatmo
add min_temp/max_temp to station sensor list

1 Like