chris
(Chris Jackson)
January 28, 2025, 11:01pm
43
Did you change the UID of the device? If so, I think that the way OH works it will always create the original discovery thing in the inbox. I think that’s unavoidable (and I agree - annoying). Conversely, if you keep the default UID, then I think it will “update” (or overwrite) any configuratioon.
I think it’s maybe also related to this -:
opened 04:28PM - 12 Aug 23 UTC
bug
Tested on OH 4.0.1
Prequisites: A pre-configured thing (using GUI, not files… afaik) with a property X set to a particular value.
Initiate a new discovery (or wait for background discovery to run).
A `DiscoveryResult` is created using the same thing UID, but with a different value for the property X (also used as the representation property).
Expected result: Existing thing is untouched, and a possibly new entry is added to the inbox.
Actual Result: The _existing_, pre-configured thing is having its property X overwritten with the discovery result value.
Possible workarounds:
* Use thing files which openhab cannot overwrite.
* Use a randomized thing uid to prevent openhab correlating existing thing and newly discovered thing.
While this issue has been detected in relation to mDNS, it _might_ be affecting any kind of discovery.
This issue has been reported in the forum earlier for an unrelated binding: https://community.openhab.org/t/is-here-anyone-using-volumio/16678/116
Glad you have it working though
1 Like