Solar Control add-on

Hi All, I’ve just released the very first version of my solar control addon

I’ve been working on it for a bit, and it’s been controlling my car and HWS well today. I’ve heavily inspired by PV Excess Optimizer but as an addon to help simplify configuration.

The addon will attempt to respond in real-time to your grid usage to optmise controllable loads (EV Charger, pool pump, HWS etc) in response to solar generation and other loads.

It’s functional, but certainly the CSS could use a bit of polish, and a number of features aren’t supported yet (Home battery, run once, overnight charging etc). I’ve looked at predbat and emhass but found the predictive nature of them too challenging to set up. I want something that just responds to the sunlight available.


Please let me know what you think!

Hello,

I tried using the latest version (1.3.68), but unfortunately, I couldn’t get it to work.

Here’s the output from the log when starting the service:

[09:04:56] INFO: Starting solar optimiser service...
[09:04:56] INFO: Contents of /data before operations:
total 12
drwxr-xr-x    2 root     root          4096 May 18 09:04 .
drwxr-xr-x    1 root     root          4096 May 18 09:04 ..
-rw-------    1 root     root            27 May 18 09:04 options.json
[09:04:56] INFO: Setting data directory permissions...
[09:04:56] INFO: Setting file permissions...
[09:04:56] INFO: Final data directory state:
total 12
drwxr-xr-x    2 root     root          4096 May 18 09:04 .
drwxr-xr-x    1 root     root          4096 May 18 09:04 ..
-rw-r--r--    1 root     root            27 May 18 09:04 options.json
s6-rc: info: service legacy-services successfully started
nginx: [alert] could not open error log file: open() "/var/lib/nginx/logs/error.log" failed (13: Permission denied)
2025/05/18 07:04:56 [emerg] 111#111: mkdir() "/data/nginx/tmp/client_body" failed (2: No such file or directory)
s6-rc: info: service legacy-services: stopping
[07:04:57] INFO: Service restart after closing
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

It seems like there’s a permission issue or a missing directory (/data/nginx/tmp/client_body).
The service starts and shuts down immediately afterward.

Looking forward to an update – and thanks a lot for all your hard work!