Hallo,
according to OH Thing Discovery, discovery results matching Things that have been already created (manually) with same representation property value, will be ignored and not added to Inbox.
In my binding I have ownID
parameter declared as representation-property
for all Things:
<representation-property>ownId</representation-property>
however after I create this thing manually:
/rest/things:
{
label: "Living Room Light",
properties: {
ownId: "1.51"
[...]
and do a device scan, I can find in my Inbox this new device:
/rest/inbox:
{
bridgeUID: "openwebnet:bus_gateway:mybridge",
flag: "NEW",
label: "Switch (WHERE=51)",
properties: {
where: "51",
ownId: "1.51"
},
thingUID: "openwebnet:bus_on_off_switch:mybridge:51",
thingTypeUID: "openwebnet:bus_on_off_switch"
}
as you can see the Discovery Result in Ibox and the thing created manually have the same representation property value:
ownId: "1.51"
How can this be possible?
Is something wrong in my Thing definition?
(I am on OH 2.5.0.SNAPSHOT)
thanks bye,
Massi