lokonli / domoticz-wallbox

1 stars 2 forks source link

Feature Request setMaxChargingCurrent #8

Open sincze opened 1 year ago

sincze commented 1 year ago

Can we implement:

setMaxChargingCurrent(chargerId, chargingCurrentValue)

This would allow optimizing 'Dynamic-Solar' load balancing. (at least with a 1 phase inverter). If for example my 1 phase inverter would produce 6A, I would set it to 6, 7A to 7 e.g.

The Wallbox is 3-phase so from only 1 phase it would at least take the maximum solar power. image image

Domoticz 2023.x allows

Any Ideas what would be best sensor ?

sincze commented 1 year ago

image

Ok so updating I'm doing something wrong...

Wallbox-0.05: onCommand called for Device XXXX Unit 13: Parameter 'Set Level', Level: 10.0
Status: User: admin initiated a SetPoint command
Error: Wallbox-0.05: Command error: 400 Client Error: Bad Request for url: https://api.wall-box.com/v2/charger/XXXX
sincze commented 1 year ago

Ok fixed it, will create PR.