2018 Jan 23, 03:35 PM
Gerard,
I am making good progress with the irrigation program changes. It will probably be another week or so until it is finished. I had started working on that some time ago so there was already some code to work with but there was a contribution by a user of individual station durations that requires additional changes. One thing that caused me hesitation was the problem of converting existing program data to a new format. This time around I started from the oposite direction and wrote a small Python module first to do the conversion. It can be run stand-alone or be imported and run by SIP when someone updates the software. The new data format is making the SIP code easier to read because program elements have descriptive names rather than list indexes.
I'll take a look at your heartbeat implementation. It will probably be easiest to include it with the other code changes.
Dan
I am making good progress with the irrigation program changes. It will probably be another week or so until it is finished. I had started working on that some time ago so there was already some code to work with but there was a contribution by a user of individual station durations that requires additional changes. One thing that caused me hesitation was the problem of converting existing program data to a new format. This time around I started from the oposite direction and wrote a small Python module first to do the conversion. It can be run stand-alone or be imported and run by SIP when someone updates the software. The new data format is making the SIP code easier to read because program elements have descriptive names rather than list indexes.
I'll take a look at your heartbeat implementation. It will probably be easiest to include it with the other code changes.
Dan