Freakin WiFi

Expansion modules and attachments
Paul_Velasco
Posts: 127
Joined: Thu Sep 19, 2013 7:46 am
Location: Saint Cloud, FL

Freakin WiFi

Post by Paul_Velasco »

Been hacking at the Wi-Fi module after getting a new router from Brighthouse and it is working intermittently and absolutely not connecting.

How do I update the firmware?
How do I do a factory reset of the device?
Are there more extensive instructions for the Wi-fi Graphical interface set-up? I also used Tera-Term with no luck.

HELP!
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Freakin WiFi

Post by rimai »

Try setting the router to WAP2-PSK with AES encryption.
Can you post the log for Tera Term?
I doubt the firmware is affecting anything.
Roberto.
Paul_Velasco
Posts: 127
Joined: Thu Sep 19, 2013 7:46 am
Location: Saint Cloud, FL

Re: Freakin WiFi

Post by Paul_Velasco »

To close this out:

Had Brighthouse put thier Cable Router in Bridge Mode
Reboot the wifi and choose the right port that was port fowarded
Ping my External IP address
Enter my external IP:Port Forwarded Port Number

Everything works now! Nothing wrong with WIFI. Just do not use Century Link for your service. They have no clue what to do.
Image
Paul_Velasco
Posts: 127
Joined: Thu Sep 19, 2013 7:46 am
Location: Saint Cloud, FL

Re: Freakin WiFi

Post by Paul_Velasco »

My Portal and banner do not update??? Am I doing something wrong?

I can program
I can toggle relays in portal
I can see data on my Reef Client on Desktop

Says no data on Portal?
Image
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Freakin WiFi

Post by lnevo »

Can you post your code?
Paul_Velasco
Posts: 127
Joined: Thu Sep 19, 2013 7:46 am
Location: Saint Cloud, FL

Re: Freakin WiFi

Post by Paul_Velasco »

Here you go:

Code: Select all

    #include <ReefAngel_Features.h>
    #include <Globals.h>
    #include <RA_Wifi.h>
    #include <Wire.h>
    #include <OneWire.h>
    #include <Time.h>
    #include <DS1307RTC.h>
    #include <InternalEEPROM.h>
    #include <RA_NokiaLCD.h>
    #include <RA_ATO.h>
    #include <RA_Joystick.h>
    #include <LED.h>
    #include <RA_TempSensor.h>
    #include <Relay.h>
    #include <RA_PWM.h>
    #include <Timer.h>
    #include <Memory.h>
    #include <InternalEEPROM.h>
    #include <RA_Colors.h>
    #include <RA_CustomColors.h>
    #include <Salinity.h>
    #include <RF.h>
    #include <IO.h>
    #include <ORP.h>
    #include <AI.h>
    #include <PH.h>
    #include <WaterLevel.h>
    #include <Humidity.h>
    #include <DCPump.h>
    #include <ReefAngel.h>

    ////// Place global variable code below here

    unsigned long LastUpdate1=0;    // For virtual Vinegar dosing pumps
    unsigned long LastUpdate2=0;    // For virtual Magnesium dosing pumps
    unsigned long LastUpdate3=0;    // For virtual ATO dosing pump

    ////// Place global variable code above here


    void setup()
    {
        // This must be the first line
        ReefAngel.Init();  //Initialize controller
        ReefAngel.Use2014Screen();  // Let's use 2014 Screen
        ReefAngel.AddSalinityExpansion();  // Salinity Expansion Module
        ReefAngel.AddWaterLevelExpansion();  // Water Level Expansion Module
        // Ports toggled in Feeding Mode
        ReefAngel.FeedingModePorts = 0;
        ReefAngel.FeedingModePortsE[0] = Port1Bit;
        // Ports toggled in Water Change Mode
        ReefAngel.WaterChangePorts = Port1Bit | Port2Bit | Port3Bit | Port4Bit | Port7Bit | Port8Bit;
        ReefAngel.WaterChangePortsE[0] = Port1Bit | Port3Bit | Port5Bit | Port7Bit;
        // Ports toggled when Lights On / Off menu entry selected
        ReefAngel.LightsOnPorts = 0;
        ReefAngel.LightsOnPortsE[0] = 0;
        // Ports turned off when Overheat temperature exceeded
        ReefAngel.OverheatShutoffPorts = Port7Bit;
        ReefAngel.OverheatShutoffPortsE[0] = 0;
        // Use T1 probe as temperature and overheat functions
        ReefAngel.TempProbe = T1_PROBE;
        ReefAngel.OverheatProbe = T1_PROBE;
        // Set the Overheat temperature setting
        InternalMemory.OverheatTemp_write( 850 );

        // Feeeding and Water Change mode speed
        ReefAngel.DCPump.FeedingSpeed=0;
        ReefAngel.DCPump.WaterChangeSpeed=0;


        // Ports that are always on
        ReefAngel.Relay.On( Port1 );
        ReefAngel.Relay.On( Port2 );
        ReefAngel.Relay.On( Port3 );
        ReefAngel.Relay.On( Port4 );
        ReefAngel.Relay.On( Port5 );
        ReefAngel.Relay.On( Port6 );
        ReefAngel.Relay.On( Box1_Port5 );

        ////// Place additional initialization code below here
       

        ////// Place additional initialization code above here
    }

    void loop()
    {
        ReefAngel.StandardHeater( Port7,750,755 );
        ReefAngel.StandardFan( Port8,760,800 );
        ReefAngel.Relay.DelayedOn( Box1_Port1,5 );
        ReefAngel.StandardLights( Box1_Port3,20,0,8,0 );
        //ReefAngel.WaterLevelATO( Box1_Port7,60,48,50 );
        ReefAngel.RF.UseMemory = false;
        ReefAngel.RF.SetMode( Constant,75,100);
        //Use salinity compensation
        ReefAngel.Salinity.SetCompensation(0);
        ////// Place your custom code below here
       
        //Only use the ATO when no one is in house and there is water in reservior - taken out so runs 24/7
        //Use Channel 4&2 as Redundant Controls.
        if (ReefAngel.WaterLevel.GetLevel(4)<=47 && ReefAngel.WaterLevel.GetLevel(1)>0) ReefAngel.Relay.On(Box1_Port7);
        if (ReefAngel.WaterLevel.GetLevel(4)>50) ReefAngel.Relay.Off(Box1_Port7);
    //Turn-off Skimmer whhen skimmer tank is full
        if (ReefAngel.WaterLevel.GetLevel(3)>=90)
        {
          ReefAngel.Relay.Off(Box1_Port1);       
        }else{
          ReefAngel.Relay.On(Box1_Port1);
        }
    //How about some WaveMotion with the Vortech
        static time_t feeding;
    // Time schedule first
    //Wave Patterns
    //byte ShortPulseMode(byte PulseMinSpeed, byte PulseMaxSpeed, int PulseDuration, boolean PulseSync);
    //byte LongPulseMode(byte PulseMinSpeed, byte PulseMaxSpeed, int PulseDuration, boolean PulseSync);
    //byte GyreMode(byte PulseMinSpeed, byte PulseMaxSpeed, int PulseDuration, boolean PulseSync);
    //byte SineMode(byte PulseMinSpeed, byte PulseMaxSpeed, int PulseDuration, boolean PulseSync);
    //byte ReefCrestMode(byte WaveSpeed, byte WaveOffset, boolean PulseSync);
    //byte NutrientTransportMode(byte PulseMinSpeed, byte PulseMaxSpeed, int PulseDuration, boolean PulseSync);
    //byte TidalSwellMode(byte WaveMaxSpeed, boolean PulseSync);
    //byte TideMode(byte WaveSpeed, byte minOffset, byte maxOffset);
    //byte ElseMode(byte midPoint, byte offset, boolean waveSync);

        if (hour()>=6 && hour()<7) {
          ReefAngel.PWM.SetDaylight( LongPulseMode(30,100,5,true) ); // Long pulse hi/low 50%20% 10s pulse on sync mode
          ReefAngel.PWM.SetActinic( LongPulseMode(30,100,5,false) ); // Long pulse hi/low 50%20% 10s pulse on anti-sync mode
        } else if (hour()>=7 && hour()<8) {
          ReefAngel.PWM.SetDaylight ( ElseMode(100,20, true) ); // Short pulse at 60% with 200m
          ReefAngel.PWM.SetActinic( ElseMode(100,20,false) ); // Short pulse at 60% with 200ms pulse on anti-sync mode
        } else if (hour()>=8 && hour()<9) {
          ReefAngel.PWM.SetDaylight( SineMode(30,100,180,true)); //Ramp up to 100% in 3mins in sync mode
          ReefAngel.PWM.SetActinic( SineMode(30,100,180,true)); //Ramp up to 100% in 3mins in sync mode  
        } else if (hour()>=9 && hour()<10) {
          ReefAngel.PWM.SetDaylight( SineMode(30,100,90,true)); //Ramp up to 100% in 3mins in sync mode
          ReefAngel.PWM.SetActinic( SineMode(30,100,90,true)); //Ramp up to 100% in 3mins in sync mode
        } else if (hour()>=10 && hour()<11) {
          ReefAngel.PWM.SetDaylight( ShortPulseMode(30,100,200,true) ); // Short pulse at 60% with 200ms pulse on sync mode
          ReefAngel.PWM.SetActinic( ShortPulseMode(30,100,200,false) ); // Short pulse at 60% with 200ms pulse on anti-sync mode
        } else if ( (hour()>=11 && hour()<12) && (now()-feeding > SECS_PER_DAY) ) { // We haven't fed today
          ReefAngel.PWM.SetDaylight( NutrientTransportMode(30,100,500,true) );
          ReefAngel.PWM.SetActinic( NutrientTransportMode(30,100,500,false) );
        } else if (hour()>=11 && hour()<12) {
          ReefAngel.PWM.SetDaylight( ReefCrestMode(90,10,true) ); // ReefCrest at 70% +/- 20% on sync mode
          ReefAngel.PWM.SetActinic( ReefCrestMode(90,10,false) ); // ReefCrest at 70% +/- 20% on anti-sync mode
        } else if (hour()>=12 && hour ()<13) {
          ReefAngel.PWM.SetDaylight( ShortPulseMode(30,100,500,true) ); // Short pulse at 60% with 200ms pulse on sync mode
          ReefAngel.PWM.SetActinic( ShortPulseMode(30,90,500,false) ); // Short pulse at 60% with 200ms pulse on anti-sync mode  
        } else if (hour()>=13 && hour ()<14) {
          ReefAngel.PWM.SetDaylight( ShortPulseMode(30,100,500,true) ); // Short pulse at 60% with 200ms pulse on sync mode
          ReefAngel.PWM.SetActinic( ShortPulseMode(30,90,500,false) ); // Short pulse at 60% with 200ms pulse on anti-sync mode
        } else if (hour()>=14 && hour()<15) {
          //ReefAngel.PWM.SetDaylight ( ElseMode( 80,20, true) ); // Short pulse at 60% with 200m
          //ReefAngel.PWM.SetActinic( ElseMode(80,20,false) ); // Short pulse at 60% with 200ms pulse on anti-sync mode
          ReefAngel.PWM.SetDaylight ( GyreMode( 30, 100, 10, true) ); // Short pulse at 60% with 200m
          ReefAngel.PWM.SetActinic( GyreMode(30,100, 10, true) ); // Short pulse at 60% with 200ms pulse on anti-sync mode
        } else if (hour()>=15 && hour()<16) {
          ReefAngel.PWM.SetDaylight( SineMode(30,100,30,true)); //Ramp up to 70% in 10mins in sync mode
          ReefAngel.PWM.SetActinic( SineMode(30,100,30,true)); //Ramp up to 70% in 10mins in sync mode   
        } else if (hour()>=16 && hour()<17) {
          ReefAngel.PWM.SetDaylight( NutrientTransportMode(30,100,250,true) );
          ReefAngel.PWM.SetActinic( NutrientTransportMode(30,100,250,false) );
          //ReefAngel.PWM.SetDaylight( ElseMode(75,20,true) );
          //ReefAngel.PWM.SetActinic( ElseMode(75,20,false) );
          //ReefAngel.PWM.SetDaylight( ReefCrestMode(75,25,true) ); // ReefCrest at 70% +/- 20% on sync mode
          //ReefAngel.PWM.SetActinic( ReefCrestMode(75,25,false) ); // ReefCrest at 70% +/- 20% on anti-sync mode 
        } else if (hour()>=17 && hour ()<18) {
          ReefAngel.PWM.SetDaylight( SineMode(30,100,20, true)); //Ramp up to 70% in 10mins in sync mode
          ReefAngel.PWM.SetActinic( SineMode(30,100,20, false)); //Ramp up to 70% in 10mins in sync mode
        } else if (hour()>=18 && hour ()<19) {
          ReefAngel.PWM.SetDaylight( SineMode(30,100,180, true)); //Ramp up to 70% in 10mins in sync mode
          ReefAngel.PWM.SetActinic( SineMode(30,100,180, false)); //Ramp up to 70% in 10mins in sync mode//ReefAngel.PWM.SetDaylight( ShortPulseMode(10,100,200,true) ); // Short pulse at 60% with 200ms pulse on sync mode
          //ReefAngel.PWM.SetActinic( ShortPulseMode(10,100,200,false) ); // Short pulse at 60% with 200ms pulse on anti-sync mode           
        } else {
          //ReefAngel.PWM.SetDaylight (GyreMode(40,100,10,true) ); // Short pulse at 60% with 200m
          //ReefAngel.PWM.SetActinic(GyreMode(40,100,10,false) ); // Short pulse at 60% with 200ms pulse on anti-sync mode     
          //ReefAngel.PWM.SetDaylight ( ElseMode(80,20, true) ); // Short pulse at 60% with 200m
          //ReefAngel.PWM.SetActinic( ElseMode(80,20,false) ); // Short pulse at 60% with 200ms pulse on anti-sync mode
          ReefAngel.PWM.SetDaylight( SineMode(30,100,30,true)); //Ramp up to 70% in 10mins in sync mode
          ReefAngel.PWM.SetActinic( SineMode(30,100,30,true)); //Ramp up to 70% in 10mins in sync mode
        }   
    // If we are feeding override the schedule
        if (ReefAngel.DisplayedMenu==FEEDING_MODE)
        {
          ReefAngel.PWM.SetDaylight(30);
          ReefAngel.PWM.SetActinic(30);
          //Vortech
          ReefAngel.RF.SetMode( Constant,50,100 );     
          feeding=now();
        }
    // If we have finished feeding, start NTM for 3 hours
        if (now()-feeding < 3*SECS_PER_HOUR)
        {
          ReefAngel.PWM.SetDaylight( NutrientTransportMode(30,100,500,true) );
          ReefAngel.PWM.SetActinic( NutrientTransportMode(30,100,500,false) );
          //vortech
          ReefAngel.RF.SetMode(Smart_NTM,100,10);
        }
    //Do not use the memory bits inside the Vortech
         ReefAngel.RF.UseMemory = false;
    //Time based Vortech Schedule
    /*Used by the RF Expansion Module
          Vortech Modes
          Constant      0
          Lagoon	1
          ReefCrest	2
          ShortPulse	3
          LongPulse	4
          mart_NTM     5 // Nutrient Transport Mode
          Smart_TSM     6 // Tidal Swell Mode
          Storm         10
          Custom        11
          
          The function is SetMode(Mode,Speed,Duration) and the parameter are:

          Mode can be one of the following modes:
          * Constant
          * Random1 (Lagoonal)
          * Random2 (Reef Crest)
          * ShortWave (Short Pulse)
          * LongWave (Long Pulse)
          * Smart_NTM (Nutrient Transport Mode)
          * Smart_TSM (Tidal Swell Mode)
          * Storm (will only be available on the upcoming Dev libraries update or by using 10 instead of Storm)
          * Custom (will only be available on the upcoming Dev libraries update or by using 11 instead of Custom)
          
          Speed is a number from 0 through 100
          
          Duration is only applicable to ShortWave, LongWave and Smart_NTM and represent the following:
          ShortWave - tenths of a second
          LongWave - seconds
          Smart_NTM - tenths of a second
          
          The function for Custom mode is SetMode(Mode,Speed,Channel) and the parameter are:
          
          Mode: Custom
          
          Speed is a number from 0 through 100
          
          Channel:
          0 - Sync
          1- Anti-Sync
          2- Back of Tank
     */
        if (hour()>=9 && hour()<10) {
          ReefAngel.RF.SetMode(ReefCrest,100,10);
        } else if (hour()>=10 && hour()<11) {
          ReefAngel.RF.SetMode(Smart_TSM,100,10);
        } else if (hour()>=11 && hour()<12) {
          ReefAngel.RF.SetMode(ShortPulse,100,10);
        } else if (hour()>=12 && hour()<13) {
          ReefAngel.RF.SetMode(Smart_NTM,100,10);
        } else if (hour()>=13 && hour()<14) {     
          ReefAngel.RF.SetMode(Smart_TSM,100,10);
        } else if (hour()>=14 && hour()<15){
          ReefAngel.RF.SetMode(LongPulse,100,10);
        } else if (hour()>=15 && hour()<16) { 
          ReefAngel.RF.SetMode(ReefCrest,100,10);
        } else if (hour()>=16 && hour()<17) {
          ReefAngel.RF.SetMode(Smart_TSM,100,10);
        } else if (hour()>=17 && hour()<18) {
          ReefAngel.RF.SetMode(ShortPulse,100,10);
        } else if (hour()>=18 && hour()<19) {
          ReefAngel.RF.SetMode(Smart_NTM,100,10);
        } else if (hour()>=19 && hour()<20) {     
          ReefAngel.RF.SetMode(Smart_TSM,100,10);
        } else if (hour()>=20 && hour()<21){
          ReefAngel.RF.SetMode(LongPulse,100,10);
        } else {
          ReefAngel.RF.SetMode(Lagoon,75,1);
          //ReefAngel.RF.SetMode(Storm,100,1);
        }
    //Code to make Vodka Dosing Work one time a day for 11 mins 
    //Turn on at 8:00 AM
        ReefAngel.DosingPumpRepeat(Box1_Port6,480,1440,600);
    ///Code to make Vinegar Dosing Work 4 mins
        ReefAngel.DosingPumpRepeat(Box1_Port8,0,60,240);
    ///Do not turn on Vinegar if lights are off
        if (hour()<=8 || hour()>21) {
          ReefAngel.Relay.Off(Box1_Port8);
        } 
    //Code to make Magnesium Dosing Work
        ReefAngel.DosingPumpRepeat(Box1_Port4,15,60,240);
    //Code to check that the dosing pumps are running
    // *******************  Turn on imaginary relays for 5 minutes when dosing pumps activate so Portal can track them  *******************
    // Vinegar port
        if (ReefAngel.Relay.Status(Box1_Port8) && LastUpdate1==0)
        {
          LastUpdate1 = now();
          ReefAngel.Relay.On (Box2_Port1);
        }
        if (now() - LastUpdate1 >= 300 && LastUpdate1 != 0)
        {
          LastUpdate1 = 0;
          ReefAngel.Relay.Off (Box2_Port1);
        }
    // Magnesium Port
        if (ReefAngel.Relay.Status(Box1_Port4) && LastUpdate2==0)
        {
          LastUpdate2 = now();
          ReefAngel.Relay.On (Box2_Port2);
        }
        if (now() - LastUpdate2 >= 300 && LastUpdate2 != 0)
        {
          LastUpdate2 = 0;
          ReefAngel.Relay.Off (Box2_Port2);
        }
    // ATO Port
        if (ReefAngel.Relay.Status(Box1_Port7) && LastUpdate3==0)
        {
          LastUpdate3 = now();
          ReefAngel.Relay.On (Box2_Port3);
        }
        if (now() - LastUpdate3 >= 300 && LastUpdate3 != 0)
        {
          LastUpdate3 = 0;
          ReefAngel.Relay.Off (Box2_Port3);
        }
    ////// Place your custom code above here

    // This should always be the last line1
        ReefAngel.Portal("Paul_Velasco");
        ReefAngel.ShowInterface();
    }
Image
Paul_Velasco
Posts: 127
Joined: Thu Sep 19, 2013 7:46 am
Location: Saint Cloud, FL

Re: Freakin WiFi

Post by Paul_Velasco »

Noticed just now on the Portal I am getting this for a brief moment:

Connection Status: Error-0

It then connects but goes back to Aug 7th reading - Last Reading prior to my reset of the WIFI module
After a few minutes it will then update to the current values but no data in database
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Freakin WiFi

Post by rimai »

Maybe something is up with your alerts when I changed it to accept intervals.
Can you click edit on every single one of them and save just to make sure that the latest settings are applied?
You don't need to change anything if yo don't need to.
Let me know how it goes.
Roberto.
Paul_Velasco
Posts: 127
Joined: Thu Sep 19, 2013 7:46 am
Location: Saint Cloud, FL

Re: Freakin WiFi

Post by Paul_Velasco »

OK will try right now
Image
Paul_Velasco
Posts: 127
Joined: Thu Sep 19, 2013 7:46 am
Location: Saint Cloud, FL

Re: Freakin WiFi

Post by Paul_Velasco »

Somthing Happened?

Check Banner - Got all 0's or OFF
Image
Paul_Velasco
Posts: 127
Joined: Thu Sep 19, 2013 7:46 am
Location: Saint Cloud, FL

Re: Freakin WiFi

Post by Paul_Velasco »

When I logged in this time I had a weird thing happen, the "Reef Angel Reef Angel wifi address:" was incorrectly loaded???? I had to change in my profile and it worked after fixing.
Image
Paul_Velasco
Posts: 127
Joined: Thu Sep 19, 2013 7:46 am
Location: Saint Cloud, FL

Re: Freakin WiFi

Post by Paul_Velasco »

Now Portal is really Fubar?? All my modules are not showing in dashboard and everything is OFF or 0.
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Freakin WiFi

Post by rimai »

Do you know the internal ip address of your controller?
Can you browse to http://ipaddress:2000/r99
What does it return back?
Roberto.
Paul_Velasco
Posts: 127
Joined: Thu Sep 19, 2013 7:46 am
Location: Saint Cloud, FL

Re: Freakin WiFi

Post by Paul_Velasco »

Yes port forward and everything works:

192.168.1.3:(Forwarded Port) 2006
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Freakin WiFi

Post by rimai »

So, what do you get when you browse http://192.168.1.3:2006/r99 ?
Roberto.
Paul_Velasco
Posts: 127
Joined: Thu Sep 19, 2013 7:46 am
Location: Saint Cloud, FL

Re: Freakin WiFi

Post by Paul_Velasco »

Not at home right now. At work
Image
Paul_Velasco
Posts: 127
Joined: Thu Sep 19, 2013 7:46 am
Location: Saint Cloud, FL

Re: Freakin WiFi

Post by Paul_Velasco »

If i Browse this: (external IP):2006/r66

With this message:

This XML file does not appear to have any style information associated with it. The document tree is shown below.

Code: Select all

<RA><ID>Paul_Velasco</ID><T1>834</T1><T2>820</T2><T3>822</T3><PH>803</PH><R>191</R><RON>0</RON><ROFF>255</ROFF><R1>17</R1><RON1>0</RON1><ROFF1>255</ROFF1><R2>0</R2><RON2>0</RON2><ROFF2>255</ROFF2><R3>0</R3><RON3>0</RON3><ROFF3>255</ROFF3><R4>0</R4><RON4>0</RON4><ROFF4>255</ROFF4><R5>0</R5><RON5>0</RON5><ROFF5>255</ROFF5><R6>0</R6><RON6>0</RON6><ROFF6>255</ROFF6><R7>0</R7><RON7>0</RON7><ROFF7>255</ROFF7><R8>0</R8><RON8>0</RON8><ROFF8>255</ROFF8><ATOLOW>0</ATOLOW><ATOHIGH>0</ATOHIGH><EM>138</EM><EM1>2</EM1><REM>3</REM><BID>1</BID><AF>0</AF><SF>0</SF><PWMA>59</PWMA><PWMD>59</PWMD><PWMAO>255</PWMAO><PWMDO>255</PWMDO><SAL>126</SAL><WL>0</WL><WL1>20</WL1><WL2>54</WL2><WL3>25</WL3><WL4>49</WL4><DCM>0</DCM><DCS>50</DCS><DCD>50</DCD><DCT>0</DCT><RFM>4</RFM><RFS>100</RFS><RFD>10</RFD><RFW>0</RFW><RFRB>0</RFRB><RFR>0</RFR><RFG>0</RFG><RFB>0</RFB><RFI>0</RFI><RFWO>255</RFWO><RFRBO>255</RFRBO><RFRO>255</RFRO><RFGO>255</RFGO><RFBO>255</RFBO><RFIO>255</RFIO></RA>
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Freakin WiFi

Post by rimai »

Ok, so everything looks correct in there.
I wonder if your wifi attachment is not configured right.
Can you try configuring it again with tera term macro?
http://forum.reefangel.com/viewtopic.php?f=3&t=4601
Roberto.
Paul_Velasco
Posts: 127
Joined: Thu Sep 19, 2013 7:46 am
Location: Saint Cloud, FL

Re: Freakin WiFi

Post by Paul_Velasco »

ok will try

What is the correct baud rate for the port?
Image
Paul_Velasco
Posts: 127
Joined: Thu Sep 19, 2013 7:46 am
Location: Saint Cloud, FL

Re: Freakin WiFi

Post by Paul_Velasco »

here you go:
h1>Bad Request (Invalid Verb)</h1>HTTP/1.1 400 Bad Request
Content-Type: text/html
Date: Wed, 07 Oct 2015 22:40:19 GMT
Connection: close
Content-Length: 35

<h1>Bad Request (Invalid Verb)</h1>HTTP/1.1 400 Bad Request
Content-Type: text/html
Date: Wed, 07 Oct 2015 22:40:19 GMT
Connection: close
Content-Length: 35
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Freakin WiFi

Post by rimai »

You didn't do it correctly
Roberto.
Paul_Velasco
Posts: 127
Joined: Thu Sep 19, 2013 7:46 am
Location: Saint Cloud, FL

Re: Freakin WiFi

Post by Paul_Velasco »

<<<sendln>>> 'set c r 0'

Got this

What am I doing wrong?

Set Port to 57600
Set Serial Port in Tera Term to 57600
Change SSID
Change PW

Run Macro?
Image
Paul_Velasco
Posts: 127
Joined: Thu Sep 19, 2013 7:46 am
Location: Saint Cloud, FL

Re: Freakin WiFi

Post by Paul_Velasco »

This is the tera term return (xxx is to keep my info private)

Code: Select all

CMD
factory RESET
Set Factory Defaults
<4.00> reboot
*Reboot*CMD
set ftp address 198.175.253.161
AOK
<4.00> save
Storing in config
<4.00> set wlan ssid xxxxxx
AOK
<4.00> set wlan pass xxxxxx
AOK
<4.00> set option deviceid ReefAngelWifi
AOK
<4.00> set w j 1
AOK
<4.00> set c c 0
AOK
<4.00> set c r 0
AOK
<4.00> set c o 0
AOK
<4.00> set i d 1
AOK
<4.00> set c i 3
AOK
<4.00> set dns name www.reefangel.com
AOK
<4.00> set i h 198.171.134.6
AOK
<4.00> set i r 80
AOK
<4.00> set i f 0x06
AOK
<4.00> set s t 0x10
AOK
<4.00> GET /r99 HTTP/1.1
Host: 97.xxx.xxx.xxx:2006

HTTP/1.1 400 Bad Request
Content-Type: text/html
Date: Wed, 07 Oct 2015 22:50:08 GMT
Image
Paul_Velasco
Posts: 127
Joined: Thu Sep 19, 2013 7:46 am
Location: Saint Cloud, FL

Re: Freakin WiFi

Post by Paul_Velasco »

Please help now it does not connect to anythin:

Code: Select all

CMD
factory RESET
Set Factory Defaults
<4.00> reboot
*Reboot*CMD
set ftp address 198.175.253.161
AOK
<4.00> save
Storing in config
<4.00> set wlan ssid NETGEAR42
AOK
<4.00> set wlan pass fearlessapple006
AOK
<4.00> set option deviceid ReefAngelWifi
AOK
<4.00> set w j 1
AOK
<4.00> set c c 0
AOK
<4.00> set c r 0
AOK
<4.00> set c o 0
AOK
<4.00> set i d 1
AOK
<4.00> set c i 3
AOK
<4.00> set dns name www.reefangel.com
AOK
<4.00> set i h 198.171.134.6
AOK
<4.00> set i r 80
AOK
<4.00> set i f 0x06
AOK
<4.00> set s t 0x10
AOK
<4.00> set u m 2
AOK
<4.00> set i p 2
AOK
<4.00> set u b 57600
AOK
<4.00> set s p 0
AOK
<4.00> set c s 1420
AOK
<4.00> save
Storing in config
<4.00> save user
Storing in user
<4.00> reboot
*Reboot*GET /r99 HTTP/1.1
Host: 97.xxx.xxx.xxx:2006

GET /r99 HTTP/1.1
Host: 97.xxx.xxx.xxx:2006

HTTP/1.1 400 Bad Request
Content-Type: text/html
Date: Wed, 07 Oct 2015 23:00:45 GMT
Connection: close
Content-Length: 35
Image
Paul_Velasco
Posts: 127
Joined: Thu Sep 19, 2013 7:46 am
Location: Saint Cloud, FL

Re: Freakin WiFi

Post by Paul_Velasco »

Huh go figure it started working even with those errors?

The WebChart is not updating automatically but I can live with that.
Image
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Freakin WiFi

Post by lnevo »

Your banner is working. I would think you just need to wait for more data before the web chart updates again. You should be fine now if you check it.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Freakin WiFi

Post by rimai »

Yeah, I can see your webchart populating now for a few hours.
Roberto.
Paul_Velasco
Posts: 127
Joined: Thu Sep 19, 2013 7:46 am
Location: Saint Cloud, FL

Re: Freakin WiFi

Post by Paul_Velasco »

Roberto Thanks for the help!! I almost gave up last night.

Still not sure about the errors. My error logs are filling up.
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Freakin WiFi

Post by rimai »

The error you were getting seemed like you had a client trying to connect to your controller.
Do you have the client suite software trying to pull data?
Roberto.
Paul_Velasco
Posts: 127
Joined: Thu Sep 19, 2013 7:46 am
Location: Saint Cloud, FL

Re: Freakin WiFi

Post by Paul_Velasco »

Yes! Can not run Client Suite and Portal at same time?
Image
Post Reply