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

PlantedAquaChicago

New Member
View Badges
Joined
May 10, 2022
Messages
13
Reaction score
18
Location
Chicago
Rating - 0%
0   0   0
I assume you have seen this documentation on his website? - https://www.leviathanautomation.com/manual

This manual looks like was updated in Feb and looks like it covers everything, he even has software image -

Yes, as I said I've read through all of their documentation many times, very thoroughly. It only provides instructions for using their pre-built image, which is non-functional. I've tried with half a dozen Pi boards, SD cards and power supplies (all known working) and it always fails at the same spot.
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
Yes, as I said I've read through all of their documentation many times, very thoroughly. It only provides instructions for using their pre-built image, which is non-functional. I've tried with half a dozen Pi boards, SD cards and power supplies (all known working) and it always fails at the same spot.
The configuration of the bits should be the same regardless of the image, thats all done in reef-pi, typically the order is add drivers that you need, then connectors etc...I would think he touches on some of that information in his documentation - are you looking for wiring diagrams or what specifically are you looking for?

What size SD card are you using, I just looked at his image and it needs to be at least a 32g SD card to handle the image. What were you using to write the image to the SD card?
 
Last edited:

PlantedAquaChicago

New Member
View Badges
Joined
May 10, 2022
Messages
13
Reaction score
18
Location
Chicago
Rating - 0%
0   0   0
The configuration of the bits should be the same regardless of the image, thats all done in reef-pi, typically the order is add drivers that you need, then connectors etc...I would think he touches on some of that information in his documentation - are you looking for wiring diagrams or what specifically are you looking for?
As I said, the documentation doesn't cover any of that. It only references his pre-built image that already has the equipment and connectors already added. And as I said, yes - a wiring diagram would be great, although what would be best is:
Working image
Screenshot of connectors tab of reef-pi from someone who has this setup
Wiring diagram so I can figure out what goes where
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
I was able to mount the img and extract the database from the image, since you have a working image you can try to replace the database, not sure if he has things pre-configured or not but worth a shot. I do not have my testing unit up or I would try it and see what is configured. Will try to get it up and working later today and can try it then...if you want to wait.

The file will need to be renamed reef-pi.db, fyi...
 

Attachments

  • reef-pi-leviathon.txt
    64 KB · Views: 85

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
Oh my goodness, that's huge. Thank you so much! That's really above and beyond, thank you.

I will try it now and report back. Again, thank you so much!!!!!
Like I said I'm not sure whats in the database configured since my testing unit is down, but thought it couldn't hurt to swap it out and see...
 
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 was able to mount the img and extract the database from the image, since you have a working image you can try to replace the database, not sure if he has things pre-configured or not but worth a shot. I do not have my testing unit up or I would try it and see what is configured. Will try to get it up and working later today and can try it then...if you want to wait.

The file will need to be renamed reef-pi.db, fyi...
You are our guardian angel :-)
 
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
As I said, the documentation doesn't cover any of that. It only references his pre-built image that already has the equipment and connectors already added. And as I said, yes - a wiring diagram would be great, although what would be best is:
Working image
Screenshot of connectors tab of reef-pi from someone who has this setup
Wiring diagram so I can figure out what goes where
We hear you , but repeating yourself does not help us either. Start a dedicated thread, and be as specific as possible (e.g connectors configuration ) when seeking help. Screen shot of ui or hardware will help us diagnosing the issues .
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
Disregard!
I was going to say to use the import function from the admin page...
import-reef-pi.png
 

mpoltorak7

New Member
View Badges
Joined
May 6, 2022
Messages
5
Reaction score
3
Location
Chicago
Rating - 0%
0   0   0
I am having trouble figuring out how to add new charts to the dashboard. The UI Overview guide alludes to dashboard charts will be added automatically when new sensors are added? I have two temp probes and a ph probem. All 3 work and I can review the graph from inside of each device. i.e. from the temp or ph screens. How can I get the same graphs into the dashboard?

I also don't have a "customize" button on the bottom right of my dashboard. I only have a "configure".

secondary question. When I first added the PH probe it took a reading on the graph. It has not since. I have it configured to take a reading every 60 seconds. I am not sure this is working. I assume that the device can be monitored from the command line? Does anyone have a quick reference on how to find the PH probe from cmd and/or how to verify it is working.

When I hit the calibrate button I get the following error.
{"error":"strconv.ParseFloat: parsing \"3.\\xb8\\xb9\\xb8\\x80\\x00\\x80\\x80\\x00\\x00\\x80\\x00\\x80\\x80\\x00\\x80\\x80\\x00\\x00\\x00\\x80\\x80\\x80\\x00\\x00\\x00\\x80\": invalid syntax"} | HTTP 404
Hum I have never had a chart be created automatically on the dashboard. However it is added automatically to the dashboard configuration were you add the charts you want to see. The configuration button is the button you are looking for.

For your second question, after you added the device did you reload the config? I believe i have seen the same error and that was my issue. However just basing this off of the error you have posted it maybe the pH driver you are using.

Here is a link to a guide created by RoboTank I found much more helpful then the docs I found in the reef-pi document portal. Maybe helpful as it seems you are running into some of the same issue when I was getting started with my build. https://docs.google.com/document/d/1tjz9fLcwKz_VgTcj1oM2Nvs4kynVYJLV/edit#heading=h.30j0zll
And here is a link to his website.
 

mpoltorak7

New Member
View Badges
Joined
May 6, 2022
Messages
5
Reaction score
3
Location
Chicago
Rating - 0%
0   0   0
@Ranjib I was looking at the github repository for reef-pi and noticed that there is a docker file as part of the source code. Do you know if reef-pi can be containerized? I was looking a reef-pi build in dockerhub but do not see one?
 
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
@Ranjib I was looking at the github repository for reef-pi and noticed that there is a docker file as part of the source code. Do you know if reef-pi can be containerized? I was looking a reef-pi build in dockerhub but do not see one?
you should be able to do this as theres nothing explicitly that blocks containerization. I personally do not use it for development.
 

Krheigh

New Member
View Badges
Joined
Apr 17, 2020
Messages
21
Reaction score
17
Rating - 0%
0   0   0
Any ideas what to do?
I recently installed a pH probe it works but it fluctuate way to much (see image)
When in calibration fluids it doesn't fluctuate at all.
Screenshot_2022-06-06-09-56-58-060_com.android.chrome.jpg
 

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,015
Reaction score
943
Location
Germany
Rating - 0%
0   0   0
Any ideas what to do?
I recently installed a pH probe it works but it fluctuate way to much (see image)
When in calibration fluids it doesn't fluctuate at all.
Screenshot_2022-06-06-09-56-58-060_com.android.chrome.jpg
I would open a separate thread for that.
Here is another thread to look at.

Other electrical equipment can have a big influence, so it might be a good idea to unplug other devices one at a time, if possible, or ground your tank. Refer to the linked thread I gave above. Hope that will put you on the right track ;)
 

Krheigh

New Member
View Badges
Joined
Apr 17, 2020
Messages
21
Reaction score
17
Rating - 0%
0   0   0
I would open a separate thread for that.
Here is another thread to look at.

Other electrical equipment can have a big influence, so it might be a good idea to unplug other devices one at a time, if possible, or ground your tank. Refer to the linked thread I gave above. Hope that will put you on the right track ;)
Yeah I figured that i had to add a grounding probe this is after adding that...
I'll take a look on your link
 

PlantedAquaChicago

New Member
View Badges
Joined
May 10, 2022
Messages
13
Reaction score
18
Location
Chicago
Rating - 0%
0   0   0
I'm having a heck of a time adding an EZO pH probe to my setup. I'm using a Leviathan Reef Pi board which I'm not going to comment on at this point. The main problem I have is that there's never an analog input to choose from when I go to add it in the pH section. I have:

Manually configured the EZO board to i2c (blue LED)
Configured the EZO board to multiple different i2c addresses
Scanned using i2cdetect and seen the EZO board show up just fine in the RPi OS at whatever address I give it
Added the driver in reefpi using the correct i2c address - have no problems there
When I try to add a connector and select the ph driver, I have no option to select pin 0 or any pin at all, the dropdown is blank. If I try to select a pin before I select a driver, the lowest number pin I can select is 2, there is no 0. Once I select the driver as pH, I cannot select a pin.
If I try to click save, I get the error:{"ERROR":"Failed to create. Error: Inlet pH did not get associated with a driver pin: inlet pH driver lookup failire: driver Atlas Scientific EZO(pH) is not an input driver"} HTTP 500

Any help?
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
I'm having a heck of a time adding an EZO pH probe to my setup. I'm using a Leviathan Reef Pi board which I'm not going to comment on at this point. The main problem I have is that there's never an analog input to choose from when I go to add it in the pH section. I have:

Manually configured the EZO board to i2c (blue LED)
Configured the EZO board to multiple different i2c addresses
Scanned using i2cdetect and seen the EZO board show up just fine in the RPi OS at whatever address I give it
Added the driver in reefpi using the correct i2c address - have no problems there
When I try to add a connector and select the ph driver, I have no option to select pin 0 or any pin at all, the dropdown is blank. If I try to select a pin before I select a driver, the lowest number pin I can select is 2, there is no 0. Once I select the driver as pH, I cannot select a pin.
If I try to click save, I get the error:{"ERROR":"Failed to create. Error: Inlet pH did not get associated with a driver pin: inlet pH driver lookup failire: driver Atlas Scientific EZO(pH) is not an input driver"} HTTP 500

Any help?
Did you do a reload from the admin screen after adding the driver? Might try that and see if it changes anything...
 
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'm having a heck of a time adding an EZO pH probe to my setup. I'm using a Leviathan Reef Pi board which I'm not going to comment on at this point. The main problem I have is that there's never an analog input to choose from when I go to add it in the pH section. I have:

Manually configured the EZO board to i2c (blue LED)
Configured the EZO board to multiple different i2c addresses
Scanned using i2cdetect and seen the EZO board show up just fine in the RPi OS at whatever address I give it
Added the driver in reefpi using the correct i2c address - have no problems there
When I try to add a connector and select the ph driver, I have no option to select pin 0 or any pin at all, the dropdown is blank. If I try to select a pin before I select a driver, the lowest number pin I can select is 2, there is no 0. Once I select the driver as pH, I cannot select a pin.
If I try to click save, I get the error:{"ERROR":"Failed to create. Error: Inlet pH did not get associated with a driver pin: inlet pH driver lookup failire: driver Atlas Scientific EZO(pH) is not an input driver"} HTTP 500

Any help?
After you add the new driver, you are not able to create an analog connector with that driver? the connector type is analog input, not inlet (digital input), or outlet (digital output) or jack (pwm)
 

TOP 10 Trending Threads

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

  • 100% live rock + bagged sand

    Votes: 36 27.5%
  • 100% dry rock + 100% live sand

    Votes: 45 34.4%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 29 22.1%
  • 75% live rock, 25% live sand

    Votes: 11 8.4%
  • 25% live rock, 75% live sand

    Votes: 10 7.6%
Back
Top