Hi, I volunteer to manage the Gargoyle router at a community gym.
The guest Wi-Fi is turned off outside of training times using cron rules, so the network isn’t left open all day for no reason. It was working fine, except that the schedule changes every quarter based on the coaches’ schedule, which is managed in a shared Google Calendar. Schedule by schedule, day by day—it doesn’t get any simpler than that with the basic Gargoyle setup. Personally, I’d ended up setting a reminder on my phone to check the calendar before the start of each term, but even then I’d always miss one or two changes. This year, I decided—or rather, I finally managed—to automate the whole thing.
It took me two weekends to come up with a script that exports the events and regenerates the entire schedule on its own. The script runs once a night; it fetches the ICS file, compares it with what’s currently in place, and rewrites the schedules if necessary. I stumbled upon this ICS export thing by chance while browsing elsewhere—not really on a forum I usually visit. There was a thread on calendar synchronization for ICS exports on a website, and the method described there was exactly what I needed to rebuild my Wi-Fi schedules with every update. What kind of solution have you set up to automate network management based on an external calendar?
Gargoyle - Wi-Fi: Automation
Moderator: Moderators
Re: Gargoyle - Wi-Fi: Automation
That’s pretty cool, would you be willing to share your script for the community?
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog