Open GoogleCodeExporter opened 8 years ago
Here is the USB-Snoop File
Original comment by jens.hed...@gmail.com
on 20 May 2012 at 4:18
Attachments:
Hi,
im trying to debugg the Date Error.
What i have found is that when the Date Error occurs the package which is
received from the inverter is an SMA2+ Package. This means that 7e ff 03 60 65
is found in the middle of the package data.
When the package is acceptet and has noch Date Error the 7e .... Bytes are
Zero. Im now trying to skip the SMA2+ Package but for now this does not seem to
work.
Original comment by janus44...@gmail.com
on 24 May 2012 at 12:41
Hi,
I got the SMA 8000TL. I also got the Date error's and therefore i couldn't
post to PVoutput.
But i commented out following lines:
if( idate != prev_idate+300 ) {
printf( "Date Error! prev=%d current=%d\n", (int)prev_idate, (int)idate );
error=1;
break;
}
So it skips the control. and then it will post the data.
PVoutput does some kind of control and bad data will be filtered out.
Some error data might get trough so for updating my data i use a bach script:
starttime="$(date +%Y-%m-%d) 00:00:00"
endtime="$(date +'%Y-%m-%d %T')"
/root/bin/sma-bluetooth/smatool -from "$starttime" -to "$endtime" -repost >>
/root/solar.log
This script is added in crontab and runs every 30 min, so when the data is not
correct it will be (eventually) updated next time the script is run.
Its far from perfect, but it works and at the end of the day there is a nice
graph on PVoutput.
I will be using this method until the date error is fixed.
Original comment by Filip.Sm...@gmail.com
on 25 May 2012 at 9:14
Hi,
for now im running a hack with my source from the clone
"janus44444-sma-bluetooth".
Greetings
Janus
Original comment by janus44...@gmail.com
on 10 Jun 2012 at 3:56
Update and mod to smatool V18 And new inverter code
http://code.google.com/p/sma-bluetooth/issues/detail?id=118&sort=-id
Original comment by Filip.Sm...@gmail.com
on 3 Mar 2013 at 10:05
Original issue reported on code.google.com by
jens.hed...@gmail.com
on 20 May 2012 at 4:16Attachments: