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

Free Phyto Promo
Spend $39+ → free 16oz Phyto · Use code FREEPHYTO at checkout · $16.99 value · Densest 6-species blend · Free shipping on every order · 100% live arrival guaranteed Spend $39+ → free 16oz Phyto · Use code FREEPHYTO at checkout · $16.99 value · Densest 6-species blend · Free shipping on every order · 100% live arrival guaranteed
Shop Now Code: FREEPHYTO

DirtDiggler2823

If I can't break it, it doesn't exist
View Badges
Joined
Jul 31, 2018
Messages
1,667
Reaction score
2,075
Location
Gambrills
Rating - 0%
0   0   0

stefanm

Active Member
View Badges
Joined
Oct 11, 2017
Messages
360
Reaction score
394
Location
Sweden
Rating - 0%
0   0   0
Do it when you get home. It's going to completely wipe the reef-pi, including any login information.

Ok, I've done it and installed 3.0, got the temperature sensors working, it's late now and I'm too tired to figure anything else out. Lots of things not running right now! Something's in my notes aren't making sense, so I'll need to open everything up tomorrow.

Quick question, do I need to reconfigure everything from the console again?
 

DirtDiggler2823

If I can't break it, it doesn't exist
View Badges
Joined
Jul 31, 2018
Messages
1,667
Reaction score
2,075
Location
Gambrills
Rating - 0%
0   0   0
Ok, I've done it and installed 3.0, got the temperature sensors working, it's late now and I'm too tired to figure anything else out. Lots of things not running right now! Something's in my notes aren't making sense, so I'll need to open everything up tomorrow.

Quick question, do I need to reconfigure everything from the console again?

I don't believe so. You should be doing all your work in the reef-pi user interface.
 

Schreiber

Leviathan
View Badges
Joined
Jun 28, 2016
Messages
475
Reaction score
594
Location
Knoxville
Rating - 0%
0   0   0
Hi all.
second post... first question:
Is it possible to connect the BS18B20 temperature sensor to the raspberry? which jumpers?

The DS18B20 connects to the Raspberry Pi using 3 of the pins: 3.3V (pin #1, top left. Only pin with a square solder pad on the back), ground (pin # 6, 9, 14, 20, 25, 30, 34, or 39, just pick one), & any of the GPIO pins. You only have to use one GPIO pin to connect as many sensors as you want, as they use the 1-wire interface.
 
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 all.
second post... first question:
Is it possible to connect the BS18B20 temperature sensor to the raspberry? which jumpers?
Check out the temperature controller guide in adafruit
 

burningbaal

Active Member
View Badges
Joined
Aug 13, 2019
Messages
232
Reaction score
252
Location
Near Seattle
Rating - 0%
0   0   0
PSA:
I've been fighting my temperature control on reef-pi for months. couldn't figure it out. It almost always would start working again after I power cycled the pi, but for an unknown amount of time; sometimes several seconds, others for hours. But within a day or two (most often an hour or two), all three sensors would crap the bed, getting errors in the admin tab that the file didn't exist. the chart would have a zero point at the end and stop tracking temperature data. When I'd go look, the dropdown to pick the sensor would be empty as if nothing was plugged in. Then I'd reboot and they'd (almost always) come back, but not for long.

I saw someone recently on this thread with somewhat similar issues and they found one sensor was bad (the issue went away with one unplugged). I pulled two yesterday and... lo and behold, it was still reading today. I turned it off tonight and plugged in one more. Within a few minutes, the old problem was back. I swapped the 'new' one for the third one and I'm still going well a few hours later.

So...if you have temp sensor issues in your reef-pi, it's likely a bad sensor and you can diagnose by pulling one at a time.

FYI: all using the @Michael Lane HAT
@Ranjib just FYI
 

burningbaal

Active Member
View Badges
Joined
Aug 13, 2019
Messages
232
Reaction score
252
Location
Near Seattle
Rating - 0%
0   0   0
In other news...I've never got email working with reef-pi. Currently getting this error when I try to send a test message after configuring as well as I can think to:
{"error":"Failed to delete. Error: 534 5.7.9 Application-specific password required. Learn more at\n5.7.9 https://support.google.com/mail/?p=InvalidSecondFactor o73sm12993889pje.7 - gsmtp"} | HTTP 500

I copied the password out of lastpass, so I don't think it's that. port? config in my email account? I really want to do it with a '+reefpi' in the email address to help filter it, but I'll settle for almost anything...thoughts?

emailConfig.png
 

Des Westcott

Well-Known Member
View Badges
Joined
May 29, 2018
Messages
646
Reaction score
1,025
Location
Durban - South Africa
Rating - 0%
0   0   0
In other news...I've never got email working with reef-pi. Currently getting this error when I try to send a test message after configuring as well as I can think to:
{"error":"Failed to delete. Error: 534 5.7.9 Application-specific password required. Learn more at\n5.7.9 https://support.google.com/mail/?p=InvalidSecondFactor o73sm12993889pje.7 - gsmtp"} | HTTP 500

I copied the password out of lastpass, so I don't think it's that. port? config in my email account? I really want to do it with a '+reefpi' in the email address to help filter it, but I'll settle for almost anything...thoughts?

emailConfig.png

If using Gmail with two-step verification on, you might need to use an App-specific password which you generate in your Google account Security Settings.
 

burningbaal

Active Member
View Badges
Joined
Aug 13, 2019
Messages
232
Reaction score
252
Location
Near Seattle
Rating - 0%
0   0   0
this
If using Gmail with two-step verification on, you might need to use an App-specific password which you generate in your Google account Security Settings.
looks like it's the story. It took a reboot of the pi after setting it, which was weird. but now I got my test message. 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
If using Gmail with two-step verification on, you might need to use an App-specific password which you generate in your Google account Security Settings.
Yup, thats what the error is all about. Use application-specific password (link is in the adafruit first guide)
 
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
PSA:
I've been fighting my temperature control on reef-pi for months. couldn't figure it out. It almost always would start working again after I power cycled the pi, but for an unknown amount of time; sometimes several seconds, others for hours. But within a day or two (most often an hour or two), all three sensors would crap the bed, getting errors in the admin tab that the file didn't exist. the chart would have a zero point at the end and stop tracking temperature data. When I'd go look, the dropdown to pick the sensor would be empty as if nothing was plugged in. Then I'd reboot and they'd (almost always) come back, but not for long.

I saw someone recently on this thread with somewhat similar issues and they found one sensor was bad (the issue went away with one unplugged). I pulled two yesterday and... lo and behold, it was still reading today. I turned it off tonight and plugged in one more. Within a few minutes, the old problem was back. I swapped the 'new' one for the third one and I'm still going well a few hours later.

So...if you have temp sensor issues in your reef-pi, it's likely a bad sensor and you can diagnose by pulling one at a time.

FYI: all using the @Michael Lane HAT
@Ranjib just FYI
Ack. Its kinda expected, since they are sharing one common bus, one bad sensor can impact the rest. I'll also search if we can safeguard this with some circuit modification
 

Matevz Savarin

Active Member
View Badges
Joined
Dec 5, 2018
Messages
209
Reaction score
163
Rating - 0%
0   0   0
Hi all! Can I get calibration values from gui for ph probe exported? like in calibration json file. So if I delete ph, I can put callibration numbers in with command and using this json modified file? I recently recallibrated ph probe and now it goes from -3600, so graph is linear.. I would copy somehow this numbers and past them in json file... tnx
 
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 all! Can I get calibration values from gui for ph probe exported? like in calibration json file. So if I delete ph, I can put callibration numbers in with command and using this json modified file? I recently recallibrated ph probe and now it goes from -3600, so graph is linear.. I would copy somehow this numbers and past them in json file... tnx
The ui directly don’t expose this value (something we should fix). You can get it via command line using api or if you use the JavaScript console in your web browser, under the network tab you’ll see the probe details (including calibration details) in reopened values when you click on ph tab
 

Freccialata

Community Member
View Badges
Joined
Jan 31, 2020
Messages
54
Reaction score
97
Location
Rome (Italy)
Rating - 0%
0   0   0
The DS18B20 connects to the Raspberry Pi using 3 of the pins: 3.3V (pin #1, top left. Only pin with a square solder pad on the back), ground (pin # 6, 9, 14, 20, 25, 30, 34, or 39, just pick one), & any of the GPIO pins. You only have to use one GPIO pin to connect as many sensors as you want, as they use the 1-wire interface.

Thank you for your answer. I will start playing with one temperature sensor next week. I will use 1-6-3.

So, If I would like to use another one sensor, I should connect it in 17-9-5... is it right?

Ph sensor needs 3.3V or 5V pin?
 

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 27.3%
  • 100% dry rock + 100% live sand

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

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

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

    Votes: 10 7.2%
Back
Top