Good timing
I just got a YRD220 as part of the Prime Day Warehouse sale and I’m trying to get it set up with my Home-Assistant setup.
My (relevant) setup:
- Raspberry Pi 3
- Aeotec Zstick Gen5
- YRD220
- hass ~0.23.x (dev branch about a week or so old)
- openzwave v? (heh, should probably look this up)
So far I’ve had mixed success. The lock via the screen works great and I’ve been able to join the lock to the Zwave network and can see some things but not everything in ozwcp. Late last night I was able to get it to join in what I think is “Secure Inclusion” mode. I also added a config to openzwave from the zwavedb. I can actually see options in ozwcp to lock and unlock…except they don’t work. Instead I get timeouts:
post: key=10-DOOR LOCK-user-bool-1-0 data=true size=4
2016-07-14 08:14:38.809 Info, Node010, Value::Set - COMMAND_CLASS_DOOR_LOCK - Locked - 0 - 1 - True
2016-07-14 08:14:38.809 Info, Node010, Value_Lock::Set - Requesting lock to be Locked
2016-07-14 08:14:38.809 Detail, Node010, Queuing (Send) DoorLockCmd_Set (Node=10): 0x01, 0x0a, 0x00, 0x13, 0x0a, 0x03, 0x62, 0x01, 0xff, 0x25, 0x22, 0x74
2016-07-14 08:14:38.809 Detail, Node010, Queuing (Send) DoorLockCmd_Get (Node=10): 0x01, 0x09, 0x00, 0x13, 0x0a, 0x02, 0x62, 0x02, 0x25, 0x23, 0x8b
post: key=10-DOOR LOCK-user-bool-1-0 data= size=0
2016-07-14 08:14:38.810 Detail,
2016-07-14 08:14:38.810 Info, Node010, Sending (Send) message (Callback ID=0x22, Expected Reply=0x04) - DoorLockCmd_Set (Node=10): 0x01, 0x0a, 0x00, 0x13, 0x0a, 0x03, 0x62, 0x01, 0xff, 0x25, 0x22, 0x74
2016-07-14 08:14:38.819 Detail, Node010, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2016-07-14 08:14:38.819 Detail, Node010, ZW_SEND_DATA delivered to Z-Wave stack
2016-07-14 08:14:40.111 Detail, Node010, Received: 0x01, 0x07, 0x00, 0x13, 0x22, 0x00, 0x00, 0x82, 0x4b
2016-07-14 08:14:40.111 Detail, Node010, ZW_SEND_DATA Request with callback ID 0x22 received (expected 0x22)
2016-07-14 08:14:40.111 Info, Node010, Request RTT 1301 Average Request RTT 1577
2016-07-14 08:14:40.111 Detail, Expected callbackId was received
2016-07-14 08:14:46.979 Detail, Node002, Received: 0x01, 0x18, 0x00, 0x04, 0x00, 0x02, 0x12, 0x32, 0x02, 0xa1, 0x6c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0e
2016-07-14 08:14:46.979 Detail,
2016-07-14 08:14:46.979 Detail, Node002, Refreshed Value: old value=false, new value=false, type=bool
2016-07-14 08:14:46.979 Detail, Node002, Changes to this value are not verified
2016-07-14 08:14:46.979 Info, Node002, Received Meter report from node 2: Current=0.000A
2016-07-14 08:14:46.979 Detail, Node002, Refreshed Value: old value=0.000, new value=0.000, type=decimal
2016-07-14 08:14:46.979 Detail, Node002, Changes to this value are not verified
2016-07-14 08:14:46.980 Detail, Node002, Notification: ValueChanged
2016-07-14 08:14:46.980 Info, Notification: Value Changed Home 0xd82e0645 Node 2 Genre user Class METER Instance 1 Index 32 Type bool
2016-07-14 08:14:46.980 Detail, Node002, Notification: ValueChanged
2016-07-14 08:14:46.980 Info, Notification: Value Changed Home 0xd82e0645 Node 2 Genre user Class METER Instance 1 Index 20 Type decimal
2016-07-14 08:14:47.079 Detail, Node002, Received: 0x01, 0x18, 0x00, 0x04, 0x00, 0x02, 0x12, 0x32, 0x02, 0x21, 0x74, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x96
2016-07-14 08:14:47.079 Detail,
2016-07-14 08:14:47.079 Detail, Node002, Refreshed Value: old value=false, new value=false, type=bool
2016-07-14 08:14:47.079 Detail, Node002, Changes to this value are not verified
2016-07-14 08:14:47.079 Info, Node002, Received Meter report from node 2: Power=0.000W
2016-07-14 08:14:47.079 Detail, Node002, Refreshed Value: old value=0.000, new value=0.000, type=decimal
2016-07-14 08:14:47.079 Detail, Node002, Changes to this value are not verified
2016-07-14 08:14:47.079 Detail, Node002, Notification: ValueChanged
2016-07-14 08:14:47.080 Info, Notification: Value Changed Home 0xd82e0645 Node 2 Genre user Class METER Instance 1 Index 32 Type bool
2016-07-14 08:14:47.080 Detail, Node002, Notification: ValueChanged
2016-07-14 08:14:47.080 Info, Notification: Value Changed Home 0xd82e0645 Node 2 Genre user Class METER Instance 1 Index 8 Type decimal
node = 2 id = 4 value = 55.424 precision = 3
node = 2 id = 5 value = 55.424 precision = 3
node = 2 id = 7 value = 0.000 precision = 3
node = 2 id = 8 value = 120.370 precision = 3
node = 2 id = 9 value = 0.000 precision = 3
2016-07-14 08:14:48.810 Error, Node010, ERROR: Dropping command, expected response not received after 1 attempt(s)
2016-07-14 08:14:48.811 Detail, Node010, Removing current message
2016-07-14 08:14:48.811 Detail, Node010, Notification: Notification - TimeOut
2016-07-14 08:14:48.812 Info, Notification: Notification home d82e0645 node 10 Timeout
2016-07-14 08:14:48.812 Detail,
2016-07-14 08:14:48.813 Info, Node010, Sending (Send) message (Callback ID=0x23, Expected Reply=0x04) - DoorLockCmd_Get (Node=10): 0x01, 0x09, 0x00, 0x13, 0x0a, 0x02, 0x62, 0x02, 0x25, 0x23, 0x8b
2016-07-14 08:14:48.822 Detail, Node010, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2016-07-14 08:14:48.822 Detail, Node010, ZW_SEND_DATA delivered to Z-Wave stack
2016-07-14 08:14:50.053 Detail, Node010, Received: 0x01, 0x07, 0x00, 0x13, 0x23, 0x00, 0x00, 0x7b, 0xb3
2016-07-14 08:14:50.054 Detail, Node010, ZW_SEND_DATA Request with callback ID 0x23 received (expected 0x23)
2016-07-14 08:14:50.054 Info, Node010, Request RTT 1242 Average Request RTT 1409
2016-07-14 08:14:50.055 Detail, Expected callbackId was received
2016-07-14 08:14:58.812 Error, Node010, ERROR: Dropping command, expected response not received after 1 attempt(s)
2016-07-14 08:14:58.813 Detail, Node010, Removing current message
2016-07-14 08:14:58.813 Detail, Node010, Notification: Notification - TimeOut
2016-07-14 08:14:58.814 Info, Notification: Notification home d82e0645 node 10 Timeout
As for your questions on whether it’s possible. The Yale official docs show that it reports zwave alarm codes for users locking and unlocking (though I’m not seeing these in Home-Assistant yet and haven’t investigated it since I’m still just trying to get the damn thing working )
Keypad Lock 0x12 0x(00 - F9) Where Alarm level represents user slot number
Keypad Unlock 0x13 0x(00 - F9) Where Alarm level represents user slot number
Unfortunately I don’t see any way in there to add/remove users and it looks to me like that’s just the way it is.
I’ll try to update this thread as I get things working…assuming I can figure it out.