WiFi Scheduling

Want to share your OpenWrt / Gargoyle knowledge? Implemented a new feature? Let us know here.

Moderator: Moderators

Post Reply
BashfulBladder
Moderator
Posts: 250
Joined: Thu Jan 17, 2013 11:43 pm

WiFi Scheduling

Post by BashfulBladder »

First of all, this isn't plugged into the backend yet - it won't do anything except display in a browser window & let you play with the buttons.

But I'm finally glad to have it even working this much, wrapped in the gargoyle style (more or less). Still a ways to go before I can wrap it into a plugin.

Edit: Mar 20, 2013: now in the main gargoyle source repository
wifi candy.png
wifi candy.png (62.66 KiB) Viewed 12330 times
Last edited by BashfulBladder on Wed Mar 20, 2013 8:29 pm, edited 1 time in total.
TP-Link WDR3600 v1.1 running 1.5.10+ L10n-English (Built 20130922 - OpenWrt r38093)
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)

https://github.com/BashfulBladder/gargoyle-plugins/wiki

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: WiFi Scheduling

Post by ispyisail »

thanks

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: WiFi Scheduling

Post by Eric »

This looks really nice.

When you do get this working and packaged as a plugin send me a pull request on github, and I'll merge it into the main repository.

mtr
Posts: 29
Joined: Sun Oct 28, 2012 1:14 pm

Re: WiFi Scheduling

Post by mtr »

Cool and very useful! Will be nice to see it in future revisions.

BashfulBladder
Moderator
Posts: 250
Joined: Thu Jan 17, 2013 11:43 pm

Re: WiFi Scheduling

Post by BashfulBladder »

Eric must have gone bald dealing with this haserl stuff & pulling out his hair with endless edits. I spent hours on 1 line that generated 2 double-quotes.

I hope it is accessible & intuitive enough for a newbie to figure out. I'm not a user interface guy & this html stuff - it makes for a LOT of google action.

I'll have to find my old Win7 disk to find what issues IE has.
TP-Link WDR3600 v1.1 running 1.5.10+ L10n-English (Built 20130922 - OpenWrt r38093)
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)

https://github.com/BashfulBladder/gargoyle-plugins/wiki

mtr
Posts: 29
Joined: Sun Oct 28, 2012 1:14 pm

Re: WiFi Scheduling

Post by mtr »

BashfulBladder wrote: I hope it is accessible & intuitive enough for a newbie to figure out. I'm not a user interface guy & this html stuff - it makes for a LOT of google action.

I'll have to find my old Win7 disk to find what issues IE has.
Interface usability can be improved in sort of ways.

Right now I'm downloading IE10 in order to test Gargoyle web interface.

BashfulBladder
Moderator
Posts: 250
Joined: Thu Jan 17, 2013 11:43 pm

Re: WiFi Scheduling

Post by BashfulBladder »

I tried to issue a pull request, but I couldn't because I only had a master branch & wouldn't let me proceed. Or some crap along those lines.

Here:
https://github.com/BashfulBladder/gargoyle-plugins



Here is the package for the router: Edit: Mar 20, 2013: now in the main gargoyle source repository

extract & copy onto the router:

Code: Select all

scp ~/plugin-gargoyle-wifi-schedule_1.0-1_all.ipk  root@192.168.1.1:/tmp
on the router, ssh in &:

Code: Select all

opkg install /tmp/plugin-gargoyle-wifi-schedule_1.0-1_all.ipk
remove with

Code: Select all

opkg remove plugin-gargoyle-wifi-schedule_1.0-1_all.ipk
Last edited by BashfulBladder on Wed Mar 20, 2013 8:30 pm, edited 2 times in total.
TP-Link WDR3600 v1.1 running 1.5.10+ L10n-English (Built 20130922 - OpenWrt r38093)
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)

https://github.com/BashfulBladder/gargoyle-plugins/wiki

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: WiFi Scheduling

Post by Eric »

I've now added this plugin to the main repository. I still need to test it, and I'll need to update the individual archetecture profile config files in the targets directory for the package to build automatically, but it's in there now and certainly configurable if you do a custom build.

This looks like a major piece of work -- thanks! It's much appreciated!

For future reference, the key to sending a pull request is to first fork the repository you want to contribute to. So, go to github.com/ericpaulbishop/gargoyle, and click the fork button. This will give you your own copy of the main gargoyle repo. Then, make your changes to that, and then send me a pull request -- it should work fine.

BashfulBladder
Moderator
Posts: 250
Joined: Thu Jan 17, 2013 11:43 pm

Re: WiFi Scheduling

Post by BashfulBladder »

Okay, if I can't figure out how to amend the github repository as a fork, I'll contact them or start over. Sorry, I haven't contributed to opensource since sourceforge added svn. I'm a cvs relic! See, when I think "fork a project", I think of a Ubuntu/Debian split - never to merge again.

I found a display bug when reading in Sun-weekday-Sat list of crontabs which I fixed & uploaded to my github repository in a 1.0 branch (don't ask). The actual crontabs were fine - just figuring out which table to display was jacked.
TP-Link WDR3600 v1.1 running 1.5.10+ L10n-English (Built 20130922 - OpenWrt r38093)
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)

https://github.com/BashfulBladder/gargoyle-plugins/wiki

Post Reply