A beginner's guide
Explore Plans
Mobile menu Close menu
OhmConnectOhmConnect

Record change in device status

This action will record a change in device status to help us know what is happening with your devices.

About this action

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
This action will record a change in device status to help us know what is happening with your devices.
API endpoint slug
ohmconnect.device_status_change
Filter code method
Ohmconnect.deviceStatusChange.skip(string?: reason)
Runtime method
runAction("ohmconnect.device_status_change", {})

Action fields

Device type Dropdown list

Label
Type of device
Slug
device_type
Required
true
Can have default value
true
Filter code method
Ohmconnect.deviceStatusChange.setDeviceType(string: deviceType)

Device name Text input > Title

Label
Nickname for the device
Helper text
if your device already has a nickname, enter that here or enter a new nickname e.g. Hallway or Bedroom
Slug
device_name
Required
false
Can have default value
true
Filter code method
Ohmconnect.deviceStatusChange.setDeviceName(string: deviceName)

Status key Text input > Title

Label
What is changing?
Helper text
short tag to indicate what is changing e.g. temperature, power, status
Slug
status_key
Required
true
Can have default value
true
Filter code method
Ohmconnect.deviceStatusChange.setStatusKey(string: statusKey)

Status value Text input > Short text

Label
What is the new value?
Helper text
for a thermostat this might be a temperature, for a plug this might be on/off
Slug
status_value
Required
true
Can have default value
true
Filter code method
Ohmconnect.deviceStatusChange.setStatusValue(string: statusValue)