Interfacing with

Hi!

It would be great to have some Information about how to interface with the gouach battery when integrating it in a project.

e.g.: reading values from the battery via CAN BUS or via Bluetooth or Wifi
SOC, SOH, Voltage, Power flow.

BTW: why cant I add an optional Tag to this posting?
#open #interface #microcontroller, #CAN

2 Likes

It was proven this week that you can ask Google Gemini to write a Java GUI Program to display data from the Gouach Battery on a desktop PC (I run Linux Mint). I have a working program that has been captured into a single executable JAR file. It can scan for batteries (plural, because I have two), then display the charge of the battery as a percentage, cell voltage state (1 to 13), humidity, and temperature of both the BMS and the cells. Upon request, I can give you the code or the JAR file. I did have to download other JAR files to connect with Bluetooth (BLE).

2 Likes

Hi, that sounds great.

Java? Not that I would have chosen that, but fair enough!

Can these things also be read over the network, when the battery goes online (which it does daily)?

I didn’t ask Google Gemini to write any subproceedure to send the data elsewhere. But, you could use something like OBS Studio to send a live image of your desktop (or the Java Program alone) if you needed.

My question was, can the data be read over the WiFi network too?

Could you place the code on GitHub under an open licence, please?

OBS studio? :joy: Sounds like an overkill. Sending data could be done with MQTT.

An Integration with home assistant would be perfect, where Bluetooth gateways are already available.

This was made by just prompting Google Gemini to write a Java GUI Program. The A.I. was informed that there are 2 Gouach Batteries, so it added a drop-down combo box to make the selection. There were some surprising Easter Eggs in the code too!

Google Gemini was politely asked to make a C++ program to access the Gouach Battery and it was able to do that too! We’re in a remarkable age!

1 Like