I still have trouble understanding how to add an MQTT device without YAML. It seems there's an elaborate GUI flow made to deal with this, so why is this so complicated?
I have MQTT messages coming in. Their topics are e.g.
wx/temperature wx/humidity wx/light_lux wx/rain_mm wx/wind_dir_deg
How do I tell Home Assistant to just add the bloody device, and let me configure units afterwards and not type out 600 lines of YAML manually?
6 Comments
mhzawadi@lemmy.horwood.cloud · 6 pts · 272d
that sounds like its missing the MQTT auto discovery topics, you could write a shell script to add that. or there might be a HACS thing to do it
ThePantser@sh.itjust.works · 5 pts · 272d
If MQTT or HA doesn't see it and doesn't give you the discovered device message you will probably have to create the device yourself in your config yaml.
oz1sej@lemmy.world · 1 pts · 271d
But what's all the GUI shenanigans for, then? There are so many configuration options under MQTT devices in the GUI, but nowhere to enter an actual MQTT topic. I wonder what it's for.
GreatAlbatross@feddit.uk · 2 pts · 268d
What type of radio is the weather station using? Are you pulling the data using RTL_433?
oz1sej@lemmy.world · 1 pts · 244d
Yes, with a Raspberry Pi, and sending data to the MQTT server directly with rtl_433 and the MQTT option.
GreatAlbatross@feddit.uk · 1 pts · 242d
Do you have rtl_433 mqtt auto-discovery set up?