[Solved] MQTT integration with home assistant

Hi,

currently digging into MQTT integration, home assistant and others capabilities.

What i try to setup is having HA as my device manager.
Every devices connected to Hubitat should be mirrored into HA.
hubitat should report to HA any state change on any device as well as allowing incoming commands.

I have the required setup, Hubitat, an MQTT broker, home assistant, connectivity is ok.
I successfuly setup a virtual switch in Hubitat, sending the change state into the broker and reading the value to control a virtual switch into Home assistant.

I am leveraging the MQTT app for that: GitHub - mydevbox/hubitat-mqtt-link

This app does not enable the Automatic discovery from HA which would be good for me, avoiding to configure everything manually.

came accross some possible MQTT implementation alternatives:

I see that the xAPPO seems more mature but both have codebase not updated since 4 years now.

Wondering what is the go to setup people are using for such communication requirements today. Is there a new app/driver i did not find that implements all my requirements ?

PS: i am a strong developer with solid network knowledges so I would not mind digging into some code and apply/maintain some changes if required.

Thx for the heads up

Have you considered using @jason0x43's Hubitat integration that is in HACS?

1 Like

hi, thx for the quick reply.
This did not came up in my research and i think this is because use the marker API.
I m looking for an event based integration (not point to point), will have other publishers than Hubitat as well as other subscribers than Home assistant.

Just gona reply to myself with saying that I managed to have what I was looking for using the zAPP0/MQTT app & driver:

The app itself has numerous issues, besides not clear documentation, so many options that are not explained at all, various bugs where you have to delete devices, restart your hub, checking boxes do nothing etc...

At the end, it works: got my devices publishing auto discover messages into specific topics on my broker. Got Home assistant and the MQTT integration auto discovering those devices.
I can manipulate them on HA or HE and the content is in sync,

I dont think this is a viable solution if you want to scale up but I only have 3 Z-wave devices on Hubitat, so it is manageable for now.