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

ScottBrew

Active Member
View Badges
Joined
Oct 17, 2018
Messages
385
Reaction score
865
Location
Dunedin Florida
Rating - 0%
0   0   0
I have mentioned this here,
https://learn.adafruit.com/reef-pi-installation-and-configuration/raspberry-pi-configuration
Let me know if this is not clear, I’ll update the guide accordingly
Is there anywhere in the guide that discusses static IP addresses? After loading reef-pi and playing with it for a bit, I decided to set it to a static IP so I wasn't chasing the IP as the leases expire. Chose an IP number higher than average for my house so it wouldn't get stolen by a DHCP device. May set a static IP range on my router at some point if it ever is an issue. What's your take?
 

b4tn

Valuable Member
View Badges
Joined
Jun 17, 2015
Messages
1,673
Reaction score
2,241
Location
Columbia MD
Rating - 0%
0   0   0
I am having some strange issues. First off, I am doing away with the audio plugs for sure now. I dont know if I got a bad batch from adafruit or what but I had the second female audio plug short internal on me just from plugging and un-plugging. @speedstar did your temp come back after your issue? I am curios if you may be having issues with the audio jack as well.

The big two issues I am having may or may not be related. The other day I did a fresh install of everything, configured and tested all my sensors and outlets and all was working flawlessly. The next morning I was testing the timers and macros. I made a change and went to do a reload and got the following error.
31693433438_43047ea5c1_b.jpg

I have tried several things to include removing all changes in reef-pi, reloading the database from the troubleshooting guide, to a fresh install of rasbian and re install of reef pi and this error is always present when I try and do a reload. So far it does not seem to affect anything when I make a change I can do a reboot and and all my changes are still there.

However, insert problem two, which has me baffled. I set up a temp probe and it works, shows the temp on the dashboard and seems to be accurate. The temp in my house is 70 degrees and the temp probes hover around 69-71 throughout the day. When I add control I set it up to trigger my "heater" output with a threshold of 79.5 and a check frequency of 10 seconds for testing. Instantly the heater output turns off. (When testing the other day the heater output would remain on until the probe reached 79.5 and then turn off). It doesnt matter where I put my threshold if I manually turn on the heater output from the equipment tab after 10 seconds it goes off.

I should also add that no logs are showing in error tab
 

b4tn

Valuable Member
View Badges
Joined
Jun 17, 2015
Messages
1,673
Reaction score
2,241
Location
Columbia MD
Rating - 0%
0   0   0
Is there anywhere in the guide that discusses static IP addresses? After loading reef-pi and playing with it for a bit, I decided to set it to a static IP so I wasn't chasing the IP as the leases expire. Chose an IP number higher than average for my house so it wouldn't get stolen by a DHCP device. May set a static IP range on my router at some point if it ever is an issue. What's your take?

I set mine up static on my router. I just gave it the DHCP address the router originally gave it.
 

sector9

Active Member
View Badges
Joined
Jun 26, 2017
Messages
129
Reaction score
190
Rating - 0%
0   0   0
However, insert problem two, which has me baffled. I set up a temp probe and it works, shows the temp on the dashboard and seems to be accurate. The temp in my house is 70 degrees and the temp probes hover around 69-71 throughout the day. When I add control I set it up to trigger my "heater" output with a threshold of 79.5 and a check frequency of 10 seconds for testing. Instantly the heater output turns off. (When testing the other day the heater output would remain on until the probe reached 79.5 and then turn off). It doesnt matter where I put my threshold if I manually turn on the heater output from the equipment tab after 10 seconds it goes off.

Yes I had this same issue and if it’s the same bug I reported, there is a workaround. You have to select an outlet on “control chiller” then you will get the “chiller threshold” option to appear. Put in a temperature higher than your heater threshold. Now you can switch the “control chiller” back to “none” and the heating function should work. Does this fix your problem?
 

pickupman66

5000 Club Member
View Badges
Joined
Aug 10, 2010
Messages
6,032
Reaction score
1,166
Location
Winchester, TN
Rating - 0%
0   0   0
I set mine up static on my router. I just gave it the DHCP address the router originally gave it.
I did the same thing. once it was on the network, I reserved that IP for it through my Linksys. I do the same for my Archon, Onkyo head unit and my Wifi Printer. this way I can get to them easier. Plus with PI and Archon, I can access them from outside with a simple port forward.
 

sector9

Active Member
View Badges
Joined
Jun 26, 2017
Messages
129
Reaction score
190
Rating - 0%
0   0   0
I’ve been running reef-pi since version 0.0.6 in June of 2017 but I finally have built an enclosure for my project.

It is a “rough draft” so to speak with several issues I plan to fix. It is 3D printed and I will release the STL files once I fix the problems. The logo is credit to @MaccaPopEye !!

1C5C0969-7BCC-4A37-BD35-9A75CAD28412.jpeg 36EFEEF2-F4C9-460F-93EB-3F6A4A87F8AB.jpeg 74DBD88B-1171-40EF-9AB9-6D51519E1B30.jpeg 5D5E2CC3-8994-4A03-A636-11099618880E.jpeg

EB3D99E8-A9A1-488F-8AC8-113D9A27FD5A.jpeg
 
Last edited:

speedstar

Well-Known Member
View Badges
Joined
Sep 18, 2018
Messages
704
Reaction score
1,030
Location
Grand Rapids
Rating - 0%
0   0   0
I am having some strange issues. First off, I am doing away with the audio plugs for sure now. I dont know if I got a bad batch from adafruit or what but I had the second female audio plug short internal on me just from plugging and un-plugging. @speedstar did your temp come back after your issue? I am curios if you may be having issues with the audio jack as well.

The big two issues I am having may or may not be related. The other day I did a fresh install of everything, configured and tested all my sensors and outlets and all was working flawlessly. The next morning I was testing the timers and macros. I made a change and went to do a reload and got the following error.
31693433438_43047ea5c1_b.jpg

I have tried several things to include removing all changes in reef-pi, reloading the database from the troubleshooting guide, to a fresh install of rasbian and re install of reef pi and this error is always present when I try and do a reload. So far it does not seem to affect anything when I make a change I can do a reboot and and all my changes are still there.

However, insert problem two, which has me baffled. I set up a temp probe and it works, shows the temp on the dashboard and seems to be accurate. The temp in my house is 70 degrees and the temp probes hover around 69-71 throughout the day. When I add control I set it up to trigger my "heater" output with a threshold of 79.5 and a check frequency of 10 seconds for testing. Instantly the heater output turns off. (When testing the other day the heater output would remain on until the probe reached 79.5 and then turn off). It doesnt matter where I put my threshold if I manually turn on the heater output from the equipment tab after 10 seconds it goes off.

I should also add that no logs are showing in error tab

It has come back i did exercise the connector. I continue to have all kinds of issues, this doesn't make sense as it was rock solid for 2 weeks. Today the web server just hangs though it appears to be running the tank correct. I tried clearing cache different browser etc.
 

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
I’ve been running reef-pi since version 0.0.6 in June of 2017 but I finally have built an enclosure for my project.

It is a “rough draft” so to speak with several issues I plan to fix. It is 3D printed and I will release the STL files once I fix the problems. The logo is credit to @MaccaPopEye !!

1C5C0969-7BCC-4A37-BD35-9A75CAD28412.jpeg 36EFEEF2-F4C9-460F-93EB-3F6A4A87F8AB.jpeg 74DBD88B-1171-40EF-9AB9-6D51519E1B30.jpeg 5D5E2CC3-8994-4A03-A636-11099618880E.jpeg

EB3D99E8-A9A1-488F-8AC8-113D9A27FD5A.jpeg
Are you willing to make these for folks?
 

b4tn

Valuable Member
View Badges
Joined
Jun 17, 2015
Messages
1,673
Reaction score
2,241
Location
Columbia MD
Rating - 0%
0   0   0
Yes I had this same issue and if it’s the same bug I reported, there is a workaround. You have to select an outlet on “control chiller” then you will get the “chiller threshold” option to appear. Put in a temperature higher than your heater threshold. Now you can switch the “control chiller” back to “none” and the heating function should work. Does this fix your problem?

@sector9, yup. That did the trick.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Is there anywhere in the guide that discusses static IP addresses? After loading reef-pi and playing with it for a bit, I decided to set it to a static IP so I wasn't chasing the IP as the leases expire. Chose an IP number higher than average for my house so it wouldn't get stolen by a DHCP device. May set a static IP range on my router at some point if it ever is an issue. What's your take?
I just change the hostname of my builds and use that to access them instead of IP. For example, the kessil controller is accessed as http://kessil.local, similarly http://ph.local and more..
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I am having some strange issues. First off, I am doing away with the audio plugs for sure now. I dont know if I got a bad batch from adafruit or what but I had the second female audio plug short internal on me just from plugging and un-plugging. @speedstar did your temp come back after your issue? I am curios if you may be having issues with the audio jack as well.

The big two issues I am having may or may not be related. The other day I did a fresh install of everything, configured and tested all my sensors and outlets and all was working flawlessly. The next morning I was testing the timers and macros. I made a change and went to do a reload and got the following error.
31693433438_43047ea5c1_b.jpg

I have tried several things to include removing all changes in reef-pi, reloading the database from the troubleshooting guide, to a fresh install of rasbian and re install of reef pi and this error is always present when I try and do a reload. So far it does not seem to affect anything when I make a change I can do a reboot and and all my changes are still there.

However, insert problem two, which has me baffled. I set up a temp probe and it works, shows the temp on the dashboard and seems to be accurate. The temp in my house is 70 degrees and the temp probes hover around 69-71 throughout the day. When I add control I set it up to trigger my "heater" output with a threshold of 79.5 and a check frequency of 10 seconds for testing. Instantly the heater output turns off. (When testing the other day the heater output would remain on until the probe reached 79.5 and then turn off). It doesnt matter where I put my threshold if I manually turn on the heater output from the equipment tab after 10 seconds it goes off.

I should also add that no logs are showing in error tab
The first error that you encountered, is benign and expected. Think of it as an UI bug that we need to fix. Its tracked here: https://github.com/reef-pi/reef-pi/issues/510 . This does not indicate any issue reef-pi, its expected since during reef-pi reload it cannot return certain response. We just need to suppress that in UI so that users are not being confused.

Will it be possible to share some more details around your temperature probe setup. Things like outlet configuration (pin and polarity), screenshot of the temperature control configuration etc.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I’ve been running reef-pi since version 0.0.6 in June of 2017 but I finally have built an enclosure for my project.

It is a “rough draft” so to speak with several issues I plan to fix. It is 3D printed and I will release the STL files once I fix the problems. The logo is credit to @MaccaPopEye !!

1C5C0969-7BCC-4A37-BD35-9A75CAD28412.jpeg 36EFEEF2-F4C9-460F-93EB-3F6A4A87F8AB.jpeg 74DBD88B-1171-40EF-9AB9-6D51519E1B30.jpeg 5D5E2CC3-8994-4A03-A636-11099618880E.jpeg

EB3D99E8-A9A1-488F-8AC8-113D9A27FD5A.jpeg
Wow :0-) , thats awesome. So you are using reef-pi for more than a year now. I wonder if @Aaron Smith 's build is still in use :)
 

b4tn

Valuable Member
View Badges
Joined
Jun 17, 2015
Messages
1,673
Reaction score
2,241
Location
Columbia MD
Rating - 0%
0   0   0
The first error that you encountered, is benign and expected. Think of it as an UI bug that we need to fix. Its tracked here: https://github.com/reef-pi/reef-pi/issues/510 . This does not indicate any issue reef-pi, its expected since during reef-pi reload it cannot return certain response. We just need to suppress that in UI so that users are not being confused.

Will it be possible to share some more details around your temperature probe setup. Things like outlet configuration (pin and polarity), screenshot of the temperature control configuration etc.

@Ranjib It was fixed with the work around @sector9 mentioned. But I have two sensors in parallel with a 4.7k resistor going to 3.3 volts The wires on the sensor match the polarity of the board black for ground, red for power, and yellow for signal. I also added my config for heater control as it sits after enabling the chiller then turning it back off. I need to try and replicate it again to verify but last night I was playing with alerts also on the temp and continued to get alerts after I disabled them in the UI. But I need to try it again to make sure.

44654186795_29e7b8c6a2.jpg


44654258405_deffa6645f_k.jpg
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
@Ranjib It was fixed with the work around @sector9 mentioned. But I have two sensors in parallel with a 4.7k resistor going to 3.3 volts The wires on the sensor match the polarity of the board black for ground, red for power, and yellow for signal. I also added my config for heater control as it sits after enabling the chiller then turning it back off. I need to try and replicate it again to verify but last night I was playing with alerts also on the temp and continued to get alerts after I disabled them in the UI. But I need to try it again to make sure.

44654186795_29e7b8c6a2.jpg


44654258405_deffa6645f_k.jpg
This is definitely a software glitch :0(
 

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
Well that may be difficult because each build is individual. My box is a one-off item based on the wiring and requirements I have used. I would have to think about this more.
I'm building according to the adafruit guide ranjib is publishing. If you make a decision to build a few boxes, please let me know.
 

ScottBrew

Active Member
View Badges
Joined
Oct 17, 2018
Messages
385
Reaction score
865
Location
Dunedin Florida
Rating - 0%
0   0   0

Just grow it: Have you ever added CO2 to your reef tank?

  • I currently use a CO2 with my reef tank.

    Votes: 8 5.9%
  • I don’t currently use CO2 with my reef tank, but I have in the past.

    Votes: 5 3.7%
  • I have never used CO2 with my reef tank, but I plan to in the future.

    Votes: 7 5.1%
  • I have never used CO2 with my reef tank and have no plans to in the future.

    Votes: 110 80.9%
  • Other.

    Votes: 6 4.4%
Back
Top