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.
Please post the configuration for sensor.cumulusmx_dataupdate (as text, not a screenshot) so we can examine how it processes a received payload. Also, please post a sample payload (as text).
Thanks to all for the quick replies! The sensor.cumulusmx.dataupdate is data from MQTT, and I didn’t need to configure anything in sensors. The solution by “cyn” worked!!! Below is are my sensors so far, if this helps anyone else:
You also have the option to use json_attributes_template to import all parameters as separate attributes into a single sensor. It’s compact but its drawback is that there’s no automatically generated History Graph for each attribute.
Thanks for the link! I think I looked in there previously, but have only used MQTT for a few IoT devices in the distant past, and this was a little confusing. Saving the link for future reference. The sensors I am using now do exactly what I wanted… to display my weather station data in realtime in my HA. EPIC! Now I just need to add the rest of the sensors. There were 2 parts to solve to make this work, the HA side, and to find the Docker / CumulusMX MQTT string that needed modded to output everything I wanted to read. Thanks again to everyone!
Hi, I really want to integrate my Cumulus MX MQTT into Home Assistant, but it doesn’t work.
When I try to add “units_of_measurment” I get “Property of units_of_measurement is not allowed”
Sensor shows Davis windspeed off. Listening to topic on Mosquitto Broker only shows
I dislike wasting my time fixing non-existent problems, don’t you?
Speaking of non-existent problems, compare this screenshot:
It passes Configuration > Server Controls > Check Configuration.
HOWEVER, you know how to make it fail the check? If you try to create it not as an MQTT Sensor but as an MQTT Binary Sensor. The unit_of_measurement option is not supported for binary_sensor.
Move your sensor configuration out of the binary_sensor: domain and into the sensor: domain and it should be fine.