Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Google Calendar code – my plan and a request #23574

    jonmc56
    Member

    For those who asked for the code:
    https://github.com/jonmc56/Opensprinkler

    get_schedule.py connects to Google Calendar to get all schedules for all zones for ‘today’, and writes a schedule xml file. Please note that this script expect 3 command line parameters as documented in the code.

    read_schedule.py reads the schedule xml file, and the intent is for it to set up a cron job for each schedule item. This part isn’t working, I got stuck on finding a way to add a schedule item in cron for each schedule item. I will keep after it when I have more time, would welcome any ideas.

    Jon

Viewing 1 post (of 1 total)