bluetti_mqtt icon indicating copy to clipboard operation
bluetti_mqtt copied to clipboard

It's MODBUS!

Open warhammerkid opened this issue 2 years ago • 7 comments

I don't know why it took me so long to realize this, but the command/response API is just MODBUS over Bluetooth (and MODBUS over MQTT for the cloud support over WiFi). The internal API should be reworked to use standard terminology, as well as proper exception handling.

warhammerkid avatar Nov 20 '22 16:11 warhammerkid

Does it mean we can connect somewhere on the board to modbus?

Marko298 avatar Nov 23 '22 13:11 Marko298

@Marko298 Sorry, I don’t really know the answer to that. Taking my AC300 apart is a bit outside my comfort zone.

warhammerkid avatar Nov 25 '22 20:11 warhammerkid

It has communication interface exposed right below the DC input

mark-b-ab avatar Nov 25 '22 20:11 mark-b-ab

@mark-b-ab OK, and do you know the pinout?

tinkercnc avatar Apr 11 '23 22:04 tinkercnc

@mark-b-ab OK, and do you know the pinout?

Nope, I can try to probe with logical analyzer. But I will be able to do it only in a week or so

Marko298 avatar Apr 12 '23 07:04 Marko298

I'm certainly looking forward. :)

tinkercnc avatar Apr 12 '23 10:04 tinkercnc

If I understood the device data correctly, there should be only 2 variants of address ranges. The only question is, which device uses which variant. With that info we could make this software much simpler to include new models of powerstations

Patrick762 avatar Feb 03 '24 16:02 Patrick762