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.

Developer info

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)