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?

all 6 comments

sorted by: hot top controversial new old
[–] 6 points 11 months ago

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

  • source
  • [–] 5 points 11 months ago (4 children)

    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.

  • source
  • hideshow 4 child comments
  • [–] [S] 1 point 11 months ago (3 children)

    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.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 2 points 11 months ago (2 children)

    What type of radio is the weather station using? Are you pulling the data using RTL_433?

  • source
  • parent
  • hideshow 2 child comments