New v2.0.0 released!

Discussions about RaZberry - Z-Wave board for Raspberry computer
Mirar
Posts: 113
Joined: 19 Oct 2014 16:54
Location: Stockholm

Re: New v2.0.0 released!

Post by Mirar »

Speaking about lots of work, when will "bitset" work for the configuration again? (Ie, bit field parameters like parameter 101 for Aeon Labs multisensor.)
pofs
Posts: 688
Joined: 25 Mar 2011 19:03

Re: New v2.0.0 released!

Post by pofs »

Mirar wrote:Speaking about lots of work, when will "bitset" work for the configuration again? (Ie, bit field parameters like parameter 101 for Aeon Labs multisensor.)
Please file an issue on github
Mirar
Posts: 113
Joined: 19 Oct 2014 16:54
Location: Stockholm

Re: New v2.0.0 released!

Post by Mirar »

pofs wrote:Please file an issue on github
Done. Wasn't sure if the github issues were developer-only or if users should add things there. Should I add all my found quirks?
pofs
Posts: 688
Joined: 25 Mar 2011 19:03

Re: New v2.0.0 released!

Post by pofs »

Mirar wrote:Should I add all my found quirks?
Of course!
kickus
Posts: 33
Joined: 13 Aug 2014 14:33

Re: New v2.0.0 released!

Post by kickus »

pofs wrote:
Mirar wrote:Speaking about lots of work, when will "bitset" work for the configuration again? (Ie, bit field parameters like parameter 101 for Aeon Labs multisensor.)
Please file an issue on github
It sounds as it's related to my primary need for the device xml import/export function that I was looking for. I've been setting the parameters 101-103 (32 bit fields) of my Aeon HEM3 devices through the xml configuration. Almost each bit has an own boolean function, but the parameter is passed in decimal format in the xml.

I saw the "Bitset" parameters of your filed issue. Sounds to be similar, but the parameters of my Aeon Labs HEM3 does not appear as Bitset parameters. They only provides a tiny subset of the available options to the UI.
kickus
Posts: 33
Joined: 13 Aug 2014 14:33

Re: New v2.0.0 released!

Post by kickus »

pz1 wrote: There still is this command line script: /opt/z-way-server/ZDDX/UpdateXMLs.sh
This updates your Pi with the lates from the Pepper one database.

I think you can add your own device xml's to that same directory. There have been quite some discussions here. Just search the needle.... :D
I looked at the xml files in that folder and the update script, but for me it seemed to do different things. It seems to provide the UI with the information about how to render the configuration options.

I'm looking for a way to send my settings to the z-wave device. My xml looks like this (I omitted a bunch of lines):

<devices>
<deviceconfiguration id="-" instance="0" commandclass="70" command="Set" parameter="[10,20,1]"></deviceconfiguration>
<deviceconfiguration id="-" instance="0" commandclass="70" command="Set" parameter="[11,20,1]"></deviceconfiguration>
<deviceconfiguration id="-" instance="0" commandclass="70" command="Set" parameter="[13,0,1]"></deviceconfiguration>
<deviceconfiguration id="-" instance="0" commandclass="70" command="Set" parameter="[101,1795,4]"></deviceconfiguration>
<deviceconfiguration id="-" instance="0" commandclass="70" command="Set" parameter="[102,0,4]"></deviceconfiguration>
<deviceconfiguration id="-" instance="0" commandclass="70" command="Set" parameter="[103,0,4]"></deviceconfiguration>
<deviceconfiguration id="-" instance="0" commandclass="70" command="Set" parameter="[111,60,1]"></deviceconfiguration>
<deviceconfiguration id="-" instance="0" commandclass="70" command="Set" parameter="[112,60,1]"></deviceconfiguration>
<deviceconfiguration id="-" instance="0" commandclass="70" command="Set" parameter="[113,120,1]"></deviceconfiguration>
<deviceconfiguration id="-" instance="0" commandclass="70" command="Set" parameter="[100,0,1]"></deviceconfiguration>
<deviceconfiguration id="-" instance="0" commandclass="70" command="Set" parameter="[110,0,1]"></deviceconfiguration>
<deviceconfiguration id="-" instance="0" commandclass="70" command="Set" parameter="[200,0,1]"></deviceconfiguration>
</devices>


However, the HEM xml in that folder contains lines like:
<value from="00000002" to="00000002">
<description>
<lang xml:lang="de">Multisensor-Report für das Gesamtgerät</lang>
<lang xml:lang="en">MultiSensor Report for the whole device</lang>
</description>
</value>
<value from="00000004" to="00000004">
<description>
<lang xml:lang="de">Zähler-Report als Watt für das Gesamtgerät</lang>
<lang xml:lang="en">Meter Report for Watt for the whole device</lang>
</description>
</value>
<value from="00000008" to="00000008">
<description>
<lang xml:lang="de">Zähler-Report als kWh für das Gesamtgerät</lang>
<lang xml:lang="en">Meter Report for kWh for the whole device</lang>
</description>
</value>
<value from="00000100" to="00000100">
<description>
<lang xml:lang="de">Zähler-Report als Watt für Klemme 1</lang>
<lang xml:lang="en">Meter Report for Watt for clamp 1</lang>
</description>
</value>
<value from="00000200" to="00000200">
<description>
<lang xml:lang="de">Zähler-Report als Watt für Klemme 2</lang>
<lang xml:lang="en">Meter Report for Watt for clamp 2</lang>
</description>
</value>

Do you think I just could customize the options by using my own appropriate value ranges, and do my selection through the UI?
kickus
Posts: 33
Joined: 13 Aug 2014 14:33

Re: New v2.0.0 released!

Post by kickus »

It looks like the applied settings (that have been read out from device) are found in these files in /opt/z-way-server/config/zddx:

c5e0acc7-DevicesData.xml: <data name="101" invalidateTime="1424180995" updateTime="1424180996" type="empty" value="null">
c5e0acc7-DevicesData.xml- <data name="val" invalidateTime="1424180995" updateTime="1424180996" type="int" value="2"/>
c5e0acc7-DevicesData.xml- <data name="size" invalidateTime="1424180995" updateTime="1424180996" type="int" value="4"/>
c5e0acc7-DevicesData.xml- </data>


Is it somehow possible to edit and commit the settings?
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: New v2.0.0 released!

Post by pz1 »

IIRC, this file actually is part of the backup files. So handle with care, and do make a backup using the old Expert UI
kickus
Posts: 33
Joined: 13 Aug 2014 14:33

Re: New v2.0.0 released!

Post by kickus »

pz1 wrote:IIRC, this file actually is part of the backup files. So handle with care, and do make a backup using the old Expert UI
Thanks for your post. I forgot that the old expert ui still is available. I'll use that one as before.
Mirar
Posts: 113
Joined: 19 Oct 2014 16:54
Location: Stockholm

Re: New v2.0.0 released!

Post by Mirar »

I actually just use the expert commands mode to set these. But I have to query the variable and read the logs to figure out the old/current setting...
Post Reply