Wind Speed Anemometer Error in Automation

Hi guys,

I got the Windsensor from Netatmo (Anemometer) to build a storm detection for my roller shutters. Everything works and is installed fine appart from creating an atuomation with the windsensor. Basicall when I try to create an automation it throws the following error …

Message malformed: value must be one of ['apparent_power', 'battery_level', 'carbon_dioxide', 'carbon_monoxide', 'current', 'distance', 'energy', 'frequency', 'gas', 'humidity', 'illuminance', 'moisture', 'nitrogen_dioxide', 'nitrogen_monoxide', 'nitrous_oxide', 'ozone', 'pm1', 'pm10', 'pm25', 'power', 'power_factor', 'pressure', 'reactive_power', 'signal_strength', 'sulphur_dioxide', 'temperature', 'value', 'volatile_organic_compounds', 'voltage'] for dictionary value @ data['type']

… when I look at it in the YAML config I can see that the “type” is “speed” which doesn’t exist in my error message. So that’s the error basically. But why doesn’t exist if it is available. See below the YAML

alias: Storm Sutter Up
description: ""
trigger:
  - type: speed
    platform: device
    device_id: 53131239a07dae3b7055ee3a76839576
    entity_id: sensor.weather_station_anemometer_wind_strength
    domain: sensor
    above: 1
condition: []
action:
  - service: scene.turn_on
    target:
      entity_id: scene.storm
    metadata: {}
mode: single

If I set up a Sensor Card on my Dashboard it outputs the windspeed perfectly fine. Jsut in Automation I’m unable to use it as a trigger. Any help would be more than appreciated.

If you wonder why I need that, I already had my shutters replaced by hail damage and I want to avoid further damages by making my blinds and shutters smar :slight_smile:

Best,
Stefan

Device triggers can be finicky because device triggers are tied to a device and not necessarily an entity. Instead use a more basic Numeric State trigger:

alias: Storm Sutter Up
description: ""
trigger:
  - platform: numeric_state
    entity_id: sensor.weather_station_anemometer_wind_strength
    above: 1
condition: []
action:
  - service: scene.turn_on
    target:
      entity_id: scene.storm
    metadata: {}
mode: single

Thanks for getting back. I had this idea however it’s not working either. The wind strength isn’t coming through even though I can see it on my dashboard.

there are 2 types of wind strength, the default one and gusts. Gusts is measured for a shorter period of time but this isn’t available at all.

I also created a developer account now for netatmo. Still unlucky by creating an app. I treid to do it via IFTTT but for webhooks it’s $6 per month which I find a bit too much for one simpel thing.

Really Struggling on this one … Is this a HA problem or a Netatmo issue?

Bump,

Hello , exactly the same issue with wind sensor from HomematicIP . so it s seems more Homeassistant related issue :frowning:

no clue what the value should be .