|  Developer
Updated on November 8, 2021

hub.device.setting.dictionary.value.set

Connection type:
Permissions:
  • Sets new value for element/adds a new element/removes an element in the dictionary

request:

				
					{
    "method": "hub.device.setting.dictionary.value.set",
    "id": "_ID_",
    "params": {
        "_id": "5ef177ff7f0000258f9f8c33",
        "key": "abc",
        "value": {
            "name": "Parameter 1",
            "description": "Parameter 1",
            "format": "dec",
            "number": 1,
            "size": 1,
            "value": 1
        }
    }
}				
			
Field Type Required Description
_id string + Setting Id
key string + unique id (16 symbols max)
value object Value to be set for the setting. If null, removes the element

value field

Fields Type Required Description
name string + name of the configuration parameter
description string + description of the configuration parameter
format string + value format (dec or hex)
hasSetter bool Can be changed or not. Default value: true.
number int + parameter number
size int + size of the value in bytes (1, 2 or 4)
value int value to set (shouldn’t be specified, if hasSetter = false)