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

Quick question, since now two users have asked for this: a way to use a Raspberry Pi as a Hardware extension for a ReefPi on an x86 platform.

@Ranjib Couldn't we implement a driver that interfaces with the http-API of a ReefPi instance running on that Raspberry Pi ? Slight overkill on the software, but that might be the quickest solution to let a Raspberry Pi function as a hardware extension for an x86 platform.
I think we do that now but its a hack.. I am teaching myself React and in the planing of creating a custom dashboard that will include api calls out to my rasberry-p to activate macros and include iframes that have grafana metrics.
 
I think we do that now but its a hack.. I am teaching myself React and in the planing of creating a custom dashboard that will include api calls out to my rasberry-p to activate macros and include iframes that have grafana metrics.


API

API V3​

reef-pi provides http json API. Entire UI is powered by the API. API requests needs to be authenticated using session (cookie). He is an example of getting the list of equipment
curl -X POST -c cookie.txt -d '{"user":"reef-pi", "password":"reef-pi"}' http://reef-pi.local/auth/signin
curl -b cookie.txt http://reef-pi.local/api/equipment

Every reef-pi installation ships with its API doc, linked directly from the footer section of the app. A copy of verion 3.x API is accessible from here
 
I think we do that now but its a hack.. I am teaching myself React and in the planing of creating a custom dashboard that will include api calls out to my rasberry-p to activate macros and include iframes that have grafana metrics.
Nice idea !

What I was asking goes a bit deeper, a Reef-Pi to have a driver that basically imports all of another ReefPi's functionality, including temperature, pH, Inlets, Outlets and PWM.
 
Hi
Here again my lighting, which I will convert to ESP32.
As a result, I only need the 24 volt supply
 

Attachments

  • 69EDD00D-6720-4571-A2B4-A164BE3C1E04.jpeg
    69EDD00D-6720-4571-A2B4-A164BE3C1E04.jpeg
    165 KB · Views: 120
Quick question, since now two users have asked for this: a way to use a Raspberry Pi as a Hardware extension for a ReefPi on an x86 platform.

@Ranjib Couldn't we implement a driver that interfaces with the http-API of a ReefPi instance running on that Raspberry Pi ? Slight overkill on the software, but that might be the quickest solution to let a Raspberry Pi function as a hardware extension for an x86 platform.
Yes, and that is exactly what i want to do. But we have some additional work to do for this to be a long-term, good solution. The current HAL driver layer was designed exclusively for hardware interfacing, hence only covers connector api. Not ato, temperature, ph like full control loop. This means with the current hal driver it's not possible to have the client reef-pi to have ato, ph, etc, it can only provide outlet, jacks etc.. the control loop still has to run in the mothership reef-pi. This is not a good way to integrate client reef-pi. We want the ato, ph like control loop to be fully running on the client reef-pi and the mothership reef-pi should only be used for UI/clustering requirements.

This is the reason i have decided to take some time and do it properly, i,e. extend the hal layer to accommodate full control loops and then integrate client reef-pi's with those driver interfaces. I'll try my best to have this done in reef-pi 7.0, this year's major release. finger crossed.
 
Hi All, @Ranjib I'm testing Roberto Buti Ph Board with an ORP probe.
Which is the best way to calibrate this probe? I have 225mV calibration solution; ORP is a single value calbration.
Can I only enter 1 value in the calibration tab?
Like the photo below?
Thank you !
 

Attachments

  • orp.jpg
    orp.jpg
    24.6 KB · Views: 117
1675253954557.png


wow. my 5 cheap amazon ds18b20 temp sensors need some serious calibration work. they are hanging together in a 5 gallon bucket of water with the cheapest amazon heater with temp display, and another cheapest amazon digital temp monitor. the 2 "references" agreed the temp was 93F at the highest point in the above graph. my 5 dallas sensors agree on the temp when they say 68ish, but good grief :)

ice bath and boiling water checks next. anyone have better accuracy and/or precision from these things?

thanks.
 
1675253954557.png


wow. my 5 cheap amazon ds18b20 temp sensors need some serious calibration work. they are hanging together in a 5 gallon bucket of water with the cheapest amazon heater with temp display, and another cheapest amazon digital temp monitor. the 2 "references" agreed the temp was 93F at the highest point in the above graph. my 5 dallas sensors agree on the temp when they say 68ish, but good grief :)

ice bath and boiling water checks next. anyone have better accuracy and/or precision from these things?

thanks.
Not all fakes are equal, some are better than others. I usually get AZDelivery brand if I order fake chips and stuff from Amazon. Might not exist worldwide, look up which ones are reliable. Mine were actually pretty consistent with each other and within 1°C of the truth. They all didnt last very long though, finally got a sparkfun original now, well see whether that one dies too.

I repotted the fake ones from their metal housing into aquarium silicon inside of a tube, but they always had the legs of the chip package rust away inside of the potting after 12-18 months underwater.
 
Hello
I've had this one in the tank and two out by the pond for about 3 years with no problems
 

Attachments

  • 49336A5B-6784-4D99-950E-CFBFEE49A0DE.png
    49336A5B-6784-4D99-950E-CFBFEE49A0DE.png
    524.3 KB · Views: 120
Ranjib,

I noticed today that thermostat graphing for time in use the x axis has a problem. If you notice January is listed after February. I am not sure if this was addressed in 6. This issue is still on version 5.3.

Screenshot 2023-02-03 084201.png
 
Ranjib,

I noticed today that thermostat graphing for time in use the x axis has a problem. If you notice January is listed after February. I am not sure if this was addressed in 6. This issue is still on version 5.3.

Screenshot 2023-02-03 084201.png
Does browser refresh address this ? This was an old bug that I thought we fixed. Seeing it again after long time.
 
I could not check in time. The date has passed by the time I checked. I will keep my eye on it and keep you posted.
Thank you. I believe it’s fixed in 6.0
 
@Ranjib I am brand new to this reef thing. I haven’t even built up my new tank but ran across this as I was looking at the build I was doing and it’s perfect.

Excellent work and you should be proud. I’m in IT so supporting this since 2017, I applaud you.

My question, is everything at the adafruit site up to date. Particular Raspberry Pi, etc.

I’ll be looking to incorporate this into my new build from the start. I appreciate your time on this and hope to contribute to the project.
 
@Ranjib I am brand new to this reef thing. I haven’t even built up my new tank but ran across this as I was looking at the build I was doing and it’s perfect.

Excellent work and you should be proud. I’m in IT so supporting this since 2017, I applaud you.

My question, is everything at the adafruit site up to date. Particular Raspberry Pi, etc.

I’ll be looking to incorporate this into my new build from the start. I appreciate your time on this and hope to contribute to the project.
Thank you for the kind words. Everything in the adafruit site is not up to date. It’s been long since we updated the guides. But the overall process is pretty same and the software remained fairly similar . I’ll recommend get started , take it slow and ask us any question you may have. It will be easier if you create a build thread and we can see all relevant things related to your build in one place.
 
Finally decided to try to build a reef-pi as a fun project. Is there an updated shopping list anywhere? I want to make sure I get the correct pile of basic parts since the budget pack listed on adafruit is out of stock. Thanks!
 

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

    Votes: 13 43.3%
Back
Top
Home
Post thread…
Market
What's new