Unreachable Address in portal

Related to the Portal

Posts: 51
Joined: Sun Aug 20, 2017 6:19 am
PostPosted: Tue Aug 29, 2017 3:06 pm
When i type in the ip address and port into my browser, i receive current data, but when i go to graphs, i get no data error.
I get no information when i am logged in to the portal, "unreachable address."
I have downloaded the iphone app but no data there.
Am i missing something basic?

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 <PAR.h>
#include <ReefAngel.h>

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


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


void setup()
{
    // This must be the first line
    ReefAngel.Init();  //Initialize controller
    ReefAngel.SetTemperatureUnit( Celsius );  // set to Celsius Temperature

    ReefAngel.Use2014Screen();  // Let's use 2014 Screen
    ReefAngel.AddWaterLevelExpansion();  // Water Level Expansion Module
    // Ports toggled in Feeding Mode
    ReefAngel.FeedingModePorts = Port8Bit;
    ReefAngel.FeedingModePortsE[0] = Port1Bit | Port2Bit | Port4Bit | Port5Bit;
    // Ports toggled in Water Change Mode
    ReefAngel.WaterChangePorts = Port1Bit | Port5Bit | Port6Bit;
    ReefAngel.WaterChangePortsE[0] = Port1Bit | Port2Bit | Port4Bit | Port5Bit;
    // 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 | Port8Bit;
    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( 280 );


    // Ports that are always on
    ReefAngel.Relay.On( Port1 );
    ReefAngel.Relay.On( Box1_Port1 );
    ReefAngel.Relay.On( Box1_Port2 );
    ReefAngel.Relay.On( Box1_Port5 );

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

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

void loop()
{
    ReefAngel.PHControl( Port2,818,822 );
    ReefAngel.StandardLights( Port4,9,0,19,0 );
    ReefAngel.Relay.DelayedOn( Port5,1 );
    ReefAngel.WaterLevelATO( Port6,225,44,46 );
    ReefAngel.StandardHeater( Port7,255,265 );
    ReefAngel.Relay.DelayedOn( Port8,1 );
    ReefAngel.Relay.DelayedOn( Box1_Port4,1 );
    ////// Place your custom code below here
   

    ////// Place your custom code above here

    // This should always be the last line
    ReefAngel.Portal( "irieivan" );
    ReefAngel.ShowInterface();

Posts: 12327
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Tue Aug 29, 2017 4:12 pm
Looking at your other post, I can see that the firmware of the wifi attachment module needs to be updated.
Follow instructions here: viewtopic.php?f=3&t=4601
Roberto.

Posts: 51
Joined: Sun Aug 20, 2017 6:19 am
PostPosted: Tue Aug 29, 2017 4:49 pm
When I Open Tera I need to choose between TCP/IP (lots of options here I know nothing about) or serial. Which do I choose?

And where must wifi be plugged in to while I do this?

Posts: 51
Joined: Sun Aug 20, 2017 6:19 am
PostPosted: Tue Aug 29, 2017 5:02 pm
This is what I get in the tera window:

ã!¤É¶þÉþ?|h¦ ´ÍÎÎ>®¦???¤Û´~td=?ÞJ
Îî

Posts: 51
Joined: Sun Aug 20, 2017 6:19 am
PostPosted: Tue Aug 29, 2017 5:10 pm
and now this, it keeps saying start Wifly module configuration.= on a tera popup and no connection on the reef angel wifi attachment when I try and set it up. Nothing makes me feel as stupid as as this...it really feels like its two steps forward and three backwards:

CMD
factory RESET
Set Factory Defaults
<4.41> reboot
*Reboot*CMD
set ftp address 198.175.253.161
AOK
<4.41> save
Storing in config
<4.41> set wlan ssid IvanVoda
AOK
<4.41> set wlan pass 1
AOK
<4.41> set option deviceid ReefAngelWifi
AOK
<4.41> set w j 1
AOK
<4.41> set c c 0
AOK
<4.41> set c r 0
AOK
<4.41> set c o 0
AOK
<4.41> set i d 1
AOK
<4.41> set c i 3
AOK
<4.41> set dns name http://www.reefangel.com
AOK
<4.41> set i h 104.36.18.155
AOK
<4.41> set i r 80
AOK
<4.41> set i f 0x06
AOK
<4.41> set s t 0x10
AOK
<4.41> set u m 2
AOK
<4.41> set i p 2
AOK
<4.41> set u b 57600
AOK
<4.41> set s p 0
AOK
<4.41> set c s 1420
AOK
<4.41> save
Storing in config
<4.41> save user
Storing in user
<4.41> reboot
*Reboot*CMD
factory RESET
Set Factory Defaults
<4.41> reboot
*Reboot*CMD
set ftp address 198.175.253.161
AOK
<4.41> save
Storing in config
<4.41> set wlan ssid IvanVoda
AOK
<4.41> set wlan pass 1
AOK
<4.41> set option deviceid ReefAngelWifi
AOK
<4.41> set w j 1
AOK
<4.41> set c c 0
AOK
<4.41> set c r 0
AOK
<4.41> set c o 0
AOK
<4.41> set i d 1
AOK
<4.41> set c i 3
AOK
<4.41> set dns name http://www.reefangel.com
AOK
<4.41> set i h 104.36.18.155
AOK
<4.41> set i r 80
AOK
<4.41> set i f 0x06
AOK
<4.41> set s t 0x10
AOK
<4.41> set u m 2
AOK
<4.41> set i p 2
AOK
<4.41> set u b 57600
AOK
<4.41> set s p 0
AOK
<4.41> set c s 1420
AOK
<4.41> save
Storing in config
<4.41> save user
Storing in user
<4.41> reboot
*Reboot*CMD
factory RESET
Set Factory Defaults
<4.41> reboot

Posts: 51
Joined: Sun Aug 20, 2017 6:19 am
PostPosted: Tue Aug 29, 2017 5:40 pm
I close the wifi setup window, connect and I get the wifi set up, but when do I run the macro. If I first run the macro, and then go to wifi setup, I cannot get anything connected:


Opening Serial Port...
Verifying speed at 9600 baud
Connected to serial port COM3
> $$$
> set u b 57600
> set s p 0
> save
> reboot
Verifying speed at 57600 baud
Removing connection to COM3
Connected to serial port COM3
> $$$
< CMD
Wifi is communicating at 57600 baud rate

> reboot
< reboot
Removing connection to COM3
---------------------------------------------------------------------
Wifi Attachment Connected to COM3
---------------------------------------------------------------------

Opening Serial Port...
Connected to serial port COM3
> $$$
< CMD
> ls
< ls
<
< FL# SIZ FLAGS
< 2 86328 3 wifly-GSX-400
< 4 74920 3 web_app-GSX-106
< 7 46632 3 wps_app-GSX-131
< 9 66240 3 eap_app-GSX-101
< 11 37282 0 web_config.html
< 21 512 0 link.html
< 22 7268 0 logo.png
< 24 1052 10 config
< 25 1052 10 user
< 26 88548 3 wifly-GSX-441-r1057
< 27 88548 3 NO NAME
<
< 130 Free, Boot=26, Backup=2
< <4.41>
> load user
< load user
< AOK
< <4.41>
> save
< save
< Storing in config
< <4.41>
> save
< save
< Storing in config
< <4.41>
> set o d ReefAngelWifi
< set o d ReefAngelWifi
< AOK
< <4.41>
> set w l 5
< set w l 5
< AOK
< <4.41>
> set w s IvanVoda
< set w s IvanVoda
< AOK
< <4.41>
> set w p 1
< set w p 1
< AOK
< <4.41>
> set w k 00000000000000000000000000
< set w k 00000000000000000000000000
< AOK
< <4.41>
> set ftp address 198.175.253.161
< set ftp address 198.175.253.161
< AOK
< <4.41>
> save
< save
< Storing in config
< <4.41>
> reboot
< reboot
> $$$
< CMD
> show n
< show n
< SSid=IvanVoda
< Chan=5
< Assoc=OK
< Rate=12, 24Mb
< Auth=OK
< Mode=OPEN
< DHCP=OK,renew=64796
< Boot=2267
< Time=FAIL
< Links=1
< <4.41>
> get i
< get i
< IF=UP
< DHCP=ON
< IP=192.168.0.101:2000
< NM=255.255.255.0
< GW=192.168.0.1
< HOST=104.36.18.155:80
< PROTO=TCP,
< MTU=1524
< FLAGS=0x6
< TCPMODE=0x0
< BACKUP=0.0.0.0
< <4.41>
> reboot
< reboot
Removing connection to COM3
---------------------------------------------------------------------
Your Reef Angel Wifi Attachment is now configured with the settings provided.
---------------------------------------------------------------------

If the blue LED is still blinking, it means that the Reef Angel Wifi Attachment could not connect to your wifi network.

Found router R216

Port 2000 is now being forwarded to 192.168.0.101
Opening Serial Port...
** ERROR: Connecting to COM3
** Error inside Serial.<init>()
> $$$
** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

Opening Serial Port...
Verifying speed at 9600 baud
** ERROR: Connecting to COM3
** Error inside Serial.<init>()
** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

Opening Serial Port...
Verifying speed at 9600 baud
** ERROR: Connecting to COM3
** Error inside Serial.<init>()
** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

Posts: 12327
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Tue Aug 29, 2017 5:47 pm
It looks like everything is already all set.
It picked up an ip address: IP=192.168.0.101:2000
And the host has been updated: HOST=104.36.18.155:80
Just plug it into RA and wait 5 minutes.
The controller sends data to the portal every 5 minutes.
Roberto.

Posts: 51
Joined: Sun Aug 20, 2017 6:19 am
PostPosted: Tue Aug 29, 2017 5:51 pm
Thanks, that was hell

Posts: 51
Joined: Sun Aug 20, 2017 6:19 am
PostPosted: Tue Aug 29, 2017 5:57 pm
How do I get the app working on my phone now

Posts: 12327
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Tue Aug 29, 2017 6:21 pm
You need to setup port forwarding on your router.
If you don't want to setup port forwarding, you can get the new cloud wifi attachment that uses a cloud server to communicate and then there is no setup on your end.
All routers block incoming connections by default as it thinks it is an intruder. You must specify that you want to allow traffic on port 2000 to enter and forward it to your wifi attachment ip address.
Roberto.
Next

Return to Portal

Who is online

Users browsing this forum: No registered users and 1 guest

cron