Page 1 of 1

/ZwaveAPI/Run/Data0 and DeviceData.xml

Posted: 05 Feb 2015 10:36
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.

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

Posted: 05 Feb 2015 11:06
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

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

Posted: 05 Feb 2015 11:41
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?

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

Posted: 05 Feb 2015 11:50
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

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

Posted: 05 Feb 2015 12:05
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.

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

Posted: 05 Feb 2015 12:33
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.

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

Posted: 05 Feb 2015 12:51
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.

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

Posted: 05 Feb 2015 13:05
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.

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

Posted: 05 Feb 2015 13:39
by magadheera
Thank you for your posts.