Hi,
I have a SMA Sunny Boy SB1700 DC-AC Inverter with Bluetooth Piggy-Back Module & SMA Sunny Beam with
Bluetooth which talk to each other fine with the default password. I have installed sma-bluetooth on a Raspberry Pi: -
% uname -a
Linux pi1 3.18.7+ #755 PREEMPT Thu Feb 12 17:14:31 GMT 2015 armv6l GNU/Linux
% cat /etc/debian_version
7.8
Initially I had no joy with smatool. I had to create the LiveData table manually, using the SQL I found in sma_mysql.c, as neither --INSTALL or --UPDATE did it for me. After this, I then had the following error: -
% ./smatool -v
Auto set dates from 2000-01-01 00:00:00 to 2015-04-01 15:57:00
bluetooth signal = 74%
serial=77:4c:60:c0
bluetooth signal = 74%
bluetooth signal = 74%
$TIMESTRING extraction failed. Check password!!!
After reading this post: https://groups.google.com/d/msg/sma-bluetooth/CLl0ARROy8s/wZGSzxYIOcoJ I changed the Inverter value in smatool.conf from my best guess of 1700TL, to 3000TL and re-ran smatool. It's only gone and worked! Well, there's still nothing in the DayData table, but the output is much more exciting now: -
% ./smatool -v
Auto set dates from 2000-01-01 00:00:00 to 2015-04-03 10:26:00
bluetooth signal = 74%
serial=77:4c:60:c0
bluetooth signal = 74%
bluetooth signal = 74%
2015-04-03 10:26:32 Unit Serial = 3821139 none
2015-04-03 10:26:32 NO DATA for 1f 82 = 8001 NO UNITS
2015-04-03 10:26:32 NO DATA for 20 82 = 9020 NO UNITS
2015-04-03 10:26:32 NO DATA for 21 82 = 601 NO UNITS
2015-04-03 10:26:32 NO DATA for 21 82 = 636 NO UNITS
2015-04-03 10:26:32 Total Power = 393 Watts
2015-04-03 10:26:32 Max Phase 1 = 1700 Watts
2015-04-03 10:26:32 Max Phase 2 = 1700 Watts
2015-04-03 10:26:32 Max Phase 3 = 1700 Watts
2015-04-03 10:26:32 Line Voltage Phase 1Volts = 243 Volts
2015-04-03 10:26:32 Line Current Phase 1Amps = 2 Amps
2015-04-03 10:26:32 Grid Frequency = 50 Hertz
2015-04-03 10:26:32 NO DATA for 1f 4a = 100 NO UNITS
bluetooth signal = 74%
28/4/1974 17:34:09 total=72058914471936.000 Kwh current=0 Watts togo=0 i=11 crc=0
14/7/1970 05:20:14 total=72057589071872.000 Kwh current=-15977278341120 Watts togo=0 i=23 crc=0Date Error! prev=136398849 current=16777214
This is most encouraging - that Total power value tallies with my SunnyBeam! Here's what my DB contents looks like now (note the lack of DayData): http://hastebin.com/wijuyelefo.1c
I've got smatool running via cron, kinda hoping I can get it working soon. I've put the contents of my "smatool.conf" file and the output of "./smatool -v -d" here: http://hastebin.com/fokizidina.vhdl
My house is Mac/Linux only - no Windows - so I don't know how to proceed in debugging and or fixing it & any advice is welcomed.
Now, at this point, I'm not even sure if my inverter is supported!
I'm not exactly sure that I've got the hang of Google and Groups (I can't see my post(s) online when I last posted), so this may be an elaborate "note to self"...
--
Cheers