Search found 4253 matches

by lnevo
Tue Sep 18, 2012 4:13 am
Forum: How do I code ...
Topic: Sunrise / sunset code based on location
Replies: 135
Views: 97483

Sunrise / sunset code based on location

I pasted the minimum code needed already some posts back...theres no way to make it one function but its pretty close. Im no sure if binder is working on turning it into a class still...he's a pretty busy guy :) But it's pretty straightforward at this point. If you have questions setting it up let m...
by lnevo
Sun Sep 16, 2012 5:56 am
Forum: Standard
Topic: Dual PH Setup & Code
Replies: 9
Views: 6139

Dual PH Setup & Code

Change Relay.Off to ReefAngel.Relay.Off in that line.
by lnevo
Fri Sep 14, 2012 7:53 pm
Forum: For New Members
Topic: Development software for Linux
Replies: 15
Views: 10997

Development software for Linux

I don't remember the steps I did...but it was fairly straight forward getting setup on Ubuntu. I'm a UNIX admin, so maybe I can help getting an install shell script created...especially if curt can refresh me on the steps :)
by lnevo
Wed Sep 12, 2012 2:51 pm
Forum: How do I code ...
Topic: Two different feeding timers
Replies: 14
Views: 8472

Re: Two different feeding timers

Ok, so Jon, let's see how your test goes :)
by lnevo
Wed Sep 12, 2012 2:30 pm
Forum: How do I code ...
Topic: Two different feeding timers
Replies: 14
Views: 8472

Re: Two different feeding timers

Roberto, Issue is not regarding restarting... but if he sets the timer to 90 seconds... starts the timer and then changes the interval to 900, what's the affect on the running timer? none? then he's good to go... otherwise have to wait for timer to finish and reset the interval... I wasn't sure what...
by lnevo
Wed Sep 12, 2012 12:55 pm
Forum: How do I code ...
Topic: Two different feeding timers
Replies: 14
Views: 8472

Re: Two different feeding timers

Just one thing that I realized after I suggested that... need rimai or binder to chime in. I do not know what happens if you change the interval of the timer while it's running.. ? You may need to wait till the timer is over to reset the time... so maybe you start a second timer and when that's over...
by lnevo
Wed Sep 12, 2012 4:06 am
Forum: How do I code ...
Topic: Two different feeding timers
Replies: 14
Views: 8472

Two different feeding timers

How about another idea....in your loop when you want to trigger your auto feeder...change the feeding timer to the shorter amount, start feeding mode, then revert it back...this way you don't reinvent the wheel.. :)
Try adding this to your setup:

Code: Select all

ReefAngel.Timer[FEEDING_TIMER].SetInterval(900);
by lnevo
Tue Sep 11, 2012 6:40 pm
Forum: Development Libraries
Topic: ClientSuite
Replies: 10
Views: 9701

ClientSuite

+1 you guys all rock
by lnevo
Mon Sep 10, 2012 5:23 pm
Forum: How do I code ...
Topic: Two different feeding timers
Replies: 14
Views: 8472

Two different feeding timers

Why not copy what you need from the feeding mode start function into a FeedingModeStartCustom() function and set your timer for that function manually and call that with your autofeeder...
by lnevo
Sun Sep 09, 2012 8:13 pm
Forum: You and your tank
Topic: Pictures of RA setup
Replies: 4
Views: 8071

Pictures of RA setup

Velcro.. :)

Theres a thread already where i posted pictures of my setup...actually here's a more recent one since i added another mp40
ImageUploadedByTapatalk1347246811.408717.jpg
ImageUploadedByTapatalk1347246811.408717.jpg (70.59 KiB) Viewed 8068 times
by lnevo
Sat Sep 08, 2012 4:16 pm
Forum: For New Members
Topic: Got my controller,
Replies: 30
Views: 23390

Got my controller,

Yes only with the app. It does like half the screen..
by lnevo
Sat Sep 08, 2012 4:04 pm
Forum: For New Members
Topic: Got my controller,
Replies: 30
Views: 23390

Got my controller,

Yes only with the app. It does like half the screen..
by lnevo
Sat Sep 08, 2012 12:42 pm
Forum: For New Members
Topic: Got my controller,
Replies: 30
Views: 23390

Re: Got my controller,

OK. Finally after an almost all nighter of attempting to fix some bugs. I've converted all the operations in the RF mode to use InternalMemory. This means that I can change from portal, iPhone (if it didn't crash when I try to save the memory..) or from the Menu. I have full control from the menu wi...
by lnevo
Thu Sep 06, 2012 8:44 pm
Forum: How do I code ...
Topic: Modes from Phone
Replies: 9
Views: 5172

Modes from Phone

So i tested today with the url and it did the same thing...rf module looks to be in feed mode but mp40s stay... Then, i canceled the mode and tried from portal...now at this point im in smart_ntm and when i triggered feed mode from portal it went into feeding mode ok...all this while the lcd was sti...
by lnevo
Wed Sep 05, 2012 7:03 pm
Forum: Apps
Topic: Custom Menu Generator
Replies: 25
Views: 36630

Custom Menu Generator

Awesome!!!
by lnevo
Wed Sep 05, 2012 6:15 pm
Forum: How do I code ...
Topic: Modes from Phone
Replies: 9
Views: 5172

Modes from Phone

No, the vortech's did nothing or maybe then went right to nutrient transport, but i think they stayed the same... However i jut tested my theory on the screensaver so i took it out of screensaver, turned on feed mode and everything worked as expected... Take a look at my code http://forum.reefangel....
by lnevo
Wed Sep 05, 2012 4:15 pm
Forum: How do I code ...
Topic: Modes from Phone
Replies: 9
Views: 5172

Re: Modes from Phone

Well fish are eating... the skimmer did turn off and the RF module went into feeding mode, but vortech's did not... LCD screen was black... only way to wake up was to come out of feeding mode (hitting button) and then vortech's went into nutrient transport mode... I wonder if there is different beha...
by lnevo
Wed Sep 05, 2012 3:00 pm
Forum: How do I code ...
Topic: Modes from Phone
Replies: 9
Views: 5172

Modes from Phone

rimai wrote:Yes, please check the portal and also check with browser:
http://ipaddress:2000/mf
Does that trigger the mode, or give me an interface to trigger? If it triggers, which mode, and what's the URL for the other mode?

Will test tonight.
by lnevo
Wed Sep 05, 2012 10:38 am
Forum: How do I code ...
Topic: Modes from Phone
Replies: 9
Views: 5172

Re: Modes from Phone

From the controller it works fine. I don't know if the iPhone app is just triggering the relays or if it's calling FeedingModeStart() like the menu option on the controller.... Not sure if the Android app does similar... Not even sure the phone apps can even trigger the functions directly unless you...
by lnevo
Wed Sep 05, 2012 10:29 am
Forum: How do I code ...
Topic: Modes from Phone
Replies: 9
Views: 5172

Modes from Phone

I don't believe the iPhone app is triggering the Feeding Mode and Water change modes properly... The reason I say this is that the vortech's aren't going into feeding mode and the LCD never changes to the Feeding/Water change modes...however the relays are turning off/on. Can anyone else confirm thi...
by lnevo
Wed Sep 05, 2012 9:55 am
Forum: How do I code ...
Topic: Sunrise / sunset code based on location
Replies: 135
Views: 97483

Re: Sunrise / sunset code based on location

So the issue with latitude and longtitude was a bug that *I* introduced... In the original CalSun() function... latitude=dmsToSeconds(40,44,00); //United States of America- Salt Lake City, local time is -7 hours GMT longitude=dmsToSeconds(-111,47,00); Which I modified to use a globally declared lati...
by lnevo
Wed Sep 05, 2012 4:54 am
Forum: Ask anything here
Topic: New Site
Replies: 15
Views: 6334

New Site

Same as barbianj. I try to change the labels on variables. Click save and get the error.
by lnevo
Tue Sep 04, 2012 8:17 pm
Forum: For New Members
Topic: Got my controller,
Replies: 30
Views: 23390

Re: Got my controller,

Latest version... bugs fixed in Sunrise/Sunset. Still have some issues with Vortech controlling in feeding mode, etc. It doesn't change the DISPLAY_MODE when I go into feeding mode from my iphone app... and so the vortech never changes mode...but my skimmer goes off... not sure what's going on yet.....
by lnevo
Tue Sep 04, 2012 8:09 pm
Forum: Ask anything here
Topic: New Site
Replies: 15
Views: 6334

Re: New Site

Looks good. Can't change custom field variables though.. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly. Req...
by lnevo
Tue Sep 04, 2012 2:00 pm
Forum: How do I code ...
Topic: Sunrise / sunset code based on location
Replies: 135
Views: 97483

Re: Sunrise / sunset code based on location

Here's the code I changed in order to compile it as a standalone binary... this is not in real diff format, so you'll have to patch it manually... It is based on the code listed in post http://forum.reefangel.com/viewtopic.php?p=13419#p13419 > #include <test.h> > #include <stdio.h> > #include <unist...
by lnevo
Tue Sep 04, 2012 1:50 pm
Forum: How do I code ...
Topic: Sunrise / sunset code based on location
Replies: 135
Views: 97483

Re: Sunrise / sunset code based on location

OK, This should be the bug free working code. //By Matthew Hockin 2012. //SWFLTEK library functions, #includes, and #define were copied directly from the Epherma library //Epherma (SWFLTEK.com) was written by Michael Rice- thanks Michael it works great. //If you copy from this (its all open source) ...
by lnevo
Tue Sep 04, 2012 1:43 pm
Forum: How do I code ...
Topic: Sunrise / sunset code based on location
Replies: 135
Views: 97483

Re: Sunrise / sunset code based on location

So, after turning the calculations into a standalone binary, I found the cause of my concerns... The issue was that by declaring latitude and longitude as global variables... and then keeping this code in CalSun() latitude=ddToSeconds(latitude); longitude=ddToSeconds(longitude); I was continually re...
by lnevo
Sun Sep 02, 2012 6:31 pm
Forum: Standard
Topic: Random Date time change ?!
Replies: 14
Views: 8573

Random Date time change ?!

Yeah it was replaceable...
by lnevo
Sun Sep 02, 2012 5:48 pm
Forum: Standard
Topic: Random Date time change ?!
Replies: 14
Views: 8573

Re: Random Date time change ?!

Battery looked OK inside but I didn't get to test it with a multimeter to see if it had any juice...but definitely loosing date/time every time controller resets. What kind of battery is it and I'll get a replacement?
by lnevo
Fri Aug 31, 2012 7:10 pm
Forum: How do I code ...
Topic: Adding to code
Replies: 12
Views: 4800

Adding to code

You could use an expansion relay box to turn on the coffee machine and the toaster...