I am running CumulusMX software for my weather station and it sends out MQTT messages (“Data Update”) to my HA server. There are not many options for the MQTT message.
The Entity “sensor.cumulusmx_dataupdate” has multiple states combined in it (time, windspeed, winddir, wgust. etc.).
I want to be able to split these out into individual sensors, but am unsure how to do this.
My sensor for “windspeed” right now is as follows (not working):
- platform: template
sensors:
cumulusmx_windspeed:
friendly_name: CumulusMX Wind Speed
unit_of_measurement: 'mph'
value_template: '{{ states.sensor.cumulusmx_dataupdate.attributes.windspeed|round }}'
Any ideas how I can do this?
5 posts - 4 participants