Device Information

Dimmer

The device allows integration with other systems using the REST protocol.
REST API can operate in three modes:
  • Static key - each REST command must include a static key generated by the application.
  • Dynamic key - a variable key generated using an algorithm.
  • Key not required - the key can have any value in the hex system, e.g., "00".
  • Changing the mode is possible in the advanced device settings, in the Remote Access section. In the REST API Calls section, example commands are presented that you can use to control the device. The protocol is disabled by default. Therefore, to test the operation of the commands, select the Key not required mode. Remember to set the REST mode to one of the secure options after testing: Static key, Dynamic key, or Disabled.
    REST API Calls
    Turn On
    Turn Off and suspend the execution of schedulers until the next event
    Set level to 128
    Get device state
    Set maximum level to 255 and suspend the execution of schedulers for 5000 ms
    Get brightness level
    Set device state transition time to 1000 ms
    Get device state transition time
    Changes the device state to the opposite. After 5s the device returns to the default state or schedule.