#Mqtt auto discovery library

2 messages · Page 1 of 1 (latest)

hoary orbit
#

Im trying to integrate some rest api into my HA setup, but I have trouble even starting. I decided to use *2mqtt approach since it looks way easier than creating a custom integration. I tried two for python and I was unhappy with both of them. I decided to ask for help if anyone knows what is the best way to achieve my goal.

Is there any good library that supports home assistant auto discovery for mqtt? I can adapt to other languages if there is anything, but I was looking at github for *2mqtt projects and I mostly found self-implemented application specific parts, or those two libraries. Or maybe is there alternative to making *2mqtt script?

manic coyote
#

I haven't seen anything that will autoconfigure a discovery message for you but like... It's not hard. If you're planning on talking over mqtt, constructing that message is simple.
That said you could just not, and define it manually in the configuration.yaml