Carbon Vodka Dosing
-
- Posts: 126
- Joined: Thu Sep 19, 2013 7:46 am
- Location: Saint Cloud, FL
Re: Carbon Vodka Dosing
This vodka dosing is awesome. Just wanted to show off tank, controller, and doser.
(removed pictures,will resize later)
(removed pictures,will resize later)
Last edited by Paul_Velasco on Mon Nov 24, 2014 8:39 am, edited 1 time in total.
Re: Carbon Vodka Dosing
Just change the offset to 8hours and keep repeat 24 hours
DosingPumpRepeat(Box1_Port6,480,1440,660);
DosingPumpRepeat(Box1_Port6,480,1440,660);
Re: Carbon Vodka Dosing
Try thisPaul_Velasco wrote:I want to turn it on at 8 AM and bolus dose the vodka for 11 minutes. How would I tell the DosingPumpRepeat to do the dose at 8AM? That was the only way I could figure it out.
if (hour() ==8 && minute() == 00) { // At 8:00 am
ReefAngel.DosingPumpRepeat(Box1_Port6,0,0,660); // Dose Vodka for 11 minutes (660 seconds).
}
-
- Posts: 126
- Joined: Thu Sep 19, 2013 7:46 am
- Location: Saint Cloud, FL
Re: Carbon Vodka Dosing
Ahh so the offset is from midnight, 00? Mudcat1 will try yours as welllnevo wrote:Just change the offset to 8hours and keep repeat 24 hours
DosingPumpRepeat(Box1_Port6,480,1440,660);
How does the vinegar dosing part look? Only dose during lights on
Re: Carbon Vodka Dosing
Mudcat's wont work. It will only work the first minute. The vinegar one looked fine.
-
- Posts: 126
- Joined: Thu Sep 19, 2013 7:46 am
- Location: Saint Cloud, FL
Re: Carbon Vodka Dosing
The doser did not turn on today? Any thoughts?
Vinegar dosing relay is the last blue graph
Vinegar dosing relay is the last blue graph
Code: Select all
///Code to make Vinegar Dosing Work 4 mins
ReefAngel.DosingPumpRepeat(Box1_Port8,0,60,240);
///Do not turn on Vinegar if lights are off
if (hour()<=9 || hour()>21) {
ReefAngel.Relay.Off(Box1_Port8);
}
- Attachments
-
- Reef.jpg (34.64 KiB) Viewed 12577 times
-
- Posts: 126
- Joined: Thu Sep 19, 2013 7:46 am
- Location: Saint Cloud, FL
Re: Carbon Vodka Dosing
It turned on at Noon?
Instead of this code:
ReefAngel.DosingPumpRepeat(Box1_Port8,0,60,240);
Should it be this code:
ReefAngel.DosingPumpRepeat(Box1_Port8,540,60,240);
Turn on at 9AM?
What is the math on DosingPumpRepeat? Thought the reset was at midnight (00)?
Instead of this code:
ReefAngel.DosingPumpRepeat(Box1_Port8,0,60,240);
Should it be this code:
ReefAngel.DosingPumpRepeat(Box1_Port8,540,60,240);
Turn on at 9AM?
What is the math on DosingPumpRepeat? Thought the reset was at midnight (00)?
Re: Carbon Vodka Dosing
You will have to watch the dosing pump to see if it starts and runs at the desired time. I was told that if the relay is not running for at least 5 minutes it may not show up in the charts on the portal. At least that is what I have encountered when I run my dosing pumps for 140 seconds. Sometimes they show up in the charts sometimes they don't.
Re: Carbon Vodka Dosing
The first arg is the port, second is the offset from midnight. 3rd is runtime and last is the repeat time. As mudcat said the portal only gets updates every 5 minutes starting at last reboot. Sometimes that might capture your dosing pump, sometimes not.
-
- Posts: 126
- Joined: Thu Sep 19, 2013 7:46 am
- Location: Saint Cloud, FL
-
- Posts: 126
- Joined: Thu Sep 19, 2013 7:46 am
- Location: Saint Cloud, FL
Re: Carbon Vodka Dosing
Starting at 2PM want to start at 9AM? Having the portal send me an email everytime the relay triggers. Emails start at 2PM.
Any ideas?
Any ideas?
- Attachments
-
- Reef-1.jpg (45.94 KiB) Viewed 12636 times
Re: Carbon Vodka Dosing
Again the portal cannot send you reliable notifications like that. Your best method would be to use WiFiAlert to send an alert immediately. Are you using the first or second line that you posted above? I would recommend the second if you want it to start at 9am.
Re: Carbon Vodka Dosing
Here's a way you can track it. This is for 2 pumps. The way this works is when your dosing pump relays come on, this turns on relays in a "ghost" expansion relay for 5 minutes so the portal can track them. It is only good for seeing that the relays came on, not for the actual length of time they were on.
Put this up top in the globals section:
This goes in loop:
AlkPump and CalPump are the outlets your dosing pumps are on. VirtAlk and VirtCal are outlets on an expansion box that you don't actually have connected (yes, it works!).
I have one expansion relay(Box1) so I use Box2_Port1 and Box2_Port2 for my imaginary relays.
When your real pumps turn on, these imaginary relays turn on and stay on for 5 minutes and will show up on the portal tracking.
HTH,
--Colin
Put this up top in the globals section:
Code: Select all
unsigned long LastUpdate1=0; // For virtual dosing pumps
unsigned long LastUpdate2=0; // For virtual dosing pumps
Code: Select all
// ******************* Turn on imaginary relays for 5 minutes when dosing pumps activate so Portal can track them *******************
if (ReefAngel.Relay.Status(AlkPump) && LastUpdate1==0)
{
LastUpdate1 = now();
ReefAngel.Relay.On (VirtAlk);
}
if (now() - LastUpdate1 >= 300 && LastUpdate1 != 0)
{
LastUpdate1 = 0;
ReefAngel.Relay.Off (VirtAlk);
}
if (ReefAngel.Relay.Status(CalPump) && LastUpdate2==0)
{
LastUpdate2 = now();
ReefAngel.Relay.On (VirtCal);
}
if (now() - LastUpdate2 >= 300 && LastUpdate2 != 0)
{
LastUpdate2 = 0;
ReefAngel.Relay.Off (VirtCal);
}
I have one expansion relay(Box1) so I use Box2_Port1 and Box2_Port2 for my imaginary relays.
When your real pumps turn on, these imaginary relays turn on and stay on for 5 minutes and will show up on the portal tracking.
HTH,
--Colin
-
- Posts: 126
- Joined: Thu Sep 19, 2013 7:46 am
- Location: Saint Cloud, FL
Re: Carbon Vodka Dosing
Thanks for all the help!
Physically verified that the relays are turning on at 9am, do not show on portal
Will try above code to track
Happy turkey day to everyone
Physically verified that the relays are turning on at 9am, do not show on portal
Will try above code to track
Happy turkey day to everyone
-
- Posts: 126
- Joined: Thu Sep 19, 2013 7:46 am
- Location: Saint Cloud, FL
Re: Carbon Vodka Dosing
You're welcome!Paul_Velasco wrote:Cosmith71 works perfect!! TY
--Colin