warhammerkid / bluetti_mqtt

MQTT interface for Bluetti power stations
MIT License
140 stars 53 forks source link

Error log clearing command? #16

Open EricMCornelius opened 2 years ago

EricMCornelius commented 2 years ago

Hi there,

Awesome work so far on all the protocol reverse-engineering - going to be nice to actually have the ability to track charge level metrics and PV output over time.

Had a quick question for you:

I've got an unusual setup of a new Bluetti system - pair of AC300/B300s configured as a split phase output via a Fusion Box running an off-grid 240V well-pump for irrigation.

I've got a Starlink setup running for remote monitoring via WiFi / the Bluetti app.

Right now - I'm running into stability issues where the split phase setup fails sporadically and requires a manual reset of the error log on the device before it will start functioning again.

It's unfortunately a 60 minute round trip drive every time I have to go reset the damn thing.

Just wanted to ask whether you had come across anything related to the error log / device fault log and any potential commands for remote reset of it in your work so far before I go down the rabbit hole of trying to find a workaround myself.

There's no reset functionality within the app that I've been able to discern - so I'm not sure what procedure you've been using or might recommend for figuring out potential commands without any explicit trigger you can trace with WireShark etc.

warhammerkid commented 2 years ago

There's no reset functionality within the app that I've been able to discern - so I'm not sure what procedure you've been using or might recommend for figuring out potential commands

I haven’t added any support for any commands I couldn’t exercise from the app - I basically figured all this out with Wireshark. I also spent some time a month or so ago trying to even read the error codes in the bluetooth data and got nothing.

There are two next steps that I’ve so far not taken: decompiling the android app code to potentially discover more functionality (which is against the EULA) and emailing them to ask for more information. If you email them and they tell you that it’s possible to do what you asked over bluetooth, I’m happy to add support for it. Other than that, they would likely need to provide a firmware update to add this functionality.