labelle
labelle

Reputation: 450

Start pairing with the code (Zwave)

I am developping a PoC Zwave using the project "Zwave Adapter Headless Host" and the program provided here

But trying this program, I have one problem and one question:
-When I remove my Zwave dongle, there is no change in the properties I see. Is it a normal behaviour?
-In my program, I would like to start pairing my dongle to another device by the code. Is it a possible thing? Thank you

Upvotes: 0

Views: 997

Answers (1)

Ashbay
Ashbay

Reputation: 1661

To answer your 2nd question :

Executing the function addNode(uint32 const _homeId, bool _doSecurity) make the Z-Wave controller to enter inclusion mode. Once you execute this function, you need to activate inclusion mode (physically) with your module (zwave light/sensor/...). In other word, you can enter your z-Wave controller into inclusion mode using code and function, however, you need to physically press button on your other z-wave module to make them enter inclusion mode.

Bonus : To remove a module from your z-wave network, use the following function : removeNode(uint32 const _homeId)

Upvotes: 0

Related Questions