datMaffin / homebridge-tesla-powerwall

Homebridge Plugin for the Tesla Powerwall
ISC License
21 stars 11 forks source link

Request for Additional Functionality #53

Open nicclift opened 10 months ago

nicclift commented 10 months ago

During the winter, in order to avoid using grid power during peak time, we arrange for the PowerWall to charge to a minimum of 50% (whether via grid or solar) during off-peak time. The instruction on the Tesla App is for the PowerWall to allocate 50% to Backup and 50% to Self-Powered.

At the start of the peak electricity price period, we set the Backup to 0% and Self-Powered to 100%.

After the end of the peak electricity price period, and before the start of the next one, we set the Backup back to 50% again. The timing of this change depends on the weather. In sunny weather, we would leave this change as late as possible, on the basis that the battery will charge from solar. In wintery overcast weather, we might as well make the change immediately after the end of the peak electricity period.

I would like to be able to automate the change of allocation of the Tesla capacity between Backup and Self-Powered. Whether this be simply on the basis of time of day, or more sophisticated adding a factor related to the weather.

Is this change of the allocation of Tesla capacity between Backup and Self-Powered something that can be done via Homebridge? If so, how please?

gmcluhan commented 10 months ago

Seems to be a dupe of: https://github.com/datMaffin/homebridge-tesla-powerwall/issues/37