/ZwaveAPI/Run/Data0 and DeviceData.xml

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
magadheera
Posts: 14
Joined: 22 Jan 2015 14:10

/ZwaveAPI/Run/Data0 and DeviceData.xml

Post by magadheera »

I have confusion between
/ZwaveAPI/Run/Data0
and
DeviceData.xml
both of this database elements in z-way. What difference they have, how they related to each other, when they get updated, which data base z-way really uses for device communication and so.

Thanking you.
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: /ZwaveAPI/Run/Data0 and DeviceData.xml

Post by pz1 »

Code: Select all

/ZWaveAPI/Data/0 
(mind the spelling and syntax) gives you the complete actual data tree
File config/zddx/yyyyy-DevicesDate.xml represents your actual devices configuration. This file goes into the backup. I think it is only updated after a configuration change
magadheera
Posts: 14
Joined: 22 Jan 2015 14:10

Re: /ZwaveAPI/Run/Data0 and DeviceData.xml

Post by magadheera »

Sorry for the mistake. Will it updated for each configuration change?, like Inclusion and Exclusion as well. But i have noticed that .xml file is updating only if something like inclusion happens, but Data/0 tree getting updated for all the changes. I have not understand, if one of this file corrupted what will be the situation. Which is the main resource file here?
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: /ZwaveAPI/Run/Data0 and DeviceData.xml

Post by pz1 »

/ZWaveAPI/Data/0 is not a resource, it is a JSON format snapshot of the internal data of the Z-Way controller. So it can give you the actual status of your machine.
The XML is for recovery of your system in case it breaks down
magadheera
Posts: 14
Joined: 22 Jan 2015 14:10

Re: /ZwaveAPI/Run/Data0 and DeviceData.xml

Post by magadheera »

Is there chance to break both?. Problem i have is that some how i lost commandclasses of some or all devices i already included and z-way not answering for those devices. Is there anyway to recover from these situation, i am using Z-way V1.7.0. Downloadback and restore backup both functions are not working in z-way interface.
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: /ZwaveAPI/Run/Data0 and DeviceData.xml

Post by pz1 »

You are opening three different topics on what essentially is one problem.
viewtopic.php?f=3419&t=21162
viewtopic.php?f=3419&t=21122&start=10
PoltoS did ask you some specific diagnostic questions, to which you do not give a straight answer. Asking additional questions does not bring you further
In those circumstances, and based on my own sometimes bitter experience, I can give you only one advice: Start over and rebuild a clean virgin installation based on version v.2.0.0 (don't try any release candidates yet).
There are plenty of testimonies here from people who successfully took that route.
magadheera
Posts: 14
Joined: 22 Jan 2015 14:10

Re: /ZwaveAPI/Run/Data0 and DeviceData.xml

Post by magadheera »

Maybe three problems are relelated, but i dont know wether previouse mentioned problems come because of the same issues. This point i wanted to clarify here. I could not get PoltoS answer, thts why i had to post question again. Your correct v2.0.0 may have betterment but i am restricted to v1.7.0 now.
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: /ZwaveAPI/Run/Data0 and DeviceData.xml

Post by pz1 »

Well it is your choice to stay on a known unstable version. As I don't have that version active, I am afraid I can't help you further.
Since 29-12-2016 I am no longer a moderator for this forum
magadheera
Posts: 14
Joined: 22 Jan 2015 14:10

Re: /ZwaveAPI/Run/Data0 and DeviceData.xml

Post by magadheera »

Thank you for your posts.
Post Reply