|
|
|
|
Re: How can I remove the Thing in Binding? [message #1513191 is a reply to message #1513159] |
Tue, 16 December 2014 09:52 |
Karel Goderis Messages: 198 Registered: March 2014 |
Senior Member |
|
|
Denis,
I think Kevin wants to keep the real world in sync with the abstract ESH world. Since discovery is about adding devices, logically, you would also expect the runtime to be able to deal with the disappearance of devices.
btw, this is something we are also struggling with in the Sonos 2.0 UPNP based binding, where there is a requirement to detect the removal of a Sonos device, but for which we now have to implement a separate polling/is-alive process.
I understand we keep track of disappeared devices as we set the status to OFFLINE, but changing the state to OFFLINE implies a detection mechanism. So, do we keep track of a device and flag it OFFLINE (and a user is aware that a device existed/was online at a given point in time), or do we remove disappeared devices altogether? I am not sure that either scenario is perfect, e.g. environments with lots of things, or fast changing networks (for example, part of zigbee/zwave/... mesh disappearing suddenly,...)
K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02451 seconds