WiFi locked up Solid Greed LED Watchdog? Daily Reset?

Basic / Standard Reef Angel hardware
Post Reply
00Warpig00
Posts: 289
Joined: Wed May 16, 2012 9:52 pm

WiFi locked up Solid Greed LED Watchdog? Daily Reset?

Post by 00Warpig00 »

I'm really not getting a cozy feeling having to trust my tank to this controller while I leave for a few days. :shock:
I awoke this morning to my WiFi module appearing to be locked up. The WiFi Module light is solid green.

Is there a way to set a timeout on the controller and force a reset/reboot of all hardware on a daily basis?

I really need my controller to be up running and accessible while I am gone for a few days. It was the entire point of this purchase. Peace of mind while traveling.

Nick
180G FOWLR
20GH QT#1
29G QT#2

Image
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: WiFi locked up Solid Greed LED Watchdog? Daily Reset?

Post by rimai »

To have the controller reboot, all you need is this:

Code: Select all

delay(2000);
You can use this at anytime.
So, for example to force reboot at midnight:

Code: Select all

if (now()%86400==0) delay(2000);
To force reboot on the wifi, the manufacturer recommends this:
http://forum.reefangel.com/viewtopic.php?p=10947#p10947
Roberto.
00Warpig00
Posts: 289
Joined: Wed May 16, 2012 9:52 pm

Re: WiFi locked up Solid Greed LED Watchdog? Daily Reset?

Post by 00Warpig00 »

Will rebooting the controller cause the wifi to reboot and/or attempt reconnection? Not sure why my wifi would go to a solid green light. It's lost connection before and been unreliable but this is the first time it has gone to a solid green light.
180G FOWLR
20GH QT#1
29G QT#2

Image
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: WiFi locked up Solid Greed LED Watchdog? Daily Reset?

Post by rimai »

No.
I haven't heard of solid green either.
Did you change the idle timeout on the wifi??
I'm looking at the status codes and solid green means TCP connection.
When you connect over TCP and for some reason the connection delays too long or gets broken, the wifi attachment should disconnect from the offending connection to allow new connections to come through. It can only handle one connection at a time.
Without the idle timer, it would stay connected until the requesting app (browser, android, client) closes it, which may not happen.
The command is:

Code: Select all

set c i 3
Roberto.
00Warpig00
Posts: 289
Joined: Wed May 16, 2012 9:52 pm

Re: WiFi locked up Solid Greed LED Watchdog? Daily Reset?

Post by 00Warpig00 »

Hmm...

Changes made yesterday...

1) the code you helped me with for the ATO/Skimmer

2) I set the watchdog on my DDWRT enabled access point to reboot at 0400 every morning. At first I thought maybe this had something to do with it, but my last update to the portal before the solid green was at 0921 this morning which was 5 + hours after the wireless router reboot. So it had to be working then.

3) I upgraded to the latest Android app last night. I was on the previous version now am on the newly released version that contacts the controller and updates status every 15 minutes. The notification from the Reef Angel WiFi app is what alerted me to the lockup.
180G FOWLR
20GH QT#1
29G QT#2

Image
Post Reply