Page 1 of 1

Ampere readenigs with 3 decimals ?

Posted: Friday 18 November 2022 15:46
by Micha123
hi, i have an zwave ampere meter, (z-wave) in OZW it shows amps with 3 decimals, also in the OZW cache file it shows amps with 3 decimals, but in domoticz i have only one decimal also in dz only one decimal,\


i wil build an script, that calculate the power in watts, so an other sensor is reading voltages, now i need to calculate it, the script is working fine, but amp readings are arround 0.054 amps, (arround 12 - 13 watts) but now domoticz an dz is rounding that walue to 0.1 amp, that is 23 watt, and (there are cameras on it, ~12w on each) but the readings roundet to 0.1 amp on 230V are not accurate, is it possible to get amps within dz with 3 decimals without rounding it?

Re: Ampere readenigs with 3 decimals ?

Posted: Friday 02 December 2022 14:15
by Micha123
no one knows how to solve it ?

Re: Ampere readenigs with 3 decimals ?

Posted: Friday 02 December 2022 14:47
by waltervl
I think the "problem" is not in dzvents but in domoticz. If it stores data with 1 decimal it will not come out later with 3 decimals.
So i think to solve it you need to go into the source code to find out why it is stored only in 1 digit and not 3.

Re: Ampere readenigs with 3 decimals ?

Posted: Friday 02 December 2022 15:46
by waltervl
Perhaps another workaround: There is a setting in menu Setup - Settings tab Meters/Counters where you can switch OWL 133 display between Ampere and Watt. As Watt are normally bigger then Amp it could perhaps solve your issue. But then it depends if Domoticz calculates internally with the 1 digit or the 3 digit value....

OWL 113 display mode
By default the OWL 113 displays the electrical current in Ampere. It is possible to display this in Power (Watt). For this you need to supply the normal housing voltage.

Re: Ampere readenigs with 3 decimals ?

Posted: Monday 05 December 2022 21:11
by Micha123
the problem is then all Ampere sensors wil show in Watt, and the second problem if domoticz save it in one decimals so thats the same.

so no hope on it to get it working