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

robsworld78

Valuable Member
View Badges
Joined
Feb 14, 2020
Messages
1,029
Reaction score
1,293
Location
Edmonton, Canada
Rating - 0%
0   0   0
Code:
pi@raspberrypi:~ $ uname  -a
Linux raspberrypi 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 2020 armv7l GNU/Linux
pi@raspberrypi:~ $ lsb_release -a
No LSB modules are available.
Distributor ID:    Raspbian
Description:    Raspbian GNU/Linux 10 (buster)
Release:    10
Codename:    buster

What command gets all that data? Video coming in 2 minutes, processing.
 

robsworld78

Valuable Member
View Badges
Joined
Feb 14, 2020
Messages
1,029
Reaction score
1,293
Location
Edmonton, Canada
Rating - 0%
0   0   0
Ok so I started with a fresh install, here's the imager with OS lite selected.

imager.jpg


Then to make sure I'm not doing anything I follow the steps here except for the update at the beginning.


The video starts after these steps. You can see it works and can access connectors.

Then I install the update.

Once finished connectors still work because I haven't reboot the pi.

Then I reboot pi and now connectors gives the error. Everything else seems to work.

 
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
Ok so I started with a fresh install, here's the imager with OS lite selected.

imager.jpg


Then to make sure I'm not doing anything I follow the steps here except for the update at the beginning.


The video starts after these steps. You can see it works and can access connectors.

Then I install the update.

Once finished connectors still work because I haven't reboot the pi.

Then I reboot pi and now connectors gives the error. Everything else seems to work.


Oops. I can reproduce this now. Thank you so much. I hade to go back to the connector tab. As expected, this is the embd related issue. Let me start work on the fix.
Code:
Aug 23 01:28:12 raspberrypi reef-pi[3871]: 2020/08/23 01:28:12 ERROR: failed to initialize drivers. Error: can't build hal pin 2: embd: your host ": ARMv7 Processor rev 3 (v7l)" is not supported at this moment. request support at https://github.com/kidoman/embd/issues
 

robsworld78

Valuable Member
View Badges
Joined
Feb 14, 2020
Messages
1,029
Reaction score
1,293
Location
Edmonton, Canada
Rating - 0%
0   0   0
Oops. I can reproduce this now. Thank you so much. I hade to go back to the connector tab. As expected, this is the embd related issue. Let me start work on the fix.
Code:
Aug 23 01:28:12 raspberrypi reef-pi[3871]: 2020/08/23 01:28:12 ERROR: failed to initialize drivers. Error: can't build hal pin 2: embd: your host ": ARMv7 Processor rev 3 (v7l)" is not supported at this moment. request support at https://github.com/kidoman/embd/issues

No problem, glad it's what you thought it was, good luck!
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
Quick question I finally purchased a PH probe and trying to calibrate it but the longer I leave the probe in the calibration liquid it never seems to bottom out, the numbers keep going down ever so slowly. How long should you leave the probe in the liquid before it settles on a number, I could have dodgy calibration fluid but it just does not seem to settle.

Thanks :)
 

Mikeneedsahobby

Well-Known Member
View Badges
Joined
Sep 16, 2018
Messages
516
Reaction score
916
Rating - 0%
0   0   0
I think I left mine about 5 or 10 minutes. I don’t know if it will ever completely stop changing. Exposure to co2 in the air will change the ph. After it slows it is accurate enough I think. after calibrating recheck the 7 fluid and see it is accurate enough.
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
I think I left mine about 5 or 10 minutes. I don’t know if it will ever completely stop changing. Exposure to co2 in the air will change the ph. After it slows it is accurate enough I think. after calibrating recheck the 7 fluid and see it is accurate enough.

I left it until it finally settled down, looks like its close enough now, will see how it tracks, thanks.
 
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
so for RPi 4 - install latest but don't do any updates?
Yes. For the time being. I think I have fixed the issue with updated raspberry pi os, we are in process of testing it.
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
Quick question I finally purchased a PH probe and trying to calibrate it but the longer I leave the probe in the calibration liquid it never seems to bottom out, the numbers keep going down ever so slowly. How long should you leave the probe in the liquid before it settles on a number, I could have dodgy calibration fluid but it just does not seem to settle.

Thanks :)
I had a similar issue when I calibrated, let each one go 15-20 mins and called it good. I noted calibration at 4, 7 and 10... the slopes were the same so it wouldnt have mattered if id have used 4 and 7, 7 and 10 and 4 and 10, as all results from all three were so similar, i wouldnt have been more that .05 off no matter which calibration pair I chose.

With co2 in my tank at a known rate thru a flowmeter, and a good kh test, i can now predict where my ph will drop when injecting co2, and where it will rise to as it off gasses overnight. And my numbers hold well to the hamas reef co2 calculator, so I know my ph probe is pretty dang close.

I recheck cal every 6 months and with a year and a half old probe I havent had to recalibrate. Saltwater mileage may vary of course.
 

Yov

Community Member
View Badges
Joined
May 24, 2020
Messages
51
Reaction score
44
Rating - 0%
0   0   0
reef-pi keeps forgetting the I2C sensors...
1598340504505.png

If i reboot (power off/on) i find them again. but after some time he forgets.
 

stefanm

Active Member
View Badges
Joined
Oct 11, 2017
Messages
360
Reaction score
394
Location
Sweden
Rating - 0%
0   0   0
reef-pi keeps forgetting the I2C sensors...
1598340504505.png

If i reboot (power off/on) i find them again. but after some time he forgets.

Is that for the temperature sensors?

I had that issue, turned out to be a poor contact I think it was the resistor.
 

lmm1967

Well-Known Member
View Badges
Joined
Sep 12, 2017
Messages
563
Reaction score
809
Location
North Georgia
Rating - 0%
0   0   0
I posted in my thread, it turned out to be that raspberry pi wifi was the issue. After I placed the raspberry on ethernet, it worked perfectly.

I had a problem where wifi on my RPi was going to sleep and becoming non-responsive for a few seconds.

Here is how I fixed it:
1. ssh to RPi
2. Edit /etc/rc.local and add
iwconfig wlan0 power off to that file at the very end but BEFORE the line that says exit 0

3. Reboot and run iwconfig from command line and make sure you see:
Power Management:off under your wlan interface.
 

lepetitnicolas

New Member
View Badges
Joined
Dec 1, 2019
Messages
5
Reaction score
8
Rating - 0%
0   0   0
I have not tried this, if it works like normal digital input then it should fine. Otherwise we have to do some software work

hello,

I finally received the sensors two weeks ago just before my holidays.
I just had the time to do some tests with an arduino ... the small sensor seems not to be very reliable (i bought the three different sensor ! )
( Non-contact_Liquid_Level_Switch_SKU_FIT0212-DFRobot )
to be tested with a raspberry and reefpi. I'll keep you informed.

have a good day
 

lmm1967

Well-Known Member
View Badges
Joined
Sep 12, 2017
Messages
563
Reaction score
809
Location
North Georgia
Rating - 0%
0   0   0
Building out a Robo-tank with RPi 4b. I'm back 1 level on Raspberry kernel, reef-pi 3.4.

Only PH & temp probes connected so far.

I keep getting this....

Temperature sensor failure. Error:read /sys/bus/w1/devices/28-0416910aa4ff/w1_slave: interrupted system call

I see some people went to 3.3 on reef-pi but that was a couple months ago - anyone know of a permanent fix?
 

dmolavi

Well-Known Member
View Badges
Joined
Jan 3, 2015
Messages
509
Reaction score
640
Location
United States
Rating - 0%
0   0   0
Building out a Robo-tank with RPi 4b. I'm back 1 level on Raspberry kernel, reef-pi 3.4.

Only PH & temp probes connected so far.

I keep getting this....

Temperature sensor failure. Error:read /sys/bus/w1/devices/28-0416910aa4ff/w1_slave: interrupted system call

I see some people went to 3.3 on reef-pi but that was a couple months ago - anyone know of a permanent fix?

I'm curious about a fix on the temp probes too. I'm holding off on upgrading to 3.4 even though I want the DLI driver that it offers...
 
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 curious about a fix on the temp probes too. I'm holding off on upgrading to 3.4 even though I want the DLI driver that it offers...
I think the temp sensor issue has more to do with raspberry pi kernel . We do nothing more than just reading the device file . And there’s not much change happened in that code path. I have not yet able to detect any ds18b20 sensor with the new pi kernel :-( , still diagnosing
 

lmm1967

Well-Known Member
View Badges
Joined
Sep 12, 2017
Messages
563
Reaction score
809
Location
North Georgia
Rating - 0%
0   0   0
I think the temp sensor issue has more to do with raspberry pi kernel . We do nothing more than just reading the device file . And there’s not much change happened in that code path. I have not yet able to detect any ds18b20 sensor with the new pi kernel :-( , still diagnosing
Does it seem limited to a model of RPi ? I don't have this on my 2 setups using a Pi Zero - just on the Pi4
 
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
Does it seem limited to a model of RPi ? I don't have this on my 2 setups using a Pi Zero - just on the Pi4
for me its only pi4+raspberry pi os. All the older pi 3a/3b/zero are fine, running on raspbian buster.
 

TOP 10 Trending Threads

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

  • 100% live rock + bagged sand

    Votes: 38 26.8%
  • 100% dry rock + 100% live sand

    Votes: 48 33.8%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 32 22.5%
  • 75% live rock, 25% live sand

    Votes: 14 9.9%
  • 25% live rock, 75% live sand

    Votes: 10 7.0%
Back
Top