When using VPP mode, I believe the inverter will be locked into VPP mode unless you set it back to TOU mode manually. It would be nice if the addon could implement a shutdown_hardware method that is called when ending the same way initialize_hardware is called when starting so you could clean up afterwards as users will be confused if their inverter doesn't allow control anymore after this sw has been running.
Do addons get notification when being stopped or do you need to hook SIGTERM?
When using VPP mode, I believe the inverter will be locked into VPP mode unless you set it back to TOU mode manually. It would be nice if the addon could implement a shutdown_hardware method that is called when ending the same way initialize_hardware is called when starting so you could clean up afterwards as users will be confused if their inverter doesn't allow control anymore after this sw has been running.
Do addons get notification when being stopped or do you need to hook SIGTERM?