Hello,
i have switch Everspring Wall Switch. When switch is manually pressed, i can see in server log some communication,
--switch goes to On
[2013-05-19 10:16:37.182] RECEIVED: ( 01 0F 00 49 84 0B 09 03 10 01 25 27 72 86 75 73 DD )
[2013-05-19 10:16:37.195] SENT ACK
[2013-05-19 10:16:37.196] Node info received: 11
[2013-05-19 10:16:37.197] SETDATA devices.11.data.basicType = 3 (0x00000003)
[2013-05-19 10:16:37.200] SETDATA devices.11.data.genericType = 16 (0x00000010)
[2013-05-19 10:16:37.201] SETDATA devices.11.data.specificType = 1 (0x00000001)
[2013-05-19 10:16:37.203] SETDATA devices.11.data.deviceTypeString = "Binary Power Switch"
[2013-05-19 10:16:37.205] SETDATA devices.11.data.nodeInfoFrame = byte[6]
( 25 27 72 86 75 73 )
[2013-05-19 10:16:37.213] SETDATA devices.11.data.lastReceived = 0 (0x00000000)
--switch goes to off
[2013-05-19 10:16:38.228] RECEIVED: ( 01 0F 00 49 84 0B 09 03 10 01 25 27 72 86 75 73 DD )
[2013-05-19 10:16:38.241] SENT ACK
[2013-05-19 10:16:38.243] Node info received: 11
[2013-05-19 10:16:38.244] SETDATA devices.11.data.basicType = 3 (0x00000003)
[2013-05-19 10:16:38.245] SETDATA devices.11.data.genericType = 16 (0x00000010)
[2013-05-19 10:16:38.246] SETDATA devices.11.data.specificType = 1 (0x00000001)
[2013-05-19 10:16:38.250] SETDATA devices.11.data.deviceTypeString = "Binary Power Switch"
[2013-05-19 10:16:38.252] SETDATA devices.11.data.nodeInfoFrame = byte[6]
( 25 27 72 86 75 73 )
[2013-05-19 10:16:38.259] SETDATA devices.11.data.lastReceived = 0 (0x00000000)
but status of switch in server is not updated? Am I doing something wrong?
When i ask manually for update, i receive it correctly.
I assume "switch all" has no influence on this.
Thank you for your answer.
Jan
Switch not updating it's status when maually pressed
Your switch only sends NIF on
Your switch only sends NIF on button press. I suppose it should have some Association group to report the value on the controller. If no, you can use a trick to send Get on NIF:
zway.devices[11].data.nodeInfoFrame.bind(funtion() { zway.devices[11].SwitchBinary.Get() });
zway.devices[11].data.nodeInfoFrame.bind(funtion() { zway.devices[11].SwitchBinary.Get() });
what is association group?
what is association group? How to configure?
I tried http://.../ZWaveAPI/zway.devices[11].data.nodeInfoFrame.bind(funtion(){zway.devices[11].SwitchBinary.Get()};
which returned
Not found
How to do the binding?
Thnak you
Jan
I tried http://.../ZWaveAPI/zway.devices[11].data.nodeInfoFrame.bind(funtion(){zway.devices[11].SwitchBinary.Get()};
which returned
Not found
How to do the binding?
Thnak you
Jan
You need to use /JS/Run to
You need to use /JS/Run to use full JS syntax.
This device might have association groups in the Device Configuration tab. If not, you are unlucky - this device might be not able to report values. But as I remember, it should.
This device might have association groups in the Device Configuration tab. If not, you are unlucky - this device might be not able to report values. But as I remember, it should.