github thomluther/anker-solix-api v2.1.0

latest releases: v3.8.1, v3.8.0, v3.7.0...
2 years ago

Enhancements:

  • Full Support for Solarbank 2 schedule modifications via helper method #108 #109
    • Previously added helper method to adjust SB2 home load has been enhanced to fully support solarbank 2 time slot objects for schedule modifications and cleanup
    • An individual appliance output preset can now be provided and is used to adjust the power preset for the current slot of current weekday
      • If no time slot exists for current day time, a new time slot will be created for the existing gap in current weekday plan
      • If weekday plans exist but none for current weekday, a new plan will be added for current weekday only
      • If no weekday plan exists for any weekday, a new plan will be created for all weekdays
    • The insert_slot and set_slot parameters are used similarily to the SB1 helper method
    • The set_slot parameter however can also be used for schedule plan cleanup when either start or end time are not specified
      • If no week days are provided with set_slot cleanup, all plans will be deleted
      • Otherwise only the provided weekdays will be removed from existing plans
      • This became necessary as the SB2 schedule object contains additional common fields that must be maintained and it can also become necessary to delete only the schedule for a certain weekday without changing the rest of the schedule

Fixes:

  • Adjusted home load helper methods for SB1 and SB2 to prevent existing gaps in the schedule are automatically filled up when inserting or adjusting a slot that has start and end times provided.

Breaking changes:

  • None

Don't miss a new anker-solix-api release

NewReleases is sending notifications on new releases.