OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Custom Additions to Interval Program for OSPi? Re: Re: Custom Additions to Interval Program for OSPi?

#24603

Andrew
Participant

I’m a perl rather than a python programmer so I’m not certain this will work but if you import custom after the urls declaration couldn’t you then push the extra values into the urls array in custom.py? This would mean that the main script doesn’t have to have any of your code in it except the importing of the custom.py script (which I can see as definitely being worthwhile, or at least very easily re-added after any updates).