[MODIFIED] Netatmo Weather Station

Sorry guys, I don’t have much time to support this at the moment.

The reason for the rain gauge not showing all parameters in HA is because it uses custom capabilites. I guess this is not supported by the HA integration.

Herr is how to add a Smartapp in the latest ST app version.

On both my tablet and mobile (both Samsung) I have the latest update (2021/10) and there is nowhere on the automations / add routine / discover tab to add a SmartApp! It merely lists my already installed smartApps as is shown on the automations page!

Should be at the bottom of the discover page

@cscheiene I couldn’t see the base sensor as well (only outdoor). After some debugging I found out that the:

apiGet("/api/getstationsdata",["get_favorites":true]) { resp ->

returns following data:

[
  [
    _id:70:ee:50:5f:45:5e,
    co2_calibrating:false,
    dashboard_data:[AbsolutePressure:1023.4, CO2:1024, Humidity:48, Noise:45, Pressure:1024.6, Temperature:23.9, date_max_temp:1636394515, date_min_temp:1636388210, max_temp:28.8, min_temp:20.4, temp_trend:up, time_utc:1636404446],
    data_type:[Temperature, CO2, Humidity, Noise, Pressure],
    date_setup:1635362800,
    firmware:181,
    home_id:61894c3e2bb03804801bc56b,
    home_name:Foo,
    last_setup:1636387902,
    last_status_store:1636404447,
    modules:[
      [_id:02:00:00:32:d3:52,
      battery_percent:100,
    battery_vp:6526,
    dashboard_data:[Humidity:79, Temperature:6.7, date_max_temp:1636388210, date_min_temp:1636400207, max_temp:23.4, min_temp:6.6, temp_trend:stabl, time_utc:1636404411],
    data_type:[Temperature, Humidity],
    firmware:50,
    last_message:1636404444,
    last_seen:1636404411,
    last_setup:1636387903,
    module_name:Outdoor,
    reachable:true,
    rf_status:59,
    type:NAModule1]
  ],
  place:[
    // (PLACE DATA)
    type:NAMain,
    wifi_status:48
  ]
]
]

That means this conodition:
if (value.module_name != null) {

was always false and the base station was never added to the deviceList. I’ve modified the following app code:

            if (value.module_name != null) {
                deviceList[key] = "${value.station_name}: ${value.module_name}"
            }
            else{
                deviceList[key] = "${value.station_name}: Main"            
            }
            
            state.deviceDetail[key] = value
            state.deviceState[key] = value.dashboard_data

and all works fine!

Sorry guys, i use this smartapp from a lot of time, but only now i add my wind module . Thi icon not work, is possible to solve it?

@cscheiene I see that you have done a great job with the weather station, would you be able, would you have the time and the desire to integrate the thermostat as well? Native netatmo integration is shit due to data refreshing every 6 hours. Can anything custom be done to fix? Do you have some advice?