OpenZWave / open-zwave

a C++ library to control Z-Wave Networks via a USB Z-Wave Controller.
http://www.openzwave.net/
GNU Lesser General Public License v3.0
1.05k stars 911 forks source link

Vision ZD2102 Door Sensor (ZWAVE+ 2015 edition) do not work #471

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Unclear if I must report this problem here or into Domoticz forum, so excuse me 
in advance if this problem is not related to OZW.

I purchased the new "Zipato Door/Windows Sensors ZWAVE PLUS 2015 version" 
(based on "Vision ZD2102 Door/Window Sensor") and it's doesn't works inside 
domoticz.

Including the ZD2102 works, and it's recognized as 4 subdevices (where X is the 
ZWave NodeID):

0000X32 Alarm Level
0000X33 Alarm Type
0000X34 Access Control
0000X35 Burglar

opening or closing the contact I get these messages:

== opening the sensor ======================
2015-03-12 01:09:46.845 Detail, Node004,   Received: 0x01, 0x08, 0x00, 0x04, 
0x00, 0x04, 0x02, 0x98, 0x40, 0x2d
2015-03-12 01:09:46.845 Detail, 
2015-03-12 01:09:46.845 Info, Node004, Received SecurityCmd_NonceGet from node 4
2015-03-12 01:09:46.846 Detail, 
2015-03-12 01:09:46.846 Detail, Node004, Queuing (WakeUp) 
SecurityCmd_NonceReport (Node=4): 0x01, 0x11, 0x00, 0x13, 0x04, 0x0a, 0x98, 
0x80, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0x05, 0x12, 0xfc
2015-03-12 01:09:49.860 Detail, Node004,   Received: 0x01, 0x08, 0x00, 0x04, 
0x00, 0x04, 0x02, 0x98, 0x40, 0x2d
2015-03-12 01:09:49.860 Detail, 
2015-03-12 01:09:49.861 Info, Node004, Received SecurityCmd_NonceGet from node 4
2015-03-12 01:09:49.861 Detail, 
2015-03-12 01:09:49.862 Detail, Node004, Queuing (WakeUp) 
SecurityCmd_NonceReport (Node=4): 0x01, 0x11, 0x00, 0x13, 0x04, 0x0a, 0x98, 
0x80, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0x05, 0x13, 0xfd
=============================================

== closing the sensor ======================
2015-03-12 01:10:39.565 Detail, Node004,   Received: 0x01, 0x08, 0x00, 0x04, 
0x00, 0x04, 0x02, 0x98, 0x40, 0x2d
2015-03-12 01:10:39.566 Detail, 
2015-03-12 01:10:39.566 Info, Node004, Received SecurityCmd_NonceGet from node 4
2015-03-12 01:10:39.566 Detail, 
2015-03-12 01:10:39.567 Detail, Node004, Queuing (WakeUp) 
SecurityCmd_NonceReport (Node=4): 0x01, 0x11, 0x00, 0x13, 0x04, 0x0a, 0x98, 
0x80, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0x05, 0x14, 0xfa
2015-03-12 01:10:42.581 Detail, Node004,   Received: 0x01, 0x08, 0x00, 0x04, 
0x00, 0x04, 0x02, 0x98, 0x40, 0x2d
2015-03-12 01:10:42.582 Detail, 
2015-03-12 01:10:42.582 Info, Node004, Received SecurityCmd_NonceGet from node 4
2015-03-12 01:10:42.583 Detail, 
2015-03-12 01:10:42.583 Detail, Node004, Queuing (WakeUp) 
SecurityCmd_NonceReport (Node=4): 0x01, 0x11, 0x00, 0x13, 0x04, 0x0a, 0x98, 
0x80, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0x05, 0x15, 0xfb
=============================================

no any basic report sent to controller (I'm right?)

When receiving the "SecurityCmd_NonceGet" domoticz doesn't change any 
subdevices state.

Some one have the same problem with this latest relase of ZD2102?

Many thanks in advance for any help! :)

King regards

Original issue reported on code.google.com by ugo.v...@gmail.com on 12 Mar 2015 at 12:15

Attachments:

GoogleCodeExporter commented 9 years ago
Its a issue with the Security Class. Related to issue 352

Original comment by jus...@dynam.ac on 12 Mar 2015 at 1:42

GoogleCodeExporter commented 9 years ago
Hi Justin, thank you for the reply. Right now exist a workaround to make this 
devices works without Security Class?

King Redagard

Original comment by ugo.v...@gmail.com on 13 Mar 2015 at 10:11

Fishwaldo commented 9 years ago

Can you test with the 352 branch?

ugoviti commented 9 years ago

Now it's working! great work Justin!

follow a pull request with the config file: https://github.com/OpenZWave/open-zwave/pull/550

ugoviti commented 9 years ago

A question about the subdevices detected (I'm using Domoticz as management system)

Once included the zd2102 into primary controller I get these 7 sub devices:

00XXX33 Alarm Type 00XXX32 Alarm Level (this is used for the door sensor and tamper sensor) 00XXX34 Access Control 00XXX35 Burglar (this is the tamper sensor) 00XXX36 Power Management 00XXX37 System 00XXX38 Emergency

But only x32 and x35 are usable... This is a normal behavior? 7 subdevices are needed?

Fishwaldo commented 9 years ago

Sorry, I have no idea how Domoticz works... you would have to ask them. :)

Fishwaldo commented 9 years ago

Closing as confirmed working and fix is now in master branch