Client send data to portal is dimmed
Client send data to portal is dimmed
Hello,
i'm trying to mace the Reefangel Client to send data to portal
but it's dimmed (cannot be enabled) from the settings
could someone advise
i'm trying to mace the Reefangel Client to send data to portal
but it's dimmed (cannot be enabled) from the settings
could someone advise
[img]/status/banner_3.aspx?id=waelaase&t=2[/img]
Re: Client send data to portal is dimmed
when i stopped the listener service
i'm able to enable the online settings
but when i try to save i got
object reference not set to an instance of an object and data is not saved
i'm able to enable the online settings
but when i try to save i got
object reference not set to an instance of an object and data is not saved
[img]/status/banner_3.aspx?id=waelaase&t=2[/img]
- DrewPalmer04
- Posts: 818
- Joined: Tue May 29, 2012 2:12 pm
- Location: Christopher, IL
Re: Client send data to portal is dimmed
stop both listener and logger...close the client suite..
Right click the icon and select "run as admin"
Try again and see if this helps you to save without error.
Right click the icon and select "run as admin"
Try again and see if this helps you to save without error.
- DrewPalmer04
- Posts: 818
- Joined: Tue May 29, 2012 2:12 pm
- Location: Christopher, IL
Re: Client send data to portal is dimmed
If that works you can go to properties and then check the box that tells the application to always run as admin
Re: Client send data to portal is dimmed
Hello DrewPalmer04
thank you for the reply
i stopped both Listener abd Logger service and then run the client and when entering the forum ID, i got the same problem even if i did not click the send parameters check box
by the way i have windows 7
thank you for the reply
i stopped both Listener abd Logger service and then run the client and when entering the forum ID, i got the same problem even if i did not click the send parameters check box
by the way i have windows 7
[img]/status/banner_3.aspx?id=waelaase&t=2[/img]
- DrewPalmer04
- Posts: 818
- Joined: Tue May 29, 2012 2:12 pm
- Location: Christopher, IL
Re: Client send data to portal is dimmed
did you try the "run as admin" when you right click the icon? win 7 still has this option.
Re: Client send data to portal is dimmed
Hello DrewPlamer04
yes this is what i tried and it's not working
yes this is what i tried and it's not working
[img]/status/banner_3.aspx?id=waelaase&t=2[/img]
- DrewPalmer04
- Posts: 818
- Joined: Tue May 29, 2012 2:12 pm
- Location: Christopher, IL
Re: Client send data to portal is dimmed
Which client white version are you running? There has been issues with the new version and libs.
- DrewPalmer04
- Posts: 818
- Joined: Tue May 29, 2012 2:12 pm
- Location: Christopher, IL
Re: Client send data to portal is dimmed
Of under 3.0.1 stop logger and listener. Completely uninstall then install this: https://github.com/davemolton/Client-Su ... ta_301.zip
Re: Client send data to portal is dimmed
Hello Again
i removed the old version
installed the one you provided and in the installation in selecting my lib
i got that #wifi is not defined
i completed the installation and i got the same error
in the client window i see version as follows
DB Version : 3.0
Dev Lib Version : 1.0.3
so i re-enabled the listener and i checked the config and i can see the online settings there although it's dimmed
i checked the webbanner and i see data
forum.reefangel.com/status/banner_3.aspx?id=waelaase
i'm not sure now should i keep listener running or not
i removed the old version
installed the one you provided and in the installation in selecting my lib
i got that #wifi is not defined
i completed the installation and i got the same error
in the client window i see version as follows
DB Version : 3.0
Dev Lib Version : 1.0.3
so i re-enabled the listener and i checked the config and i can see the online settings there although it's dimmed
i checked the webbanner and i see data
forum.reefangel.com/status/banner_3.aspx?id=waelaase
i'm not sure now should i keep listener running or not
[img]/status/banner_3.aspx?id=waelaase&t=2[/img]
Re: Client send data to portal is dimmed
Can you post the code from your ReefAngel Head unit?
Re: Client send data to portal is dimmed
Do you have the Reef Angel WiFi addon?
If you're using the Client to communicate with the controller over wifi, the application should not let you use the portal functionality. The Client will leave that responsibility to your controller and wifi addon.
The "Push parameters to reef angel portal" checkbox should only be enabled if the Client is setup for USB. In this scenario the controller cannot push your data to the portal and the Client (Specifically the Notification Service) will take over that responsibility.
So that checkbox is only enabled if you've got the Client Suite setup to communicate over USB. It won't be enabled for WiFi.
Additionally, for the Client to work, you need to enable the wifi addon from the Reef Angel Wizard. Even if you don't have it. The Client Suite Listener Service needs wifi code running on your controller to communicate with it properly, even over USB. From the Reef Angel Wizard, when you get to the step where you can choose available addons, enable the wifi checkbox even if you don't have it. Then leave the portal settings blank in the wizard and set them instead in the Client.
Also, I know its not documented or even obvious, but if you're on the settings screen in the Client you want to make sure the Listener/Logger/Notification services are all running/connected. You can tell because they should all be green in the bottom status bar. The Client will take the changes you make in the settings screen and pass them off to the individual services. Those services will then store the settings individually. If they're not running when you try to make a change, you will get an error and the settings won't be applied.
When I need to stop/restart the services here's the proper way to do it. Exit the Client window and start the Service Dashboard application that comes with the install and stop all the services. The proper way to start them is Listener first, then Logger, then Notification service. Though it should work no matter the order you start them, you can avoid potential issues by starting the Listener first then the other 2.
If you're using the Client to communicate with the controller over wifi, the application should not let you use the portal functionality. The Client will leave that responsibility to your controller and wifi addon.
The "Push parameters to reef angel portal" checkbox should only be enabled if the Client is setup for USB. In this scenario the controller cannot push your data to the portal and the Client (Specifically the Notification Service) will take over that responsibility.
So that checkbox is only enabled if you've got the Client Suite setup to communicate over USB. It won't be enabled for WiFi.
Additionally, for the Client to work, you need to enable the wifi addon from the Reef Angel Wizard. Even if you don't have it. The Client Suite Listener Service needs wifi code running on your controller to communicate with it properly, even over USB. From the Reef Angel Wizard, when you get to the step where you can choose available addons, enable the wifi checkbox even if you don't have it. Then leave the portal settings blank in the wizard and set them instead in the Client.
Also, I know its not documented or even obvious, but if you're on the settings screen in the Client you want to make sure the Listener/Logger/Notification services are all running/connected. You can tell because they should all be green in the bottom status bar. The Client will take the changes you make in the settings screen and pass them off to the individual services. Those services will then store the settings individually. If they're not running when you try to make a change, you will get an error and the settings won't be applied.
When I need to stop/restart the services here's the proper way to do it. Exit the Client window and start the Service Dashboard application that comes with the install and stop all the services. The proper way to start them is Listener first, then Logger, then Notification service. Though it should work no matter the order you start them, you can avoid potential issues by starting the Listener first then the other 2.
Re: Client send data to portal is dimmed
Hello
i have the wifi module but the portal is not working fine
so Roberto suggested that may be my internet provider is blocking the traffic
so he asked me to configure the client to do it and see if it works or not
here is my reef angel code
==============================================================================
#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 <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
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = Port6Bit | Port8Bit;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port7Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = Port1Bit | Port2Bit | Port3Bit;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port2Bit | Port3Bit | 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( 350 );
// Ports that are always on
ReefAngel.Relay.On( Port6 );
ReefAngel.Relay.On( Port8 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.StandardLights( Port1,9,0,22,0 );
ReefAngel.StandardLights( Port2,11,0,21,0 );
ReefAngel.StandardLights( Port3,15,0,19,0 );
ReefAngel.StandardLights( Port4,22,0,10,0 );
ReefAngel.StandardATO( Port5,60 );
ReefAngel.StandardHeater( Port7,250,320 );
ReefAngel.PWM.SetDaylight( MoonPhase() );
ReefAngel.PWM.SetActinic( MoonPhase() );
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "waelaase" );
ReefAngel.ShowInterface();
}
void DrawCustomMain()
{
int x,y;
char text[10];
// Parameters
#if defined DisplayLEDPWM && ! defined RemoveAllLights
ReefAngel.LCD.DrawMonitor( 15, 20, ReefAngel.Params,
ReefAngel.PWM.GetDaylightValue(), ReefAngel.PWM.GetActinicValue() );
#else // defined DisplayLEDPWM && ! defined RemoveAllLights
ReefAngel.LCD.DrawMonitor( 15, 20, ReefAngel.Params );
#endif // defined DisplayLEDPWM && ! defined RemoveAllLights
pingSerial();
// Water Level
ReefAngel.LCD.DrawText( COLOR_DARKGOLDENROD,DefaultBGColor,75,66, "WL:" );
ReefAngel.LCD.DrawText( COLOR_DARKGOLDENROD,DefaultBGColor,99,66, ReefAngel.WaterLevel.GetLevel() );
pingSerial();
// Main Relay Box
byte TempRelay = ReefAngel.Relay.RelayData;
TempRelay &= ReefAngel.Relay.RelayMaskOff;
TempRelay |= ReefAngel.Relay.RelayMaskOn;
ReefAngel.LCD.DrawOutletBox( 12, 92, TempRelay );
pingSerial();
// Date and Time
ReefAngel.LCD.DrawDate( 6, 122 );
pingSerial();
}
void DrawCustomGraph()
{
}
==============================================================================
i have the wifi module but the portal is not working fine
so Roberto suggested that may be my internet provider is blocking the traffic
so he asked me to configure the client to do it and see if it works or not
here is my reef angel code
==============================================================================
#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 <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
// Ports toggled in Feeding Mode
ReefAngel.FeedingModePorts = Port6Bit | Port8Bit;
// Ports toggled in Water Change Mode
ReefAngel.WaterChangePorts = Port7Bit;
// Ports toggled when Lights On / Off menu entry selected
ReefAngel.LightsOnPorts = Port1Bit | Port2Bit | Port3Bit;
// Ports turned off when Overheat temperature exceeded
ReefAngel.OverheatShutoffPorts = Port2Bit | Port3Bit | 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( 350 );
// Ports that are always on
ReefAngel.Relay.On( Port6 );
ReefAngel.Relay.On( Port8 );
////// Place additional initialization code below here
////// Place additional initialization code above here
}
void loop()
{
ReefAngel.StandardLights( Port1,9,0,22,0 );
ReefAngel.StandardLights( Port2,11,0,21,0 );
ReefAngel.StandardLights( Port3,15,0,19,0 );
ReefAngel.StandardLights( Port4,22,0,10,0 );
ReefAngel.StandardATO( Port5,60 );
ReefAngel.StandardHeater( Port7,250,320 );
ReefAngel.PWM.SetDaylight( MoonPhase() );
ReefAngel.PWM.SetActinic( MoonPhase() );
////// Place your custom code below here
////// Place your custom code above here
// This should always be the last line
ReefAngel.Portal( "waelaase" );
ReefAngel.ShowInterface();
}
void DrawCustomMain()
{
int x,y;
char text[10];
// Parameters
#if defined DisplayLEDPWM && ! defined RemoveAllLights
ReefAngel.LCD.DrawMonitor( 15, 20, ReefAngel.Params,
ReefAngel.PWM.GetDaylightValue(), ReefAngel.PWM.GetActinicValue() );
#else // defined DisplayLEDPWM && ! defined RemoveAllLights
ReefAngel.LCD.DrawMonitor( 15, 20, ReefAngel.Params );
#endif // defined DisplayLEDPWM && ! defined RemoveAllLights
pingSerial();
// Water Level
ReefAngel.LCD.DrawText( COLOR_DARKGOLDENROD,DefaultBGColor,75,66, "WL:" );
ReefAngel.LCD.DrawText( COLOR_DARKGOLDENROD,DefaultBGColor,99,66, ReefAngel.WaterLevel.GetLevel() );
pingSerial();
// Main Relay Box
byte TempRelay = ReefAngel.Relay.RelayData;
TempRelay &= ReefAngel.Relay.RelayMaskOff;
TempRelay |= ReefAngel.Relay.RelayMaskOn;
ReefAngel.LCD.DrawOutletBox( 12, 92, TempRelay );
pingSerial();
// Date and Time
ReefAngel.LCD.DrawDate( 6, 122 );
pingSerial();
}
void DrawCustomGraph()
{
}
==============================================================================
[img]/status/banner_3.aspx?id=waelaase&t=2[/img]
Re: Client send data to portal is dimmed
i tried to day to uninstall and reinstall the new version
while in the installation and when i select the library i got the following error
whoops. #define wifi" wasn't found in yuor ReefAngel_Features.h file. you should add it and reupload your sketch
could this be a problem
while in the installation and when i select the library i got the following error
whoops. #define wifi" wasn't found in yuor ReefAngel_Features.h file. you should add it and reupload your sketch
could this be a problem
[img]/status/banner_3.aspx?id=waelaase&t=2[/img]
Re: Client send data to portal is dimmed
Yes, you need to upload the code again and make sure the wifi is enabled by either using:
ReefAngel.AddWifi();
or
ReefAngel.Portal("username");
If you just compile the code, you should see the wifi feature detected.
ReefAngel.AddWifi();
or
ReefAngel.Portal("username");
If you just compile the code, you should see the wifi feature detected.
Roberto.