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

Its not forgotten, secrets are not shown back by design. Its bit confusing UI, but they are preserved, so unless you are resetting it, they are set to the previous value, even if they sh
Its not forgotten, secrets are not shown back by design. Its bit confusing UI, but they are preserved, so unless you are resetting it, they are set to the previous value, even if they shown as empty in the UI .

Its not that I can't see it, it doesn't work. If I check only the email notifications and enter my credentials it works. If I uncheck email, and check adafruit.io and enter that information it works. BUT, if I leave email checked and check adafruit.io and enter that info, adafruit.io does not work. Or the other way around. If I enter adafruit.io first them also check email and set that up, only adafruit.io works. Whichever is checked and entered first. Once I click update and reload, the second thing I tried to enable unchecked.
 
Grafana dashboard from reef-pi metrics of one of my 4G pico reef tank.

The tank is in the workshop, without AC. Ambient temperature goes well over 90 in some days. I have a 12V fan as cooling devices and reef-pi does the whole temperature control. Its been pretty effective I think. I just readjusted the chiller threshold to 1 degree less and you can see the impact (top right panel). Fan can make almost 8-10F difference. ATO usage spikes up during the high temp+ Fan on period.
Screen Shot 2021-08-14 at 9.51.06 PM.png


reef-pi has the ability to detect under voltage for sometime, but that insight is only emitted as metric and not available straight from UI. that data is used for the bottom right chart. From next release onward we'll have the under voltage detection insights from UI directly (under errors section)
 
Its not forgotten, secrets are not shown back by design. Its bit confusing UI, but they are preserved, so unless you are resetting it, they are set to the previous value, even if they shown as empty in the UI .
Its not that I can't see it, it doesn't work. If I check only the email notifications and enter my credentials it works. If I uncheck email, and check adafruit.io and enter that information it works. BUT, if I leave email checked and check adafruit.io and enter that info, adafruit.io does not work. Or the other way around. If I enter adafruit.io first then also check email and set that up, only adafruit.io works. Whichever is checked and entered first. Once I click update and reload, the second thing I tried to enable unchecked.
 
Weird issue. Tried just now to enter the calibration menu for a ph probe and it didn't work. Like i hover over the "Calibrate" button, it highlights, i click, and nothing happens, the popup that used to appear just doesn't. Last patch i had to set the probe to disabled in the settings before i could calibrate, doesn't work now neither enabled nor disabled.

Creating a new driver, connector, and entry in the ph submenu doesn't help either

For my temperature probes it still shows up

The probe adapter still shows up in i2cdetect and i can still access it via console, still outputs values there, in reefpi too, just can't calibrate
 
Last edited:
Weird issue. Tried just now to enter the calibration menu for a ph probe and it didn't work. Like i hover over the "Calibrate" button, it highlights, i click, and nothing happens, the popup that used to appear just doesn't. Last patch i had to set the probe to disabled in the settings before i could calibrate, doesn't work now neither enabled nor disabled.

Creating a new driver, connector, and entry in the ph submenu doesn't help either

For my temperature probes it still shows up

The probe adapter still shows up in i2cdetect and i can still access it via console, still outputs values there, in reefpi too, just can't calibrate
i dont know if i informed earlier, the ph calibration modal was broken by mistake in 4.2, i have fixed it since then, it will be out in 4.3 (tomorrow likely). Till then either wait or use 4.1 for ph calibration
 
Some minor update.
Today i was able to successfully test Atlas Scientific RTD/platinum temperature probe with reef-pi. Since this probe (and the circuit) uses exactly same i2c protocol for reading the sensor data as the ph probe, I just added it under the ph module. And I was able to read temperature exactly same as ph and monitor/control things as usual. Following are the steps:
- Use atlas ezo rtd circuit. Configure it to use i2c mode, by shorting the PRB, RX pins, as specified in the atlas scientific RTC circuit guide
- Check the i2c address, for me it was 0xF6 , which translated to 106 in decimal
- In reef-pi add a new driver of type ph-ezo and address 106
- Add a new analog input with pin 0 and associate it with the new driver.
- Add a new ph probe under the ph module and associate it with the new analog input.

That's it,., the temperature in celsius will be monitored soon after that.

I had anticipated that this will be possible, i.e. the existing ezo ph driver should work with temperature and ORP probe but never tested it first hand, hence was not comfortable advocating it. Now that I have tested it personally (and will use it for one of my setups), I can recommend this. It also gives me more confidence that the ORP , EC (salinity), DO, O2, CO2 all those sensors will work seamlessly with the ph driver. Note, this only means taking the readings, users have to use atlas scientific library for all other operations.

I think this will be useful for those who are frustrated with ds18b20 issues. Thankfully its not been a issue for me, but for the rest we have option now.

I hope I'll get to update the docs before 5.0 release to include this (that reef-pi support ezo temperature probe).
 
Haven't set it up yet, but my plan is to set up an "ato" that triggers a macro. Instead of wiring it to a float, wire it to a button and tell it to check every 2 seconds or something. Thats my plan for a feed mode at least.
Exactly . That’s how I’ll go about it . Let us know how it goes.
For a more instant setup we need some kind of code that will call the api based on the switch state, and runs a much smaller frequent polling loop
 
I cannot get adafruit.io and email notifications working at the same time. I am on 4.2 although, I had this issue on 4.0 as well. I can check the email notifications box, enter my info, and I recieve emails. OR I can check adafruit.io and enter my adafruit.io info and that works, BUT I cannot do them both at the same time.

Whichever I enter first is the only one that will function.

For example, if I enter my email info and get it working, then check adafruit.io and enter that info, when I click update and reload reef-pi, adafruit.io will be unchecked when I return to the telemetry page and it will not function. Same if I do it the other way around. If I set up adafruit.io then try to get email working, adafruit.io is the only thing that will function.

This is huge for me as I work out of town for 2 days a week. I need those notifications. Also, with my isp blocking port 80 I cannot access reef-pi as a web server outside my home so adafruit.io is important to me as well.

Anyone else have this issue?
 
past weekend I redid one of my picos aio controller . To reduce clutter I replaced the two lm9685 that does 12v -> 5v and 12v-> 10v conversion with a single psu from matek system . This was lying around in my old electronic box. I had picked it up long back in 2018. These power distribution blocks are popular in drones. Overall it’s working well, I can run ato, temperature , ph , kessil all from a single


6BA89F30-D19C-4A6D-87E8-5AB53362C8AE.jpeg


power distribution block closeup:
FC7235C7-093C-424A-B271-8D51A0910B19.jpeg


I also took this opportunity to replace pi 3b with a pi 3a, which has lesser memory , but more power efficient and smaller in size.
 
Exactly . That’s how I’ll go about it . Let us know how it goes.
For a more instant setup we need some kind of code that will call the api based on the switch state, and runs a much smaller frequent polling loop
Yes, that works.

I had only just installed the pi and reef-pi, and it was only v3.0.

When I upgraded to current version the ability was there.

Now, I just need to put macro buttons onto the dashboard along with the current switch display :)
 
In 4
Yes, that works.

I had only just installed the pi and reef-pi, and it was only v3.0.

When I upgraded to current version the ability was there.

Now, I just need to put macro buttons onto the dashboard along with the current switch display :)
In 4.2 we introduced equipment panel that allows doing something similar with equipment. I can see us doing something similar with macro
 
It’s been long since I posted some actual reef tank shots in this thread. I’m slowly getting back to that :-)

one of my pico
8A4BCCAD-4DB5-41B2-8E51-A83F8BBF2520.jpeg


it has 5 different corals. With one of them being the invasive .
61585E02-1B9F-4D0F-AA34-45D3831FBA7F.jpeg

This grandis is almost 4 years old and started with a frag from my nano
62A18141-18D7-4BB7-961B-3349820FFB9D.jpeg

Cyphastrea on back wall
EE4A10A0-EFDD-4309-964C-AB5624C00AB7.jpeg


and some good old orange digi
6853BFC3-51AA-43BD-BA09-1FD97E048D84.jpeg
 
Hive minds,
I have cut another minor release 4.3, two days back (sorry about the late posting, was caught up with a pc build :) ). This is a minor release, i.e safe to upgrade for all 4.x users and has only a handful of bugfixes. 4.2 , the previous release was long overdue one, and as a result the changes that went in had more volume/pile up. Some UI bugs were introduced. If you are being impacted by those, please upgrade , otherwise you can ignore. It does bring some UI enhancements. Following are the highlights

Bugfixes:
  • Mobile devices that encountered UI errors (due to charts) are now fixed. Please let us know if there exist any mobile screen (in reasonably modern devices/software) that breaks in mobile devices.
  • The pH calibration modal war not working in 4.2 due to bug. This is fixed now
  • Chart UI improvements: Aspects like borders (removed), titles (removed module name), spacing are improved for better ui and functional alignments (since ph module is on its way to become a general purpose analog sensor controller)
Enhancements:
  • reef-pi's under-voltage detection system is now integrated with overall health module. i.e users can now see the last time under voltage occured through UI/API
  • Email alerts to include tank name: All alerts will now include tank name in the title section. This was my personal requirement to distinguish alerts from different tanks.
Chores
  • The frontend build system has been migrated from npm to a better, modern alternative, yarn. This improves better developer experience

Release builds can be found in usual location:

sincerely
ranjib
 
Just updated to v4.3 and have noticed that *sometimes* when I do a config reload, the power outlets turn off and stay off until I re-enable them manually.

Not sure if this is related specifically to 4.3 as I've not been up and running for long.
 
Hive minds,
I have cut another minor release 4.3, two days back (sorry about the late posting, was caught up with a pc build :) ). This is a minor release, i.e safe to upgrade for all 4.x users and has only a handful of bugfixes. 4.2 , the previous release was long overdue one, and as a result the changes that went in had more volume/pile up. Some UI bugs were introduced. If you are being impacted by those, please upgrade , otherwise you can ignore. It does bring some UI enhancements. Following are the highlights

Bugfixes:
  • Mobile devices that encountered UI errors (due to charts) are now fixed. Please let us know if there exist any mobile screen (in reasonably modern devices/software) that breaks in mobile devices.
  • The pH calibration modal war not working in 4.2 due to bug. This is fixed now
  • Chart UI improvements: Aspects like borders (removed), titles (removed module name), spacing are improved for better ui and functional alignments (since ph module is on its way to become a general purpose analog sensor controller)
Enhancements:
  • reef-pi's under-voltage detection system is now integrated with overall health module. i.e users can now see the last time under voltage occured through UI/API
  • Email alerts to include tank name: All alerts will now include tank name in the title section. This was my personal requirement to distinguish alerts from different tanks.
Chores
  • The frontend build system has been migrated from npm to a better, modern alternative, yarn. This improves better developer experience

Release builds can be found in usual location:

sincerely
ranjib
Upgrade done withoud problems .
When I open the pH section on my Huawei P20 lite smartphone and click the down arrow to open the screen, I get:

reef-piph

Something went wrong.​

TypeError: Cannot read property 'length' of undefined
in LineChart in div in u in div in i in Connect(i) in div in div in form in hd in Qn in WithFormik(hd) in li in l in l in ul in div in i in Connect(i) in i in div in div in div in div in i in Connect(i) in i in a
Aug-25-08:42,
 
Upgrade done withoud problems .
When I open the pH section on my Huawei P20 lite smartphone and click the down arrow to open the screen, I get:

reef-piph

Something went wrong.​

TypeError: Cannot read property 'length' of undefined
in LineChart in div in u in div in i in Connect(i) in div in div in form in hd in Qn in WithFormik(hd) in li in l in l in ul in div in i in Connect(i) in i in div in div in div in div in i in Connect(i) in i in a
Aug-25-08:42,
Can you also test this in landscape mode, I believe this is an old error that only occurs in portrait mode, and not only in ph, also in temperature..
 
Upgrade done withoud problems .
When I open the pH section on my Huawei P20 lite smartphone and click the down arrow to open the screen, I get:

reef-piph

Something went wrong.​

TypeError: Cannot read property 'length' of undefined
in LineChart in div in u in div in i in Connect(i) in div in div in form in hd in Qn in WithFormik(hd) in li in l in l in ul in div in i in Connect(i) in i in div in div in div in div in i in Connect(i) in i in a
Aug-25-08:42,
Did you reboot the pi and/or reload the site in browser ( reload, or more aggressively delete cache and reload)

That was the old issue, is fixed now for me with 4.3 after doing the above steps
 
Did you reboot the pi and/or reload the site in browser ( reload, or more aggressively delete cache and reload)

That was the old issue, is fixed now for me with 4.3 after doing the above steps
You don’t have to reboot the pi, a hard refresh (that clears the cache ) on browser should do the trick
 

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

    Votes: 16 38.1%
Back
Top
Home
Post thread…
Market
What's new