Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help me understand DC 1,2,3 vs 4,5,6,7
#1
Hello:
I recently set up my Robo-Tank/Reef-pi system and put my two return pumps under the control of DC 1 and DC 2 (through an IoT realay).  All worked pretty much as expected and the controls showed up under 'Outlets', which are available under 'Equipment', and I was able to create macros and timers to turn them on and off.  Very good.

Now, I would like to do the same thing using DC 4 and DC 5, but those outputs don't show up under 'Outlets'.  Instead, they are under 'Jacks', but I see no way to turn them on and off as I was able to do for DC 4 and DC 5.

Can someone help me understand the concept here?

Thanks,
Phil
Reply to top
#2
Hi Phil, in reef-pi outlets are to control any outputs via on/off and Jacks are used to control PWM outputs.

The DC ports are controlled via PWM pins so they can be added as an outlet or jack depending on what you're doing.

DC ports are good for dosing pumps, that's why I configured DC 4 - 7 as Jacks. Dosing pump and light module in reef-pi can only use Jacks.

So all you need to do is delete the Jacks and add back as outlets, then you can use them on the equipment tab.

Before deleting connectors always make sure it's not be used in reef-pi. For example if you have DC 1 on equipment tab and wanted to change as a Jack, first delete DC 1 from equipment then it's safe to delete from connectors.

Any time you make changes to connectors or anything on "configuration" tab you need to go to "admin" tab and press the "reload" button.
Reply to top
#3
OK: thanks--this solved that issue.

One follow up: I have my lights on two 0-10v outputs using Diurnal and they are working well. Sometimes, I like to light the tank up for
a few mins when the lights are off, so I wanted to create a macro to turn them on, but I see no way to do that. Under Macro, add steps, I see nothing about lighting. Is there some other way to do this?

Thanks,
Phil
Reply to top
#4
Great, unfortunately the only way to have the lights come on would be via a timer or you could setup a light mode, set it to manual and move the sliders when you want to turn it on manually.
Reply to top
#5
(06-20-2021, 04:35 PM)Rob F Wrote: Great, unfortunately the only way to have the lights come on would be via a timer or you could setup a light mode, set it to manual and move the sliders when you want to turn it on manually.
I tried the manual mode w/the sliders.  At first the lights came on and I though it had worked, but then the lights went out after a few mins.  Then they came back on.  Almost as if *both* programs were running and 'fighting' with each other.
Does that seem likely, or did I not set it up properly?
-Phil
Reply to top
#6
Hmm, I guess that could be possible if the program is always setting the modes every few seconds, unfortunately I'm not sure how it works internally. I'll do some playing tonight to see if I can get it working, I'll let you know.
Reply to top
#7
Sorry it took so long to get back, I tried some things but it didn't work, I was getting same results as you. Looks like it's not possible at this time.
Reply to top
#8
Rob:
Thanks for looking into this for me. Generalized macros would be a good feature for your software!

-Phil
Reply to top
#9
No problem, sorry I couldn't help. My version of macros are called custom rules, they should be good to cover any scenario and you can add temporary light modes that you can easily switch on/off.
Reply to top


Possibly Related Threads…
Thread Author Replies Views Last Post
  help with robo-tank app tutuss21 46 1,643 02-25-2022, 12:50 PM
Last Post: Rob F
  Help with pH board. im_jeremy5 13 536 02-01-2022, 04:13 PM
Last Post: Rob F
  PWM setup help Supernova 3 486 09-26-2021, 09:07 AM
Last Post: Rob F
  Help: Creating a series of events. RyanS 1 545 05-02-2021, 01:51 PM
Last Post: Rob F

Forum Jump:

Current time: 05-23-2022, 11:33 AM