jonneytest / sma-bluetooth

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

Wrong Data on 5000TL-20 #135

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. download and compile sma-bluetooth-18, some warning but no errore
2. modify invcode.in adding codes for my Inverter SB5000TL-20, found on Issue 
#78:

Inverter        5000TL-20
Code1           0xAD
Code2           0x52
Code3           0xB2
Code4           0x3A
InvCode         0x4E

3. ./smatool -d -v -from "2014-09-15 00:00:00" -to "2014-09-15 23:55:00"

What is the expected output? What do you see instead?
I would exect wiki described output, instead I receive data attached.

What version of the product are you using? On what operating system?
sma-bluetooth-18

on

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04 LTS
Release:        14.04
Codename:       trusty

Please provide any additional information below.
I've tried touse lastest version but with equal configuration the output result 
is the following:

variable=Inverter value=5000TL-20
variable=BTAddress value=00:80:25:0B:78:11
variable=BTTimeout value=
variable=Password value=0000
variable=Config value=
variable=File value=sma.in.new
variable=Latitude value=
variable=Longitude value=
variable=MySqlHost value=localhost
variable=MySqlDatabase value=smatool
variable=MySqlUser value=
variable=MySqlPwd value=
variable=PVOutputURL value=http://pvoutput.org/service/r1/addstatus.jsp
variable=PVOutputKey value=
variable=PVOutputSid value=
variable=Inverter value=1700TL
variable=Code1 value=0x12
variable=Code2 value=0x1a
variable=Code3 value=0xd9
variable=Code4 value=0x38
variable=InvCode value=0x63
variable=InvCode value=
variable=Inverter value=2100TL
variable=Code1 value=0x17
variable=Code2 value=0x97
variable=Code3 value=0x51
variable=Code4 value=0x38
variable=InvCode value=0x63
variable=InvCode value=
variable=Inverter value=SB3000
variable=Code1 value=0x64
variable=Code2 value=0xc6
variable=Code3 value=0x46
variable=Code4 value=0x3b
variable=InvCode value=0x63
variable=InvCode value=
variable=Inverter value=3000TL
variable=Code1 value=0x32
variable=Code2 value=0x42
variable=Code3 value=0x85
variable=Code4 value=0x38
variable=InvCode value=0x71
variable=InvCode value=
variable=Inverter value=3000TLHF
variable=Code1 value=0x1b
variable=Code2 value=0xb1
variable=Code3 value=0xa6
variable=Code4 value=0x38
variable=InvCode value=0x83
variable=InvCode value=
variable=Inverter value=4000TL
variable=Code1 value=0x78
variable=Code2 value=0x21
variable=Code3 value=0xbf
variable=Code4 value=0x3a
variable=InvCode value=0x4e
variable=InvCode value=
variable=Inverter value=5000TL
variable=Code1 value=0x3f
variable=Code2 value=0x10
variable=Code3 value=0xfb
variable=Code4 value=0x39
variable=InvCode value=0x4e
variable=InvCode value=
variable=Inverter value=5000TL-20
variable=Code1 value=0xAD
variable=Code2 value=0x52
variable=Code3 value=0xB2
variable=Code4 value=0x3A
variable=InvCode value=0x4E
variable=InvCode value=
variable=Inverter value=7000
variable=Code1 value=0xcf
variable=Code2 value=0x84
variable=Code3 value=0x84
variable=Code4 value=0x3a
variable=InvCode value=0x63
variable=InvCode value=
variable=Inverter value=10000TL
variable=Code1 value=0x69
variable=Code2 value=0x45
variable=Code3 value=0x32
variable=Code4 value=0x39
variable=InvCode value=0x80
variable=InvCode value=
variable=Inverter value=XXXXTL
variable=Code1 value=0x99
variable=Code2 value=0x35
variable=Code3 value=0x40
variable=Code4 value=0x36
variable=InvCode value=0x4e
*** buffer overflow detected ***: ./smatool terminated
Aborted

Kind Regards
Luca

Original issue reported on code.google.com by marconat...@gmail.com on 17 Sep 2014 at 7:21

Attachments:

GoogleCodeExporter commented 8 years ago
I think this project is dead. I tried to use it in he past, but never got it 
working. Now i'm using https://sbfspot.codeplex.com
Works out of the box on Windows and linux.

Original comment by elsje....@gmail.com on 10 Jan 2015 at 12:46