|  Developer
Updated on November 30, 2022

hub.scenes.device.group.get

  • Version: 1.0
  • Classes: UI
  • Title: Scene manager categories
  • Description: Get device device groups by Id
Edit
Field Type Required Description
id string + Get device group by ID
Edit
Code Message Data
-32602 Wrong params,
-32602 Wrong field of object
-32602 Record with the key does not exist
Edit
Edit
				
					{
    "id": "_ID_",
    "jsonrpc": "2.0",
    "api": "1.0",
    "method": "hub.scenes.device.group.get",
    "params": {
        "id": "<device group id>"
    }
}				
			
Edit
				
					{
    "api": "1.0",
    "error": null,
    "id": "633216245ab7be12415365c4",
    "result": {
        "_id": "633216245ab7be12415365c4",
        "name": "SecuritySensors 01",
        "categories": [
            { "category": "security_sensor", "subcategories": [ "co2", "leak" ]  }
            { "category": "scene_controller", "exceptions": [ "panic" ] }
        ],
        "devices": [],
        "exceptions": [],
        "persistent": false
    }
}