How to configure a home energy storage battery pack