1 post / 0 new
philos31
Switch can off on 12v low

Hi there,

 

I see some battery drain on my 12v battery if OVMS is connected, I suspect that my Hyundai Ioniq classic wakes up or does not power down completely when there is data flowing on the Can bus.
So what I want to achieve is that when the car is on, or charging and the battery voltage is above 13 volts can bus is on and when below 12,8 it switches off.
I made 2 event "scripts" the first in:
/store/events/vehicle.alert.12v.off/TurnCanOn

can can1 start active 500000

And another one in
/store/events/vehicle.alert.12v.on/TurnCanOff

can can1 stop

I suspected that this would work but it does not, so what have I done wrong?

 

randomness