Explore Plans
Mobile menu Close menu
ThinkaThinka

Contact Sensor

This Trigger monitors sensor contact value and fires whenever the contact state changes.

Developer info

API endpoint slug
thinka.contact_sensor

Trigger fields

Traits open close Dropdown list

Label
Device
Slug
traits_open_close
Required
true
Can have default value
false

State Dropdown list

Label
State
Slug
state
Required
true
Can have default value
true

Ingredients

Created atDate and time event was created.

Slug
created_at
Filter code
Thinka.contactSensor.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

RoomThe room the device is in

Slug
location
Filter code
Thinka.contactSensor.Room
Type
String
Example
Living room

DeviceThe device that triggered the change

Slug
device
Filter code
Thinka.contactSensor.Device
Type
String
Example
The door sensor

Sensor stateThe state of the sensor, Open or Closed

Slug
contact
Filter code
Thinka.contactSensor.SensorState
Type
String
Example
Open