#MQTT auto discovery isn't very ... auto?

1 messages · Page 1 of 1 (latest)

vague fox
#

I'm trying to wrap my head around MQTT auto discovery, and I gather that for Home Assistant to "autodiscover" devices, I need to manually send a very specific, and very specifically formatted, MQTT message...

Maybe it's just me, but that doesn't seem very "auto" to me... Or have I gotten this all wrong?

queen zephyr
#

Usually a device or software application would support it for integration with HA

#

etc.

vague fox
#

I'm receiving weather station data on a Raspberry Pi running rtl_433 and publishing to mqtt. So - this python script - should I run that on the Raspberry Pi? And should I just run it once, or continuously?

#

Oh, just once, I see. Thank you so much! 😊

queen zephyr
#

Yeah looks like you can run it once in awhile or continuously. I just use manual MQTT entities for my rtl_433 stuff.

vague fox
#

Thanks!

dire wharf
#

You don't have to, the device need to do it. Aka, it has to publish once how and where it expects it's commands. For a device it should not be to hard to implement

vague fox
dire wharf
#

Yeah, sending the right discovery message is indeed up to the maker of the device. So in this case, you 😄 I mean, a device has to share something about it's capabilities. HA cannot make it up out of thin air :p