Inverter polling frequency, but which file to edit ? #161
Replies: 7 comments 7 replies
-
I did not try this myself, but look at const.py UPDATE_INTERVAL = timedelta(seconds=30) |
Beta Was this translation helpful? Give feedback.
-
You switch off the "Update…" option in the integration 'System options' and add your own automation through the GUI. I have just done this using the guide here Inverter Polling Frequency |
Beta Was this translation helpful? Give feedback.
-
I tried to set this up for me following the tutorial, but did not manage to get it to work properly. I assumed it was because this part of the documentation was outdated. But you seemed to get it to work, so I hope you can help me out. Given the readme example, I would expect HA to poll only the sensor.daily_yield values in an interval of 10 s.
As the sensor (in my case) is called sensor.inverter_daily_yield I tried to change it accordingly but HA somehow failed to retrieve data afterwards. For my usecase I need to update the sensor.inverter_active_power with a very low interval (preferably 1 to 2 seconds). The rest of the sensors could be updated in an interval of 30secs. Do I understand it right, that I would need to add every sensor to the target list in the automation with an interval of 30 secs and create another automation with an interval of e.g. 2 secs and put the sensor.inverter_active_power as a target? |
Beta Was this translation helpful? Give feedback.
-
I have an automation up and running that polls the sensor.inverter_active_power every 2 seconds. HA only updates its value every 10 seconds though. Am I missing something? |
Beta Was this translation helpful? Give feedback.
-
Hello, For me the same. I set up to update every 2 seconds, but on HA entity I see that it update every 10 seconds. Maybe somebody have solution? |
Beta Was this translation helpful? Give feedback.
-
Hi, sorry that I did nor respond in time, but I solved the (my) problem.
Think about In case you want more than one integration that need data vom huawei_solar (two parallel sessions, such like evcc and huawei_solar) they will both block each other. In this case you need to install modbus_proxy which is taking the parallel session and act as one common session. In this case both apllications get the correct answer and no more timeouts... Thomas |
Beta Was this translation helpful? Give feedback.
-
Hello @TMoersch , SO you not recommend to edit const.py UpdateInterval to 2 seconds? |
Beta Was this translation helpful? Give feedback.
-
Hi,
I want to changte the "Inverter polling frequency", but which file to edit?
I dont see any other option to correct the value via GUI, or did I miss something??
Thnaks To all
Thomas
Beta Was this translation helpful? Give feedback.
All reactions