reef-pi :: An opensource reef tank controller based on Raspberry Pi.

I have been looking into this as well. Mars Aqua use 0-10v analog dimming . The dimmer is different than that ( on mine at least) They have VDM connection but this wiring should work.
I have read around some about the mars dimming, I don't see any success of dimming to 0 smoothly, and there quite bright at the 10 or 15% they start at which to me isn't worth it as I'd want it to go to 0 to get a nice sunrise sunset
 
ok, i2c-1 is present. Then reef-pi should not complain about it being absent. Lets check how you running reef-pi., What is the out put of this, this will restart reef-pi and we'll see what happens once it comes up.
Code:
sudo systemctl restart reef-pi.service
journalctl -fu reef-pi.service
Question, how you installed and started reef-pi? and what version you are using?

Code:
pi@reefpi:/dev $ sudo systemctl restart reef-pi.service
pi@reefpi:/dev $ journalctl -fu reef-pi.service
-- Logs begin at Sun 2018-11-18 18:53:58 CST. --
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 Setting GPIO Pin: 22 State: 1
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 Setting GPIO Pin: 23 State: 1
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 INFO: equipment subsystem: Finished syncing all equipment
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 Successfully started subsystem: equipment
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 Successfully started subsystem: timers
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 Successfully started subsystem: temperature
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 Successfully started subsystem: macro
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 reef-pi is up and running
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 Starting http server at: 0.0.0.0:80
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 Starting health checker
Nov 18 20:56:26 reefpi reef-pi[729]: 2018/11/18 20:56:26 Reading temperature from device: 28-021317e28caa
Nov 18 20:56:27 reefpi reef-pi[729]: 2018/11/18 20:56:27 temperature sub-system:  sensor Temperature Probe value: 74.3

I followed this guide: https://reef-pi.github.io/general-guides/install/

but used the latest 2.0.0 RC3


So the error is gone now. Thinking it was maybe because of a slow boot and wasn't ready yet I tried to restart it and now it's not coming up at all.
 
Code:
pi@reefpi:/dev $ sudo systemctl restart reef-pi.service
pi@reefpi:/dev $ journalctl -fu reef-pi.service
-- Logs begin at Sun 2018-11-18 18:53:58 CST. --
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 Setting GPIO Pin: 22 State: 1
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 Setting GPIO Pin: 23 State: 1
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 INFO: equipment subsystem: Finished syncing all equipment
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 Successfully started subsystem: equipment
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 Successfully started subsystem: timers
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 Successfully started subsystem: temperature
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 Successfully started subsystem: macro
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 reef-pi is up and running
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 Starting http server at: 0.0.0.0:80
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 Starting health checker
Nov 18 20:56:26 reefpi reef-pi[729]: 2018/11/18 20:56:26 Reading temperature from device: 28-021317e28caa
Nov 18 20:56:27 reefpi reef-pi[729]: 2018/11/18 20:56:27 temperature sub-system:  sensor Temperature Probe value: 74.3

I followed this guide: https://reef-pi.github.io/general-guides/install/

but used the latest 2.0.0 RC3


So the error is gone now. Thinking it was maybe because of a slow boot and wasn't ready yet I tried to restart it and now it's not coming up at all.
Good. I think i2c was not available when the error happened. raspi-config fixed that but reef-pi was not started. i2c is setup during device initialization, which is way early than reef-pi comes up. Anyway... just remember to use reef-pi config instead of hand editing /boot/config.txt, wherever you can since those params sometime changes from release to release. You have multiple i2c declarations in your config (not that they cause problem, but it gets confusing).
 
Code:
pi@reefpi:/dev $ sudo systemctl restart reef-pi.service
pi@reefpi:/dev $ journalctl -fu reef-pi.service
-- Logs begin at Sun 2018-11-18 18:53:58 CST. --
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 Setting GPIO Pin: 22 State: 1
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 Setting GPIO Pin: 23 State: 1
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 INFO: equipment subsystem: Finished syncing all equipment
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 Successfully started subsystem: equipment
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 Successfully started subsystem: timers
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 Successfully started subsystem: temperature
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 Successfully started subsystem: macro
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 reef-pi is up and running
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 Starting http server at: 0.0.0.0:80
Nov 18 20:56:11 reefpi reef-pi[729]: 2018/11/18 20:56:11 Starting health checker
Nov 18 20:56:26 reefpi reef-pi[729]: 2018/11/18 20:56:26 Reading temperature from device: 28-021317e28caa
Nov 18 20:56:27 reefpi reef-pi[729]: 2018/11/18 20:56:27 temperature sub-system:  sensor Temperature Probe value: 74.3

I followed this guide: https://reef-pi.github.io/general-guides/install/

but used the latest 2.0.0 RC3


So the error is gone now. Thinking it was maybe because of a slow boot and wasn't ready yet I tried to restart it and now it's not coming up at all.
Not coming up? You mean reef-pi is not working ? like web page is not working? The log shows it started and temperature probe is already working..
 
@Ranjib

Can a 2 wire temperature probe be used with reef pi?

I have 2 temperature probes:

like this from an old aqua controller 3
https://www.bulkreefsupply.com/temp...B-YzbzSGaSi7HXqvVKsDteOHm7NQ1xkhoCtcUQAvD_BwE

or this one from my reefkeeper which is a 2 wire temperature probe ( black and red ) with a molex connector

or do I have to use the reefpi temperature build?

Thank you
reef-pi can support multiple temperature probe. but these reefkeeper probes wont work, you'll need ds18b20 probes. They are lot cheaper though,
 
Not coming up? You mean reef-pi is not working ? like web page is not working? The log shows it started and temperature probe is already working..
No, it's fine now.

I was just thinking maybe it was waiting for a i2c at boot and it skipped it because it was slow and thus reefpi was throwing that error. But that wasn't the case. All is good now :)
 
Also, this thread is out of control (but that is a good thing).
A guy cant simply leave the country for two weeks without coming back and being 20+ pages and two releases behind.;Jawdrop

LOL. So much going on but so much useful info.

I just completed my Reef-pi brain box. With temp, ATO, power, and doser using the TB6612 motor driver. I used two DSUB connectors to run to the relay remote box and to my doser box. I still need to test the doser portion but am not sure how to configure the pwm outlets in reef-pi. I know it was posted somewhere in here how to set it up so I need to do some searching to find it.
483ed3f0882519ed20c59b3faf18cff9.jpg
 
LOL. So much going on but so much useful info.

I just completed my Reef-pi brain box. With temp, ATO, power, and doser using the TB6612 motor driver. I used two DSUB connectors to run to the relay remote box and to my doser box. I still need to test the doser portion but am not sure how to configure the pwm outlets in reef-pi. I know it was posted somewhere in here how to set it up so I need to do some searching to find it.
483ed3f0882519ed20c59b3faf18cff9.jpg
Dosing controller guide will be published soon, till then you can use this draft version. Make sure you have enabled pwm (explained in the very first guide).
@Diamond1 you may find this useful as well, i had to readjust the connections to retrofit my existing build (since I am using it to explain the build process).
 

Attachments

Dosing controller guide will be published soon, till then you can use this draft version. Make sure you have enabled pwm (explained in the very first guide).
@Diamond1 you may find this useful as well, i had to readjust the connections to retrofit my existing build (since I am using it to explain the build process).

Thanks so much for this it answered a few of my questions. I didn't know about programing the virtual equipment.
Very well written and easy to understand.
Unfortunately my new rpi is toast. It started acting funny today and went downhill from there now I cant get it to boot and when it's plugged in it is getting very hot. To the point of not being able to touch it. This happened after I took it out of the case, removed the pi hat and was messing with my temp probe.
I'll be ordering a new one this week.
 
LOL. So much going on but so much useful info.

I just completed my Reef-pi brain box. With temp, ATO, power, and doser using the TB6612 motor driver. I used two DSUB connectors to run to the relay remote box and to my doser box. I still need to test the doser portion but am not sure how to configure the pwm outlets in reef-pi. I know it was posted somewhere in here how to set it up so I need to do some searching to find it.
483ed3f0882519ed20c59b3faf18cff9.jpg

This looks great!
 
I am finally getting started with reef-pi

I have been going thru the guides but I am getting an issue now when creating a jack.

I get the following error:
upload_2018-11-18_23-26-2.png


I can create the light on the test without error but the light is off and nothing happened with dimmer:

upload_2018-11-18_23-28-23.png


What am i doing wrong?
 
Dosing controller guide will be published soon, till then you can use this draft version. Make sure you have enabled pwm (explained in the very first guide).
@Diamond1 you may find this useful as well, i had to readjust the connections to retrofit my existing build (since I am using it to explain the build process).

@Ranjib do you sleep lol. Thanks for this. I am a first time go! Tested with an LED and all works as expected. :)
 
I have been looking into this as well. Mars Aqua use 0-10v analog dimming . The dimmer is different than that ( on mine at least) They have VDM connection but this wiring should work.
As you said, it may be different on the Mars Aqua, but the SB light would not work when I had a RC filter on the circuit, so it is running on straight 10V PWM right now.
These do go below 10%, and if you start off with just blue, it works well as Sunset/Sunrise.
 
Paul, I love reading through your breeding posts. Did the clown pairs started spawning ?

Unfortunately NONE of my clownfish have spawned. I have around 8 pairs and you’d think those odds I have some action! But not...I just have to be patient. The reason is that they are just too young. Generally speaking, they need to be over 2yrs old. 3 of my pairs are just now getting to that point. I’m totally captivated with aquaculture and breeding marine ornamental critters. I got kinda bored with just corals so I bought a Clarkii pair as my very first clownfish. This was a couple of years ago. My other assorted clowns are still a little young to spawn.
 
I have had it with the stereo plugs! I had a 3rd one fail on me today. I dont know why these things are giving me such an issue but I have to fiddle with the plug, reboot, fiddle reboot, then it finally works and I dont dare move it. Two plugs no longer holds the male end tightly, one shorted internally, and the two I have mounted are so finicky I hate unplugging them unless I absolutely have to. I want something round because cutting square holes is a pain, otherwise I would do RJ11 or Molex. I am thinking about switching to Mini-DIN plugs If anyone has any other ideas I am all ears.

images
 
I have had it with the stereo plugs! I had a 3rd one fail on me today. I dont know why these things are giving me such an issue but I have to fiddle with the plug, reboot, fiddle reboot, then it finally works and I dont dare move it. Two plugs no longer holds the male end tightly, one shorted internally, and the two I have mounted are so finicky I hate unplugging them unless I absolutely have to. I want something round because cutting square holes is a pain, otherwise I would do RJ11 or Molex. I am thinking about switching to Mini-DIN plugs If anyone has any other ideas I am all ears.

images

@b4tn - Have you considered using waterproof round connectors instead of the standard speaker connectors?
I'm fairly sure you'll find something to use in this link...

https://www.digikey.com/products/en/connectors-interconnects/circular-connectors/436?FV=fffc0272,fffc02c4,ffe001b4&quantity=0&ColumnSort=1000011&page=1&k=waterproof+connector&pageSize=500&pkeyword=waterproof+connector

Or, if you prefer to move to RJ45, here are some other options...

https://www.digikey.com/products/en/connectors-interconnects/modular-connectors-adapters/379?utm_adgroup=Connectors & Interconnects

Here is another link to circular waterproof connectors. Oh, and if you do not find anything here, Mouser will probably have a good alternative.

https://www.mouser.com/search/refine.aspx?Ntk=P_MarCom&Ntt=152643603

If you find nothing to suit your application in either of the above links, hopefully you'll get some ideas, at least.
 
I have had it with the stereo plugs! I had a 3rd one fail on me today. I dont know why these things are giving me such an issue but I have to fiddle with the plug, reboot, fiddle reboot, then it finally works and I dont dare move it. Two plugs no longer holds the male end tightly, one shorted internally, and the two I have mounted are so finicky I hate unplugging them unless I absolutely have to. I want something round because cutting square holes is a pain, otherwise I would do RJ11 or Molex. I am thinking about switching to Mini-DIN plugs If anyone has any other ideas I am all ears.

images
I used this style, male and female panel mount non solder plugs and haven't had any issues with them. https://www.amazon.com/LUTIONS-8inc...s=3.5+plug&dpPl=1&dpID=41MgumQRW+L&ref=plSrch . If that isn't what you want, there is nothing saying you can't use terminal strips like https://www.amazon.com/Blue-Sea-Sys...nal+strips&dpPl=1&dpID=41dWHWEBPfL&ref=plSrch
 

TOP 10 Trending Threads

ARE YOU READY TO CONFESS TO CRAZIEST, DUMBEST, FUNNIEST THING YOU’VE EVER DONE IN REEFING?

  • Yeah, I'll confess! (Share your story in the comments!)

    Votes: 33 54.1%
  • Nah, I'll keep mine a secret...(Don't be like that, share with the class!)

    Votes: 28 45.9%
Back
Top
Home
Post thread…
Market
What's new