Implement AC functionality and add conditions

Conditions added are:
- SOC
- Load
- Battery current
- Battery voltage
- Periodic autostart
A silent night mode is also added
Dummy vebus for testing