dalathegreat / Battery-Emulator

This software enables EV battery packs to be used for stationary storage in combination with solar inverters.
GNU General Public License v3.0
943 stars 130 forks source link

Feature request - Manual override - CAN contactors #404

Open frasersimpson83 opened 1 month ago

frasersimpson83 commented 1 month ago

Would it be possible to add a manual override for batteries with CAN based contactor controls.

This is so that if we want to open contactors but leave everything else in place we can. Currently for Tesla Model 3 batteries for instance we need to remove 12V connection to the BMS and contactors to open them which is fine, but if remote from the battery it would be nice to be able to open the contactors and disconnect the battery manually.

This setting should stay active even during a restart for safety purposes and then the user has to connect to the web interface and put it back into 'normal operation' where the contactors would close automatically.

This would be extremely helpful in multiple situations and I'm guessing not that hard to implement since we already have all the code there, it's just adding a manual over-ride switch somewhere.

dalathegreat commented 1 month ago

Afaik adding a button would not help for Tesla, since we have no known way to open the contactors once the pack is going.

frasersimpson83 commented 1 month ago

But when the Lilygo errors out for whatever reason and it goes red the contactors open...... maybe it's the Tesla BMS opening the contactors or something but I assumed it was the Lilygo sending something to try to open them ?

dalathegreat commented 4 weeks ago

@frasersimpson83 Yes, this is the battery itself taking that action. We do not know which CAN messages are needed to open the contactors.