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

Can you reload reef-pi ?. There was a bug in rc-0 that when you rename a temperature sensor it wont recreate the feed. I have fixed it in rc-1. In older rc0 you have to reload/restart reef-pi to resolve this

I have reloaded several times. I just now updated reef-pi to the latest.

Oct 15 11:20:58 raspberrypi reef-pi[19457]: 2018/10/15 11:20:58 ERROR: Telemetry sub-system: Failed to create feed: sump temp-reading Error: {"error":["Name must be unique within the selected group","Key must be unique within the selecte
Oct 15 11:20:58 raspberrypi reef-pi[19457]: 2018/10/15 11:20:58 ERROR: Telemetry sub-system: Failed to create feed: tank temp-reading Error: {"error":["Name must be unique within the selected group","Key must be unique within the selecte
Oct 15 11:20:58 raspberrypi reef-pi[19457]: 2018/10/15 11:20:58 ERROR: Telemetry sub-system: Failed to create feed: room temp-reading Error: {"error":["Name must be unique within the selected group","Key must be unique within the selecte
Oct 15 11:20:59 raspberrypi reef-pi[19457]: 2018/10/15 11:20:59 Telemetry sub-system: Creating missing feed: tank temp-heater
Oct 15 11:20:59 raspberrypi reef-pi[19457]: 2018/10/15 11:20:59 Starting health checker
Oct 15 11:20:59 raspberrypi reef-pi[19457]: 2018/10/15 11:20:59 ERROR: Telemetry sub-system: Failed to create feed: tank temp-heater Error: {"error":["Name must be unique within the selected group","Key must be unique within the selected
Oct 15 11:21:03 raspberrypi reef-pi[19457]: 2018/10/15 11:21:03 ato sub-system: sensor ATO value: 1
Oct 15 11:21:04 raspberrypi reef-pi[19457]: 2018/10/15 11:21:04 Setting GPIO Pin: 5 State: 0
Oct 15 11:21:08 raspberrypi reef-pi[19457]: 2018/10/15 11:21:08 ato sub-system: sensor ATO value: 1
Oct 15 11:21:09 raspberrypi reef-pi[19457]: 2018/10/15 11:21:09 Setting GPIO Pin: 5 State: 0

ato usage.JPG
 
Last edited:
I have reloaded several times. I just now updated reef-pi to the latest.

Oct 15 11:20:58 raspberrypi reef-pi[19457]: 2018/10/15 11:20:58 ERROR: Telemetry sub-system: Failed to create feed: sump temp-reading Error: {"error":["Name must be unique within the selected group","Key must be unique within the selecte
Oct 15 11:20:58 raspberrypi reef-pi[19457]: 2018/10/15 11:20:58 ERROR: Telemetry sub-system: Failed to create feed: tank temp-reading Error: {"error":["Name must be unique within the selected group","Key must be unique within the selecte
Oct 15 11:20:58 raspberrypi reef-pi[19457]: 2018/10/15 11:20:58 ERROR: Telemetry sub-system: Failed to create feed: room temp-reading Error: {"error":["Name must be unique within the selected group","Key must be unique within the selecte
Oct 15 11:20:59 raspberrypi reef-pi[19457]: 2018/10/15 11:20:59 Telemetry sub-system: Creating missing feed: tank temp-heater
Oct 15 11:20:59 raspberrypi reef-pi[19457]: 2018/10/15 11:20:59 Starting health checker
Oct 15 11:20:59 raspberrypi reef-pi[19457]: 2018/10/15 11:20:59 ERROR: Telemetry sub-system: Failed to create feed: tank temp-heater Error: {"error":["Name must be unique within the selected group","Key must be unique within the selected
Oct 15 11:21:03 raspberrypi reef-pi[19457]: 2018/10/15 11:21:03 ato sub-system: sensor ATO value: 1
Oct 15 11:21:04 raspberrypi reef-pi[19457]: 2018/10/15 11:21:04 Setting GPIO Pin: 5 State: 0
Oct 15 11:21:08 raspberrypi reef-pi[19457]: 2018/10/15 11:21:08 ato sub-system: sensor ATO value: 1
Oct 15 11:21:09 raspberrypi reef-pi[19457]: 2018/10/15 11:21:09 Setting GPIO Pin: 5 State: 0

ato usage.JPG
I think this error is happening due to the temperature sensor name. Can you share following details:
- Scope of the telemetry issue: Do you see data for some of your sensors ? Like ato , ph or light etc? Only temperature data is missing? Or none of the sensor data is appearing in adafruit.io ?
- Name of your temperature sensors. Particularly the ones which has missing data. I think it has space in the name, and may be renaming the sensor to something else will fix it.
 
Is there any provisions to use current sensors to set alarm notifications. Thinking I would like to know if my return pump failed ie pulling high or no amps or if the lights failed. Seems like it could be done using these. https://www.sparkfun.com/products/11005
I am also interested in this. I hadn't considered the product you linked, I was thinking more about a custom relay controller with current monitoring. This looks like it might be more approachable, though. I don't think rpi has any analog inputs, so it would still need some additional external hardware. This will be interesting to consider after 2.o is complete.
 
Using
I am also interested in this. I hadn't considered the product you linked, I was thinking more about a custom relay controller with current monitoring. This looks like it might be more approachable, though. I don't think rpi has any analog inputs, so it would still need some additional external hardware. This will be interesting to consider after 2.o is complete.
Using a MCP3002 ADC and some of this code should get it in business https://github.com/commandtab/brewbot
 
@Ranjib if I have not yet, THANK YOU! for all the time, effort and sharing of this. I hope to understand how the coding works when I have time, but it has been 20+ years since my C+ and Quick/Visual Basic days. Have done some basic ardunio as well. Looked at the code and environment, hopefully will set it up sometime. Would you recommend any basic programming resources?
 
@Ranjib if I have not yet, THANK YOU! for all the time, effort and sharing of this. I hope to understand how the coding works when I have time, but it has been 20+ years since my C+ and Quick/Visual Basic days. Have done some basic ardunio as well. Looked at the code and environment, hopefully will set it up sometime. Would you recommend any basic programming resources?
I found the golang tour very helpful (https://tour.golang.org/welcome/1). The react documentation is fairly decent too. Outside of that, I think the reef-pi slack is a good choice for code specific questions or ideas(Ranjib can send you an invite if you are interested). I think we've been pretty good about sharing what we know and supporting each other in areas where we'd like to know more. I'm a professional developer, but I had never used go or react before starting to contribute to reef-pi. I think you'd get the hang of it pretty quickly based on the github page you linked.
 
Hi, I was fidling with the setting for dashboard and changed rows to 3. After clicking update and back to dashboard...the screen was just plain white. Had to reset the pi database for it to work again. Anybody else experiencing this?

Im running 2.0.0-rc1
 
Last edited:
Is there any provisions to use current sensors to set alarm notifications. Thinking I would like to know if my return pump failed ie pulling high or no amps or if the lights failed. Seems like it could be done using these. https://www.sparkfun.com/products/11005
hi there

i would stick it to my pump to see when i need to clean my filter. this is better than the flowmeter.
i have a freshwater aquarium and i build my reefpi setup in the next months
 
Been looking at a few things to get parts for my reef pi. I found these and was wondering if they would work with reef pi instead of building circuits on a bread board.
https://pi-plates.com/pi-plates-catalog/
They are stackable, modular and seem to have everything needed to build an AIO unit. Since I have limited experience with building stuff like this I was looking at this as a more plug and play option.
The DAQC and DC motor control plates look very promising. After pricing everything out from Ranjib's parts list the cost difference in negligible.
Any thoughts?
 
Hi, I was fidling with the setting for dashboard and changed rows to 3. After clicking update and back to dashboard...the screen was just plain white. Had to reset the pi database for it to work again. Anybody else experiencing this?

Im running 2.0.0-rc1
I have never encountered something like this. I’ll try to reproduce . Dashboard config should not be able to something like this
 
Been looking at a few things to get parts for my reef pi. I found these and was wondering if they would work with reef pi instead of building circuits on a bread board.
https://pi-plates.com/pi-plates-catalog/
They are stackable, modular and seem to have everything needed to build an AIO unit. Since I have limited experience with building stuff like this I was looking at this as a more plug and play option.
The DAQC and DC motor control plates look very promising. After pricing everything out from Ranjib's parts list the cost difference in negligible.
Any thoughts?
Wow, that could be a neat way forward right there. How did you find those?
 
@Ranjib if I have not yet, THANK YOU! for all the time, effort and sharing of this. I hope to understand how the coding works when I have time, but it has been 20+ years since my C+ and Quick/Visual Basic days. Have done some basic ardunio as well. Looked at the code and environment, hopefully will set it up sometime. Would you recommend any basic programming resources?
thank you for the kind words. As @Michael Lane mentioned, go should be very similar to C/C++ (simpler I would say). I'll also recommend not to start with the front end code(react/javascript) in the beginning. Take a small backend problem and solve that and then learn the next one..
 
Been looking at a few things to get parts for my reef pi. I found these and was wondering if they would work with reef pi instead of building circuits on a bread board.
https://pi-plates.com/pi-plates-catalog/
They are stackable, modular and seem to have everything needed to build an AIO unit. Since I have limited experience with building stuff like this I was looking at this as a more plug and play option.
The DAQC and DC motor control plates look very promising. After pricing everything out from Ranjib's parts list the cost difference in negligible.
Any thoughts?
hmm.. i'll be surprised if the price difference is negligible. Each of those boards cost around 40-50$ without ancillary things. reef-pi recommended list for the same should be under 20$. For example we recommend using a simple l293d mounted on a perm proto board for controlling peristaltic pumps, which should cost under 10$, similar feature (motor controller) would cost way higher in pi plate. Albeit these have more protection circuit etc.

One of the thing I have learned from researching all these boards is that they are for generic workload, if your requirements does not exactly fit the board's offering you are likely to spend more. For example the I/O board offers 12 analog inputs. I dont know if we need all of those, and if we do end up using all of those the overall build cost will go way higher... currently reef-pi should cost under 400-500$ with all the modules (power, light, ato, temp, ph, doser etc).. and can be built in a modular fashion.
 
Thanks for the reply Ranjib.
The Reef Pi I want to build won't have light controllers (I prefer T5s to LEDs and the relays would handle that) or ph monitoring although a salinity moniter would be cool. I just want to run ATO, power supply, temp monitoring and 2 dosing pumps.
The 3 boards and the pi would cost about 150 - 160 bucks and the only other expense would be the pumps, the electrical outlets, temperature sensor, ato sensor and some jacks, connectors and power supply for the whole thing. I can't see that costing more than another 100.
So i guess my question is would I be able to set up the reef pi software with said boards and make it work?
 
Thanks for the reply Ranjib.
The Reef Pi I want to build won't have light controllers (I prefer T5s to LEDs and the relays would handle that) or ph monitoring although a salinity moniter would be cool. I just want to run ATO, power supply, temp monitoring and 2 dosing pumps.
The 3 boards and the pi would cost about 150 - 160 bucks and the only other expense would be the pumps, the electrical outlets, temperature sensor, ato sensor and some jacks, connectors and power supply for the whole thing. I can't see that costing more than another 100.
So i guess my question is would I be able to set up the reef pi software with said boards and make it work?
it should, but i cant say for sure without testing one out. Because these boards have their own processor, I worry that they need a special code (for example they mention a specific python library) to use with these boards, in such cases its unlikely reef-pi will work.
 
Thanks for the reply Ranjib.
The Reef Pi I want to build won't have light controllers (I prefer T5s to LEDs and the relays would handle that) or ph monitoring although a salinity moniter would be cool. I just want to run ATO, power supply, temp monitoring and 2 dosing pumps.
The 3 boards and the pi would cost about 150 - 160 bucks and the only other expense would be the pumps, the electrical outlets, temperature sensor, ato sensor and some jacks, connectors and power supply for the whole thing. I can't see that costing more than another 100.
So i guess my question is would I be able to set up the reef pi software with said boards and make it work?
IMO it sounds like the Pi-HAT that @wykat designed is exactly what you are after (pic below). As you aren't doing lights you wouldn't need the PWM board (and I'm not sure if he has fixed the issues with that one yet) but the HAT has been tested and is ready to go.

You can upload the files and order it from JLPCB. I can't remember off the top of my head but the PCB and the components needed should be $10-20 or there abouts. You just need to solder the components onto the PCB and you get:
- 16 relay outlets
- 2 ATO sensors
- 2 Dosing pumps
- Multiple temp sensors

 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%
Back
Top