Had to integrate a new condition (its for updating the right amount of Power to the Elwa) - for the newer Readers its already included “upstairs”.
- platform: state
entity_id:
- sensor.master_battery_discharge
every time the state of my battery is changing the whole script is running so the Flow´s of the Power on witch the Elwa is driven is waaaayy moore Smooth:
I once had a similar problem with another sensor in a template… mostly i found out (for me) the major problem of sensors, templates and so on are when there are missing some parts in the definiton and the ordening of the sensor or the template… so i would check if there are all definitons for your sensors actual and acting right…
at mine it was the ordening of unique id + device class + unit of measurement + state class…
so i recommend to look for the right sensor-configurations…
But really this is only a option from The Glass Bowl of a noobie…
oh… im not thinking so… you have to add much more information to your sensor only with the additional informations of your sensor HA is able to sort your data correct and use your data in the right way.
i really recommend to upddate your sensors definitons by adding some lines like:
I have made a bit better automation for the Elwa to not activate the stages two fast ( clicking the relays too fast ). It send the calculate power with delay 10 seconds. Also the minimum power is adjusted to 200w.
I have implemente your “simple” automation from Jan. 18, which works really nice except for the flaws of fast switching that you already mentioned.
When I went through your new “advanced” automation, I struggle to understand why you set the power to the max available power ( I assume that is sensor.vxxout) after the 10 second delay.
Could you explain the reason behind this?
Okay, I understand. Do you have ELWA or ELWA 2? I use ELWA 2 and it says : “continously variable” power settings (without steps, german “stufenlos”).
I am not sitting in the basement all the time when I work on my automation but I have to test it at some point. So far (maybe because of low solar power) I only heard the “on” clicking relays. I am not sure if there is another relay for a higher power setting.
To find out if there are multiple “hardware power levels” I emailed them.
My automation is a bit different, but apparently also does the job even with clouds or the heat pump switching on to prepare the water for heating.
Basically I specify:
home_buffer
buffer power for changes of home consumption (say 200 W)
heater_consumption_ratio
ELWA excess power consumption ratio (e.g. 80%)
minimum_battery_level
minimum state of charge of my battery (e.g. 95%)
And add sliders to my dashboard for control.
Then I calculate:
Last I set this value (ELWA power setting) and add a delay of 10 seconds. Otherwise, the ELWA measurement is not yet there and as you said, it can change rapidly if a cloud passes by.
I avoid setting the ELWA power to 100% of my excess power, because the slightest cloud will then lead to a shutdown (–> Relay clicking) if solar power reduces due clouds and grid export becomes negative.
alias: ELWA simple Automation ratio
description: ELWA simple automation https://community.home-assistant.io/t/mypv->integation-started/395584/40 von showup Jan. 18 2024
trigger:
platform: state
entity_id:
sensor.grid_export_power
condition:
condition: sun
before: sunset
after: sunrise
action:
Have you (or anyone else here) figured out if you can change the max. Power for the device via a http command rather than the Web-Interface of the ELWA?
I would probably use PID Control = 1 but limit the max. power according to the current solar production if possible.
i would recommed to all the ELWA (1)! users to use the /control.html?pid_power=n
command in order to reduce the clicking of the Elwa because inside there is a “older” Relay working.
By using the pid_power you only add the amount of power you will (steering must be a little different and your config must be rewritten)! because of the pid power output but you will have a much more smoth graph and you will not have the clicking! https://community.home-assistant.io/t/mypv-integation-started/395584/30?u=sleepymaxx