OpenSprinkler Forums OpenSprinkler Mobile and Web App Mobile Web App with Screenshots (Updated) Re: Re: Mobile Web App for OpenSprinkler (w/Screenshots)



I honestly hate running that script every minute and if you have any alternatives I am all ears.

The watcher script runs every minute and gets the current status, then compares that to last minutes status. This is the only way to properly log data from the OpenSprinkler since it keeps no logs of its own.

I suppose it might be better to just have watcher run on @reboot, store the current value in memory, and sleep 60 seconds in between runs. This way the HD isn’t woken up to read the script file, isn’t reading the old values off HD each minute, and is only writing new changes to disk (which should only happen when sprinklers are actually run).

I will look into this and get back to you.