hub.gateway.setting.value.set
Connection type:
Permissions:
Send a request to update a gateway setting value.
Edit
Field | Type | Description |
---|---|---|
_id | string | id of a gateway setting to change a value for |
Edit
Broadcasts | Description |
---|---|
hub.gateway.setting.updated |
Informs about gateway setting state changes. |
Edit
{
"api": "1.0",
"error": null,
"id": "_ID_",
"result": {}
}
{
"error": {
"code": -32602,
"data": "rpc.params.wrong_field",
"message": "Wrong field of object",
"reason": "Gateway setting not found by id: zwave.the_best"
},
"id": "_ID_",
"method": "hub.gateway.setting.value.set",
"result": {},
}
{
"error": {
"code": -32602,
"data": "rpc.params.wrong_field",
"message": "Wrong field of object",
"reason": "Gateway setting is ready only, id: zwave.the_worst"
},
"id": "_ID_",
"method": "hub.gateway.setting.value.set",
"result": {},
}