bravohe / sma-bluetooth

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

Patch for /smatool.c #94

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1. Added voltage phase 1 to database and post to pvoutput.
Since no voltage is logged in inverter, add this value to the latest entry 
(pvoutput will interpolate your results). You need to change voltage format in 
sma_mysql.c to DECIMAL(5,2).

2. Upload interval shortened since 14 days is the maximum now. Minus one day to 
avoid "overlap"

3. Previous unit significance patch

Have some more ideas, hope you will accept my changes, test it and 
clean/improve where possible.

Original issue reported on code.google.com by terrebro...@gmail.com on 16 Aug 2012 at 7:32

Attachments:

GoogleCodeExporter commented 9 years ago
This patch doesn't work on the last release... 
Some rejects as shown thereafter :
(Stripping trailing CRs from patch.)
patching file smatool.c
Hunk #1 succeeded at 1752 (offset 354 lines).
Hunk #2 FAILED at 1507.
Hunk #3 FAILED at 1968.
Hunk #4 succeeded at 2548 (offset 348 lines).
Hunk #5 FAILED at 2288.
Hunk #6 succeeded at 2645 (offset 349 lines).
Hunk #7 succeeded at 2673 (offset 349 lines).
Hunk #8 FAILED at 2355.
Hunk #9 FAILED at 2388.
Hunk #10 succeeded at 2845 (offset 427 lines).
5 out of 10 hunks FAILED -- saving rejects to file smatool.c.rej

Could it be possible to indicate the version the patch must be apply to ?

Regards
SoniX

Original comment by v3c...@gmail.com on 26 Sep 2012 at 8:45