-
Notifications
You must be signed in to change notification settings - Fork 38
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
Car Charge Automation base on Solar production #122
Comments
Hi! First of all, do you get any error or debug messages or does things seem to work alright but nothing happens? Also, it may be something simple like the car is not requesting charging or maybe you have schedule or smart charging activated in the charger? The start command itself kindof opens up for charging, but it is the car that actually decides when to charge or not. |
Hmm, that seems odd, it seems that it doesn't find your charger id (none). Not sure why this should happen, it works on my end. I did get one error message, but it was a authorization error and while my car was disconnected. I'm not really using these commands actively, but I remember we were told by Easee that start/stop is for a new charging session and involves checking for authorizations (some people use RFID and stuff to authenticate in larger buildings etc) while the pause/resume should be enough if there is no authorization required (which is my case). Pausing is basically just setting the dynamic current limit to zero internally in the charger, so the same could be achieved with this function. What is the state of your charger (the status sensor)? And perhaps you could give it a try with pause/resume functions instead, or even just setting the dynamic current limit to zero when you want to stop (or pause actually) charging? Don't think it is related, but you could also check the value of the 'config_authorizationRequired' attribute in the status sensor. |
Sounds good! I'm not too experienced in the automation world of HA to be honest, but for sure there is a possibility. I always need to play around to achieve what I want since I don't always find the descriptions very intuitive. I believe you're better of asking on in the community since it is more of a generic issue with automations, and make sure you've studied the descriptions in detail. Could numeric trigger be what you are looking for? |
Thanks :) |
Hi, But you can make a copy of your trigger and put it under CONDITIONS as well, and that will stop trigger from happen. |
Thanks a lot Nordan70. |
Hello ankisch, |
Use it as a trigger. Or even better if you have a power meter to take into account your other appliances that are using power. I use a sensor that measures how much power I am exporting to the grid as a trigger. Whenever i export more than my charger uses it triggers. If conditions are met (charger connected, car battery not full) it will start to charge. I have done this in Node-RED so can't provide any code to use in HA directly. |
Since I don't use HA automations I'm not sure about this, but doesn't the conditions get overridden when you press run? Maybe you could try something like this, try paste in yaml mode
|
Yes, clicking run will override the trigger and conditions, so that is not a good way to test... I also want to point out that it is not really necessary to call the stop, start, pause or resume service. |
I have done this with ferroamp solar solution in theory as an example to work with. I'll dynamic define the Easee "dynamic charger limit" with the data from ferroamp with the data regards exported energy to the grid as @olalid suggested When the export to grid current exceeds 6A the "dynamic charger limit" with be updated with the new threshold. configuration.yaml
automation.yaml
|
thnx for the yaml code to this - i got mine also installed today and i have a electric car, so i need to figure out how to control it dynamicaly to squeeze the most out of the sun :) i will give it a try with your yaml :) thnx! |
Did you managed to get the code running @doabigcheese ? I think it would be nice if the integration has support for a (dynamic ) sensor value as input for the dynamic charger limit or dynamic circuit limit as mentioned by @olalid This input can then limit the charger based upon the house max available energy limit for the moment for those of us that is measuring the grid load of the house. Edited:
|
Well, the Easee integration mostly just reflects the functionality of the API that Easee provides. That said, we have had discussions about writing a separate general module for house power handling, such as charging with solar, turning loads on/off depending on factors like time of day, electricity price, total load and so on. |
Thanx for the feedback @olalid in this matter. I agree that the integration should be as clean as possible. And thanx for your git regarding RG20 for NIBE ;) |
I am trying to create an automation based on solar production and car
But I don't get it to run based on my requirements.
Same thing when I trying to run the service in the developer tool. Please see attached images.
Is there anything else I should insert in the easee service beside the charger ID? Or anything else that I missed
Thanks in advance
Adam
The text was updated successfully, but these errors were encountered: