Homie discovered device fails until it is republished

When I add a homie discovered thing from MQTT I get the following error:

Did not receive mandatory topic value: homie/hubitat/$name

looking at MQTT this topic does exist and is retained. See screenshot. Any idea why this is failing? If I manually do a publish to the $name topic with the same exact value the thing comes online.

This is a known bug.

See https://github.com/openhab/openhab-addons/issues/6975 and
https://github.com/openhab/openhab-addons/issues/7252

Would be helpful to add any information to that thread.

1 Like

Fixed in 2.5.6

1 Like