warhammerkid / bluetti_mqtt

MQTT interface for Bluetti power stations
MIT License
143 stars 55 forks source link

It's MODBUS! #47

Open warhammerkid opened 1 year ago

warhammerkid commented 1 year ago

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.

Marko298 commented 1 year ago

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

warhammerkid commented 1 year ago

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

mark-b-ab commented 1 year ago

It has communication interface exposed right below the DC input

tinkercnc commented 1 year ago

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

Marko298 commented 1 year ago

@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

tinkercnc commented 1 year ago

I'm certainly looking forward. :)

Patrick762 commented 8 months ago

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