13. Supported Devices
Here you can find all the supported devices and the example code for connecting them to Smartnest.
Supported devices:
Smartnest supports the following device controller types:
Power Controller: On OFF
The variable used for this controller is called powerState and it can only be either ON or OFF, this is the basic controller type and it can be used for switches, relays, lights and in general any device that can be turned on, turned off, activated or deactivated.
Supported on All devices
Percentage Controller: 0-100%
The variable used for this controller is called percentage and it can only be between 0 and 100, this can be use for lights or dimmable devices.
Supported on Light, Light RGB, Fan, Blinds
Thermostat Controller:
There are three variables that are used to storage the current state of the thermostat:
temperature : current ambient temperature.
setpoint: desired temperature.
scale: sets the temperature units to use, "C" for Celcius, "F" for Fahrenheit.
The temperature variable is supported by these device types:
Thermostat
Temperature Sensor
Air conditioner
The setpoint variable is supported by these device types:
Thermostat
Air conditioner
The scale variable is supported by these device types
Thermostat
Temperature Sensor
Air conditioner
Sensor detection Controller:
The variable for digital sensors is called detectionState and it can be true or false, it is supported by the following device types:
Contact Sensor
Motion Sensor
Doorbell
Lock controller:
The variable that stores the state for locks and doors is called lockedState, it can be true or false, it is supported by these device types:
Supported on Lock and Door
Last updated
Was this helpful?