update sma-plugin to enable disconnect during night-times