Agocontrol allows developers to set a device on a stale state.
This device is not removed from inventory and appears as staled on web UI (red icon).
A staled device is not refreshed until its stale flag is reseted again.
Device stale flag is on device controller responsibility. System cannot change the stale flag by itself.
From created AgoConnection object call suspendDevice to set device stale flag
From created AgoConnection object call resumeDevice to reset device stale flag
When a device stale flag changed, an event "event.device.stale" is triggered
This event contains current device stale value (1|0)