mqtt-io icon indicating copy to clipboard operation
mqtt-io copied to clipboard

Separate Devices Running MQTT IO Are Recognized as a Single Device in Home Assistant

Open dolai1 opened this issue 5 months ago • 1 comments

I appreciate the software; this is letting me pull my remote Raspberry Pi GPIOs into HA cleanly.

I have an issue though. I have two separate instances of MQTT IO running right now on two Raspberry Pis (more to come), but they get merged into a single device in HA (Mosquitto) with all of the entities under it.

I am guessing that I need to change my ha_discovery settings, but not sure how right now.

Each instance has its own MQTT user, it's own topic prefix, and a unique name under mqtt.ha_discovery. The device name is the one that connected most recently and, with MQTT Explorer, I confirmed that the two instances have different unique IDs.

Any idea what I need to change in my configs to get the two to be recognized as separate devices in Home Assistant? Thank you.

dolai1 avatar Jan 19 '24 00:01 dolai1