When I came in on Thursday we had a number of issues, the main ones being:
- The sump had lost almost all water.
- After upgrading the pis to the latest version of Raspbian Stretch (9.4 I think), the software didn't start automatically.
- The butts pump kept turning on and off every few seconds.
2)
Both pis exhibit this behaviour.
As for why this happened, I couldn't say. The software works when I start it manually, but either boot up isn't completing, auto-login isn't working, or .bashrc isn't being executed on login.
I tried removing Terry's tty check, but it didn't fix this issue.
I also ran "systemctl status", which told me the state was degraded, and a bluetooth-related service had failed to start. I doubt this would block login but it's possible.
Terry, how did you configure auto-login? I have a hunch as to how to fix this, but we'll need to connect at least one of the pis to your monitor to see exactly what is going on I think. I think maybe we should be starting the software using /etc/rc.local instead of /home/pi/.bashrc, or perhaps some configuration was lost during the upgrade. I kept backups of the original software, but I am reluctant to downgrade because that' just delaying the issue rather than fixing it.
Terry, could you have a look at this for me because I'm not sure how you configured auto login and other things in the first instance, so I don't wwant to mess about until we know what's gone wrong.
3)
I couldn't determine the cause of this issue. Terry, are you sure we plugged the sumps into the right plugs in the SSR?
Also, I have gone and patched the disabled side of the river, but I think we'll need to drain the section by the sump very soon to fix the main problem - we know there were leaks there too.
Because of these issues, I have disabled the river control system, but the river is still running. Sorry about this!
Hamish