Page 1 of 1

ZWave extension suggestion

Posted: Friday 01 November 2019 13:59
by Umberto
Hi all,

Just want to give a suggestion regarding the zwave functionality. I have a MH7H thermostat which is supported by openzwave but a part of the needed functionality is not implemented in domoticz (state of the device). Therefor I can't see (nor use) the state of the device to determine if it is actually heating or idle.

I have build a python plugin which polls all the zwave devices afterwhich openzwave creates a file (zwcfgxx.xml or something like that) which I can read and interpret. There the actual state of the device is updated and so my plugin can determine if the MH7H is heating or idle. I update a switch accordingly and also implemented a 'kWh' device to register the usage (since it is an electrical heating I can use the capacity indication of the heating). I know, not perfectly, but hey: works great.

Now my question / suggestion: I am not a C/C#/C++ programmer but have some python skills. I can't unfortunately help extending the core of domoticz. BUT: if a 'plugin' type of interface could be offered, I could help.

My suggestion: create a point in the zwave part of the code which calls a (for example) python program to handle the unknown requeststs by passing all the information that is available. This way I (at least but can imagine more people) could add to extending domoticz and an adjustment could be made fairly easy (by editing the python script that handles the missing commands).

Best reagrds.