Edit
				
					{
    "method": "hub.device.room.set",
    "id": "_ID_",
    "params": {
        "_id" : "_OBJECT_ID_",
        "roomId": "_OBJECT_ID_"
    }
}				
			
Edit
				
					{
    "api": "1.0",
    "error": null,
    "id": "_ID_",
    "result": {}
}				
			
Edit
Code Message Data
-32500
Placing subdevice is forbidden
ezlo.device.forbidden.place.subdevice
-32500
No device found!
ezlo.device.notfound
-32500
Room not found
nma.room.notfound
-32602
Wrong field of object
rpc.params.wrong_field