CJNE / pymyenergi

An async python library for interfacing with MyEnergi devices
MIT License
19 stars 15 forks source link

Ability to control Libbi charging from grid #15

Open mattburns opened 10 months ago

mattburns commented 10 months ago

It would be good to toggle grid charging.

This could for the basis for controlling how much to charge battery overnight based on predicted weather for the following day.

plord12 commented 10 months ago

Yes. This would be -

PUT https://myaccount.myenergi.com/api/AccountAccess/LibbiMode?chargeFromGrid=true&serialNo=xxxxxxxx

and

PUT https://myaccount.myenergi.com/api/AccountAccess/LibbiMode?chargeFromGrid=false&serialNo=xxxxxxxx