-
Notifications
You must be signed in to change notification settings - Fork 9
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
Turning the inverter on and off #61
Comments
Hi @pitrade , it is now implemented - please check the new snapshot for your needs. BR |
Hi @pitrade , One small additonal change I made in the recent update today for HA - the entry point allows now also input values below 2 (= 1, 0). Please check again. |
Turning the inverter OFF/ON by setting the powerlimit either to 0% or any value above works perfectly. Thank you a lot! Feel free to contact me for further beta testing in a ESP32+HomeAssistant environment. |
…ter turn to on + upgrade openhab item reading to json interpretation
Hi @pitrade , I've implemented some extensions regarding this topic ... due to some playing/ testings around with some corner cases... for inverter on/off and back.
So, now to your offer ;-) Please check with different use cases the points above. Especially the stability of turning inverter on/off and the state recognition... Thx |
Hi @ohAnd I updated to the latest snaphot and keep it running. My Home Assistant automatically sets the inverter limit depending on household consumption, battery SoC and grid electricity price. |
hi @pitrade , at first to the error codes:
second - the "turned on for no reason" : from code perspective i can currently not see a cause fur turning on the inverter if powerlimitset = 0 will be received or not changed on mqtt broker side - means it have to be a value > 0 given to send the inverter on request maybe a side effect: at this time it is diffcuilt to find the problem - it has to be supervised to get more infos of the surrounding circumstances |
@ohAnd I agree with your assumptions regarding the warnings. I got a new one today. Error code 72 with data0: 5051 and data1: 5020 should be related to the power reduction on high grid frequencies defined in VDE-AR-N 4105. I suggest to add a sensor for the grid frequency which the inverter already monitors. The issue that the inverter turns on at midnight still persists and this did not happen with previous versions. Exactly at 00:00 the inverter turns on with a production that matches the last active limit. The web interface shows a limit of 0% but a production >> 0 W and the DTU state shows "dtu rebooting" as you suspected. You have to set the limit to >0% and back to 0% after the dtu reboot to turn the inverter off again |
Hi @pitrade , regarding the warnings I made some refoctoring in the recent snapshots - I also integrated the frequency warning - including the publication of the grid frequency to HA. Please check. To the reactivate thing: which snapshot you are currently using with this wrong bahavior? (with the assumption that the snapshot n-1 worked for you) I will check then. In one of the recent snapshots I've also added the real check of inverter status, means when the warning is active and the local inverter state is ON then it will set according to the feedback of dtu and vice versa. That should prevent undefined states locally. Means if there is still the powerlimitset of 0 given and the local state says inverter is off, but the dtu shows the warning "inverter is on" then the difference leads to an active set inverter off command to the dtu. So, give it a try! |
When turned on, even with the limit set to 0%, the inverter still draws about 8 W from my Battery. Therefore I recommend the feature to turn the device on and off with the web UI and also via MQTT with e.g. HomeAssistant.
The text was updated successfully, but these errors were encountered: