Re: Raspberry PI smatool stop before finishing

163 views
Skip to first unread message

Stephen Collier

unread,
Feb 26, 2013, 11:31:31 PM2/26/13
to sma-bl...@googlegroups.com
Try addeing as smatool -v -d  - it will show more information about the PVouput process
On Wednesday, February 13, 2013 9:00:22 AM UTC+11, Adam Goodfellow wrote:
Hi

I have smatool running on a Raspberry PI under wheezy. When I run ./smatool it stops at the end and will not finish untill I hit enter twice.
Is there a fix for this?

pi@raspberrypi ~/bin/sma-bluetooth $ ./smatool
2013-02-13 06:50:03 Unit Serial          = 3821139 none
2013-02-13 06:50:03 NO DATA for 1f 82 = 8001 NO UNITS
2013-02-13 06:50:03 NO DATA for 20 82 = 558 NO UNITS
2008-01-01 11:00:05 NO DATA for 21 82 = 601 NO UNITS
2008-01-01 11:00:05 NO DATA for 21 82 = 635 NO UNITS
2013-02-13 08:56:52 Total Power          = 549 Watts
2013-02-13 08:56:51 Max Phase 1          = 3000 Watts
2013-02-13 08:56:51 Max Phase 2          = 3000 Watts
2013-02-13 08:56:51 Max Phase 3          = 3000 Watts
2013-02-13 08:56:51 Unknown              = 0 Unknown
2013-02-13 08:56:51 Unknown              = 0 Unknown
2013-02-13 08:56:52 Output Phase 1       = 549 Watts
2013-02-13 08:56:52 Output Phase 2       = 0 Watts
2013-02-13 08:56:52 Output Phase 3       = 0 Watts
2013-02-13 08:56:52 Line Voltage Phase 1Volts = 239 Volts
2013-02-13 08:56:52 Line Voltage Phase 2Volts = 0 Volts
2013-02-13 08:56:52 Line Voltage Phase 3Volts = 0 Volts
2013-02-13 08:56:52 Line Current Phase 1Amps = 2 Amps
2013-02-13 08:56:52 Line Current Phase 2Amps = 0 Amps
2013-02-13 08:56:52 Line Current Phase 3Amps = 0 Amps
2013-02-13 08:56:52 Grid Frequency       = 50 Hertz
2013-02-13 08:56:51 NO DATA for 48 21 = 35 NO UNITS
2013-02-13 08:56:51 NO DATA for 49 41 = 302 NO UNITS
2013-02-13 08:56:51 NO DATA for 4a 41 = 336 NO UNITS
2013-02-13 08:56:51 NO DATA for 4b 41 = 302 NO UNITS
2013-02-13 08:56:52 NO DATA for 64 41 = 51 NO UNITS
2013-02-13 08:56:52 NO DATA for 65 41 = 557 NO UNITS


13/2/2013 08:50:00  total=3.220 Kwh current=0 Watts togo=0 i=11 crc=1083765064
13/2/2013 08:55:00  total=3.285 Kwh current=780 Watts togo=0 i=23 crc=1083765064

Adam Goodfellow

unread,
Feb 27, 2013, 6:01:05 PM2/27/13
to sma-bl...@googlegroups.com
I have been able to fix my problem. I modified the smatool.c by commenting out five getchar() calls and recompiling. These were on lines 232, 410, 2212, 2292, 2417. I have attached my smatool.c

Regards, Adam
smatool.c
Reply all
Reply to author
Forward
0 new messages