Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add functionality to differensiate cars #164

Open
mads-1234 opened this issue Feb 17, 2025 · 6 comments
Open

Add functionality to differensiate cars #164

mads-1234 opened this issue Feb 17, 2025 · 6 comments

Comments

@mads-1234
Copy link

Hi,
I don't know if this is possible or if this is the right place. The thing is - I have two cars, one company car and one private. They both use the same Zaptec charger, but I need to see how much I charge the company car to know how much too bill my employer. Is there anything in the data coming out of Zaptec that can help us do that - and add it to this fantastic component? :)

@Kimrobin98
Copy link

Kimrobin98 commented Feb 18, 2025

I have the same "issue" feel free to DM if you want

@sveinse
Copy link
Collaborator

sveinse commented Feb 18, 2025

Unfortunately, this information is not available. The ID of the car and the SOC (state of charge) is not communicated over the data link connected to the EV charger. This is not about the features of the Zaptec charger or the integration, but the policies of the cars. It's a pity, and I've been wanting the same functionality myself.

You may find it possible if you have connected the car to home assistant and are able to correlate the information from the zaptec charger with the data from the car to the determine which car is being charged.

@Kimrobin98
Copy link

if yo reed page 7-11 in this link https://zaptec.objects.frb.io/assets/PDFs/Integrating-with-Zaptec-charging-systems.pdf you can se that there is a posibility to use webhook auth with rfid, you can then use the different rfid tags du differ the cars. or you can use a dashboard with two start buttons, private and work. we have choosen to go with a third party providor that handles auth with two users per person, billing, calculating cost ect. if you are located in Norway remember the energy tarrif cost aswell when billing if you end up going up a level or two :)

@sveinse
Copy link
Collaborator

sveinse commented Feb 19, 2025

Yes, using different RFID card to authorize different cars is a good way of doing it.

@mads-1234
Copy link
Author

mads-1234 commented Feb 19, 2025 via email

@mads-1234
Copy link
Author

mads-1234 commented Feb 20, 2025

I think I have found a (tho unsexy) solution to my problem. I know this won't help everybody, but here's my plan. The Ford is a hybrid with only a charging capacity of 3600W, while as my Peugeot has a capacity of 10600W. I think it can use this difference to create two trackers, one for each car - and then map it towards totalt charging and prices from Tibber.

This way I don't need the get my gf to start remembering using a RFID, haha.

I don't know to code, but with chatgpt and time I might have a chance. Let me know if this is anything that you can implement or if you find this challenge fun to work on. If you have any code that you can share from your solution, @Kimrobin98 , it might provide me with a good starting point.

And thanks again for the good followup. On the of chance that any of you are Scandinavian; Ha en videre fin dag!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants