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

I'm not sure if theres supposed to be a link? I was looking at the git hub and found a fix for the pico board but did not know how to to use it. Not sure what environment is needed.

Ooops

 
I want to access my Reef-Pi installation from the web using SSL. I'm used to use DDNS, portforwarding in my router to the servers in my LAN and an public certificate issued by Letsencrypt.

With Reef-Pi I face an issue:

pi@reefpi:~$ sudo letsencrypt

leads to:

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Certbot doesn't know how to automatically configure the web server on this system. However, it can still get a certificate for you. Please run "certbot certonly" to do so. You'll need to manually configure your web server to use the resulting certificate.


I could run "certbot certonly", but I don't know how and where to install the generated the certificate.

Any hint from somebody more experienced than me? Thanks!
 
Ooops

Hey thanks for your help!
Check this out.
20200607_154510.jpg

What is the ph board??? When I tryed to get it working before I made the driver and added it but I could never get the ph reading to change.
 
Hey thanks for your help!
Check this out.
20200607_154510.jpg

What is the ph board??? When I tryed to get it working before I made the driver and added it but I could never get the ph reading to change.

That is a little above my pay grade. Maybe @Michael Lane or @theatrus can give some input.
 
I'm having some trouble with my temp sensors. Running 3.3.1. Every couple days I will get an email alert with the following error for each sensor,
Temperature sensor failure. Error: First line of device file does not end with YES
When I go to reef-pi and check the Temperature tab the sensors are gone from the drop down and I get the errors,
temperature sub-system. Failed to read sensor Water. Error: open /sys/bus/w1/devices/28-032097790dbb/w1_slave: no such file or directory
temperature sub-system. Failed to read sensor Air. Error: open /sys/bus/w1/devices/28-032097794205/w1_slave: no such file or directory
Usually a power cycle will fix it and it will be fine again for a couple more days. I thought it was the 3.5mm audio jack so I wired it direct a couple days ago but it just did it again tonight. Any thoughts? Thanks.
 
Hi guys

Pro tip (or in my case stupid amateur mistake!) - do not fully immerse the PH probe like i did for the last week. I was getting consistently low PH readings (sulphuric acid level readings that my fish were living in of course ;Woot) but when i would put my probe in tap water it would read fine. I thought I had a ground leakage thinking the worst that it could kill my tank/me so i started turning off and on outlets with no result. I then thought to recalibrate which proved fruitless. In the end, it was me putting in more media in my sump thus forcing me to readjust the probe to above water which magically made my problem disappear.

This may not apply to all ph probes but the typical black looking ebay ones are not sealed at the top. I am going to order another one anyway incase it causes an issue in the future but its got me motivated to make a probe holder from spare acrylic i have to make sure it goes in right alongside my temperature probe.
 
Hey thanks for your help!
Check this out.
20200607_154510.jpg

What is the ph board??? When I tryed to get it working before I made the driver and added it but I could never get the ph reading to change.
I'm not really sure about the pico board ph since I haven't used it. Based on the driver code, I believe you should use pico-board driver, and 0x75 hex address might be the ph address, which should be entered as 117 (decimal) in reef-pi.
 
Hi all sudenly I have a problem with adafriut io, I only get ato and system feeds. I deleted them , created new key and its same. If I turn off atofeeds I get system feeds and thats it, so its not 60s time related. Feeds are greyed out. No temp no nothing.. is there something changed?
sensors are all recognized by the names and thats all there is..What can I do? Thank you!

3A94A1EE-D522-456D-833A-F6B75C020838.png 63A3445E-7C35-4FF3-8897-29DA1123F3EE.png E40730A2-AAA1-4C3A-ACB1-BD203BFEA5D5.png
 
I want to access my Reef-Pi installation from the web using SSL. I'm used to use DDNS, portforwarding in my router to the servers in my LAN and an public certificate issued by Letsencrypt.

With Reef-Pi I face an issue:

pi@reefpi:~$ sudo letsencrypt

leads to:

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Certbot doesn't know how to automatically configure the web server on this system. However, it can still get a certificate for you. Please run "certbot certonly" to do so. You'll need to manually configure your web server to use the resulting certificate.


I could run "certbot certonly", but I don't know how and where to install the generated the certificate.

Any hint from somebody more experienced than me? Thanks!
I have not tried this personally, but should be fairly easy. Try this: https://pimylifeup.com/raspberry-pi-ssl-lets-encrypt/ , its for apache web server (which we are not using) but the instructions provided here does show how to control the path of generated certificates.
Please do report back if this works. If not, i'll find out how to do this. Its an important topic (to run reef-pi with https and proper cert authority), which should be easy, and we should know if theres some obvious gotchas.

I run a configuration management system and install my own selfsigned root can and corresponding PKI infra ( certs, crl, csrs etc)
 
I'm having some trouble with my temp sensors. Running 3.3.1. Every couple days I will get an email alert with the following error for each sensor,

When I go to reef-pi and check the Temperature tab the sensors are gone from the drop down and I get the errors,

Usually a power cycle will fix it and it will be fine again for a couple more days. I thought it was the 3.5mm audio jack so I wired it direct a couple days ago but it just did it again tonight. Any thoughts? Thanks.
The error indicates something wrong on the physical/linux layer that not under reef-pi 's control. The first error means the value we are getting from sensor is failing on checksum (i.e. the data sent from the sensor is mangled on the wire by the time it reaches the linux i/o ports). The second one means the sensor is not being detected. Most likely its a sensor / wiring issue that got progressively bad. Its fascinating, as you are the first one to report these two different errors happening in order (first checksum mismatch, then lost sensor).
 
I'm having some trouble with my temp sensors. Running 3.3.1. Every couple days I will get an email alert with the following error for each sensor,

When I go to reef-pi and check the Temperature tab the sensors are gone from the drop down and I get the errors,

Usually a power cycle will fix it and it will be fine again for a couple more days. I thought it was the 3.5mm audio jack so I wired it direct a couple days ago but it just did it again tonight. Any thoughts? Thanks.
The jacks should only cause issue when you attach/detach sensors, if at all. Mine are all based on 3.5mm jacks and been working for more than two years now, in some builds.
 
Hi guys

Pro tip (or in my case stupid amateur mistake!) - do not fully immerse the PH probe like i did for the last week. I was getting consistently low PH readings (sulphuric acid level readings that my fish were living in of course ;Woot) but when i would put my probe in tap water it would read fine. I thought I had a ground leakage thinking the worst that it could kill my tank/me so i started turning off and on outlets with no result. I then thought to recalibrate which proved fruitless. In the end, it was me putting in more media in my sump thus forcing me to readjust the probe to above water which magically made my problem disappear.

This may not apply to all ph probes but the typical black looking ebay ones are not sealed at the top. I am going to order another one anyway incase it causes an issue in the future but its got me motivated to make a probe holder from spare acrylic i have to make sure it goes in right alongside my temperature probe.
Glad you sorted this out. and thank you for sharing your learning with us. we get better bit by bit with each other's learning, when shared.
 
Well not all feeds this 3 are missing entirely..so there must be a bug somewhere...

E2F40897-ED57-4CEA-8DEE-C087B05C0981.png
Do you see anything in reef-pi log? it could be something to do with rate limiting (too much data sent to adafruit.io ) or naming issue
 
A little something I've noticed , but not sure it can be addressed or not. It relates to updating equipment status on the "Equipment" tab.

If I run a Macro, say my kalkstirrer one that just turns the stirrer on, runs for 5 minutes and then turns it off and then go to the "Equipment" tab, I see that the Stirrer status is "On". It runs and I hear the relay click off at the correct time, but it does not update the Equipment status ie the stirrer is off, but it shows as on. If I click onto another tab and go back to Equipment, it displays the correct status. I've noticed it with my ATO pump status as well.

I suspect it has something to do with the browser refreshing - I have tried it on Chrome as well as the new Edge and get the same behaviour. It's not a big deal, but I was wondering if there was a setting or something I had wrong.

Edit - Just to be clear, every time I open the "Equipment" tab it shows the status correctly. If I change it manually, it shows correctly. Only if an automated process causes a change in status, it doesn't update the display, but the equipment functions correctly.
 
A little something I've noticed , but not sure it can be addressed or not. It relates to updating equipment status on the "Equipment" tab.

If I run a Macro, say my kalkstirrer one that just turns the stirrer on, runs for 5 minutes and then turns it off and then go to the "Equipment" tab, I see that the Stirrer status is "On". It runs and I hear the relay click off at the correct time, but it does not update the Equipment status ie the stirrer is off, but it shows as on. If I click onto another tab and go back to Equipment, it displays the correct status. I've noticed it with my ATO pump status as well.

I suspect it has something to do with the browser refreshing - I have tried it on Chrome as well as the new Edge and get the same behaviour. It's not a big deal, but I was wondering if there was a setting or something I had wrong.

Edit - Just to be clear, every time I open the "Equipment" tab it shows the status correctly. If I change it manually, it shows correctly. Only if an automated process causes a change in status, it doesn't update the display, but the equipment functions correctly.
This is a similar issue to outlets on timers not updating in the UI, and macro status not updating in real time. There was a quick discussion in the reef-pi UI thread about it. I agree that it would be nice to add this functionality, and the devs have talked about using websockets to publish updates back to the UI. I'll consider picking this up after I finish working on drivers for ADS1015 and ADS1115.
 
Do you see anything in reef-pi log? it could be something to do with rate limiting (too much data sent to adafruit.io ) or naming issue
I am getting this errors, but only 2 feeds so there couldnt be too much of them..under log all is empty.
And today only system usage nothing else gets true..
I havent change nothing exept new key, but its same. Before I got all the datas, if there was too much for 60s I saw the masssage. But temps and ph and ato was working...

06F57BBE-EC8F-43B9-B2D2-11F041043B6B.png F5D97212-F6BB-4D6D-9FE4-9A7A4E11C5AC.png
 
I am getting this errors, but only 2 feeds so there couldnt be too much of them..under log all is empty.
And today only system usage nothing else gets true..
I havent change nothing exept new key, but its same. Before I got all the datas, if there was too much for 60s I saw the masssage. But temps and ph and ato was working...

06F57BBE-EC8F-43B9-B2D2-11F041043B6B.png F5D97212-F6BB-4D6D-9FE4-9A7A4E11C5AC.png

I used to get those - it was around naming of the feeds. Change names to have no spaces or other non-allowed characters and all went away.
 
Hi all.
I've been working on something but can't figure out if it's even doable.
Is it possible to wire a non-contact sensor like this: http://www.cqrobot.wiki/index.php/Non-contact_Water_/_Liquid_Level_Sensor but instead of the traditional method to trigger the ATO, turn on a dosing pump instead?
I have a small nano (10 gal) controlled by my reef pi, and only use 2 of my 3 dosing pumps. I was wondering if I could wire it up to detect water level drop, and use the third dosing pump as a quasi-ato? I use Michael Lane's dosing adapter (awesome device), a Jebao slave doser DP3S, and Michael's goby hat running on a pi4b.
 
Hi all.
I've been working on something but can't figure out if it's even doable.
Is it possible to wire a non-contact sensor like this: http://www.cqrobot.wiki/index.php/Non-contact_Water_/_Liquid_Level_Sensor but instead of the traditional method to trigger the ATO, turn on a dosing pump instead?
I have a small nano (10 gal) controlled by my reef pi, and only use 2 of my 3 dosing pumps. I was wondering if I could wire it up to detect water level drop, and use the third dosing pump as a quasi-ato? I use Michael Lane's dosing adapter (awesome device), a Jebao slave doser DP3S, and Michael's goby hat running on a pi4b.
You should be able to do this by configuring the 3rd dosing pump pin as an outlet instead of a jack. Then you can treat it just like any kind of ATO pump.
 

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

    Votes: 13 43.3%
Back
Top
Home
Post thread…
Market
What's new