The call http://raspberri_IP:8083/ZwaveAPI/Data/0 does return the complete data tree.
Section 7.4 of the manuals says: "The tree have same structure as the backend tree (Figure 8) with one additional root element "updateTime" which contains the time of latest update."
I have tried in various ways to extract this updateTime in one call. For example as:
http://raspberri_IP:8083/ZwaveAPI/Data.updateTime
Can it be done in a single call like this at all? If so how?
Or is it a two step proces of retrieving data followed by parsing the JSON blurp
Reading latest update time
Reading latest update time
Since 29-12-2016 I am no longer a moderator for this forum
Just found that:http:/
Just found that:
http://raspberry:8083/JS/Run/zway.contr ... updateTime
gives me that time without further parsing
http://raspberry:8083/JS/Run/zway.contr ... updateTime
gives me that time without further parsing
Since 29-12-2016 I am no longer a moderator for this forum
Please check the manual. If
Please check the manual. If you want to access individual data subtrees, use /ZWaveAPI/Run/devices[x].instances[x].Basic.data.updateTime
My question was not about
My question was not about reading the updateTime of an individual device, but about the updateTime stored at the root element (See in zwayDev.pdf section 8.4 now).
Since 29-12-2016 I am no longer a moderator for this forum
You need to read the full
You need to read the full tree and parse JSON. The /Data/xxxx method just return the full tree.
Thanks, that is what I did.
Thanks, that is what I did. I had hoped here was a simple direct call that returned a single value.
Since 29-12-2016 I am no longer a moderator for this forum