Closed calamarain closed 1 year ago
Currently override_ current is only usable in Normal Mode. So this would not only concern the integration, but would need big changes in the core of SmartEVSE firmware.
That firmware regulates the current dynamically on the mains (taking into account other power users) in Smart Mode, or the available power when generating with solar panels (in Solar Mode). You wouldnt need HomeAssistant to do that... Why wouldnt you use those modes?
I don't understand the problem with making override_current
writable in any mode, even if it only has an effect in Normal Mode. That's also how the GUI works.
As I understand it, additional hardware is required to measure mains and solar power directly. But I have that information available in Home Assistant already. Or am I missing something?
You can feed your HA MainsMeter info into the SmartEVSEv3 via the REST API: https://swagger-ui.serkri.be/
Just configure your MainsMeter to EM_API.
Thanks. I don't understand though why using the REST API directely is preferable to using a Home Assitant control?
If you test the latest main branch you will find a slider that will set override_current in Normal Mode.
Thanks!
Would it be possible to add more Home Assistant controls? According to the Serkri documentation, 11 POST attributes are available in the REST API. Particularly
override_current
, the maximum available current, would be useful to control from Home Assistant , for instance based on the available solar power, or the power used by other devices connected to the mains.