Skip to content

Event messages

An event message tells you that an app user changed something: added a device, renamed a home, created a scene. It says what changed and its id; read the details from IoT Core when you need them.

{
"eventTime": 1764727200123,
"event": "EDC",
"id": "67b6d9e5ed85870f925971fc",
"locationId": "67b5920ce5105d6fa8d0a264",
"rootId": "67b6d830ed85870f925971bb",
"label": "Smoke alarm",
"devType": 32,
"prodId": "0014389040020007",
"fromid": "67b59f4e",
"type": 600,
"userId": "cqaP2NJTYAND7lJTPWAuAF3EFv73"
}
Field Meaning
eventTime When Thing Edges received the event (ms)
event The event type, from the table below
id The id of what changed: a device, location, group, scene, automation or schedule
fromid Who sent the change: the app’s session, or RogoCloud when the cloud did it
type Always 600
userId The app user it happened to
Event What happened Extra fields
EDC A device was added locationId, rootId (its hub, if any), label, devType, prodId
EDU A device changed: name, room or settings locationId, label, devType, prodId
EDD A device was removed
ELC, ELU, ELD A location (home) was created, changed or deleted
EGC, EGU, EGD A group (room) was created, changed or deleted
ESC, ESU, ESD A scene was created, changed or deleted
EAC, EAU, EAD An automation was created, changed or deleted
ESCC, ESCU, ESCD A schedule was created, changed or deleted
ESMD A smart rule was deleted
ESTEC, ESTEU, ESTED A smart trigger was created, changed or deleted

devType is a device type and prodId the product id.