qt-openzwave
qt-openzwave copied to clipboard
Required to issue "Remove User Code" twice
When utilizing the "Remove User Code" command you have to trigger it twice in order for it to actually work.
{
"Label": "Remove User Code",
"Value": 0,
"Units": "",
"ValueSet": false,
"ValuePolled": false,
"ChangeVerified": false,
"Min": -32768,
"Max": 32767,
"Type": "Short",
"Instance": 1,
"CommandClass": "COMMAND_CLASS_USER_CODE",
"Index": 256,
"Node": 14,
"Genre": "System",
"Help": "Remove A UserCode at the Specified Index",
"ValueIDKey": 72057594287013910,
"ReadOnly": false,
"WriteOnly": true,
"Event": "valueAdded",
"TimeStamp": 1593804665
}
topic: OpenZWave/1/command/setvalue/
payload:
{
"ValueIDKey": 72057594287013910,
"Value": 3
}
Results:
{
"status": "ok",
"TimeStamp": 1593833969
}
The value persists and doesn't actually get deleted until you issue the same command a second time. At which point the Alarm Type
changes to 33, and the Alarm Value
changes to 3 (code slot).