Why does my RA go into feeding mode randomly

Basic / Standard Reef Angel hardware
aranax
Posts: 120
Joined: Thu Jun 02, 2011 11:54 pm

Re: Why does my RA go into feeding mode randomly

Post by aranax »

Hey guys,
Is there any other testing or data that you need to help us solve this? I'm at a loss at this point. I'd really like to get my tank running optimally again so any help you can provide would be appreciated. thanks.

Jeremiah
Image
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Why does my RA go into feeding mode randomly

Post by lnevo »

Has anyone tried downgrading the libraries. If its SW related it would help to know exactly which version introduced the issue.
aranax
Posts: 120
Joined: Thu Jun 02, 2011 11:54 pm

Re: Why does my RA go into feeding mode randomly

Post by aranax »

Going from 110 to 109 didn't compile for me. I was getting this compile error:

Code: Select all

The following features were automatically added:
Watchdog Timer
Version Menu

The following features were detected:
Dimming Signal
RF Expansion Module
Wifi Attachment
Custom Main Screen
Custom Variable
Extra Font - Medium Size (8x8 pixels)
Extra Font - Numbers Only - Large Font (8x16 pixels)
Date/Time Setup Menu
Relay Expansion Module
Custom Menu
Water Level Expansion Module
Moon Phase Label
Number of Relay Expansion Modules: 2
Number of Menu Options: 9
Lees_alteredv3_cleaned.cpp: In function 'void setup()':
Lees_alteredv3_cleaned:171: error: 'class ReefAngelClass' has no member named 'AddWaterLevelExpansion'
Then I copied ReefAngel.cpp and ReefAngel.h from 110 to 109 and I got this error:

Code: Select all

The following features were automatically added:
Watchdog Timer
Version Menu

The following features were detected:
Dimming Signal
RF Expansion Module
Wifi Attachment
Custom Main Screen
Custom Variable
Extra Font - Medium Size (8x8 pixels)
Extra Font - Numbers Only - Large Font (8x16 pixels)
Date/Time Setup Menu
Relay Expansion Module
Custom Menu
Water Level Expansion Module
Moon Phase Label
Number of Relay Expansion Modules: 2
Number of Menu Options: 9
In file included from Lees_alteredv3_cleaned.cpp:21:
C:\Users\jmaza\Documents\Arduino\libraries\ReefAngel/ReefAngel.h:108: error: 'RA_Wifi' does not name a type
Lees_alteredv3_cleaned.cpp: In function 'void setup()':
Lees_alteredv3_cleaned:170: error: 'class ReefAngelClass' has no member named 'InitMenu'
Lees_alteredv3_cleaned.cpp: In function 'void loop()':
Lees_alteredv3_cleaned:255: error: 'class ReefAngelClass' has no member named 'ShowInterface'
Lees_alteredv3_cleaned.cpp: In function 'void MenuEntry5()':
Lees_alteredv3_cleaned:471: error: 'class ReefAngelClass' has no member named 'DisplayMenuEntry'
Lees_alteredv3_cleaned.cpp: In function 'void MenuEntry6()':
Lees_alteredv3_cleaned:475: error: 'class ReefAngelClass' has no member named 'DisplayMenuEntry'
Lees_alteredv3_cleaned.cpp: In function 'void MenuEntry8()':
Lees_alteredv3_cleaned:482: error: 'class ReefAngelClass' has no member named 'SetupCalibrateWaterLevel'
Lees_alteredv3_cleaned.cpp: In function 'void MenuEntry9()':
Lees_alteredv3_cleaned:486: error: 'class ReefAngelClass' has no member named 'SetupDateTime'
Lees_alteredv3_cleaned.cpp: In function 'void DrawCustomMain()':
Lees_alteredv3_cleaned:497: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:498: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:506: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:519: error: 'class ReefAngelClass' has no member named 'Joystick'
Lees_alteredv3_cleaned:523: error: 'class ReefAngelClass' has no member named 'Joystick'
Lees_alteredv3_cleaned.cpp: In function 'void DrawCustomGraph()':
Lees_alteredv3_cleaned:534: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned.cpp: In function 'void DrawParams(int, int)':
Lees_alteredv3_cleaned:540: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:541: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:545: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:548: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:550: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:553: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned.cpp: In function 'void DrawStatus(int, int)':
Lees_alteredv3_cleaned:559: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:560: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:563: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:565: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:569: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:571: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:576: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:577: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:579: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:583: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:584: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:585: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:586: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:587: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:588: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:589: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:590: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:591: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:592: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:593: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:594: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:597: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:598: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:599: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:600: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:601: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:606: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:607: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:609: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned.cpp: In function 'void DrawSunMoon(int, int)':
Lees_alteredv3_cleaned:620: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:621: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:623: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:624: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:629: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:630: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:632: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:633: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:634: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:635: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:639: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:640: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:641: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:645: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:646: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:648: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned.cpp: In function 'void DrawRelays(int, int)':
Lees_alteredv3_cleaned:656: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:662: error: 'class ReefAngelClass' has no member named 'LCD'
Lees_alteredv3_cleaned:668: error: 'class ReefAngelClass' has no member named 'LCD'
Image
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Why does my RA go into feeding mode randomly

Post by lnevo »

Think you need to try a clean install...
aranax
Posts: 120
Joined: Thu Jun 02, 2011 11:54 pm

Re: Why does my RA go into feeding mode randomly

Post by aranax »

How do I do a clean install of libs 109? This install was semi-clean in that it was a new computer that I installed using libs 110 (most recent). I copied the appropriate files (moon, wifialert, etc.) and compiled successfully. I then downloaded libs 109 from a link in another post, unzipped files to my Arduino folder, renamed Library to Library_bak then renamed Library-109 (the name of unzipped libs) to Library. I relaunched Arduino, check libs version to confrim it said 109 then compiled and got these errors.

As a test I renamed everything back to "normal", relaunched Arduino, checked libs to confirm it said 110 and recompiled successfully.
Image
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Why does my RA go into feeding mode randomly

Post by lnevo »

The wifialert package has been updated to be compatible with 1.1.0, i think using the current version with the old library screwed up the package. Can you try a hard coded wizard version with 1.0.9 and see if you still have an issue. If it's good i'd recommend using the same ino on 1.1.0 to reproduce...my code is a hog using lots of custom memory locations and also if your using my RF custom mode could be contributing... I also do some weird things that could contribute if memory is set wrong including triggering feed mode in the vacation() function...
aranax
Posts: 120
Joined: Thu Jun 02, 2011 11:54 pm

Re: Why does my RA go into feeding mode randomly

Post by aranax »

Downgrading libs isn't going to be as turn key as I thought. What i did:

Fresh install
Renamed Library folder to Library_bak
Unzipped Libs 1.0.9 to Arduino folder and renamed to Library
Launched Arduino and confirmed the libs are 1.0.9
Ran Wizard and skipped to Generate Only (didn't upload)
Once code was on screen I hit Verify and got the compile error below:

Code: Select all


The following features were automatically added:
Watchdog Timer
Version Menu

The following features were detected:
RF Expansion Module
Wifi Attachment
Relay Expansion Module
2014 Main Screen
Extra Font - Medium Size (8x8 pixels)
Water Level Expansion Module
Number of Relay Expansion Modules: 1
Simple Menu
libsv9_test.cpp: In function 'void setup()':
libsv9_test:41: error: 'class ReefAngelClass' has no member named 'Use2014Screen'
libsv9_test:42: error: 'class ReefAngelClass' has no member named 'AddWaterLevelExpansion'
I'm assuming the install assumes libs 1.1.0 and thus adds certain lines to the generated code as needed.

I'm going to run a few tests; like reverting back to my original ino, using clean 1.1.0 Wizard generated code and reverting back to default code via Tools --> Restore Preloaded code. I just wanted to get this latest test out there. Thanks.

Jeremiah
Image
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Why does my RA go into feeding mode randomly

Post by lnevo »

Roberto,

Do you have an archive of the 1.0.9 install somewhere?

Jeremiah, was 1.0.9 definitely the version you had that was working?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Why does my RA go into feeding mode randomly

Post by rimai »

Roberto.
aranax
Posts: 120
Joined: Thu Jun 02, 2011 11:54 pm

Re: Why does my RA go into feeding mode randomly

Post by aranax »

Thanks Roberto.

To the guys that are having this issue: I confirmed that my issue is the same, in that, if I disconnect my RF unit the random feeding mode stops. That said, have you tried swapping/switching ports on the expansion hub? I was testing each port on my expansion unit and found that the issue has gone away (for now) if I plug my RF unit into one of the SIDE ports (the side with only 2 available ports). I only have 3 modules (RF, Relay and Single ATO) and I had all three plugged into the "bottom" (in my setup) ports, so I used 3 of the 4 on one side. I switched the RF to ports mentioned above and I have gone ~20 hours without issue (longest stretch w/o issue).

@ Robert et al - any thoughts as to why changing the expansion slot would fix the issue or is it likely just coincidence?

Jeremiah
Image
javisaman
Posts: 63
Joined: Thu Jun 30, 2011 7:27 am

Re: Why does my RA go into feeding mode randomly

Post by javisaman »

I tried switching the ports as well, though it was less frequent it still did happen. I remember a while back there being an issue with usb noise on the expansion hub causing the system to periodically shut down.
modulok
Posts: 166
Joined: Wed Oct 24, 2012 8:37 am

Re: Why does my RA go into feeding mode randomly

Post by modulok »

So for me all signs point to the RF module. Every time I unplug it I don't get any mysterious Feeding Modes. Can this be updated? Roberto I have the firmware that makes the RF module reset all the time. Probably flashed that around October.
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Why does my RA go into feeding mode randomly

Post by rimai »

Can you try the original one?
Attachments
update.zip
(408.13 KiB) Downloaded 456 times
Roberto.
Paul_Velasco
Posts: 127
Joined: Thu Sep 19, 2013 7:46 am
Location: Saint Cloud, FL

Re: Why does my RA go into feeding mode randomly

Post by Paul_Velasco »

Any ideas?
I just installed my unit and getting random feed mode
Fresh install
Rf module

I took everything off feed mode
Could it be that I have my vortech WES's plugged into relay box? Should these be plugged into wall?
Image
Paul_Velasco
Posts: 127
Joined: Thu Sep 19, 2013 7:46 am
Location: Saint Cloud, FL

Re: Why does my RA go into feeding mode randomly

Post by Paul_Velasco »

Just to update:

I took the advice and plugged the USB side of the RF module into the side of the expansion module. Two days now and there is no random feed mode happening anymore. Both pumps are plugged into relay box and everything seems to be OK now? Solution who knows but it is working properly.
Image
modulok
Posts: 166
Joined: Wed Oct 24, 2012 8:37 am

Re: Why does my RA go into feeding mode randomly

Post by modulok »

Didn't update the RF unit yet, but tried other usb ports in the expansion hub. I even have the Vortech pumps turned off and I am still having the issue.
Image
javisaman
Posts: 63
Joined: Thu Jun 30, 2011 7:27 am

Re: Why does my RA go into feeding mode randomly

Post by javisaman »

Haven't looked at this thread in a while. I'm trying one of the usb ports on the side (2 usb ports) of the expansion module. One thing I noticed is wiggling the connector on the RF module causes all of the relays to go beserk, if I wiggle the other end of the usb port (on the expansion hub) nothing happens. There is something very fishy with this RF module. It maybe a bad cable and I can see what happens when I replace it. But it is definitely the RF module/usb that causing this issue.
Amos Poh
Posts: 107
Joined: Sun Jul 22, 2012 4:51 am
Location: Singapore

Re: Why does my RA go into feeding mode randomly

Post by Amos Poh »

i would agree that is has to be something to do with the RF module, every time when the controller goes berserk first thing i will check is the RF module connection.

Any idea how to solve this?
modulok
Posts: 166
Joined: Wed Oct 24, 2012 8:37 am

Re: Why does my RA go into feeding mode randomly

Post by modulok »

Has anyone ever figured this issue out? I still get random feeding modes happen throughout the day. I have just switched the feedmode ports to my unused ports, but it would be nice to work correctly.
Image
Post Reply