roshbaik2 / open-zwave

Automatically exported from code.google.com/p/open-zwave
0 stars 0 forks source link

Z-Wave.Me USB Stick Controller really slow init times even without devices #403

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I'm testing this USB Key and I'm experiencing slow startup times when many 
devices are connected to this controller.

Versions:
OZW: 1.3.936
Domoticz: 2.2134

Before posting this issue, I made a full reset of usb controller and I attached 
the startup/init log of the empty controller.

the startup time, even if empty is 2 minutes.

I can see in the log this messagge that slow down the init phase:

2014-11-23 02:50:50.887 Info, Node001, Sending (Send) message (Callback 
ID=0x00, Expected Reply=0x52) - Enable SUC (Node=1): 0x01, 0x05, 0x00, 0x52, 
0x01, 0x01, 0xa8
2014-11-23 02:51:30.888 Detail, 
2014-11-23 02:51:30.888 Info, Node001, Sending (Send) message (Attempt 2, 
Callback ID=0x00, Expected Reply=0x52) - Enable SUC (Node=1): 0x01, 0x05, 0x00, 
0x52, 0x01, 0x01, 0xa8
2014-11-23 02:52:10.889 Detail, 
2014-11-23 02:52:10.889 Info, Node001, Sending (Send) message (Attempt 3, 
Callback ID=0x00, Expected Reply=0x52) - Enable SUC (Node=1): 0x01, 0x05, 0x00, 
0x52, 0x01, 0x01, 0xa8
2014-11-23 02:52:10.890 Info, mgr,     Manager::WriteConfig completed for 
driver with home ID of 0xdf226466
2014-11-23 02:52:50.889 Error, Node001, ERROR: Dropping command, expected 
response not received after 3 attempt(s)

Why OZW want send to controller that command in init phase? It's not supported 
by Z-Wave.Me USB Stick?

Exist a way to completely disable the init probing of OZW? So I can speed up 
the startup time.

Thanks in advance.

Kind Regards

Original issue reported on code.google.com by ugo.v...@gmail.com on 23 Nov 2014 at 2:06

Attachments:

GoogleCodeExporter commented 9 years ago
It is a configuration option, seen the following link:
https://code.google.com/p/open-zwave/wiki/Config_Options

Set "EnableSIS" to "false"

It is up to the application or user to set it.

Original comment by uAle...@gmail.com on 23 Nov 2014 at 8:21

GoogleCodeExporter commented 9 years ago
Great! Now the init phase is really fast.

Thankyou for the tip.

To understand better that problem, it depend that the SIC function is not 
available in Z-Wave.Me USB Stick Controller? Or it's an OZW incompatibility 
with Z-Wave.Me hardware?
I have also a Z-Wave.Me RaZberry Controller with the same problem.

If it's true, then what is the correct way to make this option the default for 
all Z-Wave.Me users? so we do not must edit options.xml by hand.

I'll report this behavior to Domoticz developer.

Kind regards

Original comment by ugo.v...@gmail.com on 23 Nov 2014 at 11:15

GoogleCodeExporter commented 9 years ago
Unfortuantly we dont have enough information on that portion of the SerialAPI 
to be able to detect if a controller supports SUC/SIS. 

Original comment by jus...@dynam.ac on 24 Nov 2014 at 4:15

GoogleCodeExporter commented 9 years ago
Ok I understand.

so on application side, before init OZW Library, we must manage a list of 
devices not supporting SUC/SIS (like Z-Wave.Me hardware) and enable or disable 
the "EnableSIS" option to avoid slow startup time.

Thankyou for the support.

Kind Regards.

Original comment by ugo.v...@gmail.com on 24 Nov 2014 at 9:08