Hi,
How do I obtain timestamp, as soon as the device disconnects? Thanks
Subrahmanyam
It depends on exactly what you are attempting to do, but most likely the easiest thing is to use a Device: Disconnect trigger in a workflow. The time
field for that trigger payload is the disconnection time.
I am trying to send alert to users as soon as device disconnects. I rebooted my edge device and device:disconnect node is not getting triggered? The workflow here is edge workflow.
You probably want to use a Cloud workflow, not an Edge workflow for this. There are a couple reasons for this:
With the application workflow, I can’t set device dynamically. I have to manually select device from list. is there a way I can’t select device dynamically like {{deviceId}}
Also how do I use device disconnect in GEA? if it is not going to send message or run workflows?
The Cloud Device: Disconnect trigger supports tags - so you can match against device tags, you do not need to pick individual devices.
The Edge Device: Disconnect is useful for when the device disconnects (say the internet connection goes out) but the agent itself is still running and you need the agent to perform some local task due to losing the connection.