|  Developer
Updated on November 30, 2022


  • Version: 1.0
  • Classes: UI
  • Title: Scene manager categories
  • Description: Update existing device group object.
Field Type Required Description
id string + ID of a record to update
name string A name of a group. Should be unique, should meet firmware name length restrictions. Current firmware limits name length of majority of objects to 128 symbols.
categories array of objects An array of category filters. Defines a set of device categories that form a set of devices in the group.
devices array of device IDs Device identifiers to be added to a set defined by categories collection
exceptions array of device IDs Device identifiers to be excluded from a device group
persistent bool Defines if an object is persistent.
  • Empty result.
Code Message Data
-32602 Wrong params,
-32602 Wrong field of object
-32600 Value is too long,
-32500 No device found!
-32602 Record with the key does not exist
Broadcasts Description
hub.scenes.device.group.updated Inform about the change of the device group.
  "api": "1.0",
    "id": "<deviceGroupId>",
    "name": "_DEVICE_GROUP_NAME_",
    "categories": [
      { "category": "security_sensor", "subcategories": [ "co2", "leak" ]  }
      { "category": "scene_controller", "exceptions": [ "panic" ] }
    "devices": [],
    "exceptions": [],
    "persistent": false
    "error": null,
    "id": "_ID_",
    "result": {