nmpinhole / sma-bluetooth

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

USB Sniff results - 6000A #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have attached the USB sniff results from my mini central 6000A.
If there is anything I can do to help you add this inverter let me know.
Cheers Steve

Original issue reported on code.google.com by ste...@whately.me on 24 Oct 2011 at 9:19

Attachments:

GoogleCodeExporter commented 9 years ago
Inverter        7000

smatool -v -from "2011-10-30 00:00:00" -to "2011-10-30 23:55:00" 
QUERY RANGE    from 2011-10-30 00:00:00 to 2011-10-30 23:55:00
Address 00:80:25:18:5C:D7
bluetooth signal = 69%
serial=77:53:75:92
bluetooth signal = 69%
bluetooth signal = 69%
2011-10-30 16:08:06 Unit Serial          = 3821139 none                
2011-10-30 16:08:06 NO DATA for 1f 82 = 8001 NO UNITS
2011-10-30 16:08:06 NO DATA for 20 82 = 9046 NO UNITS
2011-10-30 16:08:06 NO DATA for 21 82 = 601 NO UNITS
2011-10-30 16:08:06 NO DATA for 21 82 = 636 NO UNITS
2011-10-30 16:08:11 Total Power          = 3245 Watts               
2011-10-30 16:08:11 Max Phase 1          = 6000 Watts               
2011-10-30 16:08:11 Max Phase 2          = 0 Watts               
2011-10-30 16:08:11 Max Pahse 3          = 0 Watts               
2011-10-30 16:08:11 Line Voltage Phase 1Volts = 250 Volts               
2011-10-30 16:08:11 Line Voltage Phase 2Volts = 0 Volts               
2011-10-30 16:08:11 Line Voltage Phase 3Volts = 0 Volts               
2011-10-30 16:08:11 Line Current Phase 1Amps = 13 Amps                
2011-10-30 16:08:11 Line Current Phase 2Amps = 0 Amps                
2011-10-30 16:08:11 Line Current Phase 3Amps = 0 Amps                
2011-10-30 16:08:11 Grid Frequency       = 50 Hertz               
2011-10-30 16:08:11 NO DATA for 1f 4a = 70 NO UNITS
bluetooth signal = 67%

30/10/2011 06:15:00  total=750.080 Kwh current=0 Watts togo=7 i=11 crc=32550912
30/10/2011 06:20:00  total=750.080 Kwh current=0 Watts togo=7 i=23 crc=32550912
30/10/2011 06:25:00  total=750.080 Kwh current=0 Watts togo=7 i=35 crc=32550912
30/10/2011 06:30:00  total=750.080 Kwh current=0 Watts togo=7 i=47 crc=32550912
30/10/2011 06:35:00  total=750.082 Kwh current=24 Watts togo=7 i=59 crc=32550912
30/10/2011 06:40:00  total=750.085 Kwh current=36 Watts togo=7 i=71 crc=32550912
30/10/2011 06:45:00  total=750.091 Kwh current=72 Watts togo=7 i=83 crc=32550912
30/10/2011 06:50:00  total=750.098 Kwh current=84 Watts togo=7 i=95 crc=32550912
30/10/2011 06:55:00  total=750.106 Kwh current=96 Watts togo=7 i=107 
crc=32550912
30/10/2011 07:00:00  total=750.116 Kwh current=120 Watts togo=7 i=119 
crc=32550912
30/10/2011 07:00:00  total=750.121 Kwh current=60 Watts togo=7 i=131 
crc=32550912Date Error! prev=1319920200 current=1319920200

30/10/2011 07:35:00  total=750.317 Kwh current=2412 Watts togo=6 i=11 
crc=32550912Date Error! prev=1319920200 current=1319922300

30/10/2011 09:00:00  total=752.533 Kwh current=29004 Watts togo=5 i=11 
crc=32550912Date Error! prev=1319922300 current=1319927400

30/10/2011 10:25:00  total=757.255 Kwh current=85668 Watts togo=4 i=11 
crc=32550912Date Error! prev=1319927400 current=1319932500

30/10/2011 11:50:00  total=763.995 Kwh current=166548 Watts togo=3 i=11 
crc=32550912Date Error! prev=1319932500 current=1319937600

30/10/2011 13:15:00  total=771.274 Kwh current=253896 Watts togo=2 i=11 
crc=32550912Date Error! prev=1319937600 current=1319942700

30/10/2011 14:40:00  total=778.270 Kwh current=337848 Watts togo=1 i=11 
crc=32550912Date Error! prev=1319942700 current=1319947800

30/10/2011 16:05:00  total=784.006 Kwh current=406680 Watts togo=0 i=11 
crc=32550912Date Error! prev=1319947800 current=1319952900

Getting some double date records. Noticed that the last one appears to be the 
correct record. So commented out date test:
//if( idate != prev_idate+300 ) {
//   printf( "Date Error! prev=%d current=%d\n", (int)prev_idate, (int)idate );
//   error=1;
//   break;
//}

smatool -v -from "2011-10-30 00:00:00" -to "2011-10-30 23:55:00" 
QUERY RANGE    from 2011-10-30 00:00:00 to 2011-10-30 23:55:00
Address 00:80:25:18:5C:D7
bluetooth signal = 67%
serial=77:53:75:92
bluetooth signal = 67%
bluetooth signal = 67%
2011-10-30 16:25:30 Unit Serial          = 3821139 none                
2011-10-30 16:25:30 NO DATA for 1f 82 = 8001 NO UNITS
2011-10-30 16:25:30 NO DATA for 20 82 = 9046 NO UNITS
2011-10-30 16:25:30 NO DATA for 21 82 = 601 NO UNITS
2011-10-30 16:25:30 NO DATA for 21 82 = 636 NO UNITS
2011-10-30 16:25:34 Total Power          = 3167 Watts               
2011-10-30 16:25:34 Max Phase 1          = 6000 Watts               
2011-10-30 16:25:34 Max Phase 2          = 0 Watts               
2011-10-30 16:25:34 Max Pahse 3          = 0 Watts               
2011-10-30 16:25:34 Line Voltage Phase 1Volts = 249 Volts               
2011-10-30 16:25:34 Line Voltage Phase 2Volts = 0 Volts               
2011-10-30 16:25:34 Line Voltage Phase 3Volts = 0 Volts               
2011-10-30 16:25:34 Line Current Phase 1Amps = 13 Amps                
2011-10-30 16:25:34 Line Current Phase 2Amps = 0 Amps                
2011-10-30 16:25:34 Line Current Phase 3Amps = 0 Amps                
2011-10-30 16:25:34 Grid Frequency       = 50 Hertz               
2011-10-30 16:25:34 NO DATA for 1f 4a = 70 NO UNITS
bluetooth signal = 68%

30/10/2011 06:15:00  total=750.080 Kwh current=0 Watts togo=7 i=11 crc=16162816
30/10/2011 06:20:00  total=750.080 Kwh current=0 Watts togo=7 i=23 crc=16162816
30/10/2011 06:25:00  total=750.080 Kwh current=0 Watts togo=7 i=35 crc=16162816
30/10/2011 06:30:00  total=750.080 Kwh current=0 Watts togo=7 i=47 crc=16162816
30/10/2011 06:35:00  total=750.082 Kwh current=24 Watts togo=7 i=59 crc=16162816
30/10/2011 06:40:00  total=750.085 Kwh current=36 Watts togo=7 i=71 crc=16162816
30/10/2011 06:45:00  total=750.091 Kwh current=72 Watts togo=7 i=83 crc=16162816
30/10/2011 06:50:00  total=750.098 Kwh current=84 Watts togo=7 i=95 crc=16162816
30/10/2011 06:55:00  total=750.106 Kwh current=96 Watts togo=7 i=107 
crc=16162816
30/10/2011 07:00:00  total=750.116 Kwh current=120 Watts togo=7 i=119 
crc=16162816
30/10/2011 07:00:00  total=750.121 Kwh current=60 Watts togo=7 i=131 
crc=16162816
30/10/2011 07:05:00  total=750.134 Kwh current=156 Watts togo=7 i=143 
crc=16162816
30/10/2011 07:10:00  total=750.155 Kwh current=252 Watts togo=7 i=155 
crc=16162816
30/10/2011 07:15:00  total=750.180 Kwh current=300 Watts togo=7 i=167 
crc=16162816
30/10/2011 07:20:00  total=750.208 Kwh current=336 Watts togo=7 i=179 
crc=16162816
30/10/2011 07:25:00  total=750.236 Kwh current=336 Watts togo=7 i=191 
crc=16162816
30/10/2011 07:30:00  total=750.273 Kwh current=444 Watts togo=7 i=203 
crc=16162816
30/10/2011 07:35:00  total=750.317 Kwh current=528 Watts togo=6 i=11 
crc=16162816
30/10/2011 07:40:00  total=750.367 Kwh current=600 Watts togo=6 i=23 
crc=16162816
30/10/2011 07:45:00  total=750.427 Kwh current=720 Watts togo=6 i=35 
crc=16162816
30/10/2011 07:50:00  total=750.485 Kwh current=696 Watts togo=6 i=47 
crc=16162816
30/10/2011 07:55:00  total=750.547 Kwh current=744 Watts togo=6 i=59 
crc=16162816
30/10/2011 08:00:00  total=750.622 Kwh current=900 Watts togo=6 i=71 
crc=16162816
30/10/2011 08:05:00  total=750.704 Kwh current=984 Watts togo=6 i=83 
crc=16162816
30/10/2011 08:10:00  total=750.791 Kwh current=1044 Watts togo=6 i=95 
crc=16162816
30/10/2011 08:15:00  total=750.884 Kwh current=1116 Watts togo=6 i=107 
crc=16162816
30/10/2011 08:20:00  total=750.983 Kwh current=1188 Watts togo=6 i=119 
crc=16162816
30/10/2011 08:25:00  total=751.088 Kwh current=1260 Watts togo=6 i=131 
crc=16162816
30/10/2011 08:30:00  total=751.220 Kwh current=1584 Watts togo=6 i=143 
crc=16162816
30/10/2011 08:35:00  total=751.394 Kwh current=2088 Watts togo=6 i=155 
crc=16162816
30/10/2011 08:40:00  total=751.594 Kwh current=2400 Watts togo=6 i=167 
crc=16162816
30/10/2011 08:45:00  total=751.816 Kwh current=2664 Watts togo=6 i=179 
crc=16162816
30/10/2011 08:50:00  total=752.042 Kwh current=2712 Watts togo=6 i=191 
crc=16162816
30/10/2011 08:55:00  total=752.285 Kwh current=2916 Watts togo=6 i=203 
crc=16162816
30/10/2011 09:00:00  total=752.533 Kwh current=2976 Watts togo=5 i=11 
crc=16162816
30/10/2011 09:05:00  total=752.789 Kwh current=3072 Watts togo=5 i=23 
crc=16162816
30/10/2011 09:10:00  total=753.042 Kwh current=3036 Watts togo=5 i=35 
crc=16162816
30/10/2011 09:15:00  total=753.292 Kwh current=3000 Watts togo=5 i=47 
crc=16162816
30/10/2011 09:20:00  total=753.577 Kwh current=3420 Watts togo=5 i=59 
crc=16162816
30/10/2011 09:25:00  total=753.879 Kwh current=3624 Watts togo=5 i=71 
crc=16162816
30/10/2011 09:30:00  total=754.183 Kwh current=3648 Watts togo=5 i=83 
crc=16162816
30/10/2011 09:35:00  total=754.420 Kwh current=2844 Watts togo=5 i=95 
crc=16162816
30/10/2011 09:40:00  total=754.655 Kwh current=2820 Watts togo=5 i=107 
crc=16162816
30/10/2011 09:45:00  total=754.835 Kwh current=2160 Watts togo=5 i=119 
crc=16162816
30/10/2011 09:50:00  total=754.996 Kwh current=1932 Watts togo=5 i=131 
crc=16162816
30/10/2011 09:55:00  total=755.190 Kwh current=2328 Watts togo=5 i=143 
crc=16162816
30/10/2011 10:00:00  total=755.501 Kwh current=3732 Watts togo=5 i=155 
crc=16162816
30/10/2011 10:05:00  total=755.785 Kwh current=3408 Watts togo=5 i=167 
crc=16162816
30/10/2011 10:10:00  total=756.148 Kwh current=4356 Watts togo=5 i=179 
crc=16162816
30/10/2011 10:15:00  total=756.515 Kwh current=4404 Watts togo=5 i=191 
crc=16162816
30/10/2011 10:20:00  total=756.883 Kwh current=4416 Watts togo=5 i=203 
crc=16162816
30/10/2011 10:25:00  total=757.255 Kwh current=4464 Watts togo=4 i=11 
crc=16162816
30/10/2011 10:30:00  total=757.630 Kwh current=4500 Watts togo=4 i=23 
crc=16162816
30/10/2011 10:35:00  total=757.995 Kwh current=4380 Watts togo=4 i=35 
crc=16162816
30/10/2011 10:40:00  total=758.377 Kwh current=4584 Watts togo=4 i=47 
crc=16162816
30/10/2011 10:45:00  total=758.763 Kwh current=4632 Watts togo=4 i=59 
crc=16162816
30/10/2011 10:50:00  total=759.149 Kwh current=4632 Watts togo=4 i=71 
crc=16162816
30/10/2011 10:55:00  total=759.541 Kwh current=4704 Watts togo=4 i=83 
crc=16162816
30/10/2011 11:00:00  total=759.901 Kwh current=4320 Watts togo=4 i=95 
crc=16162816
30/10/2011 11:05:00  total=760.297 Kwh current=4752 Watts togo=4 i=107 
crc=16162816
30/10/2011 11:10:00  total=760.697 Kwh current=4800 Watts togo=4 i=119 
crc=16162816
30/10/2011 11:15:00  total=761.100 Kwh current=4836 Watts togo=4 i=131 
crc=16162816
30/10/2011 11:20:00  total=761.507 Kwh current=4884 Watts togo=4 i=143 
crc=16162816
30/10/2011 11:25:00  total=761.919 Kwh current=4944 Watts togo=4 i=155 
crc=16162816
30/10/2011 11:30:00  total=762.333 Kwh current=4968 Watts togo=4 i=167 
crc=16162816
30/10/2011 11:35:00  total=762.747 Kwh current=4968 Watts togo=4 i=179 
crc=16162816
30/10/2011 11:40:00  total=763.164 Kwh current=5004 Watts togo=4 i=191 
crc=16162816
30/10/2011 11:45:00  total=763.587 Kwh current=5076 Watts togo=4 i=203 
crc=16162816
30/10/2011 11:50:00  total=763.995 Kwh current=4896 Watts togo=3 i=11 
crc=16162816
30/10/2011 11:55:00  total=764.418 Kwh current=5076 Watts togo=3 i=23 
crc=16162816
30/10/2011 12:00:00  total=764.842 Kwh current=5088 Watts togo=3 i=35 
crc=16162816
30/10/2011 12:05:00  total=765.267 Kwh current=5100 Watts togo=3 i=47 
crc=16162816
30/10/2011 12:10:00  total=765.696 Kwh current=5148 Watts togo=3 i=59 
crc=16162816
30/10/2011 12:15:00  total=766.126 Kwh current=5160 Watts togo=3 i=71 
crc=16162816
30/10/2011 12:20:00  total=766.542 Kwh current=4992 Watts togo=3 i=83 
crc=16162816
30/10/2011 12:25:00  total=766.973 Kwh current=5172 Watts togo=3 i=95 
crc=16162816
30/10/2011 12:30:00  total=767.405 Kwh current=5184 Watts togo=3 i=107 
crc=16162816
30/10/2011 12:35:00  total=767.839 Kwh current=5208 Watts togo=3 i=119 
crc=16162816
30/10/2011 12:40:00  total=768.274 Kwh current=5220 Watts togo=3 i=131 
crc=16162816
30/10/2011 12:45:00  total=768.708 Kwh current=5208 Watts togo=3 i=143 
crc=16162816
30/10/2011 12:50:00  total=769.132 Kwh current=5088 Watts togo=3 i=155 
crc=16162816
30/10/2011 12:55:00  total=769.568 Kwh current=5232 Watts togo=3 i=167 
crc=16162816
30/10/2011 13:00:00  total=770.000 Kwh current=5184 Watts togo=3 i=179 
crc=16162816
30/10/2011 13:05:00  total=770.433 Kwh current=5196 Watts togo=3 i=191 
crc=16162816
30/10/2011 13:10:00  total=770.857 Kwh current=5088 Watts togo=3 i=203 
crc=16162816
30/10/2011 13:15:00  total=771.274 Kwh current=5004 Watts togo=2 i=11 
crc=16162816
30/10/2011 13:20:00  total=771.702 Kwh current=5136 Watts togo=2 i=23 
crc=16162816
30/10/2011 13:25:00  total=772.131 Kwh current=5148 Watts togo=2 i=35 
crc=16162816
30/10/2011 13:30:00  total=772.561 Kwh current=5160 Watts togo=2 i=47 
crc=16162816
30/10/2011 13:35:00  total=772.977 Kwh current=4992 Watts togo=2 i=59 
crc=16162816
30/10/2011 13:40:00  total=773.408 Kwh current=5172 Watts togo=2 i=71 
crc=16162816
30/10/2011 13:45:00  total=773.836 Kwh current=5136 Watts togo=2 i=83 
crc=16162816
30/10/2011 13:50:00  total=774.264 Kwh current=5136 Watts togo=2 i=95 
crc=16162816
30/10/2011 13:55:00  total=774.681 Kwh current=5004 Watts togo=2 i=107 
crc=16162816
30/10/2011 14:00:00  total=775.076 Kwh current=4740 Watts togo=2 i=119 
crc=16162816
30/10/2011 14:05:00  total=775.479 Kwh current=4836 Watts togo=2 i=131 
crc=16162816
30/10/2011 14:10:00  total=775.880 Kwh current=4812 Watts togo=2 i=143 
crc=16162816
30/10/2011 14:15:00  total=776.281 Kwh current=4812 Watts togo=2 i=155 
crc=16162816
30/10/2011 14:20:00  total=776.674 Kwh current=4716 Watts togo=2 i=167 
crc=16162816
30/10/2011 14:25:00  total=777.074 Kwh current=4800 Watts togo=2 i=179 
crc=16162816
30/10/2011 14:30:00  total=777.472 Kwh current=4776 Watts togo=2 i=191 
crc=16162816
30/10/2011 14:35:00  total=777.872 Kwh current=4800 Watts togo=2 i=203 
crc=16162816
30/10/2011 14:40:00  total=778.270 Kwh current=4776 Watts togo=1 i=11 
crc=16162816
30/10/2011 14:45:00  total=778.645 Kwh current=4500 Watts togo=1 i=23 
crc=16162816
30/10/2011 14:50:00  total=779.030 Kwh current=4620 Watts togo=1 i=35 
crc=16162816
30/10/2011 14:55:00  total=779.403 Kwh current=4476 Watts togo=1 i=47 
crc=16162816
30/10/2011 15:00:00  total=779.777 Kwh current=4488 Watts togo=1 i=59 
crc=16162816
30/10/2011 15:05:00  total=780.115 Kwh current=4056 Watts togo=1 i=71 
crc=16162816
30/10/2011 15:10:00  total=780.477 Kwh current=4344 Watts togo=1 i=83 
crc=16162816
30/10/2011 15:15:00  total=780.834 Kwh current=4284 Watts togo=1 i=95 
crc=16162816
30/10/2011 15:20:00  total=781.182 Kwh current=4176 Watts togo=1 i=107 
crc=16162816
30/10/2011 15:25:00  total=781.523 Kwh current=4092 Watts togo=1 i=119 
crc=16162816
30/10/2011 15:30:00  total=781.856 Kwh current=3996 Watts togo=1 i=131 
crc=16162816
30/10/2011 15:35:00  total=782.182 Kwh current=3912 Watts togo=1 i=143 
crc=16162816
30/10/2011 15:40:00  total=782.499 Kwh current=3804 Watts togo=1 i=155 
crc=16162816
30/10/2011 15:45:00  total=782.818 Kwh current=3828 Watts togo=1 i=167 
crc=16162816
30/10/2011 15:50:00  total=783.129 Kwh current=3732 Watts togo=1 i=179 
crc=16162816
30/10/2011 15:55:00  total=783.429 Kwh current=3600 Watts togo=1 i=191 
crc=16162816
30/10/2011 16:00:00  total=783.724 Kwh current=3540 Watts togo=1 i=203 
crc=16162816
30/10/2011 16:05:00  total=784.006 Kwh current=3384 Watts togo=0 i=11 
crc=16162816
30/10/2011 16:10:00  total=784.281 Kwh current=3300 Watts togo=0 i=23 
crc=16162816
30/10/2011 16:15:00  total=784.543 Kwh current=3144 Watts togo=0 i=35 
crc=16162816
30/10/2011 16:20:00  total=784.809 Kwh current=3192 Watts togo=0 i=47 
crc=16162816
30/10/2011 16:25:00  total=785.074 Kwh current=3180 Watts togo=0 i=59 
crc=16162816

Original comment by ste...@whately.me on 30 Oct 2011 at 6:01

GoogleCodeExporter commented 9 years ago
Does the reporting work at all on this model as-is?

Original comment by GeoffPSt...@gmail.com on 4 Dec 2011 at 9:41

GoogleCodeExporter commented 9 years ago
What do you mean by reporting? Everything works well as long as only a small 
number of records are requested, for example one hour.
http://pvoutput.org/list.jsp?id=5051&sid=4002

Original comment by ste...@whately.me on 4 Dec 2011 at 10:53

GoogleCodeExporter commented 9 years ago
How did you get 6000A to work?
I compiled sma-bluetooth on my cousin's computer (ubuntu 10.04 32bit) and it 
communicates with his 6000A inverter but I can't get the correct data (I tried 
with every inverter model).
Using your USB sniff results and following the wiki I found that InvCodes 
should be like this:

Inverter    6000A
Code1       0xce
Code2       0xd2
Code3       0xff
Code4       0x35
InvCode     0x63

Is this correct? Do you use this codes?
I can't test them right now.

Original comment by righetto...@gmail.com on 9 Feb 2012 at 10:01

GoogleCodeExporter commented 9 years ago
I have been using these codes for a while but it made little
difference than using the existing 7000. If would help if I knew what
the correct output looks like.

./smatool -from "2012-02-09 19:00:00" -to "2012-02-09 20:00:00"
smatool: 2012-02-09 20:01:02 Unit Serial          = 3821139 none
smatool: 2012-02-09 20:01:02 NO DATA for 1f 82 = 8001 NO UNITS
smatool: 2012-02-09 20:01:02 NO DATA for 20 82 = 9046 NO UNITS
smatool: 2012-02-09 20:01:02 NO DATA for 21 82 = 601 NO UNITS
smatool: 2012-02-09 20:01:02 NO DATA for 21 82 = 636 NO UNITS
smatool: 2012-02-09 20:01:02 Total Power          = 54 Watts
smatool: 2012-02-09 20:01:02 Max Phase 1          = 6000 Watts
smatool: 2012-02-09 20:01:02 Max Phase 2          = 0 Watts
smatool: 2012-02-09 20:01:02 Max Pahse 3          = 0 Watts
smatool: 2012-02-09 20:01:02 Line Voltage Phase 1Volts = 250 Volts
smatool: 2012-02-09 20:01:02 Line Voltage Phase 2Volts = 0 Volts
smatool: 2012-02-09 20:01:02 Line Voltage Phase 3Volts = 0 Volts
smatool: 2012-02-09 20:01:02 Line Current Phase 1Amps = 0 Amps
smatool: 2012-02-09 20:01:02 Line Current Phase 2Amps = 0 Amps
smatool: 2012-02-09 20:01:02 Line Current Phase 3Amps = 0 Amps
smatool: 2012-02-09 20:01:02 Grid Frequency       = 50 Hertz
smatool: 2012-02-09 20:01:02 NO DATA for 1f 4a = 10 NO UNITS

I did upgrade the bluetooth firmware, which may have changed the codes.
The biggest problem is date errors caused by duplicate records.
So I comment out:
  error=1;
  break;
After
  printf( "Date Error! prev=%d current=%d\n", (int)prev_idate, (int)idate );

Original comment by ste...@whately.me on 9 Feb 2012 at 10:46