Securifi Community Forum

Securifi Products => Almond+ => Topic started by: Genie Deano on May 14, 2015, 03:02:04 pm

Title: Any way to turn all wifi off at night?
Post by: Genie Deano on May 14, 2015, 03:02:04 pm
just wondering if theres any way to turn wifi off at night and back on in the morning ??

cheers
Title: Re: Any way to turn all wifi off at night?
Post by: Amritendu on May 14, 2015, 05:10:30 pm
Yes, on the LCD of Almond+, just tap on "Wireless settings" and then "Advanced Settings". You can toggle between ON/OFF 2.4 & 5 GHz WIFI  based on your requirement.
Title: Re: Any way to turn all wifi off at night?
Post by: fillibar on May 14, 2015, 05:43:12 pm
I think Genie Deano is referring to a more automatic or timer-based method. Not manually changing it.
Title: Re: Any way to turn all wifi off at night?
Post by: Genie Deano on May 14, 2015, 06:26:29 pm
Yes your right, its the automatic switch on and off at night i was looking for


cheers again
Title: Re: Any way to turn all wifi off at night?
Post by: Genie Deano on May 14, 2015, 06:27:52 pm
Ps... I was a backer too..
Title: Re: Any way to turn all wifi off at night?
Post by: Ashok on May 14, 2015, 07:26:53 pm
@ Genie,

Unfortunately, we don't have any option on Almond+ to turn wifi On/Off at a particular time.
Title: Re: Any way to turn all wifi off at night?
Post by: MrBishop on May 15, 2015, 05:21:03 pm
I'm sure if a basic Dev Kit was released someone could make a simply addon to create a home automation rule for controlling the network (wifi/ethernet on/off). In the meantime you might be able to make a Cron Job to automate it, you'll have to SSH in and it'll root the cron job file then reset the router. Assuming Open-WRT can do that but that's extremely basic stuff so I can't see why not. The trick is how to shut off wiifi or turn it on using a terminal command or a script.

http://en.wikipedia.org/wiki/Cron
Title: Re: Any way to turn all wifi off at night?
Post by: MrBishop on May 19, 2015, 11:10:15 am
Found a package that can be used with From to setup automatic WiFi but I don't think we can use ANY of the standard open-wrt packages. I am under the impression it's because of customization to the open-wrt os so since we use a non-standard and information on how to port these kind of packages that might be shared in a wiki or this forum would be appreciated. I might be able to port it to our platform of open-wrt but I'd need some basic stuff like the source for "Open"-WRT and any tips on how you setup your build environment would be helpful. Don't even need a Dev kit perse, GCC should be good enough. I get the Devs are super busy right now though so it might take a while if you decide you want help making your router a bette r product though le t me and the rest of us know. I'm got experience in C++ and Python. Admittedly I'm really rusty but I like this thing enough (except the cloud part) to want to help make it better. Plus any excuse to crosscompile in my new VM.
Title: Re: Any way to turn all wifi off at night?
Post by: matt on May 19, 2015, 01:48:24 pm
Is this for power conservation or to keep people from using the internet at night? If the latter, it would be trivial to add an iptables rule via cron. If the former, it is probably also easy, I just don't happen to know the commands offhand.

edit: nevermind, apparently turning wifi on and off is super easy too:

http://wiki.openwrt.org/doc/howto/wifitoggle

You can just call that from cron, e.g.:

* 0 * * *     root /usr/sbin/woggle
* 6 * * *     root /usr/sbin/woggle