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

So this weekend I got My PH up and going. It was much easier than I thought it would be. I also 3D printed a few Float brakes/PH holder. Along with a water change made for a busy day. But as usual I am here for a little help. I have two levels in my sump a High level and a Low lever. I only want to get Alerts from the low level I use a stand alone ATO but I do want to know if for some reason its not topping off. When I set the Alerts up I was getting Alerts no matter what state the switch is in? and now I am not getting any alerts from it at all? I tried to reverse the switch also with no luck anyone else having issues with ATO alerts?

Thank you
There’s was a bug , i forgot to mention, this was found earlier by others, but I was not able to reproduce it. The bug will cause ato alert on disable to not work anytime after the first hour of operation :-/. It’s fixed now and will be shipped in next release
 
I'd give it a try, but the package doesn't compile on my machine.. not sure what the error was..

Rob, per the dev environment instructions. make deb

still fixing dependencies, but will try as soon as it's done
I recently introduced mp3 driver which now requires mp3 library installation and cross compilation setup. Easier route is to build the go binary on pi and do the rest (ui /asset and Debian packaging) on laptop/dev machine
 
Yeah I had not idea and none of the guides I was looking for mentioned anything about it, first time doing anything with yaml, I had no clue as usual.

I have Grafana up and working, wow there are a lot of options, this will take some time to absorb and figure out what are the best options for tracking stuff. Really neat stuff, thanks for making it available in the latest build.

:)

grafana.png
Yes. It is the de facto charting solution in the industry. Nothing compares it. The reef-pi built in dashboard will always be there, to get the job done, but this grafana /Prometheus integration be better than any other solution. Albeit it comes with its own learning curve and operations... but I think it’s worth it for anyone who is maintaining quiet a few iot things and want to get technical (in terms of charts and graphs )
 
Yes. It is the de facto charting solution in the industry. Nothing compares it. The reef-pi built in dashboard will always be there, to get the job done, but this grafana /Prometheus integration be better than any other solution. Albeit it comes with its own learning curve and operations... but I think it’s worth it for anyone who is maintaining quiet a few iot things and want to get technical (in terms of charts and graphs )
Something to remember is that you can setup alerts in grafana as well
 
I have Prometheus & Grafana running on my NAS.. Was stupid simple to setup that way.

Building the graphs definitely takes a while.


1587952879169.png
The ato usage telemetry was broken as a result graphs were not correct. Now it’s fixed and will be available in next release. Just an FYI
 
I have Prometheus & Grafana running on my NAS.. Was stupid simple to setup that way.

Building the graphs definitely takes a while.


1587952879169.png
On this note, it’s possible to make grafan dashboard configuration sharable, we have to improve reef-pi telemetry bits little bit better (to make consistent naming convention ) , that users should be able to import reef-pi dashboards in single click.. something we should work in future
 
My build stops due to an error with some audio driver?? Why would we need audio?

1587958162234.png
Because I have added a mp3 driver :-/ . Next release will allow users to click a button and play any mp3 file. I was hoping this to be used for alert (instead of buzzer) and possibly extended to provide tank summary ( like a button will read out how the tank is doing )
 
So... Anyone familiar with this error while setting up a pH probe? I've never seen it before.

It's on the connector tab in configuration. It's a setup using @Michael Lane 's pH board & it's saying there's no driver for pin 0.

I have him checking to make sure his driver is set up correctly at the right address & verifying the pH probe is being seen with i2cdetect, so *hopefully* that process may give some answers. But I'd never seen this error before & thought some people here may be able to weigh in.

1588026356894.png
 
So... Anyone familiar with this error while setting up a pH probe? I've never seen it before.

It's on the connector tab in configuration. It's a setup using @Michael Lane 's pH board & it's saying there's no driver for pin 0.

I have him checking to make sure his driver is set up correctly at the right address & verifying the pH probe is being seen with i2cdetect, so *hopefully* that process may give some answers. But I'd never seen this error before & thought some people here may be able to weigh in.

1588026356894.png

I get a similar error when trying to connect a camera.
 
https://github.com/hajimehoshi/oto/blob/master/README.md use the one that’s relevant for your platform

It is installed.. someone must have broke something.


Linux
libasound2-dev is required. On Ubuntu or Debian, run this command:
apt install libasound2-dev

terry@serge:~/go/src/github.com/reef-pi/reef-pi$ sudo apt install libasound2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libasound2-dev is already the newest version (1.2.2-2.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 
Last edited:
Run make deb, and that will generate a Debian package,

I don't have a Mac or Linux machine so have been trying hard with a Pi and Windows but so much to learn as I've never done anything like this. The development guide is nice but need to understand other things to use it.
 
I don't have a Mac or Linux machine so have been trying hard with a Pi and Windows but so much to learn as I've never done anything like this. The development guide is nice but need to understand other things to use it.

I get that.. sometimes the error messages make it pretty difficult to understand the failure..

This is the error I get trying to "make deb" on the pi4



pi@raspberrypi:~/go/src/github.com/reef-pi/reef-pi $ make deb
npm run ui
make: *** [Makefile:70: ui] Error 1



*** fixed this issue.. what next.. ;)
 
Last edited:
I get that.. sometimes the error messages make it pretty difficult to understand the failure..

This is the error I get trying to "make deb" on the pi4



pi@raspberrypi:~/go/src/github.com/reef-pi/reef-pi $ make deb
npm run ui
make: *** [Makefile:70: ui] Error 1



*** fixed this issue.. what next.. ;)

So just curious aare you guys trying to make the latest from github? Which version are you trying to make, pi-zero or pi? I can try to see if I can make, I used to have a build environment set up but need to poke at it, just wanted to understand what you are trying to make.

:)
 
it works fine on my raspberry pi 4, but not on my Kubuntu box.

I have the library installed on both, that's not the issue.. I compared the source on both machines, no difference there either.


I don't know..
 

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