Russian device configuration texts and ZDDX validation error

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
Tiptop
Posts: 56
Joined: 01 Mar 2013 13:50

Russian device configuration texts and ZDDX validation error

Post by Tiptop »

I am currently running 2.0.1-rc4 but I have seen the same behavior with 2.0.0, too:

Some of my devices show Russian texts in the configuration section... how can I change that? I cannot read the Russian language...

I also tried to re-select the ZDDX file for those devices manually using the "Select Device Description" button.
I always get errors like

Code: Select all

Error handling data from
/ZWaveAPI/Run/devices[4].LoadXMLFile("353-010f-0200-0109-03-03-2a-01-09.xml")
What's the reason for that?

I tried to validate my ZDDX files and they seem to be seriously broken. How can I fix those errors?

Code: Select all

python validate.py 
/opt/z-way-server/ZDDX/271-0115-1000-0003-03-03-2a-01-08.xml:22:0:ERROR:SCHEMASV:SCHEMAV_CVC_ENUMERATION_VALID: Element '{http://www.pepper1.net/zwavedb/xml-schemata/z-wave}rfFrequency': [facet 'enumeration'] The value 'Russia' is not an element of the set {'US', 'EU', 'Australia and New Zealand', 'Hong Kong', 'Malaysia', 'Singapore', 'India'}.
/opt/z-way-server/ZDDX/271-0115-1000-0003-03-03-2a-01-08.xml:22:0:ERROR:SCHEMASV:SCHEMAV_CVC_DATATYPE_VALID_1_2_1: Element '{http://www.pepper1.net/zwavedb/xml-schemata/z-wave}rfFrequency': 'Russia' is not a valid value of the atomic type '{http://www.pepper1.net/zwavedb/xml-schemata/z-wave}rfFrequency'.
/opt/z-way-server/ZDDX/403-0000-0000-21ac-06-03-25-01-10.xml:69:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_4: Element '{http://www.pepper1.net/zwavedb/xml-schemata/z-wave}configParam': The attribute 'type' is required but missing.
/opt/z-way-server/ZDDX/124-0060-0001-0002-06-02-40-01-02.xml:159:0:ERROR:SCHEMASV:SCHEMAV_ELEMENT_CONTENT: Element '{http://www.pepper1.net/zwavedb/xml-schemata/z-wave}alarmMappings': This element is not expected. Expected is one of ( {http://www.pepper1.net/zwavedb/xml-schemata/z-wave}endpoints, {http://www.pepper1.net/zwavedb/xml-schemata/z-wave}resourceLinks ).
/opt/z-way-server/ZDDX/313-0129-0001-0000-03-03-21-03-30.xml:49:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_3_2_1: Element '{http://www.pepper1.net/zwavedb/xml-schemata/z-wave}commandClass', attribute 'nonSecure': The attribute 'nonSecure' is not allowed.
/opt/z-way-server/ZDDX/313-0129-0001-0000-03-03-21-03-30.xml:50:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_3_2_1: Element '{http://www.pepper1.net/zwavedb/xml-schemata/z-wave}commandClass', attribute 'nonSecure': The attribute 'nonSecure' is not allowed.
/opt/z-way-server/ZDDX/313-0129-0001-0000-03-03-21-03-30.xml:51:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_3_2_1: Element '{http://www.pepper1.net/zwavedb/xml-schemata/z-wave}commandClass', attribute 'nonSecure': The attribute 'nonSecure' is not allowed.
/opt/z-way-server/ZDDX/313-0129-0001-0000-03-03-21-03-30.xml:52:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_3_2_1: Element '{http://www.pepper1.net/zwavedb/xml-schemata/z-wave}commandClass', attribute 'nonSecure': The attribute 'nonSecure' is not allowed.
/opt/z-way-server/ZDDX/313-0129-0001-0000-03-03-21-03-30.xml:53:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_3_2_1: Element '{http://www.pepper1.net/zwavedb/xml-schemata/z-wave}commandClass', attribute 'nonSecure': The attribute 'nonSecure' is not allowed.
/opt/z-way-server/ZDDX/313-0129-0001-0000-03-03-21-03-30.xml:54:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_3_2_1: Element '{http://www.pepper1.net/zwavedb/xml-schemata/z-wave}commandClass', attribute 'nonSecure': The attribute 'nonSecure' is not allowed.
/opt/z-way-server/ZDDX/313-0129-0001-0000-03-03-21-03-30.xml:55:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_3_2_1: Element '{http://www.pepper1.net/zwavedb/xml-schemata/z-wave}commandClass', attribute 'nonSecure': The attribute 'nonSecure' is not allowed.
/opt/z-way-server/ZDDX/313-0129-0001-0000-03-03-21-03-30.xml:56:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_3_2_1: Element '{http://www.pepper1.net/zwavedb/xml-schemata/z-wave}commandClass', attribute 'nonSecure': The attribute 'nonSecure' is not allowed.
/opt/z-way-server/ZDDX/313-0129-0001-0000-03-03-21-03-30.xml:57:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_3_2_1: Element '{http://www.pepper1.net/zwavedb/xml-schemata/z-wave}commandClass', attribute 'nonSecure': The attribute 'nonSecure' is not allowed.
/opt/z-way-server/ZDDX/313-0129-0001-0000-03-03-21-03-30.xml:58:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_3_2_1: Element '{http://www.pepper1.net/zwavedb/xml-schemata/z-wave}commandClass', attribute 'nonSecure': The attribute 'nonSecure' is not allowed.
/opt/z-way-server/ZDDX/313-0129-0001-0000-03-03-21-03-30.xml:59:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_3_2_1: Element '{http://www.pepper1.net/zwavedb/xml-schemata/z-wave}commandClass', attribute 'nonSecure': The attribute 'nonSecure' is not allowed.
/opt/z-way-server/ZDDX/545-0064-1000-0002-03-03-4f-03-00.xml:22:0:ERROR:SCHEMASV:SCHEMAV_CVC_ENUMERATION_VALID: Element '{http://www.pepper1.net/zwavedb/xml-schemata/z-wave}rfFrequency': [facet 'enumeration'] The value 'Russia' is not an element of the set {'US', 'EU', 'Australia and New Zealand', 'Hong Kong', 'Malaysia', 'Singapore', 'India'}.
/opt/z-way-server/ZDDX/545-0064-1000-0002-03-03-4f-03-00.xml:22:0:ERROR:SCHEMASV:SCHEMAV_CVC_DATATYPE_VALID_1_2_1: Element '{http://www.pepper1.net/zwavedb/xml-schemata/z-wave}rfFrequency': 'Russia' is not a valid value of the atomic type '{http://www.pepper1.net/zwavedb/xml-schemata/z-wave}rfFrequency'.
/opt/z-way-server/ZDDX/466-0000-0000-0000-00-00-00-00-00.xml:14:0:ERROR:SCHEMASV:SCHEMAV_ELEMENT_CONTENT: Element '{http://www.pepper1.net/zwavedb/xml-schemata/z-wave}optional': This element is not expected. Expected is ( {http://www.pepper1.net/zwavedb/xml-schemata/z-wave}basicClass ).
/opt/z-way-server/ZDDX/586-013c-0001-0011-03-03-83-01-08.xml:25:0:ERROR:SCHEMASV:SCHEMAV_ELEMENT_CONTENT: Element '{http://www.pepper1.net/zwavedb/xml-schemata/z-wave}deviceDescription': Missing child element(s). Expected is ( {http://www.pepper1.net/zwavedb/xml-schemata/z-wave}productName ).
/opt/z-way-server/ZDDX/256-0001-5257-3033-00-02-61-00-00.xml:48:0:ERROR:SCHEMASV:SCHEMAV_CVC_IDC: Element '{http://www.pepper1.net/zwavedb/xml-schemata/z-wave}commandClass': Duplicate key-sequence ['002B', '1'] in unique identity-constraint '{http://www.pepper1.net/zwavedb/xml-schemata/z-wave}cmdClassUnique'.
User avatar
PoltoS
Posts: 7571
Joined: 26 Jan 2011 19:36

Re: Russian device configuration texts and ZDDX validation e

Post by PoltoS »

validation problem will be fixed in next release.

what is the record having RU only texts?
Tiptop
Posts: 56
Joined: 01 Mar 2013 13:50

Re: Russian device configuration texts and ZDDX validation e

Post by Tiptop »

Hmmm... I am not sure about which record I have to blame here.
Some (not all, which is even more strange!!!) of these devices show the problem:
Fibaro FGS221 V1.9 (App: 1.9, SDK: 4.54.01)
Fibaro FGS221 V1.9 (App: 2.1, SDK: 4.54.01)
Fibaro FGR211 V1.9 (App: 1.7, SDK: 4.54.01)
There may be more but it is very painful to click through all my 72 registered devices...

For example, I re-interviewed a FGS221, but no device description record was automatically chosen by way. Therefore I clicked "Select Device Description", and chose "Fibaro FGS221 V1.9" from the list.
What followed was the error message

Code: Select all

Error handling data from
/ZWaveAPI/Run/devices[84].LoadXMLFile("353-010f-0200-0109-03-03-2a-01-09.xml")
combined with russian-only configuration settings for this device.

Please note that I am using the NEW expert GUI from way v2.0.1-rc4 (not the "good old blue" one).

The strange thing is: The "good old blue" expert GUI does show the correct (english) device descriptions - even for devices which show problems in the new GUI!

The same happened when I recently included a Fibaro Motion Sensor using the new GUI: All texts were Russian, only. I switched to the old GUI, re-interviewed the device and got the english texts (which now do also show up in the new GUI).
This is a very strange behaviour - it feels like if the old and new GUI communicate to different servers... which of course is not the case... :)


Oh, by the way: Why is the list of device descriptions alphabetically unsorted? It is a VERY painful job to scroll through this list to eventually find the device you're searching... :cry:
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: Russian device configuration texts and ZDDX validation e

Post by pz1 »

Can confirm partial Russian text for my Fibaro FGS221 V1.9 (App: 1.7, SDK: 4.54.01) in the new expert UI, but all English texts if I look under devices configuration in the old blue expert interface.
Since 29-12-2016 I am no longer a moderator for this forum
Post Reply