WiCAN doesn't stay awake during charging EV #369
MichielToonen
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using the WiCAN with my Hyundai IONIQ 28kW EV to monitor its SoC when charging.
The EV is of the first generation and does not have an web API or similar way to fetch its SoC.
The WiCAN is permanently connected to the car as my car has automatic AUX battery charging when parked.
Basically I want the WiCAN device to publish the SoC to HomeAssistant only when it is connected to my Wifi network.
Whenever the Wifi is not connected, the car is not at home and the WiCAN can be put to sleep.
Currently the sleep feature checks the AUX battery and will put the device to sleep when it is connected to the charger as my car lets the voltage of the AUX battery drop pretty low before it starts charging it.
I updated the firmware of the WiCAN to only put the device to sleep whenever it has lost a connection to the Wifi network.
I added the source for reference.
As I am a hardware developer and software is not my expertise, I did not want to mess with the Web config page to add this new feature to the sleep page.
This did however mean that I had to remove the old battery voltage check from the sleep state machine.
As I understand, there are a lot of people that use the WiCAN to monitor their SoC when charging.
Therefore, this might be a feature that is worthy to implement in a new release?
Given that the Web config page is updated to support both voltage monitoring and wifi monitoring in the sleep configuration page.
sleep_mode.zip
Beta Was this translation helpful? Give feedback.
All reactions