Openzwave control panel does not see modules

For Z-Wave related questions in Domoticz

Moderator: leecollings

Post Reply
Gravityz
Posts: 652
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2025.1
Location: Netherlands
Contact:

Openzwave control panel does not see modules

Post by Gravityz »

domoticz version V3.6169
synology nas 112+ latest DSM


i have installed 2 new Fibaro FGWPF-102 ZW5 versions.
I have made new config files so the modules are recognized correctly

They work great, switching, powerconsumption etc everything is working.

Now i have 2 problems

openzwave control panel now seems very slow
before the modules were added and i clicked control panel all the modules would show up instantly.
Now they show up one by one which takes +/- 5 minutes

second problem is that the 2 new modules do not show up in openzwave control panel at the bottom.

if i click statistics i see all the modules(including the new ones) with al the info but the 2 modules do not show up at the bottom.
this is really a problem becauise now i can not force those modules to do a neighbour discover or other commands.

modules in domoticz
modules.jpg
modules.jpg (82.53 KiB) Viewed 2310 times

all the modules in statistics(so openzwave control panel sees them)
openzwave2.jpg
openzwave2.jpg (61 KiB) Viewed 2310 times
but openzwave control panel does not put them at the bottom of the screen
openzwave.jpg
openzwave.jpg (90.84 KiB) Viewed 2310 times
also the devices show up really slow.

could there be some leftovers from the old fibaro plug i excluded from the config
The old module was not zw5, the new modules are but they have different id's
as far as i can tell this problem was also there before i excluded a module

can this be the cause of this
logfile domoticz

2016-12-17 19:26:45.134 Error: Webserver: File '/ozwcp/cp.js': No such file or directory (2)
2016-12-17 19:47:34.493 Error: Webserver: File '/ozwcp/ozwcp.poll.XXXXXX.xml': No such file or directory (2)
YcKe
Posts: 39
Joined: Sunday 03 July 2016 0:53
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Openzwave control panel does not see modules

Post by YcKe »

Could it be that you are trying this in firefox?
I'm experiencing the same issue but it's not present when using Chrome.

EDIT: I fixed the issue. The problem was caused by an illegal character that was in the configuration. I'll upload the fix to the OpenZwave github.

Edit 2: In the meanwhile the change has been accepted: https://github.com/OpenZWave/open-zwave ... c3af1833f6

Greetz YcKe
Gravityz
Posts: 652
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2025.1
Location: Netherlands
Contact:

Re: Openzwave control panel does not see modules

Post by Gravityz »

Wow YcKe you are a GENIUS. So an illegal character in the config file caused this
Which character because i do not see the change
I made that config file by editting the old fgwpe file so probably a strange typo

Also what should the type of the file be PC or UNIX
when i pull my files from the synology NAS the original files are type PC but i expected UNIX

changed the file and saved it as unix
Voila Zwave panel working again.(i will inspect my other modified files)

Can you also post another pull request for this file.

I made this file from the fgwpe.xml and changed all the registers
i commented out some commandclasses because they are recognised and supported by domoticz itself.

reading however the zwcfg_xxxx.xml file i noticed that commandclass 32 is not added.
this is a very basic class which is supported.
After adding the class to the config file i noticed that the module now makes connections with other modules more easily(maybe this has nothing to do with it)

commandclass 32 however is mandatory for each module

can you add this to the config(without strange characters) i took the entry from other fibaro modules

<!-- COMMAND_CLASS_BASIC supported -->
<CommandClass id="32" action="add" request_flags="5" innif="true" />
YcKe
Posts: 39
Joined: Sunday 03 July 2016 0:53
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Openzwave control panel does not see modules

Post by YcKe »

Gravityz wrote:Wow YcKe you are a GENIUS. So an illegal character in the config file caused this
Which character because i do not see the change
I made that config file by editting the old fgwpe file so probably a strange typo

Also what should the type of the file be PC or UNIX
when i pull my files from the synology NAS the original files are type PC but i expected UNIX

changed the file and saved it as unix
Voila Zwave panel working again.(i will inspect my other modified files)

Can you also post another pull request for this file.

I made this file from the fgwpe.xml and changed all the registers
i commented out some commandclasses because they are recognised and supported by domoticz itself.

reading however the zwcfg_xxxx.xml file i noticed that commandclass 32 is not added.
this is a very basic class which is supported.
After adding the class to the config file i noticed that the module now makes connections with other modules more easily(maybe this has nothing to do with it)

commandclass 32 however is mandatory for each module

can you add this to the config(without strange characters) i took the entry from other fibaro modules

<!-- COMMAND_CLASS_BASIC supported -->
<CommandClass id="32" action="add" request_flags="5" innif="true" />
I'll try to add the commandClass and let you know how it goes.
The word "device’s" was replace with "device's". As you can see the accent ' is from a different type. (non ascii)

This was causing the issue as firefox was complaining on it. I tried using chrome also and this one didn't have any problems with it.
Note: The next check-in of the OpenZwave team was to remove all non ascii characters in all config files, so it was not the only config file having problems.

Greetz YcKe
User avatar
Domosapiens
Posts: 232
Joined: Wednesday 20 August 2014 12:08
Target OS: Windows
Domoticz version: V3.5981
Location: NL
Contact:

Re: Openzwave control panel does not see modules

Post by Domosapiens »

Well done YcKe !

These files are involved in the "non ascii" modification:

Code: Select all

config/aeotec/zw116.xml
config/devolo/mt2646.xml
config/fakro/zws12.xml (only in comment section, the "non ascii" could be the reason)
config/fakro/zws230.xml (only in comment section, the "non ascii" could be the reason)
config/fibaro/fgfs101zw5.xml
config/fibaro/fgk10x.xml
config/fibaro/fgpb101.xml
config/ge/12724-dimmer.xml
config/kaipule/im20.xml
config/logicsoft/ZHC5010.xml
config/qubino/ZMNHVDx.xml
config/qubino/ZMNHZDx.xml
config/shenzen_neo/nas-pd01z.xml
config/widom/WDS.xml 
If you own one or more of these devices:
- Update to Version 3.6328
- Remove the node from the zwcfg_0xxxxxxxxx.xml file
- restart Domoticz
Win Vista&7; 1#Aeon Z-Stick S2; 1#Aeotec Z-Sick Gen5, 6#Fib.FGBS001; 24#DS18B20; 8#Everspr.AN158-2; 3#Philio PAN04; 1#Philio PAN06, 1#YouLess El; 1#Fib.FGWPE; 1#ZME_RC2; 2#FAK_ZWS230, 2#Quib.ZMNHCDx, 1#Quib.ZMNHDD1, 7#EM6555
YcKe
Posts: 39
Joined: Sunday 03 July 2016 0:53
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Openzwave control panel does not see modules

Post by YcKe »

I understand that we need to add the following statement to the config:

<!-- COMMAND_CLASS_BASIC supported -->
<CommandClass id="32" action="add" request_flags="5" innif="true" />

A question I have related to this is if those parameters are correct. I don't want to publish anything I'm not sure of :-).

Can anyone confirm if those are correct?

Greetz YcKe
Gravityz
Posts: 652
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2025.1
Location: Netherlands
Contact:

Re: Openzwave control panel does not see modules

Post by Gravityz »

I do not think we get a response it this thread.

maybee just just do a pull request.

i did some more checking and read the zwcfg_xxxx entry for a fgwpe module
it has the mapping command added.

i have changed it and now the entry looks exactly the same as the fgwpe module(which basically has the same as the fgwpf zw5 version )

so do a pull request for this

<!-- COMMAND_CLASS_BASIC supported -->
<CommandClass id="32" action="add" request_flags="4" mapping="37" />
YcKe
Posts: 39
Joined: Sunday 03 July 2016 0:53
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Openzwave control panel does not see modules

Post by YcKe »

Gravityz wrote:I do not think we get a response it this thread.

maybee just just do a pull request.

i did some more checking and read the zwcfg_xxxx entry for a fgwpe module
it has the mapping command added.

i have changed it and now the entry looks exactly the same as the fgwpe module(which basically has the same as the fgwpf zw5 version )

so do a pull request for this

<!-- COMMAND_CLASS_BASIC supported -->
<CommandClass id="32" action="add" request_flags="4" mapping="37" />
Hi Gravityz

The change is already added and merged some time ago but domoticz is not yet updated with it.

Greetz YcKe
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest