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

natebatey

New Member
View Badges
Joined
Jan 9, 2021
Messages
18
Reaction score
9
Location
home
Rating - 0%
0   0   0
I don't think so. Today is 3rd day I'm trying to install it on different hosts - from oldest Raspberry 1 (at least started), next is Raspberry Pi Zero W, and also tried on Orange Pi Zero 2W. At ALL boards I see error that embedded rpi driver cannot be accessed:

started reef-pi.service - raspberry pi based reef tank controller.
Jun 16 11:50:15 reef-pi reef-pi[1279]: 2024/06/16 11:50:15 driver-subsystem: Failed load raspberry pi driver. Error: can't build hal pin 9: strconv.Atoi: parsing "31+rpt": invalid syntax

Can someone try to reproduce?

another version of this error:
Jun 16 12:00:25 reef-pi systemd[1]: Started reef-pi.service - raspberry pi based reef tank controller.
Jun 16 12:00:25 reef-pi reef-pi[1495]: 2024/06/16 12:00:25 ERROR: failed to initialize drivers. Error: can't build hal pin 2: strconv.Atoi: parsing "31+rpt": invalid syntax
Jun 16 12:00:25 reef-pi reef-pi[1495]: 2024/06/16 12:00:25 Successfully started subsystem: system

I tried many versions from 4.3 to 6.0 - all gives me the same.
I am getting a similar error with a fresh install on Pi-3 when installing Reef-Pi V6.0.
I have previously run V5.1 successfully so I did a fresh install with 5.1 using the exact same process and did not get the error. Tried V5.3 and got the error again. I have tried this several times with the same results.
 

natebatey

New Member
View Badges
Joined
Jan 9, 2021
Messages
18
Reaction score
9
Location
home
Rating - 0%
0   0   0
I am getting a similar error with a fresh install on Pi-3 when installing Reef-Pi V6.0.
I have previously run V5.1 successfully so I did a fresh install with 5.1 using the exact same process and did not get the error. Tried V5.3 and got the error again. I have tried this several times with the same results.
 

geologeek

Community Member
View Badges
Joined
Apr 21, 2010
Messages
68
Reaction score
41
Location
UK
Rating - 0%
0   0   0
I understand that since RPI foundation removed old methods of GPIO access, there is a temporary work around to revert the kernel in bookworm back to Kernel 6.1.74, which still supports the older methods of GPIO access. Try:

sudo rpi-update d86b5843d68b9972a5430a6d3da1b271cfc83521

I've not tried, but came across this in my reading as I need to redo my reef-pi set up as my 24vdc power supply went up in smoke and took out my system with AC power getting through to my goby hat and taking out sections of the PCB tracks

I hope there is still life yet in reef-pi as I was just about to get on with rebuilding my system.......
 

iamdan

Community Member
View Badges
Joined
Jul 1, 2022
Messages
87
Reaction score
74
Location
Western Australia
Rating - 0%
0   0   0
Just curious after searching this thread and the github, were MCP23017 drivers ever added?
I believe so, https://github.com/reef-pi/reef-pi/issues/566 think it lists it as PCA9685 - wether thats the same or not

Snoop Dogg Idk GIF by NBC
 

iamdan

Community Member
View Badges
Joined
Jul 1, 2022
Messages
87
Reaction score
74
Location
Western Australia
Rating - 0%
0   0   0
I understand that since RPI foundation removed old methods of GPIO access, there is a temporary work around to revert the kernel in bookworm back to Kernel 6.1.74, which still supports the older methods of GPIO access. Try:

sudo rpi-update d86b5843d68b9972a5430a6d3da1b271cfc83521

I've not tried, but came across this in my reading as I need to redo my reef-pi set up as my 24vdc power supply went up in smoke and took out my system with AC power getting through to my goby hat and taking out sections of the PCB tracks

I hope there is still life yet in reef-pi as I was just about to get on with rebuilding my system.......
There's definitely still life in it, i just think one has to lower their expectations since the last "update" as we all know was Nov 2022...

By lowering expectations (and i am by no means having a dig at anyone here that is reading this) - i mean either stick with Raspberry Pi 4 and Raspbian Bullseye OS or if go Raspberry Pi 5 you have to use Bookworm and revert to an older kernel.

Which doesnt matter at all in the grand scheme of things as long as it's stable (its not like reef-pi chews up resources) unless you have some real weird fringe-use case that no one has ever considered before and if you are exposing this direct to the internet then you should have the appropriate security measures in-place and not relyng on the latest OS update to hopefully keep you safe :p

The only time you may get stuck is if you go to use the Pi for other things besides the reef-pi software on it and the kernel version carries a bug against what you are trying to do (i like to keep things all separate).

Will the developer come back into the light and continue where he left off? who knows. As this is all open-source and no one getting paid for it it's a love job/project....so we have to be thankful it is where it is today....There is the odd github commit of package and dependancy updates as of late... Will someone else take on the task and fork it and go from there, who knows, i would if i were able to understand the language as in my own experience reef-pi sure beats all the other controller crap out on the market for what 90% of us want it to do and not having to rely on some one elses "cloud" or recording everything you do on it.
 

iamdan

Community Member
View Badges
Joined
Jul 1, 2022
Messages
87
Reaction score
74
Location
Western Australia
Rating - 0%
0   0   0
For what it’s worth I have just tried bookworm with that downgrade and I get in reef-pi the following so clearly something is wrong:

Failed to initialize i2c. Error:eek:pen /dev/i2c-1: no such file or directory

Failed load raspberry pi driver. Error:can't build hal pin 25: embd: your host ":" is not supported at this moment. request support at https://github.com/reef-pi/embd/issues

I’ve setup config.txt to match my working reef-pi setup and no change.
 

Matt Carden

Valuable Member
View Badges
Joined
Apr 13, 2018
Messages
1,647
Reaction score
4,086
Location
Detroit Metro
Rating - 0%
0   0   0
I'm trying to get my reefpi up and running using robo-tank controller with the lighting and DC module, Sensor module and 2 power strips. Everything is plugged in: module interconnects, power, float sensors, Ph probe, custom lighting dimmers to Meanwell drivers. Dosers.

I ran the robo-tank installation instructions for reefpi https://www.robo-tank.ca/reef-pi_Related_User_Manuals afterwards the reefpi blank dashboard comes up so I know reefpi is installed. When I click on connectors to start programming the ports I get this:
20240624_154742.jpg 20240624_154753.jpg
There is also a reoccurring error message:

@Rob
20240624_154805.jpg

@robsworld78
 

BenB

Active Member
View Badges
Joined
Jun 11, 2019
Messages
112
Reaction score
155
Rating - 0%
0   0   0
You can try search this tread on: Something went wrong
 

iamdan

Community Member
View Badges
Joined
Jul 1, 2022
Messages
87
Reaction score
74
Location
Western Australia
Rating - 0%
0   0   0
I'm trying to get my reefpi up and running using robo-tank controller with the lighting and DC module, Sensor module and 2 power strips. Everything is plugged in: module interconnects, power, float sensors, Ph probe, custom lighting dimmers to Meanwell drivers. Dosers.

I ran the robo-tank installation instructions for reefpi https://www.robo-tank.ca/reef-pi_Related_User_Manuals afterwards the reefpi blank dashboard comes up so I know reefpi is installed. When I click on connectors to start programming the ports I get this:
20240624_154742.jpg 20240624_154753.jpg
There is also a reoccurring error message:

@Rob
20240624_154805.jpg

@robsworld78
Use raspberry pi os bullseye. Bookworm is not compatible
 

Brett7397

Community Member
View Badges
Joined
Oct 17, 2022
Messages
74
Reaction score
46
Location
Dothan, AL
Rating - 100%
1   0   0
 

KrisMoro

New Member
View Badges
Joined
Sep 27, 2017
Messages
5
Reaction score
0
Rating - 0%
0   0   0
Are you running Raspberry Pi OS Bullseye?
Yes, I tried both Bullseye and Bookworm on all mentioned boards. I think issue is somewhere in 12 years old HAL dependency. but interesting thing, each time pin number was different in error...
 

Matt Carden

Valuable Member
View Badges
Joined
Apr 13, 2018
Messages
1,647
Reaction score
4,086
Location
Detroit Metro
Rating - 0%
0   0   0
Rob had a script he made to install reef pi. He posted it on here.
Recently there are more options for the Raspberry OS to choose from. There is 2 versions of lite, bookworm and bullseye. I choose bookworm I'm going to try bullseye in a few. Will update.
 

natebatey

New Member
View Badges
Joined
Jan 9, 2021
Messages
18
Reaction score
9
Location
home
Rating - 0%
0   0   0
Hi, I used to be able to use adafruit.IO for all of my channels, but recently I do not get any of my 'equipment' data. I've been out of the loop for a couple years, did something change with adafruit.io? I am getting the following error and wonder why the I.P address listed is incorrect for the system, is it supposed to be that way?
Screen Shot 2024-07-08 at 9.25.42 PM.png
 

biznatch

Community Member
View Badges
Joined
Nov 30, 2023
Messages
32
Reaction score
24
Location
CA
Rating - 0%
0   0   0
Hi, I used to be able to use adafruit.IO for all of my channels, but recently I do not get any of my 'equipment' data. I've been out of the loop for a couple years, did something change with adafruit.io? I am getting the following error and wonder why the I.P address listed is incorrect for the system, is it supposed to be that way?
Screen Shot 2024-07-08 at 9.25.42 PM.png

That looks like the IP of your gateway (router), and port 53 is a DNS request (you can confirm by running 'ipconfig' on your laptop, and it will show the same IP as the default gateway). So it's trying to get the IP of io.adafruit.com and failing. This looks like the rPi is being blocked by a firewall. What happens when you SSH onto the rPi and try and ping google.com or io.adafruit.com? I'm guessing you'll get the same error.
 

HAVE YOU EVER KEPT A RARE/UNCOMMON FISH, CORAL, OR INVERT? SHOW IT OFF IN THE THREAD!

  • 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