Hi
I have an OWL cm119 that shows too much power consumption. So I thought that I could try to use the Calibration function when I edit the device.
When I try to calibrate it with an decimal number as Divider1 ie 1.64, and choose Save, it rounds it up to 2. I can see that it calculates the numbers correct when I punch in the decimals, but when I hit Save, it returns calculations based on 2 and not 1.64. Could you please make it accept decimal numbers? That would be great
Unable to Calibrate vith decimal numbers
Moderator: RDNZL
- RDNZL
- Forum Moderator
- Posts: 1008
- Joined: Sun Sep 24, 2006 1:45 pm
- Location: Dordrecht, The Netherlands
- Contact:
Re: Unable to Calibrate vith decimal numbers
I have done some investigation and the problem comes down to the fact that the divider database fields are of type integer.
So you cannot specify anything but integers. The device editor calculates internally correct, but you cannot save 1.64 to the db, it fails.
When coded I thought we only need divides by integers like 10, 100, 1000 etc.
But a question, the power usage value displayed in DomotiGa is different than on your CM119 device?
If so can you give me some packet string (debug log) and the corresponding values the device is showing?
Or the device itself reporting wrong values too?
So you cannot specify anything but integers. The device editor calculates internally correct, but you cannot save 1.64 to the db, it fails.
When coded I thought we only need divides by integers like 10, 100, 1000 etc.
But a question, the power usage value displayed in DomotiGa is different than on your CM119 device?
If so can you give me some packet string (debug log) and the corresponding values the device is showing?
Or the device itself reporting wrong values too?
Regards, Ron.
Re: Unable to Calibrate vith decimal numbers
Hi,
I my case domotiga used to work great with cm119 but since 1 or 2 release the reported value in domotiga doesn't match the display of the device.... so I am still using the RFCXCOMRX class code for the cm119....
I think there was a modification to be able to have several cm119 in the same time but this doesnt' seem to work (or maybe there is different version of the cm119 out there...)
Hplus
I my case domotiga used to work great with cm119 but since 1 or 2 release the reported value in domotiga doesn't match the display of the device.... so I am still using the RFCXCOMRX class code for the cm119....
I think there was a modification to be able to have several cm119 in the same time but this doesnt' seem to work (or maybe there is different version of the cm119 out there...)
Hplus
Re: Unable to Calibrate vith decimal numbers
Domotiga shows about 5% more power consumption than whats displayed on the OWL CM 119. For instance, if the OWL displays a consumption of about 9.5KW, Domotiga shows about 10KW.
In the debug log shown below, the first value shown on the OWL was 5.570 KW and the second value was 5.636 KW
When I compare the power consumption displayed on the OWL with my original House Power Meter for one hour, I find that the OWL measures about 1.6 times the consumption. So this is why I wanted to Calibrate it with Domotiga so that It shows the correct meter values online.
In the debug log shown below, the first value shown on the OWL was 5.570 KW and the second value was 5.636 KW
Code: Select all
2011/04/07 20:38:53 6C2A0004A916B091C8C0000030C518 ELEC2[36930] OWL CM119 CH 2 addr:36930 counter:0 Now:5.8270kW Total:903.7946kWh bits=108
2011/04/07 20:38:59 6C2A0904E9169025C9C00000C0B518 ELEC2[36930] OWL CM119 CH 2 addr:36930 counter:9 Now:5.8913kW Total:903.8052kWh bits=108