Hello, I've created a new luci package to help a friend of mine. It's pretty straight forward, she wanted something that would turn off her kids' wifi at certain times each day. Basically, this package will create cron jobs to turn on and off the selected SSID according to the schedule wanted. The application was written in LUA since I wasn't able to properly compile the javascript and I wanted to get this to a beta for her as quickly as I could.
I would appreciate any constructive feedback on how to improve this package (including how to compile and/or port it to javascript).
Still not sure I'm reading the temperature in the room correctly. Either way, this is a pretty neat add-on for those who need it. Those who don't have a use for it (or disagree with its purpose) need not bring negativity to this thread--those folks should just be grown-ups and move along.
@Codey Welcome to the community here! Keep building things, because it's those like you who make OpenWrt all the better.
Thanks for the welcome! I'm going to look into rebuilding with javascript next. At any rate, it'd be great if people could give it a go and let me know if there are any bugs or if there are any features they'd like to have added.
I looked at wifischedule and even borrowed some logic from it, however, the main detractor for me was the fact that wifischedule turns off an entire radio. So, my friend wanted to still have wifi/internet access even when her kids' internet time was over and their wifi/internet access was removed. I thought this would be better handled by controlling the uptime of a specific SSID. When I was thinking of using wifischedule, the best I could come up with was to use two wireless routers, and in the end that seemed wasteful.
In short, this project allows for scheduled on/off control of a specific SSID as opposed to an entire radio.