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

How to access chargingProfiles writeable? #364

Open
GrafZahl32 opened this issue Oct 18, 2024 · 2 comments
Open

How to access chargingProfiles writeable? #364

GrafZahl32 opened this issue Oct 18, 2024 · 2 comments

Comments

@GrafZahl32
Copy link

I am trying to make a dumb wallbox a little bit smarter. Therefore I need to switch the target soc state depending on time of day. During the day the car can get 80% SOC by solar power, during night times SOC should be limited to 50% from grid.

When you have configured a charging profile the settings there overrule the normal soc settings.

I understand that by now domains/chargingProfiles/chargingProfilesStatus/profiles/1/targetSOC_pct is not a writeable topic.
Any ideas? Maybe there is a special reason for this not beeing a writeable topic?

Thanks

@ektoekto
Copy link

Just start and stop the charging depending of the time of the day & SOC. Leave the general SOC setting to 80%. Write a simple code that checks that if the local time is more than 20:00 and SOC is more than 50%, then send a MQTT command to stop charging. I would also check that if the car is near this stupid charger (coordinates can be found from the parking topic) and if it's charging or not, so you don't send the stop command unneccesarly. And have a 10 minute timer since some times it takes a long time to see a change in the charging topic.

@tillsteinbach
Copy link
Owner

I understand that by now domains/chargingProfiles/chargingProfilesStatus/profiles/1/targetSOC_pct is not a writeable topic.

Any ideas? Maybe there is a special reason for this not beeing a writeable topic?

No specific reason, it is just not implemented yet. Easiest solution is to not use the profile at the chargers location but to set the general target soc topics.

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