Motion Detection
The PIR Motion webhook event provides real-time updates indicating activity detected by the Heatic2+ sensor in a specific room.
This event is only applicable to Heatic 2+ sensors.
A PIR Motion event is triggered when the Heatic 2+ sensor detects movement in a room, transitioning from a no-motion state to a motion-detected state. This event is only sent when a change in state occurs, ensuring that updates are meaningful and not repeatedly sent while motion is continuously detected.
Payload
The PIR Motion event follows a standardized JSON structure:
Field Descriptions
Event Metadata
id
string
Unique event identifier
type
string
Event type (e.g., "PIR_MOTION")
timestamp
number
Timestamp of the event (in milliseconds)
version
string
Event version (e.g., "v1.0.0")
Organization and Location Metadata
org_id
string
Unique organization identifier
site_id
string
Unique site identifier
building_id
string
Unique building identifier
floor_id
string
Unique floor identifier
room_id
string
Unique room identifier
org_name
string
Organization name
site_name
string
Site name
building_name
string
Building name
floor_name
string
Floor name
room_name
string
Room name
Last updated