How to create a xml device description file (ZDDX)?

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
piet66
Posts: 277
Joined: 04 Feb 2017 17:00

How to create a xml device description file (ZDDX)?

Post by piet66 »

I am currently working on the creation of device description files.
Are there any instructions about this topic? Unfortunately I have not found any.
I noticed that the existing files are very heterogeneous. For example, there seem different opinions on how to name the files and whether to use decimal or hex values.

And is there someone who is responsible for the maintainance?
Raspberry Pi 3 Model B Rev 1.2
Raspbian GNU/Linux 10 (buster, 32bit)
RaZberry by Z-Wave.Me(327) ZW0700 7.21.00 07.42/17367041 1025/257
Z-Way version v4.1.2 from 2023-10-18 03:34:26 +0300
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: How to create a xml device description file (ZDDX)?

Post by PoltoS »

The name does not really matter until it is unique. The database indexer is scanning all XML file anyway.

Start with pressing Create ZDDX in the EUI. Then fill it like other files
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: How to create a xml device description file (ZDDX)?

Post by PoltoS »

And there is an xslt schema
piet66
Posts: 277
Joined: 04 Feb 2017 17:00

Re: How to create a xml device description file (ZDDX)?

Post by piet66 »

Where can I find this xslt schema?
Raspberry Pi 3 Model B Rev 1.2
Raspbian GNU/Linux 10 (buster, 32bit)
RaZberry by Z-Wave.Me(327) ZW0700 7.21.00 07.42/17367041 1025/257
Z-Way version v4.1.2 from 2023-10-18 03:34:26 +0300
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: How to create a xml device description file (ZDDX)?

Post by PoltoS »

In the same ZDDX folder
piet66
Posts: 277
Joined: 04 Feb 2017 17:00

Re: How to create a xml device description file (ZDDX)?

Post by piet66 »

Thank you for the Info.
You mean the xsd schema z-wave_v2.xsd.

I do not yet know what this is and what you can do with it. But I will deal with it.
Raspberry Pi 3 Model B Rev 1.2
Raspbian GNU/Linux 10 (buster, 32bit)
RaZberry by Z-Wave.Me(327) ZW0700 7.21.00 07.42/17367041 1025/257
Z-Way version v4.1.2 from 2023-10-18 03:34:26 +0300
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: How to create a xml device description file (ZDDX)?

Post by PoltoS »

Sorry, xsd is the scheme. xslt is the stylesheet and we don't use it here.
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: How to create a xml device description file (ZDDX)?

Post by PoltoS »

XSD is used to validate the XML agains a scheme. It is hard to understand out of it how to fill the file, but I suppose there should be visual editors using XSD to assist filling the XML file
Post Reply