I have a Level 2 home charger installed in my garage and I would like to keep a simple local log of charging sessions using Ruby, since that is the language I am learning. The goal is a small script that reads whatever the charger exposes and appends session start, end, and energy used to a CSV file I can look at later.
What I am unsure about is how much of this is realistic without vendor-specific tooling. My main concern is that a lot of charger APIs or local endpoints may be locked down, undocumented, or change between firmware versions, and I do not want to build something that breaks constantly. I am also not sure whether polling or a webhook-style approach makes more sense for a hobby project. Has anyone here tried pulling charger data into Ruby, and what approach held up over time?