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?
Ampere readenigs with 3 decimals ?
Moderator: leecollings
-
- Posts: 62
- Joined: Monday 28 August 2017 16:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Ampere readenigs with 3 decimals ?
no one knows how to solve it ?
- waltervl
- Posts: 5791
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Ampere readenigs with 3 decimals ?
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.
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.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- waltervl
- Posts: 5791
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Ampere readenigs with 3 decimals ?
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.
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.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 62
- Joined: Monday 28 August 2017 16:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Ampere readenigs with 3 decimals ?
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
so no hope on it to get it working
Who is online
Users browsing this forum: No registered users and 1 guest