baboom09 / sma-bluetooth

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

Added log for SB2000HF, please add inverter code #28

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I have attached the USB sniff results from my SB2000HF30 and would be grateful 
for some detail on where to identify the inverter code and archive code values 
to provide support for this device.

Many thanks in advance for help -

Henk

Original issue reported on code.google.com by h.bekker...@gmail.com on 19 May 2011 at 7:24

Attachments:

GoogleCodeExporter commented 8 years ago
I'll look at this tomorrow and push up an update.

Original comment by stephenb...@gmail.com on 4 Jun 2011 at 9:16

GoogleCodeExporter commented 8 years ago
Any update? I have two of those at home too ... 
If you could tell me how to perform this myself, please do!

Dieter.

Original comment by dieter.v...@gmail.com on 6 Dec 2011 at 12:18

GoogleCodeExporter commented 8 years ago
I worked out my inverter codes myself which were then confirmed by Stephen's 
response to my post (issue 46).  I used SnoopyPro to sniff the usb data.  I 
guess a similar approach will work with other applications.  This is how I did 
it.

Open your log file with USBpro and export it as xml. (File/Export menu)

Open the xml file with an application that lets you search for text.

Then search for FFFFFFFFFFFF01007EFF03606509A0FFFFFFFFFFFF00007800

The next 4 bytes are the codes 1 to 4.

I found f03606509a0ffffffffffff0000780064c6463b...

so 4 inverter codes are 
Code1    0x64
Code2    0xc6
Code3    0x46
Code4    0x3b

Then search for 01007EFF03606509E0

The next byte is the InvCode.

I found 01007eff03606509e063...

so 

InvCode   0x63

Gather all this together and put in the invcode.in file.  For me it was:

Inverter    SB3000
Code1       0x64
Code2       0xc6
Code3       0x46
Code4       0x3b
InvCode     0x63

Looking at Henk's log file I reckon this is what you need:

Inverter SB2000HF
Code1 0xd0
Code2 0x50
Code3 0x75
Code4 0x39
InvCode 0x83

If you're in luck then that's it.  My inverter isn't that simple so, although I 
get a bit of sense out of the inverter, I still get errors.

I got the search strings from the sma.in.new file.  In the software the 
$UNKNOWN label is replaced with Code1 to 4 and $ARCHCODE with with InvCode.

Stephen

Original comment by stephen....@gmail.com on 6 Dec 2011 at 10:29

GoogleCodeExporter commented 8 years ago
Can you confirm if this worked or not?  If it did then I'll add it to the wiki 
where people have asked about this.  Here is not an obvious place to find it.

Original comment by stephen....@gmail.com on 8 Dec 2011 at 5:41

GoogleCodeExporter commented 8 years ago
I can confirm that the codes for inverter SB2000HF works.

But, when I start the command with the -v option (./smatool -v) then I see some 
values where the data is not recognized (But that was also the case when I used 
different inverter codes):
2012-01-11 09:05:47 NO DATA for 1f 82 = 8001 NO UNITS
2012-01-11 09:05:47 NO DATA for 20 82 = 9071 NO UNITS
2011-11-09 09:26:54 NO DATA for 21 82 = 601 NO UNITS
2011-11-09 09:26:54 NO DATA for 21 82 = 636 NO UNITS
2012-01-11 10:10:01 NO DATA for 48 21 = 35 NO UNITS
2012-01-11 10:10:01 NO DATA for 49 41 = 302 NO UNITS
2012-01-11 10:10:01 NO DATA for 4a 41 = 336 NO UNITS
2012-01-11 10:10:01 NO DATA for 4b 41 = 302 NO UNITS
2012-01-11 10:10:00 NO DATA for 64 41 = 51 NO UNITS
2012-01-11 10:10:00 NO DATA for 65 41 = 557 NO UNITS

Does anyone know how to get the definitions for these values?

Original comment by h.bekker...@gmail.com on 11 Jan 2012 at 9:16