baboom09 / sma-bluetooth

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

issue with $ADD2 value - SB4000TL-20 #76

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. ./smatool -d
2.
3.

What is the expected output? What do you see instead?
To connect correctly with the inverter and read the data out or show inverters 
output power.

What version of the product are you using? On what operating system?
0.17b on ubuntu 10.10

Please provide any additional information below.
inverter info:
BT:  00:80:25:16:64:C6  S/N: 2100280013: HEX: 7D 2F BA CD

Inverter    4000TL20
Code1       0xDE
Code2       0x15
Code3       0x2E
Code4       0x38
InvCode     0x8a

root@ubuntu:/opt/sma/sma-bluetooth-0.17# sudo ./smatool --verbose  --test 
--inverter 4000TL
Auto set dates from 2000-01-01 00:00:00 to 2012-05-18 09:32:00
Address 00:80:25:16:64:c6
bluetooth signal = 68%
serial=00:7d:2f:ba
bluetooth signal = 68%
bluetooth signal = 68%
Timeout reading bluetooth socket

I did some investigation (debug analyse1.txt), and found that there is a part 
missing of the $ADD2 address (last 02 value), received from the inverter. Or 
this is wronfully received from the inverter, or it is wrongfully added by the 
script...

There is something similar described in issue 72 --> 
http://code.google.com/p/sma-bluetooth/issues/detail?id=72

Original issue reported on code.google.com by lcb...@gmail.com on 18 May 2012 at 2:08

Attachments:

GoogleCodeExporter commented 8 years ago
Try to reolace the line 58 by:
7e 59 00 25 c6 64 16 25 80 00 a1 14 a1 0e 00 01 00 7e ff 03 60 65

Original comment by christop...@googlemail.com on 18 May 2012 at 9:26

GoogleCodeExporter commented 8 years ago
Maybe you're using wrong inverter codes?
For my 4000TL-20 I'm using
Code1 0x78
Code2 0x21
Code3 0xbf
Code4 0x3a
InvCode 0x4e

Original comment by luc.van....@skynet.be on 19 May 2012 at 8:57

GoogleCodeExporter commented 8 years ago
I tried different inverter codes already, doesn't seem to help.

If I change the line 58, the tool seems to get into a loop, and doesn't report 
anything back, besides the bluetooth signal and the serial number (which seems 
to change in the loop from time to time)

Also odd is that the serial number seems to change in this loop...
Note that this isn't a constant loop. It seems to end after some time...

 ./smatool --verbose  --inverter 4000TL
Auto set dates from 2000-01-01 00:00:00 to 2012-05-20 08:59:00
Address 00:80:25:16:64:c6
bluetooth signal = 68%
serial=00:7d:2f:ba
bluetooth signal = 68%
bluetooth signal = 68%
bluetooth signal = 68%
serial=c7:01:00:01
bluetooth signal = 68%
bluetooth signal = 68%
bluetooth signal = 68%
serial=00:7d:2f:ba
bluetooth signal = 68%
bluetooth signal = 68%
bluetooth signal = 68%
serial=00:7d:2f:ba
bluetooth signal = 68%
bluetooth signal = 69%
bluetooth signal = 69%
serial=00:7d:2f:ba
bluetooth signal = 69%
bluetooth signal = 69%
bluetooth signal = 69%
serial=c7:01:00:01
bluetooth signal = 69%
bluetooth signal = 69%
bluetooth signal = 69%
serial=00:7d:2f:ba
bluetooth signal = 69%
.....

Original comment by lcb...@gmail.com on 20 May 2012 at 8:02

GoogleCodeExporter commented 8 years ago
Maybe something related to a certain firmware version of the inverter?
We could start a new tread where everyone can describe which firmware/inverter 
type/Smatool ver/OS/hardware... they are running succesfully....

Original comment by lcb...@gmail.com on 22 May 2012 at 9:23

GoogleCodeExporter commented 8 years ago
Hi,
the "loop" is running 20 times as set in the sourcecode. With my 5000TL-21 i 
get similar "results". Until now i check the database and delete all false 
entries so that after some retries i get data to pvoutput.org. If i guess i 
would say that smatool gets data collected and send to pvoutput.org with a rate 
of 70-80%.

To get more information use the -v or -d switches.

Greetings

Mario

Original comment by janus44...@gmail.com on 23 May 2012 at 9:17

GoogleCodeExporter commented 8 years ago
I don't get any data in my Mysql Database. Almanac data in the DB is updating, 
so connecition is OK

Original comment by lcb...@gmail.com on 23 May 2012 at 9:50