gonzalop / wombatt

A tool for monitoring batteries and inverters.
MIT License
15 stars 4 forks source link

Feature Request: Connect to EG4 battery using Bluetooth #8

Open k3vmcd opened 8 months ago

gonzalop commented 8 months ago

What kind of device do you use to go from RS485 to bluetooth? Something like this? ->https://www.amazon.com/DX-CP15-Bluetooth-Converter-Adapter-Compatiable/dp/B0C1Y8YT8W? If the RS485<->bluetooth behaves like a serial device, it should be straightforward to make it work for linux with bluez.

Let me know which adapter you're using so I can get the same one if it's not too pricey. Otherwise I might try getting the above one and see what I can do.

k3vmcd commented 8 months ago

I have two of these EG4 12V 400AH which have built-in bluetooth https://signaturesolar.com/eg4-lifepower4-lithium-battery-12v-400ah/

They show up with 10 digit names in the format Z122000###.

I am able to connect over bluetooth and view the same stats that BMS Tools on the wired jack outputs using this Android app: https://play.google.com/store/apps/details?id=com.eg4.monitor

gonzalop commented 8 months ago

Is there any information available on the protocol used?

It would be a lot easier to get https://www.amazon.com/PUSR-USR-TCP232-304-Ethernet-Converter-Supported/dp/B09DCT1YDR/, connect it to the first battery and then have wombatt query the device using Modbus over TCP (see https://github.com/gonzalop/wombatt/issues/3 for screenshots of the configuration used for the device, and example command line arguments for wombatt)