scozzaro / sma-bluetooth

Automatically exported from code.google.com/p/sma-bluetooth
0 stars 0 forks source link

PVoutput rejects a power value greater than the stated system size which causes all data afterwards to not be uploaded #92

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create a power reading that is greater than your PVOutput system size
2. try to upload data to PVOutput
3. url = 
http://pvoutput.org/service/r2/addbatchstatus.jsp?data=20120810,10:45,8686,7800;
20120810,10:50,9016,3960;20120810,10:55,9350,4008;20120810,11:00,9684,4008;20120
810,11:05,10024,4080;20120810,11:10,10364,4080;20120810,11:15,10707,4116;2012081
0,11:20,11047,4080;20120810,11:25,11390,4116;20120810,11:30,11732,4104;20120810,
11:35,12076,4128;20120810,11:40,12417,4092;20120810,11:45,12762,4140;20120810,11
:50,13108,4152;20120810,11:55,13454,4152;20120810,12:00,13795,4092;20120810,12:0
5,14135,4080;20120810,12:10,14472,4044;20120810,12:15,14812,4080;20120810,12:20,
15151,4068;20120810,12:25,15488,4044;20120810,12:30,15825,4044;20120810,12:35,16
160,4020;20120810,12:40,16494,4008;20120810,12:45,16820,3912;20120810,12:50,1714
4,3888;20120810,12:55,17471,3924;20120810,13:00,17795,3888;20120810,13:05,18120,
3900;20120810,13:10,18443,3876&key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXsid=9XXX

What is the expected output? What do you see instead? It should upload instead 
we get Power value is too large for your system size. (Value 7800 in the report 
about is greater than the system size of 5145.

What version of the product are you using? On what operating system? sma-tool 
17b on Linux mythtv 3.2.0-27-generic-pae #43-Ubuntu

Please provide any additional information below.

If a check could be made to make sure that the reported power is not above the 
system size and maybe use the before and after values to average it for the 
purposes of uploading to PVOutput. It would save people a couple of hours of 
troubleshooting.

Original issue reported on code.google.com by kevin.wh...@gmail.com on 11 Aug 2012 at 5:45