genielabs / zwave-lib-dotnet

Z-Wave Home Automation library for .NET / Mono
Apache License 2.0
63 stars 37 forks source link

Library doesn't recognize Fibaro Dimmer 2 #12

Closed bluewalk closed 7 years ago

bluewalk commented 7 years ago

The library does allow the controller to add the Fibaro Dimmer 2 node and lists it as follows:

Node 4 Manufacturer Specific 010F-0102-1000 Basic Type None Generic Type None Specific Type 0 Secure Info Frame Info Frame 04-11-01-5E-86-72-59-73-22-31-32-71-56-98-7A _Node Version info: ____LibraryType 3 __ProtocolVersion 4 __ProtocolSubVersion 5 __ApplicationVersion 3 __ApplicationSubVersion 4

As you can see Generic Type is set to None stopping me from sending the SwitchMultilevel command. Also the commandclasses are empty. Does this has to do witht he fact the Fibaro's are using encryption? As I also have a normal LED light which works just fine:

Node 2 Manufacturer Specific -- Basic Type RoutingSlave Generic Type SwitchMultilevel Specific Type 1 Secure Info Frame Info Frame ___Routing Info 01

bluewalk commented 7 years ago

Okay after the third discovery it finally notices the dimmer.

Node 4 Manufacturer Specific 010F-0102-1000 Basic Type RoutingSlave Generic Type SwitchMultilevel Specific Type 1 Secure Info Frame Info Frame 04-11-01-5E-86-72-59-73-22-31-32-71-56-98-7A _Node Version info: ____LibraryType 3 __ProtocolVersion 4 __ProtocolSubVersion 5 __ApplicationVersion 3 __ApplicationSubVersion 4

Any idea why this might occur?

[EDIT] Finally at home, started testing and it still didn't work, so instead of using the `controller.BeginNodeAdd(); I used the button on the AEOTEC Z-Stick to include the device into the network and promptly it started to work. Any idea why the BeginNodeAdd doesn't work properly?

genemars commented 7 years ago

@bluewalk the device must be close to the controller. Was that the case perhaps?

bluewalk commented 7 years ago

Hi, no unfortunately not. Calling the AddNodes doesn't work properly with the AEOTEC Z-Stick. I had to press the button on the AEOTEC Z-Stick itself to include the node. Problem solved :)

Bounz commented 7 years ago

Hi, @bluewalk. What version of AEOTEC Z-Stick are you use using?

bluewalk commented 7 years ago

I have the Gen 5, will look at the label on the back later today when I get home

bluewalk commented 7 years ago

@Bounz This one :) img_3483

Bounz commented 7 years ago

Well, I'm using RaZberry board and can't reproduce the problem with the inclusion of the device. But recently I've ordered the same AEOTEC Z-Stick, so I'll try to investigate this problem when the package arrives.

Bounz commented 7 years ago

Hi, @bluewalk. Got my Aeotec Z-Stick Gen5 two days ago. I'll try to reproduce problems with devices inclusion using software "inclusion" mode.

genemars commented 7 years ago

@Bounz I see there might be more work to commit. So I wait for your confirmation before publishing the new nuget package.

Bounz commented 7 years ago

@bluewalk, I tested inclusion and exclusion of the devices with Aeotec Z-Stick and ZWaveLib and everything works as expected. I used Fibaro Door/Window Sensor and Fibaro Dimmer (1st edition). Two notes here:

@genemars, I think you can continue with the new nuget package.

genemars commented 7 years ago

@Bounz @bluewalk , new version 1.0.15 published. Shall we close this issue?

bluewalk commented 7 years ago

@genemars You can close this issue yes, I will test the software inclusion again when installing a new dimmer :-)