Just create two different ato and control them separately ? Apologies I have not read all the details, just skim through the post
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
The point was that if the first ATO malfunctions (snail stuck in flotor for example) the task of the second ato is to disable/veto the first one, or rather stops the pump.Just create two different ato and control them separately ? Apologies I have not read all the details, just skim through the post
It will probably not work, since the second sensor (B) will always trigger the pump if the water is below sensor B, but above sensor A, basically overriding sensor A.The point was that if the first ATO malfunctions (snail stuck in flotor for example) the task of the second ato is to disable/veto the first one, or rather stops the pump.
Does reef pi do that if I just point two separate ATO entities to the same equipment entity?
I guess what I mean is with sensors A and B is:
Pump runs iff NOT A AND NOT B
Sry, seems that I have been too quick to advise you. I hope this gets resolved.The point was that if the first ATO malfunctions (snail stuck in flotor for example) the task of the second ato is to disable/veto the first one, or rather stops the pump.
Does reef pi do that if I just point two separate ATO entities to the same equipment entity?
I guess what I mean is with sensors A and B is:
Pump runs iff NOT A AND NOT B
I’m pretty sure there’s ui bug that’s not syncing the ui state with backend data (api response in JavaScript console under network section should reveal it ). I’ll have to read through this when I have some time to decode the macro synchronization issue . There’s likely bug, and some of it might be as expected (locking), and we have to do some validation to avoid those . I have to reproduce this and the. Use the profiler to track them (locks/freeze) down . It will be fun work(I knew macro will bring this type of stuff, since it’s uncontrolled concurrency , unlike the stock ato, temp etc). But I need some time ….bit busy with some other things.. bare with me till then.Wait, what ?
Now my Pi reacts again, and the ATOs are correctly set (I did click the buttons a few times during the freeze though with no immediate reaction):
![]()
Notice though, that the "OneShot" on the ATOSafety does strangely disable.
Also: I now can't edit ATO B, which has reset its check frequency to the standard 60. That's seriously not nice behavior.
I also can't create new ATOs. Is that a UI bug ? Even clearing the Cach and reloading ReefPi didn't help :(
You should be able to use the same equipment, I think reef-pi won’t stop you from doing that, but then doing so can lead to locking things up inadvertently or by code bugs (I have track those down ). Hence it’s unsafe unless you know and tested what it’s supposed to do.The point was that if the first ATO malfunctions (snail stuck in flotor for example) the task of the second ato is to disable/veto the first one, or rather stops the pump.
Does reef pi do that if I just point two separate ATO entities to the same equipment entity?
I guess what I mean is with sensors A and B is:
Pump runs iff NOT A AND NOT B
Looks like these two black round things at the front might be audio jacks, could that be ? Then you have one for input and probably the out just to chain the next light to the same signal.Need some more eyes and suggestion on controlling a nicrew led 50w version with reef-pi. I have taken a couple runs at this and think I just have a non working unit but trying to see how to debug their board to see if there is something I can correct or fix. I have wired up a 0-10v control section light whats in the lighting guide - https://learn.adafruit.com/reef-pi-lighting-controller/circuit-construction and have verified that its all working via a meter, pwm controls take it from 0-10v. Supposed to be able to control the nicrew 50w and up lights with a 0-10v input, when I try to do it the lights do nothing. Here is a posting that calls out the wiring - https://www.reef2reef.com/threads/reef-pi-control-lighting.811639/post-8787689
I have taken the unit apart and did some continuity on the 0-10v board and I see 24v coming form the main board to the unit (to go to the out port) but I do not see the 0-10v input coming into the board and not sure what I can do to figure out where on the board could be the issue. Here are a couple pics of the board:
![]()
Backside:
![]()
Just not smart enough on the back side to know how to troubleshoot with a meter and maybe figure out the issue. If anyone has some suggestions or ideas let me know. I wanted to use this light in a new build and purchase a couple more but if I am unable to control them I not sure what to do at that point.
Thanks :)
I did some more playing around, it is using PWM to control the the lights, although its much less than the 0-10v range, looks like they are stepping it down somehow. Took some more pics but the front controls allow you to go from 5%, 20, 40, 60, 80, 100% increments and when I take measurements I can see the voltage so that is what they are doing is using PWM to control the lights. I can take measurements for the pins coming through and I get voltages from reef-pi but then when I take measurements from where the cable goes in and out I see no input, so something on the board is bad since I am getting no readings coming from the jacks.Looks like these two black round things at the front might be audio jacks, could that be ? Then you have one for input and probably the out just to chain the next light to the same signal.
My guess would be that the two ICs on the board simply take this 0-10V and turn it into a PWM. As you can see the white connector in the top corner has two lines called "PWMB" and "PWMC". I would not be surprised if those are the PWM signals for the two channels of blue and white.
Another thing: the Adafruit guide gives you a 10V PWM signal. If the light realy wants a smooth DC voltage, it might just not light up if you're unlucky. In that case only 0 and 100% should work, as they correspond to a smooth 0V or 10V signal.
Also: test with a multimeter if the polarity on the audio jack front are correct, e.g. that the sleeve is realy ground and that only the front two contacts carry the voltage and not the other way around.
Maybe open a separate thread, I would love to go more into detail, but I think a dedicated thread for this tinkering might be better :grinning-face-with-sweat:I did some more playing around, it is using PWM to control the the lights, although its much less than the 0-10v range, looks like they are stepping it down somehow. Took some more pics but the front controls allow you to go from 5%, 20, 40, 60, 80, 100% increments and when I take measurements I can see the voltage so that is what they are doing is using PWM to control the lights. I can take measurements for the pins coming through and I get voltages from reef-pi but then when I take measurements from where the cable goes in and out I see no input, so something on the board is bad since I am getting no readings coming from the jacks.
Here are some pics of the light board:
![]()
![]()
![]()
Thats my only guess, reef-pi is putting out voltages but it just not making it through the circuit and I am not smart enough to know what to look for, wish I could get a replacement board from them but I know the answer to that one. The other interesting thing is if you disconnect that input board the light will not come on, so it is using it as input.
Yeah thats fair, I'm just trying to figure out whats not right with that daughterboard, it's not taking 0-10v and thats a bummer...works through the front panel but not what I need, lol.Maybe open a separate thread, I would love to go more into detail, but I think a dedicated thread for this tinkering might be better :grinning-face-with-sweat:
I'm currently writing a separate thread where I collect my thoughts and your info. Give me few minutes :grinning-face:Yeah thats fair, I'm just trying to figure out whats not right with that daughterboard, it's not taking 0-10v and thats a bummer...works through the front panel but not what I need, lol.
yep...ANyone know if @theatrus is lurking around these days, would like to get his thoughts on this board I am trying to debug.
www.reef2reef.com
ANyone know if @theatrus is lurking around these days, would like to get his thoughts on this board I am trying to debug.
ANyone know if @theatrus is lurking around these days, would like to get his thoughts on this board I am trying to debug.
The original lighting guide goes over all of that, you may have to start at one of the original for the basic setups but you can find them here - https://learn.adafruit.com/reef-pi-installation-and-configuration there are many guides though but that is the starting point, here is the lighting guide - https://learn.adafruit.com/reef-pi-lighting-controllerThis thread is overwhelmingly long and a bit daunting to get through- Is there a link to a basic guide on how to set one of these up for PWM dimming? I have a few spare Raspberry Pi Model B's I can use for it with a PCA9685.