Use of Vision ZD2102EU window sensor with IFTHEN
Posted: 04 Nov 2016 14:26
I can't get this IFTHEN to fire:
The window sensor is generated by Maros Kollar's Vision ZD2102 App. It serves the additional contacts of the ZD2102.
The Code_device_toggleButton has the following code to set the mode of a StellaZ thermostat to Off
Unfortunately this does not work. (In a scheduled scene the toggleButton does work fine though)
The log confirms that the sensorBinary has been set to on (last line in log):
Update: The primary window sensor generated by Zway also fails to let the IFTHEN fire.
The window sensor is generated by Maros Kollar's Vision ZD2102 App. It serves the additional contacts of the ZD2102.
The Code_device_toggleButton has the following code to set the mode of a StellaZ thermostat to Off
Code: Select all
zway.devices[20].ThermostatMode.Set(0)
The log confirms that the sensorBinary has been set to on (last line in log):
Code: Select all
[2016-11-04 11:54:07.741] [D] [zway] RECEIVED: ( 01 10 00 04 00 23 0A 71 05 07 FF 00 FF 07 FE 00 00 48 )
[2016-11-04 11:54:07.741] [D] [zway] SENT ACK
[2016-11-04 11:54:07.742] [D] [zway] SETDATA controller.data.incomingPacket.nodeId = 35 (0x00000023)
[2016-11-04 11:54:07.742] [D] [zway] SETDATA controller.data.incomingPacket.frameType = "singlecast"
[2016-11-04 11:54:07.742] [D] [zway] SETDATA controller.data.incomingPacket = **********
[2016-11-04 11:54:07.742] [D] [zway] SETDATA devices.35.data.lastReceived = 0 (0x00000000)
[2016-11-04 11:54:07.742] [D] [zway] SETDATA devices.35.instances.0.commandClasses.113.data.V1event.alarmType = 7 (0x00000007)
[2016-11-04 11:54:07.742] [D] [zway] SETDATA devices.35.instances.0.commandClasses.113.data.V1event.level = 255 (0x000000ff)
[2016-11-04 11:54:07.743] [D] [zway] SETDATA devices.35.instances.0.commandClasses.113.data.V1event = Empty
[2016-11-04 11:54:07.743] [D] [zway] SETDATA devices.35.instances.0.commandClasses.113.data.7.eventParameters = byte[0]
[2016-11-04 11:54:07.743] [D] [zway] ( zero-length buffer )
[2016-11-04 11:54:07.743] [D] [zway] SETDATA devices.35.instances.0.commandClasses.113.data.7.event = 254 (0x000000fe)
[2016-11-04 11:54:07.745] [D] [zway] SETDATA devices.35.instances.0.commandClasses.113.data.7.eventString = "unknown"
[2016-11-04 11:54:07.745] [D] [zway] SETDATA devices.35.instances.0.commandClasses.113.data.7.status = 255 (0x000000ff)
[2016-11-04 11:54:07.745] [D] [zway] SETDATA devices.35.instances.0.commandClasses.113.data.7 = Empty
[2016-11-04 11:54:07.747] [I] [core] [VisionZD2102] Change event
[2016-11-04 11:54:07.751] [I] [core] [VisionZD2102] Change event matters - external sensor:on