Open DonatelloXX opened 1 week ago
I checked, and the whole Volvo support was developed by one user over on the Patreon Discord server. The battery was already disassembled, so contactors were skipped and external ones used
So Volvo SPA support is kind of still experimental , since there is only 1 user with a Volvo/Polester battery setup. But all the values work, but the Contactor section is not working yet.
To get the contactors engaged, we will need a vehicle CAN log from a functional vehicle, which we can then replay towards the battery. See the CAN logs needed section of the wiki.
Alternatively, bypassing the contactors or driving them via the GPIO pins can be done.
Thank you for the quick response! This makes absolute sense now 😉 We will try to get CAN-logs from an intact Polestar 2 to use the internal contactors.
We were able to Log the CAN-Output with the Lilygo via Putty to a File. (Log all Session Data)
I attach 2 Logfiles which are still in binary Format. I know too little about the CAN-Protocol and hope that someone can extract the data needed to control the battery contactors. Polestar Log3.txt Polestar Log4.txt
This are the actions taken between start and stop logging:
I asked ChatGPT to translate the binary file to a text-file and this was the output: Polestar_CAN_Log.txt
Hi @DonatelloXX Unfortunately that log file made by ChatGPT is complete hallucination as far as I can tell.
I made a quide on the Wiki on how to log with the LilyGo: https://github.com/dalathegreat/Battery-Emulator/wiki/CAN-logging
@dalathegreat The Hint about the boud-rate would be useful on https://github.com/dalathegreat/Battery-Emulator/wiki/Data-needed-for-new-battery-integration#taking-can-logs-with-the-battery-emulator-lilygo-hardware too 🥺
I will get new logs ASAP 😉
Here are some new logs. Taken with 115200 Boud.
Hope these logs are more useful 😊
We have wired up a Polestar2-battery with a Lilygo-Board and a Fronius Symo Gen24 Plus.
Communication over Modbus and CAN-Bus is ok. The Webserver is showing everything green and "Automatic contactor closing allowed" is checked for Battery and inverter.
But the contactors of the battery won't open. there is no voltage from the battery.
Are we doing something wrong or is this simply not included in the software? Wehen not included - what should we provide to get support for this?