Closed carlossg closed 2 weeks ago
Hi Carlos, thanks for your contribution. I think one detail is missing: not all running appliances can be switched off, they can be appliance_on_only appliances or the appliance_switch_interval is not fulfilled. But this kind of enhancement is a big step forward for this project. I am testing a similar solution, but first I need to get another pull request implemented (to switch on high prioritized appliances, even if the solar excess is sufficient for a fraction of the needed energy only).
moved to #72
when higher priority ones can be turned on
fixes #55
It computes the power being generated that would be available if all the lower priority devices were switched off If the power is greater than the power needed for this appliance then start shutting down lower priority devices