-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
To reproduce create a system variable using SysVar.createEnum, expected parameters are "name", "valList", "internal" and "chnID".
For internal, the tcl (createenum.tcl) documents that an integer value is to be passed. I tried 0, 1, 2 and false (you never now), in all cases the api would not return any sort of error, but never would create a visible variable.
As requested for the other issues some payloads. SysVar.createEnum:
"{"name":"Public","valList":"Foo;Bar;Other","internal":"0","chnID":"-1"}
Response is successful:
{"version": "1.1","result": {'name':'Public','id':'6972','value':'A;B;C' },"error": null}
SysVar.getAll will show the variable as internal, the WebUI will not show it:
{
"id":"6972",
"name":"Public",
"type":"LIST",
"unit":"",
"value":"0",
"channelId":"65535",
"valueList":"A;B;C",
"isLogged":false,
"isVisible":true,
"isInternal":true
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels