dgibson / python-smadata2

Python code for communicating with SMA photovoltaic inverters within built in Bluetooth
GNU General Public License v2.0
23 stars 12 forks source link

trying to fetch data from sunny boy 2500hl-30 #6

Open bushvin opened 4 years ago

bushvin commented 4 years ago

When exploring, I seem to get some data back

Connected 08:71:90:C1:E8:0E -> 00:80:25:24:C8:B4
SMA2 00:80:25:24:C8:B4 >>
Rx< 0000: 7E 1F 00 61 B4 C8 24 25-80 00 00 00 00 00 00 00
Rx< 0010: 02 00 00 04 70 00 02 00-00 00 00 01 00 00 00
Rx<     00:80:25:24:C8:B4 -> 00:00:00:00:00:00 TYPE 02
Rx<         HELLO!

However, when trying to commit to db, I encounter a hello error:

ERROR contacting inverter: Unexpected HELLO bytearray(b'\x00\x04p\x00\x02\x00\x00\x00\x00\x01\x00\x00\x00')

Any pointers?