Page 1 of 1
Reef Angel Dashboard w/ video integration
Posted: Mon May 06, 2013 11:49 am
by kirkwood
I am new to the RA board. Maybe this already exists. Can someone show me what the RA dashboard looks like? Can an ip camera be viewed in an RA dashboard?
I'm just referencing the "other guy" here to show what I'm talking about in case it isn't clear at all...
http://www.youtube.com/watch?v=l-lqHzOgPog
Re: Reef Angel Dashboard w/ video integration
Posted: Thu Jul 11, 2013 2:15 pm
by Sacohen
This is an image of the portal.
You can put an IP camera in it, but I have not figured out how to get it to work with my camera, because it needs a minimum of a username to access it.
The section to add the webcam is under portal settings.
Re: Reef Angel Dashboard w/ video integration
Posted: Fri Jul 12, 2013 8:20 am
by cosmith71
Here's another one showing the camera screen.
You can also check out the portal demo by clicking on Portal at the top of the screen.
--Colin
Re: Reef Angel Dashboard w/ video integration
Posted: Fri Jul 12, 2013 10:50 am
by rossbryant1956
Roberto, this needs a home and an away setting for those of us that cannot do port loopback.
Re: Reef Angel Dashboard w/ video integration
Posted: Fri Jul 12, 2013 12:33 pm
by lnevo
The portal is always away...how would the portal access your internal ip?
Re: Reef Angel Dashboard w/ video integration
Posted: Fri Jul 12, 2013 1:06 pm
by rossbryant1956
I wasn't clear. I view the portal from two locations. One from home and one from work. I have my 10.X address stored in the camera portal so that I can see it from home.
At work I cannot see the 10.X network, I would need to hit the 64.X network. At home I cannot see the 64.X network, only the 10.X
But you know, as I write this down I just decided this doesn't make sense to me either. Maybe I'll play with it some more this weekend.
Or maybe not...I just like to think up crazy stuff for Roberto and Lee to do!! (and others, thx all)
Re: Reef Angel Dashboard w/ video integration
Posted: Fri Jul 12, 2013 1:31 pm
by Sacohen
Sounds like you need a DNS name for the camera, like from no-ip.com.
Re: Reef Angel Dashboard w/ video integration
Posted: Fri Jul 12, 2013 1:39 pm
by lnevo
No he's got a nat loopback issue.
See if your router has a dns sever or you may need to run your own to solve the nat loopback issues...
Re: Reef Angel Dashboard w/ video integration
Posted: Fri Jul 12, 2013 2:31 pm
by rimai
That's what I have to do... Run my own dns server for internal network and lack of NAT loopback
Re: Reef Angel Dashboard w/ video integration
Posted: Fri Jul 12, 2013 2:33 pm
by rimai
You can also change the lmhost file. This would solve the problem for a single computer, but if that's the only one you are using, you will be fine.
I don't know how you would do that on android though
Re: Reef Angel Dashboard w/ video integration
Posted: Fri Jul 12, 2013 2:43 pm
by lnevo
Not without rooting it, then it would just be a simple edit of /etc/hosts
but then again they have the home/away profile..
But yes that might be a good solution for some. +1
Re: Reef Angel Dashboard w/ video integration
Posted: Wed Nov 27, 2013 11:27 am
by Bruz4023
Sacohen wrote:This is an image of the portal.
How do you get the DC pump section in the portal Mine doesnt show my DC pumps!
Re: Reef Angel Dashboard w/ video integration
Posted: Wed Nov 27, 2013 11:48 am
by Sacohen
You have to have the DCPump.h class in your code and then set your pumps to use that. You are probably still using the PWM code for your pump control.
Re: Reef Angel Dashboard w/ video integration
Posted: Wed Nov 27, 2013 4:17 pm
by Bruz4023
this is what i have it changes the flow very often! i have the DC pump class
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 <DCPump.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.Use2014Screen(); // Let's use 2014 Screen
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = Port5Bit | Port8Bit;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port5Bit | Port8Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = Port2Bit | Port3Bit | Port4Bit;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port7Bit;
// Use T1 probe as temperature and overheat functions
ReefAngel.TempProbe = T1_PROBE;
ReefAngel.OverheatProbe = T1_PROBE;
// Set the Overheat temperature setting
InternalMemory.OverheatTemp_write( 840 );
// Feeeding and Water Change mode speed
// ReefAngel.DCPump.FeedingSpeed=25;
// ReefAngel.DCPump.WaterChangeSpeed=25;
// Ports that are always on
ReefAngel.Relay.On( Port5 );
ReefAngel.Relay.On( Port6 );
ReefAngel.Relay.On( Port8 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.StandardATO( Port1,5000 );
ReefAngel.StandardLights( Port2,7,0,0,0 );
ReefAngel.StandardLights( Port3,7,0,22,0 );
ReefAngel.StandardLights( Port4,11,0,23,0 );
ReefAngel.StandardHeater( Port7,780,790 );
ReefAngel.PWM.SetChannel( 0, PWMSlope(7,0,23,0,0,100,90,0) );
ReefAngel.PWM.SetChannel( 1, PWMParabola(10,0,22,0,0,100,0) );
ReefAngel.PWM.SetChannel( 2, PWMParabola(8,30,20,0,0,100,0) );
ReefAngel.PWM.SetChannel( 3, PWMSlope(7,30,22,30,0,100,90,0) );
//Feed Mode Delay on Pump
static boolean feeding=false;
static unsigned long feedingstarted = now();
if (ReefAngel.DisplayedMenu==FEEDING_MODE)
{
if (!feeding)
{
feeding=true;
feedingstarted = now();
}
} else {
feeding=false;
}
///// Place your custom code below here
//IDK Rimai Posted
#define Mem_B_RFMode VarsStart+55
// Read memory for RF Wave Settings and use for Tunze/Jaebo
int mode; //=InternalMemory.RFMode_read();
int speed=InternalMemory.RFSpeed_read();
int duration=InternalMemory.RFDuration_read();
// Add random mode if we set to Mode to 12
static int rmode;
if (now()%1800==0) {
rmode=random(7); // Change the mode twice per hour to modes 0-6
}
static int RSpeed;
if (now()%900==0) {
RSpeed = random(40,75);
}
else if(RSpeed==0){
RSpeed = 80;
}
int DurMS;
int DurS;
if (now()%900==0) {
DurMS=random(250,500);
}
if (now()%900==0) {
DurS=random(2,15);
}
if (rmode==6) {
// Constant
ReefAngel.DCPump.UseMemory = false;
ReefAngel.DCPump.SetMode( Constant,RSpeed,10 );
ReefAngel.DCPump.DaylightChannel = Sync;
ReefAngel.DCPump.ActinicChannel = AntiSync;
}
else if (rmode==1) {
// Lagoon
ReefAngel.DCPump.UseMemory = false;
ReefAngel.DCPump.SetMode( Lagoon,RSpeed,10 );
ReefAngel.DCPump.DaylightChannel = Sync;
ReefAngel.DCPump.ActinicChannel = AntiSync;
} else if (rmode==2) {
// Reef Crest
ReefAngel.DCPump.UseMemory = false;
ReefAngel.DCPump.SetMode( ReefCrest,RSpeed,10 );
ReefAngel.DCPump.DaylightChannel = Sync;
ReefAngel.DCPump.ActinicChannel = AntiSync;
} else if (rmode==3) {
// Short Pulse
ReefAngel.DCPump.UseMemory = false;
ReefAngel.DCPump.SetMode( ShortPulse,RSpeed,DurMS );
ReefAngel.DCPump.DaylightChannel = Sync;
ReefAngel.DCPump.ActinicChannel = AntiSync;
} else if (rmode==0) {
// Long Pulse
ReefAngel.DCPump.UseMemory = false;
ReefAngel.DCPump.SetMode( LongPulse,RSpeed,DurS );
ReefAngel.DCPump.DaylightChannel = Sync;
ReefAngel.DCPump.ActinicChannel = AntiSync;
} else if (rmode==5) {
// Tidal Swell
ReefAngel.DCPump.UseMemory = false;
ReefAngel.DCPump.SetMode( TidalSwell,RSpeed,10 );
ReefAngel.DCPump.DaylightChannel = Sync;
ReefAngel.DCPump.ActinicChannel = AntiSync;
} else if (rmode==4) {
// Smart_NTM
ReefAngel.DCPump.UseMemory = false;
ReefAngel.DCPump.SetMode( NutrientTransport,RSpeed,250 );
ReefAngel.DCPump.DaylightChannel = Sync;
ReefAngel.DCPump.ActinicChannel = AntiSync;
}
// Add night mode (constant 30%)
if (now()%SECS_PER_DAY<30600 || now()%SECS_PER_DAY >=81000) { // Time is before 8:30am and after 10:30pm
// Long Pulse
ReefAngel.PWM.SetDaylight( LongPulseMode(0,40,20,true) );
ReefAngel.PWM.SetActinic( LongPulseMode(0 ,40,5,false) );
}
////// Place your custom code above here
// This should always be the last line
// This should always be the last line
ReefAngel.Portal( "Bruz4023" );
ReefAngel.ShowInterface();
}
Re: Reef Angel Dashboard w/ video integration
Posted: Thu Dec 12, 2013 9:34 am
by Bruz4023
no one had an answer for me?
Re: Reef Angel Dashboard w/ video integration
Posted: Thu Dec 12, 2013 10:20 am
by rimai
I don't think your controller is sending data to the portal.
The last update was 10/15/13.