As far as I can tell physically not changing; the value read back for the valve position is 0, and the LCD displays a ‘0’ that I think is the valve position.
As for logs, I turned on debug and I’ve got:
DEBUG:libopenzwave:SetValueListSelection Off
DEBUG:libopenzwave:SetValueListSelection True
DEBUG:libopenzwave:notif_callback : new notification
DEBUG:libopenzwave:notif_callback : Notification type : 2, nodeId : 7
DEBUG:libopenzwave:addValueId : ValueID : 72057594160611332
DEBUG:libopenzwave:addValueId : GetCommandClassId : 64, GetType : 4
DEBUG:libopenzwave:addValueId : Notification : {‘notificationType’: ‘ValueChanged’, ‘homeId’: 4140730395, ‘nodeId’: 7, ‘valueId’: {‘homeId’: 4140730395, ‘nodeId’: 7, ‘commandClass’: ‘COMMAND_CLASS_THERMOSTAT_MODE’, ‘instance’: 1, ‘index’: 0, ‘id’: 72057594160611332, ‘genre’: ‘User’, ‘type’: ‘List’, ‘value’: ‘Off’, ‘label’: ‘Mode’, ‘units’: ‘’, ‘readOnly’: False}}
DEBUG:libopenzwave:notif_callback : call callback context
DEBUG:openzwave:zwcallback args=[{‘notificationType’: ‘ValueChanged’, ‘homeId’: 4140730395, ‘nodeId’: 7, ‘valueId’: {‘homeId’: 4140730395, ‘nodeId’: 7, ‘commandClass’: ‘COMMAND_CLASS_THERMOSTAT_MODE’, ‘instance’: 1, ‘index’: 0, ‘id’: 72057594160611332, ‘genre’: ‘User’, ‘type’: ‘List’, ‘value’: ‘Off’, ‘label’: ‘Mode’, ‘units’: ‘’, ‘readOnly’: False}}]
DEBUG:openzwave:Z-Wave Notification ValueChanged : {‘notificationType’: ‘ValueChanged’, ‘homeId’: 4140730395, ‘nodeId’: 7, ‘valueId’: {‘homeId’: 4140730395, ‘nodeId’: 7, ‘commandClass’: ‘COMMAND_CLASS_THERMOSTAT_MODE’, ‘instance’: 1, ‘index’: 0, ‘id’: 72057594160611332, ‘genre’: ‘User’, ‘type’: ‘List’, ‘value’: ‘Off’, ‘label’: ‘Mode’, ‘units’: ‘’, ‘readOnly’: False}}
DEBUG:libopenzwave:notif_callback : end
DEBUG:libopenzwave:SetValueListSelection Manufacturer Specific
DEBUG:libopenzwave:SetValueListSelection True
DEBUG:openzwave:set_dimmer Level:20
it still seems to write the normal log file:
drwxrwxr-x 2 dg dg 4096 Dec 26 2018 include
(zwave) dg@gort2:~/zwave$ cat OZW_Log.log
2019-07-07 01:03:40.181 Always, OpenZwave Version 1.4.3297 Starting Up
2019-07-07 01:03:44.266 Warning, CheckCompletedNodeQueries m_allNodesQueried=0 m_awakeNodesQueried=0
2019-07-07 01:03:44.266 Warning, CheckCompletedNodeQueries all=0, deadFound=0 sleepingOnly=1
2019-07-07 01:03:45.093 Warning, Node004, index Value in XML was greater than range. Setting to Invalid
2019-07-07 01:03:45.093 Warning, Node004, index Value in XML was greater than range. Setting to Invalid
2019-07-07 01:03:45.326 Warning, Node005, index Value in XML was greater than range. Setting to Invalid
2019-07-07 01:03:45.326 Warning, Node005, index Value in XML was greater than range. Setting to Invalid
2019-07-07 01:03:45.578 Warning, Node007, index Value in XML was greater than range. Setting to Invalid
2019-07-07 01:03:45.578 Warning, Node007, index Value in XML was greater than range. Setting to Invalid
2019-07-07 01:03:49.982 Warning, CheckCompletedNodeQueries m_allNodesQueried=0 m_awakeNodesQueried=1
2019-07-07 01:03:50.050 Warning, CheckCompletedNodeQueries all=0, deadFound=0 sleepingOnly=1
2019-07-07 01:03:50.052 Warning, CheckCompletedNodeQueries m_allNodesQueried=0 m_awakeNodesQueried=1
2019-07-07 01:03:50.052 Warning, CheckCompletedNodeQueries all=0, deadFound=0 sleepingOnly=1
2019-07-07 01:03:50.053 Warning, CheckCompletedNodeQueries m_allNodesQueried=0 m_awakeNodesQueried=1
2019-07-07 01:03:50.053 Warning, CheckCompletedNodeQueries all=1, deadFound=0 sleepingOnly=1
which I think is mostly just the normal startup stuff.
The code at the end that did that was:
TRV_davidoffice_node.values[TRV_davidoffice_node.dg_valid_mode].data = “Off”
time.sleep(5.0)
TRV_davidoffice_node.values[TRV_davidoffice_node.dg_valid_mode].data = “Manufacturer Specific”
TRV_davidoffice_node.set_dimmer(dim_valid, 20)
now I think if it was previously non-0 (e.g. it was in Heat mode and the room was cold) then setting it to 0 makes it go to 0.