Netatmo Favorites Weather Station Addon

Hi Gizmo
I tried to install and register as described in DOCS.md
But finally I get permanent errors which I do not understand.
There is no addon and no sensor in mqtt

Would be great if you could have a look into it
Best wishes Tom

can you paste your station.yaml?

thx for quick response. here we are
Im not a software engineeer, I modify the stations.yaml in windows text editor

netatmo_stations:
    "70:ee:50:1e:2a:2e":
        name: Wanlo
        sensors:
            - Temperature
            - min_temp
            - WindStrength
            - WindAngleCompass
            - WindAngleCompassSymbol
            - GustStrength
            - GustAngleCompass
            - GustAngleCompassSymbol
            - Humidity
            - rain
            - sum_rain_1
            - sum_rain_24
 calculated_sensors:
    - function: min
      sensors: 
          - Temperature
          - Humidity
      suffix: ""
      stations:
        - "70:ee:50:1e:2a:2e"
    - function: first
      suffix: ""
      timeDelta: 30
      sensors: 
          - WindStrength
          - WindAngleCompass
          - WindAngleCompassSymbol
          - WindAngle
          - GustStrength
          - GustAngleCompass
          - GustAngleCompassSymbol
      stations:
        - "70:ee:50:1e:2a:2e"

can you check if you have one space in front of netatmo_stations: ?
or no space before calculated_sensors:
you can validate yaml here: https://www.yamllint.com/

there was no space in front of netatmo_stations: and one space in front of calculated_sensors:
I delete the space in front of calculated_sensors:
than restart HA + addon

netatmo_stations:
    "70:ee:50:1e:2a:2e":
        name: Wanlo
        sensors:
            - Temperature
            - min_temp
            - WindStrength
            - WindAngleCompass
            - WindAngleCompassSymbol
            - GustStrength
            - GustAngleCompass
            - GustAngleCompassSymbol
            - Humidity
            - rain
            - sum_rain_1
            - sum_rain_24
 calculated_sensors:
    - function: min
      sensors: 
          - Temperature
          - Humidity
      suffix: ""
      stations:
        - "70:ee:50:1e:2a:2e"
    - function: first
      suffix: ""
      timeDelta: 30
      sensors: 
          - WindStrength
          - WindAngleCompass
          - WindAngleCompassSymbol
          - WindAngle
          - GustStrength
          - GustAngleCompass
          - GustAngleCompassSymbol
      stations:
        - "70:ee:50:1e:2a:2e"

the error message is still there, btw installed HA version is 2025.4.3

you still have one space in front of calculated_sensors.

this works:

netatmo_stations:
    "71:ee:50:1e:2a:2e":
        name: Wanlo
        sensors:
            - Temperature
calculated_sensors:
    - function: min
      sensors: 
          - Temperature
      suffix: ""
      stations:
        - "71:ee:50:1e:2a:2e"

Thanks again for the hint - I correct it - guess we come closer now, but I still get error message “device not found” from the prefered station,

(Other station ID show same behave, )

In MQTT is no NETATMO sensor shown up to now, here my current station.yaml

netatmo_stations:
    "70:ee:50:1e:2a:2e":
        name: Wanlo
        sensors:
            - Temperature
calculated_sensors:
    - function: min
      sensors: 
          - Temperature
      suffix: ""
      stations:
        - "70:ee:50:1e:2a:2e"

log file while starting/stopping addon :

We solved the problem.
Error “Device not found” means the station was not added to favourite stations

thanks @GIZMoSK for your support to make the addon run -
works well + looking great

ps: for all beginners, a correct stations.yaml is the key

2 Likes

Unfortunately, I can’t get the add-on to work. I installed version 0.9.8 and successfully linked it to Netatmo.

I manually created the slug_nfws/ directory in the /addon_configs/ directory. It was not created automatically. Here I created the stations.yaml file. The stations.yaml file has the following content (based on stations_example.yaml):

netatmo_stations:
    "70:ee:50:63:fd:a0":
        name: station1                       #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, min_temp, max_temp
            - WindStrength                   #name will be nfws_name_station1_WindStrength
            - WindAngleCompass
            - WindAngleCompassSymbol
            - GustStrength
            - GustAngleCompass
            - GustAngleCompassSymbol
            - Humidity
            - rain
            - sum_rain_1
            - sum_rain_24
    "70:ee:50:03:a9:cc":
        name: station2
        sensors:
            - Temperature
            - min_temp
            - WindAngleCompass
            - WindAngleCompassSymbol
            - WindStrength                  #name will be nfws_name_station2_WindStrength
            - GustStrength
            - GustAngleCompass
    "70:ee:50:17:64:94":
        name: station3                       #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, min_temp, max_temp
            - WindStrength                   #name will be nfws_name_station1_WindStrength
            - WindAngleCompass
            - WindAngleCompassSymbol
            - GustStrength
            - GustAngleCompass
            - GustAngleCompassSymbol
            - Humidity
            - rain
            - sum_rain_1
            - sum_rain_24
    "70:ee:50:27:8d:10":
        name: station4                       #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, min_temp, max_temp
            - 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
      sensors: 
          - Temperature                     #any sensor
          - Humidity
      suffix: ""                            #define if you need to have more sensors of one kind/function
      stations:
        - "70:ee:50:63:fd:a0"
        - "70:ee:50:03:a9:cc"
        - "70:ee:50:17:64:94"
        - "70:ee:50:27:8d:10"
    - 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
      sensors: 
          - 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:63:fd:a0"
        - "70:ee:50:03:a9:cc"
        - "70:ee:50:17:64:94"
        - "70:ee:50:27:8d:10"

The logs only show the following information:

17.08.2025 11:45:23 Starting Netatmo service
Run mode: hass
Config dir: /config/
{
    "access_token": "XXX",
    "expire_in": 10800,
    "expires_in": 10800,
    "refresh_token": "XXX",
    "scope": [
        "read_station"
    ]
}
17.08.2025 11:45:23 get data
Not used station id: 70:ee:50:63:fd:a0, name: Mein Haus (Innen)
Not used station id: 70:ee:50:03:a9:cc, name: Essen (Galerie)
Not used station id: 70:ee:50:17:64:94, name: Norbis Wetterstation (Wohnzimmer)
Not used station id: 70:ee:50:27:8d:10, name: Netatmo (Wohnzimmer)
17.08.2025 11:47:24 get data
17.08.2025 11:49:27 get data

I have no idea how to proceed. Can you help me? Where is the error?

problem solved, stations.yaml is in \192.168.xx.xx\addon_configs\adaeefb4_nfws . For editing install Samba share addon