Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support COMMAND_CLASS_BARRIER_OPERATOR (Problem with Linear GD00Z-4 garage door opener) #490

Closed
bytedreamer opened this issue Mar 21, 2015 · 107 comments
Assignees

Comments

@bytedreamer
Copy link

I added the Linear GD00Z-4 to my Z-Wave network. The device is recognized, however it won't properly complete the initialization. As long as it is associated with the network, OpenZWave will not finish the initialization routine.

Here is the section of the log that I believe is causing the issue:

2015-03-21 13:32:39.621 Info, Node016, Sending (Query) message (Callback ID=0x00, Expected Reply=0x49) - Request Node Info (Node=16): 0x01, 0x04, 0x00, 0x60, 0x10, 0x8b
2015-03-21 13:32:39.648 Detail, Node016,   Received: 0x01, 0x04, 0x01, 0x60, 0x01, 0x9b
2015-03-21 13:32:39.648 Detail, 
2015-03-21 13:32:39.648 Info, Node016, FUNC_ID_ZW_REQUEST_NODE_INFO Request successful.
2015-03-21 13:32:39.725 Detail, Node016,   Received: 0x01, 0x0b, 0x00, 0x49, 0x84, 0x10, 0x05, 0x04, 0x40, 0x07, 0x72, 0x98, 0x85
2015-03-21 13:32:39.725 Detail, 
2015-03-21 13:32:39.725 Info, Node016, UPDATE_STATE_NODE_INFO_RECEIVED from node 16
2015-03-21 13:32:39.725 Info, Node016,   Optional command classes for node 16:
2015-03-21 13:32:39.725 Info, Node016,     COMMAND_CLASS_MANUFACTURER_SPECIFIC
2015-03-21 13:32:39.725 Info, Node016,   Using Configured Network Key (AddingNode: false KeySet: false)
2015-03-21 13:32:39.725 Info, Node016,     COMMAND_CLASS_SECURITY
2015-03-21 13:32:39.725 Detail, Node016,   Expected2 reply was received
2015-03-21 13:32:39.726 Detail, Node016,   Message transaction complete
2015-03-21 13:32:39.726 Detail, 
2015-03-21 13:32:39.726 Detail, Node016, Removing current message
2015-03-21 13:32:39.726 Detail, Node016, Query Stage Complete (NodeInfo)
2015-03-21 13:32:39.726 Detail, Node016, AdvanceQueries queryPending=0 queryRetries=0 queryStage=SecurityReport live=1
2015-03-21 13:32:39.726 Detail, Node016, QueryStage_SecurityReport
2015-03-21 13:32:39.726 Detail, Node016, Queuing (Security) SecurityCmd_NonceGet (Node=16): 0x01, 0x09, 0x00, 0x13, 0x10, 0x02, 0x98, 0x40, 0x05, 0x10, 0x3a
2015-03-21 13:32:39.726 Detail, 
2015-03-21 13:32:39.726 Info, Node016, Sending (Security) message (Callback ID=0x10, Expected Reply=0x04) - SecurityCmd_NonceGet (Node=16): 0x01, 0x09, 0x00, 0x13, 0x10, 0x02, 0x98, 0x40, 0x05, 0x10, 0x3a
2015-03-21 13:32:39.731 Detail, Node016,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2015-03-21 13:32:39.731 Detail, Node016,   ZW_SEND_DATA delivered to Z-Wave stack
2015-03-21 13:32:39.802 Detail, Node016,   Received: 0x01, 0x05, 0x00, 0x13, 0x10, 0x00, 0xf9
2015-03-21 13:32:39.802 Detail, Node016,   ZW_SEND_DATA Request with callback ID 0x10 received (expected 0x10)
2015-03-21 13:32:39.802 Info, Node016, Request RTT 75 Average Request RTT 70
2015-03-21 13:33:19.728 Detail, 
2015-03-21 13:33:19.728 Info, Node016, Sending (Security) message (Attempt 2, Callback ID=0x11, Expected Reply=0x04) - SecurityCmd_NonceGet (Node=16): 0x01, 0x09, 0x00, 0x13, 0x10, 0x02, 0x98, 0x40, 0x05, 0x11, 0x3b
2015-03-21 13:33:19.733 Detail, Node016,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2015-03-21 13:33:19.733 Detail, Node016,   ZW_SEND_DATA delivered to Z-Wave stack
2015-03-21 13:33:19.767 Detail, Node016,   Received: 0x01, 0x05, 0x00, 0x13, 0x11, 0x00, 0xf8
2015-03-21 13:33:19.767 Detail, Node016,   ZW_SEND_DATA Request with callback ID 0x11 received (expected 0x11)
2015-03-21 13:33:19.768 Info, Node016, Request RTT 39 Average Request RTT 54
2015-03-21 13:33:59.729 Detail, 
2015-03-21 13:33:59.729 Info, Node016, Sending (Security) message (Attempt 3, Callback ID=0x12, Expected Reply=0x04) - SecurityCmd_NonceGet (Node=16): 0x01, 0x09, 0x00, 0x13, 0x10, 0x02, 0x98, 0x40, 0x05, 0x12, 0x38
2015-03-21 13:33:59.734 Detail, Node016,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2015-03-21 13:33:59.734 Detail, Node016,   ZW_SEND_DATA delivered to Z-Wave stack
2015-03-21 13:33:59.769 Detail, Node016,   Received: 0x01, 0x05, 0x00, 0x13, 0x12, 0x00, 0xfb
2015-03-21 13:33:59.769 Detail, Node016,   ZW_SEND_DATA Request with callback ID 0x12 received (expected 0x12)
2015-03-21 13:33:59.769 Info, Node016, Request RTT 39 Average Request RTT 46
2015-03-21 13:34:39.730 Error, Node016, ERROR: Dropping command, expected response not received after 3 attempt(s)
2015-03-21 13:34:39.730 Detail, Node016, Removing current message
@Fishwaldo
Copy link
Member

@bytedreamer
Copy link
Author

Yes, I already had configured a Yale Door Lock to the Z-Wave network. I placed the device right next to the controller during the inclusion process. The controller is the Aeon S2 USB stick.

When I get a chance, I'll try the inclusion process again and capture the logs.

@Fishwaldo
Copy link
Member

The Log Snippet indicates it wasn't included Securely.

@bytedreamer
Copy link
Author

K, Thanks. I will include it back tonight and check the logs.

@bytedreamer
Copy link
Author

Looks like there is an issue with the secure inclusion process. I'll work to get the latest OZW GitHub code to compile on my laptop. Let me know if you see anything interesting in the logs.

2015-03-23 20:06:11.538 Detail, contrlr, Queuing (Controller) Add Device
2015-03-23 20:06:11.539 Info, Add Device
2015-03-23 20:06:11.539 Detail, contrlr, Queuing (Command) AddDevice: 0x01, 0x05, 0x00, 0x4a, 0x81, 0x8d, 0xbc
2015-03-23 20:06:11.539 Detail, 
2015-03-23 20:06:11.539 Info, contrlr, Sending (Command) message (Callback ID=0x8d, Expected Reply=0x4a) - AddDevice: 0x01, 0x05, 0x00, 0x4a, 0x81, 0x8d, 0xbc
2015-03-23 20:06:11.543 Detail, contrlr,   Received: 0x01, 0x07, 0x00, 0x4a, 0x8d, 0x01, 0x00, 0x00, 0x3e
2015-03-23 20:06:11.543 Detail, 
2015-03-23 20:06:11.543 Info, contrlr, FUNC_ID_ZW_ADD_NODE_TO_NETWORK:
2015-03-23 20:06:11.543 Info, contrlr, ADD_NODE_STATUS_LEARN_READY
2015-03-23 20:06:11.543 Detail, contrlr,   Expected callbackId was received
2015-03-23 20:06:11.543 Detail, contrlr,   Expected reply was received
2015-03-23 20:06:11.543 Detail, contrlr,   Message transaction complete
2015-03-23 20:06:11.543 Detail, 
2015-03-23 20:06:11.543 Detail, contrlr, Removing current message
2015-03-23 20:06:11.543 Info, WriteNextMsg Controller nothing to do
2015-03-23 20:06:50.363 Detail,   Received: 0x01, 0x07, 0x00, 0x4a, 0x8d, 0x02, 0x00, 0x00, 0x3d
2015-03-23 20:06:50.363 Detail, 
2015-03-23 20:06:50.363 Info, FUNC_ID_ZW_ADD_NODE_TO_NETWORK:
2015-03-23 20:06:50.363 Info, ADD_NODE_STATUS_NODE_FOUND
2015-03-23 20:06:50.497 Detail,   Received: 0x01, 0x0d, 0x00, 0x4a, 0x8d, 0x03, 0x11, 0x06, 0x04, 0x40, 0x07, 0x72, 0x98, 0x5a, 0xd2
2015-03-23 20:06:50.497 Detail, 
2015-03-23 20:06:50.497 Info, FUNC_ID_ZW_ADD_NODE_TO_NETWORK:
2015-03-23 20:06:50.497 Info, ADD_NODE_STATUS_ADDING_SLAVE
2015-03-23 20:06:50.497 Info, Adding node ID 17
2015-03-23 20:06:50.497 Detail, contrlr, Queuing (Command) Add Node Stop: 0x01, 0x04, 0x00, 0x4a, 0x05, 0xb4
2015-03-23 20:06:51.497 Detail, 
2015-03-23 20:06:51.497 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x4a) - Add Node Stop: 0x01, 0x04, 0x00, 0x4a, 0x05, 0xb4
2015-03-23 20:06:51.551 Detail, contrlr,   Received: 0x01, 0x07, 0x00, 0x4a, 0x8d, 0x06, 0x11, 0x00, 0x28
2015-03-23 20:06:51.551 Detail, 
2015-03-23 20:06:51.551 Info, contrlr, FUNC_ID_ZW_ADD_NODE_TO_NETWORK:
2015-03-23 20:06:51.551 Info, contrlr, ADD_NODE_STATUS_DONE
2015-03-23 20:06:51.551 Detail, Node017, AdvanceQueries queryPending=0 queryRetries=0 queryStage=None live=1
2015-03-23 20:06:51.551 Detail, Node017, QueryStage_ProtocolInfo
2015-03-23 20:06:51.551 Detail, Node017, Queuing (Query) Get Node Protocol Info (Node=17): 0x01, 0x04, 0x00, 0x41, 0x11, 0xab
2015-03-23 20:06:51.551 Detail, Node017, Queuing (Query) Query Stage Complete (ProtocolInfo)
2015-03-23 20:06:51.551 Info, Initilizing Node. New Node: true (true)
2015-03-23 20:06:51.551 Detail, contrlr,   Expected reply was received
2015-03-23 20:06:51.551 Detail, contrlr,   Message transaction complete
2015-03-23 20:06:51.551 Detail, 
2015-03-23 20:06:51.551 Detail, contrlr, Removing current message
2015-03-23 20:06:51.552 Detail, 
2015-03-23 20:06:51.552 Info, Node017, Sending (Query) message (Callback ID=0x00, Expected Reply=0x41) - Get Node Protocol Info (Node=17): 0x01, 0x04, 0x00, 0x41, 0x11, 0xab
2015-03-23 20:06:51.556 Detail, Node017,   Received: 0x01, 0x09, 0x01, 0x41, 0xd3, 0x9c, 0x00, 0x04, 0x40, 0x07, 0xba
2015-03-23 20:06:51.556 Detail, 
2015-03-23 20:06:51.556 Info, Node017, Received reply to FUNC_ID_ZW_GET_NODE_PROTOCOL_INFO
2015-03-23 20:06:51.556 Info, Node017,   Protocol Info for Node 17:
2015-03-23 20:06:51.556 Info, Node017,     Listening     = true
2015-03-23 20:06:51.556 Info, Node017,     Beaming       = true
2015-03-23 20:06:51.556 Info, Node017,     Routing       = true
2015-03-23 20:06:51.556 Info, Node017,     Max Baud Rate = 40000
2015-03-23 20:06:51.556 Info, Node017,     Version       = 4
2015-03-23 20:06:51.556 Info, Node017,     Security      = false
2015-03-23 20:06:51.556 Info, Node017,   Basic device class    (0x04) - Routing Slave
2015-03-23 20:06:51.556 Info, Node017,   Generic device Class  (0x40) - Entry Control
2015-03-23 20:06:51.556 Info, Node017,   No specific device class defined
2015-03-23 20:06:51.556 Info, Node017,     COMMAND_CLASS_BASIC is not mapped
2015-03-23 20:06:51.556 Info, Node017,   Mandatory Command Classes for Node 17:
2015-03-23 20:06:51.556 Info, Node017,     COMMAND_CLASS_BASIC
2015-03-23 20:06:51.556 Info, Node017,   Mandatory Command Classes controlled by Node 17:
2015-03-23 20:06:51.556 Info, Node017,     None
2015-03-23 20:06:51.556 Detail, Node017,   Expected reply was received
2015-03-23 20:06:51.556 Detail, Node017,   Message transaction complete
2015-03-23 20:06:51.556 Detail, 
2015-03-23 20:06:51.556 Detail, Node017, Removing current message
2015-03-23 20:06:51.557 Detail, Node017, Query Stage Complete (ProtocolInfo)
2015-03-23 20:06:51.557 Detail, Node017, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Probe live=1
2015-03-23 20:06:51.557 Detail, Node017, QueryStage_Probe
2015-03-23 20:06:51.557 Info, Node017, NoOperation::Set - Routing=true
2015-03-23 20:06:51.557 Detail, Node017, Queuing (NoOp) NoOperation_Set (Node=17): 0x01, 0x09, 0x00, 0x13, 0x11, 0x02, 0x00, 0x00, 0x25, 0x8e, 0x5d
2015-03-23 20:06:51.557 Detail, Node017, Queuing (Query) Query Stage Complete (Probe)
2015-03-23 20:06:51.557 Detail, 
2015-03-23 20:06:51.557 Info, Node017, Sending (NoOp) message (Callback ID=0x8e, Expected Reply=0x13) - NoOperation_Set (Node=17): 0x01, 0x09, 0x00, 0x13, 0x11, 0x02, 0x00, 0x00, 0x25, 0x8e, 0x5d
2015-03-23 20:06:51.585 Detail, Node017,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2015-03-23 20:06:51.585 Detail, Node017,   ZW_SEND_DATA delivered to Z-Wave stack
2015-03-23 20:06:52.061 Detail, Node017,   Received: 0x01, 0x05, 0x00, 0x13, 0x8e, 0x00, 0x67
2015-03-23 20:06:52.061 Detail, Node017,   ZW_SEND_DATA Request with callback ID 0x8e received (expected 0x8e)
2015-03-23 20:06:52.061 Info, Node017, Request RTT 504 Average Request RTT 504
2015-03-23 20:06:52.061 Detail, Node017,   Expected reply was received
2015-03-23 20:06:52.061 Detail, Node017,   Message transaction complete
2015-03-23 20:06:52.061 Detail, 
2015-03-23 20:06:52.061 Detail, Node017, Removing current message
2015-03-23 20:06:52.061 Detail, Node017, Query Stage Complete (Probe)
2015-03-23 20:06:52.061 Detail, Node017, AdvanceQueries queryPending=0 queryRetries=0 queryStage=WakeUp live=1
2015-03-23 20:06:52.061 Detail, Node017, QueryStage_WakeUp
2015-03-23 20:06:52.061 Detail, Node017, QueryStage_ManufacturerSpecific1
2015-03-23 20:06:52.062 Detail, Node017, QueryStage_NodeInfo
2015-03-23 20:06:52.062 Detail, Node017, Queuing (Query) Request Node Info (Node=17): 0x01, 0x04, 0x00, 0x60, 0x11, 0x8a
2015-03-23 20:06:52.062 Detail, Node017, Queuing (Query) Query Stage Complete (NodeInfo)
2015-03-23 20:06:52.062 Detail, 
2015-03-23 20:06:52.062 Info, Node017, Sending (Query) message (Callback ID=0x00, Expected Reply=0x49) - Request Node Info (Node=17): 0x01, 0x04, 0x00, 0x60, 0x11, 0x8a
2015-03-23 20:06:52.088 Detail, Node017,   Received: 0x01, 0x04, 0x01, 0x60, 0x01, 0x9b
2015-03-23 20:06:52.088 Detail, 
2015-03-23 20:06:52.088 Info, Node017, FUNC_ID_ZW_REQUEST_NODE_INFO Request successful.
2015-03-23 20:07:32.063 Detail, 
2015-03-23 20:07:32.063 Info, Node017, Sending (Query) message (Attempt 2, Callback ID=0x00, Expected Reply=0x49) - Request Node Info (Node=17): 0x01, 0x04, 0x00, 0x60, 0x11, 0x8a
2015-03-23 20:07:32.068 Detail, Node017,   Received: 0x01, 0x04, 0x01, 0x60, 0x01, 0x9b
2015-03-23 20:07:32.068 Detail, 
2015-03-23 20:07:32.068 Info, Node017, FUNC_ID_ZW_REQUEST_NODE_INFO Request successful.
2015-03-23 20:07:32.144 Detail, Node017,   Received: 0x01, 0x0b, 0x00, 0x49, 0x84, 0x11, 0x05, 0x04, 0x40, 0x07, 0x72, 0x98, 0x84
2015-03-23 20:07:32.144 Detail, 
2015-03-23 20:07:32.144 Info, Node017, UPDATE_STATE_NODE_INFO_RECEIVED from node 17
2015-03-23 20:07:32.144 Info, Node017,   Optional command classes for node 17:
2015-03-23 20:07:32.144 Info, Node017,     COMMAND_CLASS_MANUFACTURER_SPECIFIC
2015-03-23 20:07:32.144 Info, Node017,   Using Scheme0 Network Key for Key Exchange (AddingNode: true KeySet: false)
2015-03-23 20:07:32.144 Info, Node017,     COMMAND_CLASS_SECURITY
2015-03-23 20:07:32.144 Detail, Node017,   Expected reply was received
2015-03-23 20:07:32.144 Detail, Node017,   Message transaction complete
2015-03-23 20:07:32.144 Detail, 
2015-03-23 20:07:32.144 Detail, Node017, Removing current message
2015-03-23 20:07:32.144 Detail, Node017, Query Stage Complete (NodeInfo)
2015-03-23 20:07:32.144 Detail, Node017, AdvanceQueries queryPending=0 queryRetries=0 queryStage=SecurityReport live=1
2015-03-23 20:07:32.144 Detail, Node017, QueryStage_SecurityReport
2015-03-23 20:07:32.144 Detail, Node017, Queuing (Security) SecurityCmd_SchemeGet (Node=17): 0x01, 0x0a, 0x00, 0x13, 0x11, 0x03, 0x98, 0x04, 0x00, 0x25, 0x8f, 0xc2
2015-03-23 20:07:32.144 Detail, 
2015-03-23 20:07:32.144 Info, Node017, Sending (Security) message (Callback ID=0x8f, Expected Reply=0x04) - SecurityCmd_SchemeGet (Node=17): 0x01, 0x0a, 0x00, 0x13, 0x11, 0x03, 0x98, 0x04, 0x00, 0x25, 0x8f, 0xc2
2015-03-23 20:07:32.150 Detail, Node017,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2015-03-23 20:07:32.150 Detail, Node017,   ZW_SEND_DATA delivered to Z-Wave stack
2015-03-23 20:07:32.219 Detail, Node017,   Received: 0x01, 0x05, 0x00, 0x13, 0x8f, 0x00, 0x66
2015-03-23 20:07:32.219 Detail, Node017,   ZW_SEND_DATA Request with callback ID 0x8f received (expected 0x8f)
2015-03-23 20:07:32.219 Info, Node017, Request RTT 74 Average Request RTT 289
2015-03-23 20:08:12.145 Detail, 
2015-03-23 20:08:12.145 Info, Node017, Sending (Security) message (Attempt 2, Callback ID=0x90, Expected Reply=0x04) - SecurityCmd_SchemeGet (Node=17): 0x01, 0x0a, 0x00, 0x13, 0x11, 0x03, 0x98, 0x04, 0x00, 0x25, 0x90, 0xdd
2015-03-23 20:08:12.151 Detail, Node017,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2015-03-23 20:08:12.151 Detail, Node017,   ZW_SEND_DATA delivered to Z-Wave stack
2015-03-23 20:08:12.186 Detail, Node017,   Received: 0x01, 0x05, 0x00, 0x13, 0x90, 0x00, 0x79
2015-03-23 20:08:12.186 Detail, Node017,   ZW_SEND_DATA Request with callback ID 0x90 received (expected 0x90)
2015-03-23 20:08:12.186 Info, Node017, Request RTT 40 Average Request RTT 164
2015-03-23 20:08:52.146 Detail, 
2015-03-23 20:08:52.146 Info, Node017, Sending (Security) message (Attempt 3, Callback ID=0x91, Expected Reply=0x04) - SecurityCmd_SchemeGet (Node=17): 0x01, 0x0a, 0x00, 0x13, 0x11, 0x03, 0x98, 0x04, 0x00, 0x25, 0x91, 0xdc
2015-03-23 20:08:52.152 Detail, Node017,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2015-03-23 20:08:52.152 Detail, Node017,   ZW_SEND_DATA delivered to Z-Wave stack
2015-03-23 20:08:52.187 Detail, Node017,   Received: 0x01, 0x05, 0x00, 0x13, 0x91, 0x00, 0x78
2015-03-23 20:08:52.187 Detail, Node017,   ZW_SEND_DATA Request with callback ID 0x91 received (expected 0x91)
2015-03-23 20:08:52.187 Info, Node017, Request RTT 40 Average Request RTT 102
2015-03-23 20:09:32.147 Error, Node017, ERROR: Dropping command, expected response not received after 3 attempt(s)
2015-03-23 20:09:32.147 Detail, Node017, Removing current message

@openzwave-dev-watcher
Copy link

Put the log through the Log Analyser on the homepage. It will tell you if your reaching a timeout for Secure Inclusion.

@Fishwaldo
Copy link
Member

Oops. That last comment is from me.

@bytedreamer
Copy link
Author

@Fishwaldo I'll try including the device a few more times. What should I do if inclusion still has timeout issues?

Here are the results of the Log Analyser

@Fishwaldo
Copy link
Member

You should wait till OZW is fully started up (allnodesqueried* notification) before trying the inclusion. As noted in the errors tab for node 17, it took 54 seconds to do, which is way over the timeout value for secure inclusion.

If this device is like most locks, its just a matter of keep trying till it includes within 10 seconds or so... Hopefully the security rewrite should speed up the inclusion on OZW side, but the 10 second timeout is a device constraint, not OZW.

@bytedreamer
Copy link
Author

@Fishwaldo Please reopen this issue. I've tried included the Linear device many times with no luck. To be sure, I have the device a couple of inches of the USB Z-Wave controller. I can debug the code on my laptop to diagnose the issue. Is there anything specific I should look at within the code.

Is there any chance your rewrite of the Security code will fix my issue?

Thanks

@Fishwaldo
Copy link
Member

If its taking more than 10 seconds from the AddNode command to the Secure Inclusion starting, then you need to understand why?

The rewrite might help, buts its not ready yet.

If you cant get it to happen in under 10 seconds, there isnt much i can do. The timeout is imposed on the device not OZW.

@bytedreamer
Copy link
Author

I’ll try the including the hardware with the Razberry daughter board, http://razberry.z-wave.me/ http://razberry.z-wave.me/. I should have it early next week. I’m curious if there will be any issues with the Z-Way library.

Thanks

On Mar 28, 2015, at 12:05 AM, Justin Hammond notifications@github.com wrote:

If its taking more than 10 seconds from the AddNode command to the Secure Inclusion starting, then you need to understand why?

The rewrite might help, buts its not ready yet.

If you cant get it to happen in under 10 seconds, there isnt much i can do. The timeout is imposed on the device not OZW.


Reply to this email directly or view it on GitHub #490 (comment).

@bytedreamer
Copy link
Author

@Fishwaldo The z-wave.me ZWay library is able to include the garage door opener device on the first attempt.

@satzg
Copy link

satzg commented Apr 1, 2015

Can you capture any logs of the controller traffic?

Thanks,
Greg

On Apr 1, 2015, at 8:59 AM, Jonathan Horvath wrote:

@Fishwaldo The z-wave.me ZWay library is able to include the garage door opener device on the first attempt.


Reply to this email directly or view it on GitHub.

!DSPAM:551c07ce273361027123211!

@ualex73
Copy link
Contributor

ualex73 commented Apr 1, 2015

the logfile should be in /var/log/razberry.log if I remember correctly.

2015-04-01 17:25 GMT+02:00 satzg notifications@github.com:

Can you capture any logs of the controller traffic?

Thanks,
Greg

On Apr 1, 2015, at 8:59 AM, Jonathan Horvath wrote:

@Fishwaldo The z-wave.me ZWay library is able to include the garage
door opener device on the first attempt.


Reply to this email directly or view it on GitHub.

!DSPAM:551c07ce273361027123211!


Reply to this email directly or view it on GitHub
#490 (comment)
.

@bytedreamer
Copy link
Author

Yes, I will get the logs later today when I get home.

@Fishwaldo
Copy link
Member

I'll lay money its just related to timeout issues.

@bytedreamer
Copy link
Author

I posted the zwave.me inclusion logs here

@Fishwaldo
Copy link
Member

Yeah. It completes the SecureInclusion in about 2-3 seconds.

I'm sure you can get it working with the current OZW, it's just a matter of making sure OZW is idle when you start the inclusion process.

@Fishwaldo
Copy link
Member

If zwave.me stores the network key somewhere, and your using the same dongle for OZW and Zwave.me, then you can include it via zwave.me, copy the network key to OZW Options.xml and it should stay associated and encrypted.

@Troy-M
Copy link

Troy-M commented Sep 14, 2015

@bytedreamer I'm having the same problem, did you ever get this working?

@bytedreamer
Copy link
Author

@SurfingNinjas I was not able to get the Garge Door opener working with the OpenZwave library. I switched to a different library that supported the device.

@Troy-M
Copy link

Troy-M commented Sep 14, 2015

@Fishwaldo Can we reopen/investigate this? I am having the same issue with a very similar log. After going my own inclusion logs, it appears that open-zwave does not support command class 0x66 (102)(COMMAND_CLASS_BARRIER_OPERATOR) . I would assume that would stop a garage door from ever working with open-zwave, unless I'm missing something?

@Fishwaldo
Copy link
Member

Yep - We don't support that CC. Someone would need to figure it out so we could implement it. :)

What other libraries work with this device?

@Fishwaldo Fishwaldo changed the title Problem with Linear GD00Z-4 garage door opener Support COMMAND_CLASS_BARRIER_OPERATOR (Problem with Linear GD00Z-4 garage door opener) Sep 15, 2015
@Fishwaldo Fishwaldo reopened this Sep 15, 2015
@Troy-M
Copy link

Troy-M commented Sep 22, 2015

@bytedreamer What library did you use to get this working?

@bytedreamer
Copy link
Author

@SurfingNinjas The ZWay Lib from Z-Wave.Me supports the Barrier Operator commands. I've been using this library for a few months with no issues with the garage door opener.

@jusovsky
Copy link

jusovsky commented Feb 7, 2018

Thank you, vincemic.
FYI- You'll need to add BarrierOperator.cpp and .h to the solution in order for vincemic's branch to build.

@vincemic
Copy link
Contributor

vincemic commented Feb 7, 2018

@jusovsky
Yes, absolutely, I did not modify all the possible make and project files. I am willing to accept pull requests to this fork from anyone that is willing to make those changes so others don't struggle.

@rjblake
Copy link

rjblake commented Feb 8, 2018

@vincemic - received this from Aeotec regards the USA model:
"We have run into a patent issue with the garage door controller Gen5 so we cannot sell directly in the US, but there are vendors from outside of US/Canada that i can recommend that i've found that sell US frequency from Shenzhen, China. This is the current seller that i can recommend currently: https://www.ebay.com/itm/Aeon-Labs-Garage-Door-Controller-Gen5-Z-Wave-Plus-Control-Open-Close-for-US-/142514964929?_ul=BY" - (...price is a lot better than here in EU. Damn!)

@jaburges
Copy link
Contributor

hi folks - there is a downstream usage of the barrier control functionality in Home Assistant (http://hass.io)
Is there anything holding up pushes these changes to the master?
I've used the build @ryanwinter shared and confirmed the changes work

@DGAzr
Copy link

DGAzr commented Mar 21, 2018

@jaburges : This functionality is tied to the 1.6 release which has a number of outstanding issues which are not yet resolved. I believe that once all of the items on the 1.6 milestones list are resolved we can finally have a stable 1.6 release.

I'm also anxiously awaiting this to be merged into master for HomeAssistant - currently I'm building the ozwdev flavor and ignoring the built-in version that homeassistant includes which works okay, but is far from ideal.

I think we just must be patient for the release.

@ryanwinter
Copy link
Contributor

It's a shame we can't get a 1.5.1 release with just the barrier class addition.

@jaburges
Copy link
Contributor

jaburges commented Jun 6, 2018

@DGAzr how does one go about doing the same thing in docker (moved away from a venv) - im assuming docker is dependant on a major release - any eta?

Alternatively is it possible to set up a custom_component with the barrier_class enabled.
2 years and counting :/

@rjblake
Copy link

rjblake commented Jun 6, 2018

In the end, I gave up on this and built my own ESP8266 solution which also controls garage lighting and is fully integrated with HomeKit. Seems and update to OpenZwave to include this will take years still

@edif30
Copy link

edif30 commented Jun 6, 2018

@rjblake you have a link to the build or any info? I'm about to do this as well.

@GFBOX
Copy link

GFBOX commented Jun 6, 2018

@edif30 : I also was tired to wait so I did like @rjblake. I use this https://m.banggood.com/DC-5V-24V-DIY-WIFI-Wireless-Switch-Sonoff-SV-Module-For-Smart-Home-p-1063987.html?rmmds=myorders connected to the battery backup on my garage door opener (12v) for the power and to the wall switch wires on the relay.
I also flash the firmware with espeasy so I can control it from my smarthome controller (jeedom).
Quick, easy, secure and for only $10.
BTW, I use this trick to know the status of the door https://youtu.be/o49xC-AXY9w

@rjblake
Copy link

rjblake commented Jun 6, 2018

@edif30 - check out this here. Nice solution with a Homebridge setup too. I’ve created a branch and added temperature/humidity sensor and also fixed a couple of compile errors. Has OAuth authentication as well as other security options and you can use a second relay to control garage lighting as well. Quick, easy, cheap and has been rock solid. I’m using an ESP8266.

@jaburges
Copy link
Contributor

jaburges commented Jun 7, 2018

all great links thanks for sharing folks

Shame we have to find a hardware solution to work around the 2 years its taken to push the barrier class to a major release.

@bcrippsy38
Copy link

Anyone knows if there is a beta version of Domoticz that has this fix? Or an idea when openzwave 1.5 will be used in Domoticz?

@wajemen
Copy link

wajemen commented Aug 9, 2018

Anyone knows if there is a beta version of Domoticz that has this fix? Or an idea when openzwave 1.5 will be used in Domoticz?

I published a repository about a year ago with a few changes to support this patch. It is an old version, but it has been working nicely for my setup.
https://github.com/jowerg/domoticz

@bcrippsy38
Copy link

Thanks for the feedback jowerg.
Sorry if I sound like a noob but if I'm running Domoticz on Synology can I use your repo or is there another way I'd have to apply the patch?

ddstreet pushed a commit to ddstreet/open-zwave that referenced this issue Sep 8, 2018
ddstreet pushed a commit to ddstreet/open-zwave that referenced this issue Sep 12, 2018
ddstreet pushed a commit to ddstreet/open-zwave that referenced this issue Sep 16, 2018
ddstreet pushed a commit to ddstreet/open-zwave that referenced this issue Sep 19, 2018
ddstreet pushed a commit to ddstreet/open-zwave that referenced this issue Oct 4, 2018
@johntdyer
Copy link

Three years and this is still open... meh

@kb3dow
Copy link

kb3dow commented Oct 22, 2018

Anyone knows if there is a beta version of Domoticz that has this fix? Or an idea when openzwave 1.5 will be used in Domoticz?

I published a repository about a year ago with a few changes to support this patch. It is an old version, but it has been working nicely for my setup.
https://github.com/jowerg/domoticz

@jowerg: Your repo seems to be only for domoticz and it looks like a change is also (perhaps needed for openzwave). I have the same garage opener which is sitting idle since i bought it. Could someone walk me through what is needed to get it working (even if it not from a stable github code).

ddstreet pushed a commit to ddstreet/open-zwave that referenced this issue Oct 24, 2018
pvizeli pushed a commit to home-assistant/open-zwave that referenced this issue Nov 4, 2018
pvizeli pushed a commit to home-assistant/open-zwave that referenced this issue Jan 8, 2019
bekriebel pushed a commit to koush/open-zwave that referenced this issue Mar 4, 2019
@jamesb2147
Copy link

Was this finally merged in and resolved?

@michael-fadely
Copy link

Was this finally merged in and resolved?

I am using it with a functionally-identical GD00Z-5 with no issue. I would presume it works fine with the GD00Z-4 now as well.

@Fishwaldo
Copy link
Member

This is in the 1.6 branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests