13.07.2022, 06:13
You can do this via a direct DB query:
Code:
addr = '32/1/1'
grp_visparams = {
["max"]="10000",
["min"]="0",
["step"]="",
["control"]="spinner",
["decimals"]="0",
}
json_visparams = json.encode(grp_visparams)
id = knxlib.encodega(addr)
db:query('UPDATE objects SET visparams=? WHERE id=?', json_visparams, id)