Let EVCC battery control your HA Battery Integration (evcc can switch HA settings via HA-APIs) #87
Replies: 2 comments 6 replies
-
IMHO this should be doable via the https://developers.home-assistant.io/docs/api/rest/ If you need to switch/set multiple entities in HA, then you might like to create an automation for this and then you just trigger this automation via an helper entity (toggle this helper will start the automation)... |
Beta Was this translation helpful? Give feedback.
-
very interesting! |
Beta Was this translation helpful? Give feedback.
-
I've read your documentation (https://github.com/marq24/ha-evcc/blob/main/HA_AS_EVCC_SOURCE.md) about using HA sensors for defining the grid, pv and battery meters.
I'm now wondering if the battery control part of the
battery
meter can also be done in the same way?What I mean is, can we define a HA sensor to implement the
batterymode
settings?If yes, is there an example on how to do this?
I know I can do it directly via modbus, but that's not always that stable and it requires multiple registers to be read/written.
If I'm able to define this in HA and call it through the api, it would be easier.
Beta Was this translation helpful? Give feedback.
All reactions