Use of Vision ZD2102EU window sensor with IFTHEN

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Use of Vision ZD2102EU window sensor with IFTHEN

Post by pz1 »

I can't get this IFTHEN to fire:
IFTHEN.PNG
IFTHEN.PNG (9.23 KiB) Viewed 6370 times
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)
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):

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
Update: The primary window sensor generated by Zway also fails to let the IFTHEN fire.
ridewithstyle
Posts: 155
Joined: 02 Jan 2016 01:20

Re: Use of Vision ZD2102EU window sensor with IFTHEN

Post by ridewithstyle »

Hi there,

Did you make any headway in diagnosing the source of the error?

regards,

rws
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: Use of Vision ZD2102EU window sensor with IFTHEN

Post by pz1 »

Not yet. I noticed some work on Github related to IFTHEN, so maybe it has been fixed in the next release (candidate)
captador
Posts: 15
Joined: 02 Dec 2016 22:02

Re: Use of Vision ZD2102EU window sensor with IFTHEN

Post by captador »

Some confirmation from my side - IF->THEN started to respond to all binary sensor changes despite being set to check state ON. Switched to logical rule as replacement for now.

server <2.2.5, if->then 2.1.1
ridewithstyle
Posts: 155
Joined: 02 Jan 2016 01:20

Re: Use of Vision ZD2102EU window sensor with IFTHEN

Post by ridewithstyle »

Hi there,

Just asking to clarify: Did it start working or stop working on your setup?

My observation is that switches, that are presumed to be on do not get triggered with the on-command. Same goes for off and switch-off commands.

Regards, rws
Post Reply