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

elysics

Valuable Member
View Badges
Joined
Jan 15, 2020
Messages
1,695
Reaction score
1,607
Rating - 0%
0   0   0
thats a chart time sorting bug due to me overlooking. I think i 'll fix it and re-release 5.3. Is there any other thing you found weird/unexpected? Thank you for testing it out and taking the time to report back the issue
Yeah i figured it was just a typo.

What was a remote IO error with the ph module in reefpi 5.1 is now a reported value of 0 (in the calibration menu). Not sure if that's intended, also the transform function is not applied to that 0. Calibration is applied to that 0 though, so it shows in the graph as 0.25 for me.


I kinda like the 0, means there's no missing time chunks in the graph, i just wish we could enforce graph scales
 
Last edited:

elysics

Valuable Member
View Badges
Joined
Jan 15, 2020
Messages
1,695
Reaction score
1,607
Rating - 0%
0   0   0
Oh and i removed a part of that comment again because i was confused with the behaviour, but yeah, transform function applies to the uncalibrated value, not the calibrated one, so with transform the raw sensor value is transformed and only after that calibrated. Probably makes sense for some transformations and not for others. Tried to have a minimum cutoff but i can still have that just have to shift the value around
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Hive mind
I am pleased to announce the immediate availability of 5.3 . This release ships with a decent size of the changelog. Primary focus of this release was to address several UI/UX bugs around calibration , charts, control setting that was annoying. We addressed bulk of those reported issues. As usual, there was community contributions as well. Many hugs goes to the contributors. Following are the highlights:



New features and enhancements:
  • Users can now specify a transform expression to be applied on raw analog sensor reading (e.g. to convert Celsius to Fahrenheit). The transform function takes the shape of an arithmatic expression with a variable "v" interpreted as the raw analog sensor value. This feature is implemented using govaluate library that allows numerical values, arithmetic operators, parenthesis and more. Check the library manual for details. Just remember that reef-pi will inject the value of "v" as raw reading in the transform expression provided.
  • Doser subsystem will now emit metrics and doser charts will reflect the same
  • Error summary in the footer section now links to error section in configuration tab . Users can now just click and check the details of errors conveniently. contributed by @richievos
  • Footer section will now show if the controller is running in dev mode, in red as warning. We hope this makes it easy to detect cases where users inadvertently enabled dev mode.
  • Footer section will now include "year" information to represent current time. My personal requirement. Now after running reef-pi for 5+ years i miss the years in older screenshots. I felt given reef tanks last years.. it makes sense to have the year info in footer. Any screenshot that way will be amortized
  • Driver loading error will be logged under errors section for users to review and assess. No more silent driver failures. Kasa powerstrip load failure like cases were harder to detect due to this. We hope this will make it easier for users to detect driver issues (since it also has timestamp, other than the exact error details).
  • Connectors addition/update operation will now prompt only relevant driver choices (e.g. analog connectors will show only drivers with analog input pins in the driver options). Before this all drivers were being listed. This is a small user experience enhancements, suggested by another community member.

Chores
  • Equipment entries will show outlet name (restoring older behavior)
  • Get rid of spurious log section in the UI. It was there to capture UI errors and causes confusion with Configuration -> Errors tab.
Bug fixes

  • Fixed doser calibration bug. Support volume based stepper motor calibration. Make calibration UI reflective of doser type (speed, duration for dcpumps and volume for steppers)
  • Sort chart data with timestamp across all entities (ph, temperatures, ato etc). Unsorted data was causing bogus charts where new data would not line up on the time axis.
  • Fix cpu usage notify target setting type.
  • Make temperature target thresholds optional when control is not being used - contributed by @richievos
  • Cron job validation through backend instead of ui - fix spurious cron schedule validation errors in the ui. Acceptable cron syntax like "*/3" was being rejected by UI validation. Given cron expression is rich and we have backend based validation, we decided to not do the cron syntax validation in ui and just use the backend. This is more sustainable and does not reduce the awesome cron capabilities
Release builds are available at usual location:


reef-pi 4.0 or above users should be able to upgrade their installs directly through the UI. If you can please test and let us know if you have any feedback.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Hi @Ranjib , just updated from 5.2 to 5.3 and somehow the log Tab is gone. I could swear it was there before ... is there some setting to make that visible that I have missed ?
That is expected . We have removed it , as I mentioned in the release announcement. That log section was confusing , since it was only showing ui error that are transient and only for the specific browser session. The actual controller error log is under configuration section . Was there something useful for you in it ? We had to mostly for ui development
 

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,015
Reaction score
943
Location
Germany
Rating - 0%
0   0   0
That is expected . We have removed it , as I mentioned in the release announcement. That log section was confusing , since it was only showing ui error that are transient and only for the specific browser session. The actual controller error log is under configuration section . Was there something useful for you in it ? We had to mostly for ui development
Ah, sry, should have read that more carefully XD

I looked up the UI errors that pop up, but I'm not fast enough to read+understand. Recently I had one that complained about an item ID1 ... took me a while to figure out that it was the temperature sensor that I deleted, but that was still "displayed" in the dashboard.
Maybe you can add those in the errors Tab in a future release, but give them their own section or hide them in a dropdown.
 

dmsc2fs

Well-Known Member
View Badges
Joined
Dec 29, 2021
Messages
513
Reaction score
566
Location
Charleston
Rating - 0%
0   0   0
reef-pi 4.0 or above users should be able to upgrade their installs directly through the UI. If you can please test and let us know if you have any feedback.
Have any guides been posted no how to upgrade through the UI? Under Admin it says "Upgrade Reef-Pi to version" but the input box is empty and I'm not sure what would be place in it?
 

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,015
Reaction score
943
Location
Germany
Rating - 0%
0   0   0
Just enter the desired version number
Have any guides been posted no how to upgrade through the UI? Under Admin it says "Upgrade Reef-Pi to version" but the input box is empty and I'm not sure what would be place in it?
Just enter the desired version number and hit the update button, then click ok. For me that was "5.3" (without quotation marks). It takes while to update though and it doesn't tell you when it's done.

At some point I rebooted (not sure if that's needed) afterwards it still displayed version 5.2 in the bottom of the page.
I hit update again twice and waited longer. Had a few reboots in between as well while I was testing other stuff and now it shows version 5.3

@Ranjib I would appreciate if that process would be a little more explained to the user, I felt a bit lost to whether it was doing something, or whether and when exactly I had to reboot ^^
 

dmsc2fs

Well-Known Member
View Badges
Joined
Dec 29, 2021
Messages
513
Reaction score
566
Location
Charleston
Rating - 0%
0   0   0
Just enter the desired version number

Just enter the desired version number and hit the update button, then click ok. For me that was "5.3" (without quotation marks). It takes while to update though and it doesn't tell you when it's done.

At some point I rebooted (not sure if that's needed) afterwards it still displayed version 5.2 in the bottom of the page.
I hit update again twice and waited longer. Had a few reboots in between as well while I was testing other stuff and now it shows version 5.3

@Ranjib I would appreciate if that process would be a little more explained to the user, I felt a bit lost to whether it was doing something, or whether and when exactly I had to reboot ^^
I had thought of that but when I tried it I received: {"error":"Failed to update. Error: Unit reef-pi-install.service already exists."} | HTTP 500

I thought this was due to entering the wrong data into this input.
 

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,015
Reaction score
943
Location
Germany
Rating - 0%
0   0   0
I had thought of that but when I tried it I received: {"error":"Failed to update. Error: Unit reef-pi-install.service already exists."} | HTTP 500

I thought this was due to entering the wrong data into this input.
I got the Same message. I rebooted and retried it I think.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Have any guides been posted no how to upgrade through the UI? Under Admin it says "Upgrade Reef-Pi to version" but the input box is empty and I'm not sure what would be place in it?
just specify the version number :
Code:
5.3
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Just enter the desired version number

Just enter the desired version number and hit the update button, then click ok. For me that was "5.3" (without quotation marks). It takes while to update though and it doesn't tell you when it's done.

At some point I rebooted (not sure if that's needed) afterwards it still displayed version 5.2 in the bottom of the page.
I hit update again twice and waited longer. Had a few reboots in between as well while I was testing other stuff and now it shows version 5.3

@Ranjib I would appreciate if that process would be a little more explained to the user, I felt a bit lost to whether it was doing something, or whether and when exactly I had to reboot ^^
i appreciate this feedback :-)
you know there was a time when users had to literally download and run dpkg to install reef-pi :-) , through terminal. its nice to hear new asks, but against the new normal.
I'll see what i can do. priority will be on bugs, followed by mission critical new features, hard to see it becoming p0 till next major release, but this is definitely worth tracking, I want to improve the upgrade UX

rule of thumb, for any upgrade, generally a single reboot is more than enough for a single attempt. Whats more important is to shift-refresh browser to get rid of stale data. The front end code is always cached in the browser.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I had thought of that but when I tried it I received: {"error":"Failed to update. Error: Unit reef-pi-install.service already exists."} | HTTP 500

I thought this was due to entering the wrong data into this input.
this can happen during upgrade (due to reef-pi being busy with some device operation that is harder to kill from the upgrade process). Reboot should always resolve this. If reboot does not resolve, then attempt to upgrade again. But multiple reboot for a single upgrade attempt is not meaningful to my understanding
Always refresh broswer in between upgrades, reloads. Else it can and will show stale data for some time
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
It’s been couple of years since we moved in to the new house , and now the home related work is settled (it’s never finished ). I am taking this opportunity to get back to my original goal, to have more tanks.

I was pondering for some time .. on specifics of individual tanks . And was thinking of slowly setting up them one by One . But then I realized I have all the equipment , I just finished rebuilding whole bunch of old reef-pi controller with shiny new parts , and I have the tank and dry rock sitting idle . So why not just start cycling those . Here is what happened next
My next pico (calling it my son ‘s as he is the one choosing the corals , doing some of the chores ) . Started early Jan
1BD8D48C-78C6-472E-A7DC-C4041420AB00.jpeg


the next one started late March is the repurposed Red Sea reefer ato container . This one does not have any controller , it’s mostly to see keep those rocks alive . As I was mentioning , I have not decided yet on what to keep in it yet.

460608B3-351E-4DEC-8FF8-4142F4271B5A.jpeg

The only current resident
766A4820-CBE1-465B-9CAF-935778579377.jpeg


kickstarted my first biocube back again last month
B89E8D6F-B669-420A-8DF3-0AE014E5D9E1.jpeg


and here is the last remaining pico tank that was not sitting idle
F49A0C4E-8CC9-4BA8-B826-13D5056C6603.jpeg


These new tanks join the family with the older pico . One of them is pretty much same for past 3 years
184C882C-5BA7-49D7-B3E4-84A922193525.jpeg


the other old pico was being neglected . I took time to de-clutter it and bring some softies back. I’ll decide later what to do once the softies grow larger. I intend to transfer some in biocube .. but there should many other options

A lot of options to experiment with things now. I plan to slowly start experiment with different type of controller functions with this . I have already started with various lights .. will keep you all posted . Follow my build threads for any of the tank specific information
 

Attachments

  • FCF8207A-DCFF-4ECF-B0DB-E40966C648B4.jpeg
    FCF8207A-DCFF-4ECF-B0DB-E40966C648B4.jpeg
    202 KB · Views: 83

Matt Carden

Valuable Member
View Badges
Joined
Apr 13, 2018
Messages
1,657
Reaction score
4,036
Location
Detroit Metro
Rating - 0%
0   0   0
I have some weird going ons happening with my reef-pi! Started ths controller up about a month ago. Had a few hiccups but otherwise running smoothly. I have been accessing daily via Google Chrome browser by typing in my IP address to turn off my return pump for frozen feedings. A few days ago I couldn't access via Chrome anymore but the controller was still controlling the equipment. Yesterday I went on my Xfinity gateway app and discovered my reef-pi IP address had changed! I was then able to access via Chrome with the updated IP address.

Then this morning I woke to discover my lights never turned off as scheduled last night and my water level was low. The truly strange part is that the reef-pi was controlling the intensity of the lights. I reset the Raspberry-Pi power and everything started working correctly?
 

elysics

Valuable Member
View Badges
Joined
Jan 15, 2020
Messages
1,695
Reaction score
1,607
Rating - 0%
0   0   0
I have some weird going ons happening with my reef-pi! Started ths controller up about a month ago. Had a few hiccups but otherwise running smoothly. I have been accessing daily via Google Chrome browser by typing in my IP address to turn off my return pump for frozen feedings. A few days ago I couldn't access via Chrome anymore but the controller was still controlling the equipment. Yesterday I went on my Xfinity gateway app and discovered my reef-pi IP address had changed! I was then able to access via Chrome with the updated IP address.

Then this morning I woke to discover my lights never turned off as scheduled last night and my water level was low. The truly strange part is that the reef-pi was controlling the intensity of the lights. I reset the Raspberry-Pi power and everything started working correctly?
The IP stuff is just something that can happen if you don't explicitly go into the settings of your router/switch and tell it that the IP address of reef-pi should always stay the same. Otherwise, if reef-pi goes offline for some reason, the router might just give that address to something else and then reef-pi gets a new one once it comes back.

What does the health graph say, was reef-pi offline for a while?
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I have some weird going ons happening with my reef-pi! Started ths controller up about a month ago. Had a few hiccups but otherwise running smoothly. I have been accessing daily via Google Chrome browser by typing in my IP address to turn off my return pump for frozen feedings. A few days ago I couldn't access via Chrome anymore but the controller was still controlling the equipment. Yesterday I went on my Xfinity gateway app and discovered my reef-pi IP address had changed! I was then able to access via Chrome with the updated IP address.

Then this morning I woke to discover my lights never turned off as scheduled last night and my water level was low. The truly strange part is that the reef-pi was controlling the intensity of the lights. I reset the Raspberry-Pi power and everything started working correctly?
Are you using wired power control or Kasa strips ?
 

TOP 10 Trending Threads

WHAT AMOUNT OF LIVE ROCK AND SAND SHOULD BE PRIORITIZED FOR OPTIMAL BIODIVERSITY/FILTRATION?

  • 100% live rock + bagged sand

    Votes: 37 27.4%
  • 100% dry rock + 100% live sand

    Votes: 46 34.1%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 30 22.2%
  • 75% live rock, 25% live sand

    Votes: 12 8.9%
  • 25% live rock, 75% live sand

    Votes: 10 7.4%
Back
Top