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

I’ve been busy with the ph sensor support , particularly calibration for the ph board. Last week I got little distracted , with my old kessil controller build failing repeatedly . That made me work on the Prometheus integration. For the uninitiated , Prometheus is an open source metrics system that lets you store and query metrics. It’s one of the most popular and blessed by cncf (cloud native foundation ) project which makes it kind of de facto standard in software industry . In short it has a very nice ecosystem that we can leverage. So, I setup Prometheus server (to store and query metrics ), grafana ( to visualize those metrics ) and some coding work to expose reef-pi metrics (stuff like temperature , ph etc) , go runtime metrics (reef-pi software internals) and pi’s system metrics (Linux specific). The result was outstanding, now I have fully customizable (chart types, and metrics storage duration ) dashboard /metrics system. Very happy with the results, here are some samples

Reeftank charts
CBA97A57-6D39-4ABB-A3D8-C50D8332445C.png


Go runtime metrics (how the controller software itself doing)
D7449CAD-E598-4175-A5D9-947315330CF0.png

Pi metrics (Linux )
DC040A86-B549-426E-82C6-92720BF87CD5.png

And this is just 1% of what’s available out of the box

D73A7D40-7A84-45C2-8C6C-61A6C99BB5B5.png



Albeit this requires some additional setup/ hardware etc ... but for those who can do it, it opens up a host of possibilities. Due to limited hardware capabilities in pi and not having any cloud solution , reef-pi is limited and conservative about what charting capabilities it can offer. Those features will always be there, to preserve a minimal but effective out of the box user friendly experience , but this now opens up the metrics world for those who can set it up.

This is like watching an Italian movie. You have no idea what the characters are saying but the nudie scenes make you glad you watched the whole thing.
 
This is like watching an Italian movie. You have no idea what the characters are saying but the nudie scenes make you glad you watched the whole thing.

+1 - wonderfully stated!
 
Sorry if I missed it, but is the pH probe ready for testing?
No not yet. We have finished the driver development and its in master now, so you can hook up the probe and see readings in milivolts. I am working on the calibration support, which will add the logic to convert those milivolt numbers in ph values.. I'll keep you posted. But this is exactly what I am working on now,, its just I am also getting distracted with 2.0x bugs and some build issues sporadically..
 
Just trying to understand which UI are you referring too, being tied to having to use winblows for development, ugh *shudder*. I'm sure ots just me but these days I'm only using Windows when someone is paying me to use it, but interested to understand why it's the only option.

:)
Window is definitely not required for UI development.

The web UI for reef-pi is written with ReactJS and can be developed on Windows, as well as Linux ad MacOS. A lot of the back end bits were incompatible with Windows, but Go makes it feasible to implement OS-specific implementations pretty easily.
 
Window is definitely not required for UI development.

The web UI for reef-pi is written with ReactJS and can be developed on Windows, as well as Linux ad MacOS. A lot of the back end bits were incompatible with Windows, but Go makes it feasible to implement OS-specific implementations pretty easily.

That's what I thought but @Zekth comments threw me off, probably a joke in there etc and it flew right over my head, thanks.

:)
 
No not yet. We have finished the driver development and its in master now, so you can hook up the probe and see readings in milivolts. I am working on the calibration support, which will add the logic to convert those milivolt numbers in ph values.. I'll keep you posted. But this is exactly what I am working on now,, its just I am also getting distracted with 2.0x bugs and some build issues sporadically..

Thanks for all the work on this!
 
That's what I thought but @Zekth comments threw me off, probably a joke in there etc and it flew right over my head, thanks.

:)

Mmmm ? don't get it. For example i used to not be able to display some graphs on my windows dev env due to unavailable metrics. That's why i said that.
 
As an Amazon Associate we earn from qualifying purchases.
As an Amazon Associate we earn from qualifying purchases.
I just finished adding them. I have 4 sensors total in parallel now using the standard resistor. So far no issues. I would have paid more for the drok sensors just for the cable quality and length! These sensors are solid. I now have a display temp probe, sump temp, sump ambient, and house ambient.
 
I have a question. What is the best way to handle water changes and reef-pi? Should you just unplug it or what?

I built two water change macros. One to turn off everything I want off and another to turn it all back on in the order I want it back on. You could also just turn it off with the macro and have it all come back on after a certain time but I wanted to turn it on when I was done. Not wait for a timer
 
Is there a tutorial on making a macro? This is a challenge area for me.

I can take some screen shots of what I have in mine, but they are pretty simple. Turn temp monitoring off, turn filters off, turn heaters off, etc. Then I have a corresponding macoe that turns everything back on. I also have one with a timer to turn the filter off for feeding, then it automatically turns the filter on after 5min.
 
Prometheus integration

This is really great news. I am new to reef-pi but now I am even more excited to get it up and running. I think I will get it started on my daughter's freshwater tank while I wait for my reef tank to get going.
 

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