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

Sorry wasn’t trying to be vague as I don’t know the code or who has written it or what level of programming experience the developer has. I’ll go back to just reading the thread.

Have you checked out the github page - https://github.com/reef-pi/reef-pi that is where the code base is located and contains additional information concerning the code base.
 
Hi All - Been traveling on business and have had no time to play; As a result, my system has been running hands off for a month. Hate to re-hash this, but take a look at the memory over time. This is running on a Pi 3 B and is controlling temperature and device on/off functionality along with reporting.

Capture.PNG
It’s a slow memory increase over the course of a month, it’s still not a level that should cause alarm (less than 50%). I’ll wait for another month before concluding this is a leak (and reload reef-pi) . Since reef-pi stores a month worth of usage data in memory this is not unexpected (memory utilization to grow slowly over a period of month)
 
Hallow ranjib. Can Reef Pi be installed on Orange Pi?

Thanks
I don’t know, reef-pi builds are for arm6/7 and it expects raspberry pi like gpio layout. If those two bits are same as pi in orange pi, then reef-pi should run just fine, else it may need some build or code changes
 
Sorry wasn’t trying to be vague as I don’t know the code or who has written it or what level of programming experience the developer has. I’ll go back to just reading the thread.
The very first post in this thread and reef-pi website has repository details. It’s a standard github based open source project. It involved pretty standard stack of go based backend and react based front end. It’s very similar to professional software projects (or any good open source projects ) with full unit tests, integration tests, ci/cd pipeline and developer environment docs. Because it has all the standard bits, if you are new to any of this, it will be some learning. But at the same time you are learning fairly standard software development practices, which should be useful outside the scope of this project as well
 
I don’t know, reef-pi builds are for arm6/7 and it expects raspberry pi like gpio layout. If those two bits are same as pi in orange pi, then reef-pi should run just fine, else it may need some build or code changes

I expect a few things might differ or there are some hard baked assumptions about particular things (which I2C bus to use, etc). Worth trying and reporting back!
 
@Ranjib, I'm having a hard time to get the macros to work, I basically would like to have one to shut off the chiller and all pumps for 10 minutes for feeding and another for the same equipment for 30 minutes for maintenance.

Is there a bug? Or am I just doing it all wrong?
 
@Ranjib, I'm having a hard time to get the macros to work, I basically would like to have one to shut off the chiller and all pumps for 10 minutes for feeding and another for the same equipment for 30 minutes for maintenance.

Is there a bug? Or am I just doing it all wrong?

Here is my screenshot for my 5min feeding break, turns of my filter-

Screenshot at 2019-03-13 19-21-45.png


Yours probably looks similar but thought I would post.
 
Here is my screenshot for my 5min feeding break, turns of my filter-

Screenshot at 2019-03-13 19-21-45.png


Yours probably looks similar but thought I would post.

Thanks got mine working, I had to add the temperature probe that controls the chiller, which is set to check every 90 seconds, works great I'll add another for maintenance maybe 20 minutes.

IMG_20190314_174630.jpg
 
Hello everyone, greetings from Guatemala. After looking for ideas to build a controller for aquariums, since I spend all week outside my house and only return on weekends, I needed a way to keep my reef controlled and monitored. Reef-pi is excellent. Congratulations to all those involved in the development, especially the creator Ranjib.

I have two questions:

1. Monitoring by IO does not work for me Adafruit gives me this error:

Mar 15 11:39:21
{"error":"request failed - failed to save data to feed acuarioato-ato-reading. undefined method `\u003e' for nil:NilClass"}
Mar 15 11:39:19
{"error":"request failed - failed to save data to feed acuarioato-ato-usage. undefined method `\u003e' for nil:NilClass"}
Mar 15 11:39:20
{"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}
Mar 15 11:39:23
{"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}
Mar 15 11:39:21
{"error":"not found - API documentation can be found at https://io.adafruit.com/api/docs"}
Mar 15 11:39:23
{"error":"not found - API documentation can be found at https://io.adafruit.com/api/docs"}
upload_2019-3-15_11-42-22.png


2. How could we modify the croon to create simulation of tides with the web maker, since the minimum that can be set is one minute, we would need for example:

WAVE MAKER # 1 ON 5 sec
WAVE MAKER # 2 OFF 5 sec
next step
WAVE MAKER # 1 OFF 5 sec
WAVE MAKER # 2 ON 5 sec
and start the cycle again
This would be for a type of tide, could function as the controller of hydor


Thank you for taking the time to read my message, success to all!
 
Hello everyone, greetings from Guatemala. After looking for ideas to build a controller for aquariums, since I spend all week outside my house and only return on weekends, I needed a way to keep my reef controlled and monitored. Reef-pi is excellent. Congratulations to all those involved in the development, especially the creator Ranjib.

I have two questions:

1. Monitoring by IO does not work for me Adafruit gives me this error:

Mar 15 11:39:21
{"error":"request failed - failed to save data to feed acuarioato-ato-reading. undefined method `\u003e' for nil:NilClass"}
Mar 15 11:39:19
{"error":"request failed - failed to save data to feed acuarioato-ato-usage. undefined method `\u003e' for nil:NilClass"}
Mar 15 11:39:20
{"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}
Mar 15 11:39:23
{"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}
Mar 15 11:39:21
{"error":"not found - API documentation can be found at https://io.adafruit.com/api/docs"}
Mar 15 11:39:23
{"error":"not found - API documentation can be found at https://io.adafruit.com/api/docs"}
upload_2019-3-15_11-42-22.png


2. How could we modify the croon to create simulation of tides with the web maker, since the minimum that can be set is one minute, we would need for example:

WAVE MAKER # 1 ON 5 sec
WAVE MAKER # 2 OFF 5 sec
next step
WAVE MAKER # 1 OFF 5 sec
WAVE MAKER # 2 ON 5 sec
and start the cycle again
This would be for a type of tide, could function as the controller of hydor


Thank you for taking the time to read my message, success to all!

Welcome to reef2reef.
Can you tell us little bit about your setup? Share a screenshot of your adafruit feed. I think you have space or some special character in your equipment name or sensor names thats causing the adafruit issue.
The timer thing for wave maker should be fairly straight forward. Setup one timer for each of the wavemekaer, set the seconds fields 5 seconds apart for each of them, here is an example
Screen Shot 2019-03-16 at 4.04.35 PM.png
 
Hi all. I'm running through the tutorial and am not able to get the testjack lighting control to work. I have updated the config file with the 2 channel line and believe I have set up the overall config correctly. However, when I try to add a test jack I get the following message:
{"error":"Failed to create. Error: write /sys/class/pwm/pwmchip0/pwm0/period: invalid argument"} | HTTP 500
This seems to be a server side error.

Could anyone assist?
 
Hi all. I'm running through the tutorial and am not able to get the testjack lighting control to work. I have updated the config file with the 2 channel line and believe I have set up the overall config correctly. However, when I try to add a test jack I get the following message:
{"error":"Failed to create. Error: write /sys/class/pwm/pwmchip0/pwm0/period: invalid argument"} | HTTP 500
This seems to be a server side error.

Could anyone assist?
Have you enabled the pwm module in /boot/config.txt ? You have to reboot pi after that
 
Hi all. I'm running through the tutorial and am not able to get the testjack lighting control to work. I have updated the config file with the 2 channel line and believe I have set up the overall config correctly. However, when I try to add a test jack I get the following message:
{"error":"Failed to create. Error: write /sys/class/pwm/pwmchip0/pwm0/period: invalid argument"} | HTTP 500
This seems to be a server side error.

Could anyone assist?
Welcome to reef2reef :-)
 
Hi Ranjib. Thanks for the reply and for developing this software. I appreciate it.

My config.txt file finishes with this:

hdmi_force_hotplug=1
dtoverlay=w1-gpio
dtoverlay=pwm-2chan

I am using Pi zero with reef v2.3. Linux kernel is 4.14.
 
Last edited:
Hi Ranjib. Thanks for the reply and for developing this software. I appreciate it.

My config.txt file finishes with this:

hdmi_force_hotplug=1
dtoverlay=w1-gpio
dtoverlay=pwm-2chan

I am using Pi zero with reef v2.3. Linux kernel is 4.14.
In reef-pi settings, what do you have the pi pwm frequency set to?
 

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: 32 57.1%
  • Nah, I'll keep mine a secret...(Don't be like that, share with the class!)

    Votes: 24 42.9%
Back
Top
Home
Post thread…
Market
What's new