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

Maybe the reboot did fix it, I'm now able to connect via vnc and browser, thanks for the help, I'm blaming my router on this as it's pretty crap

I can help with the network side of things, for the most part if your on the same network space the router shouldnt be doing much since its all arp traffic unless your talking v6 and pretty sure your not talking v6. If you have issues again, let me know via PM etc and I can help sort it.

:)

Regarding network based stuff I've done it for so long I can do it almost in my sleep, so really guys if there is anything you would like help on network wise just ask. I can tell you how I set things up but network stuff is like linux stuff (why I love linux) there is a bazillion ways of doing things, no one way. My home network is pretty stable for all the junk I have on it so if anyone has questions and if you dont want to clog up the forums just PM me.
 
Last edited:
Get a good asus or netgear ;)
Yeah I think I might, I signed up to be a tester with my provider as they looking for people to test there new super duper router, I'm not holding my breath lol, I had an asus in my gaming years on pc and it was very good, sold it on when I gave up gaming
 
Get a good asus or netgear ;)

Eh opensource is always going to be my answer, lots of good software out there and then its just depends on your speeds as how fast you want to go and if you have some real software there are a lot more options for doing stuff. the problem I have with most commercial stuff is they don't keep them up to date they always want to sell ya the latest and greatest. Like I said, just shoot me a message if you would like to chat more about it. :)
 
Hi All - I am attempting to get AdaFruit IO established and keep hitting brick walls. I have scoured the board and help files and think I am close.

1. I have my AdaFruit IO account established, know the UserID and the IO Key and have entered that info into Reef-Pi (2.0)
2. It appears that the Reef Pi is hitting the IO account since these IO feeds got created (not sure why I have so many)

upload_2019-1-15_10-38-49.png


3. I am getting the following errors in Reef Pi

upload_2019-1-15_10-40-53.png


4. None of the feeds contain any data

So I am open for ideas.


I got this working by actually doing nothing. As someone posted, apparently the Adafruit IO servers take some time to propagate once you set things up. Magically and about 4 hours after setup, my data started appearing. I will say that the data ended up in different Adafruit Feeds that were auto-created. I then had to reset the dashboard, using the created feeds. At some point, I will write a process for this to assist new users.
 
I have a comment about the Temperature Control GUI and the naming of the field on the GUI. I know this was discussed during development but I want to bring it back to the surface.

Typical control scenarios surrounding temperature control (from the HVAC industry), threshold is defined as the Gap between to setpoints. Just like the thermostat that heats and cools your home, each unit has a Threshold. Those same unit have a setpoint. Some thermostats even have adjustable thresholds called anticipators. Really the threshold is just a range of min/max temperatures. So in the Reef-Pi config, my opinion is there should be two settings;

1. Setpoint - The desired target temperature for the tank
2. Threshold - The acceptable Range

As example, Setpoint could be set to 78 Deg F and the Threshold to 1 Deg F. The acceptable range then would be from 77 to 79 in this example. If your not doing corals, the threshold might be larger. a climb of 1.5 Deg above setpoint would bring on the chiller and a decrease below 1.5 Deg would bring on the heat. There would need to be a gap introduced in the center that would prevent both the Heating and Chiller to operate at the same time.
 
I got this working by actually doing nothing. As someone posted, apparently the Adafruit IO servers take some time to propagate once you set things up. Magically and about 4 hours after setup, my data started appearing. I will say that the data ended up in different Adafruit Feeds that were auto-created. I then had to reset the dashboard, using the created feeds. At some point, I will write a process for this to assist new users.
I admit, it was pretty frustrating. Ada should point this out somewhere. For something that updates once a second, seems like it would work after a few minutes, if not faster.
 
Maybe the reboot did fix it, I'm now able to connect via vnc and browser, thanks for the help, I'm blaming my router on this as it's pretty crap

It just might be your router. However, if it works without issue most of the time then it could be something else. Is it a D-Link router and, if so, is it a DSL-3782? Or is it a Huawei? If it is either of those throw it away! Lol
 
@Ranjib I'm going to have a play with hooking up four dosing pump heads today via a PCA 9685, so do I need two inputs into the l293d from the pi's gpio per head? That's a total of 8 plus 2 more to the PCA SCA/SDL, so that's a total of 10, does it matter which gpio pins I can use?

Also I'll be running 8 relays, so that's 8 more pins gone, plus the data for the temperature probes, so I'll be up to 19, now if I also want to run lights later on with another PCA 9685 (version 3.0?) do I have enough useable pins?
 
Regarding my previous post, I would find great value in a 16×2 or 16x4 screen always on display, displaying temp, ip address, ph,etc
I have this in my mind. If you check the old posts in this thread , there should be a few posts of me talking about reef-pi physical interface. A barebone lcd panel/mechanical button based interface to do basic configuration as well as display summary information. This does not need to be in reef-pi , that was my learning. I was able to run a dedicated program that uses reef-pi api to get the data and show in a lcd panel .. etc
 
I have a comment about the Temperature Control GUI and the naming of the field on the GUI. I know this was discussed during development but I want to bring it back to the surface.

Typical control scenarios surrounding temperature control (from the HVAC industry), threshold is defined as the Gap between to setpoints. Just like the thermostat that heats and cools your home, each unit has a Threshold. Those same unit have a setpoint. Some thermostats even have adjustable thresholds called anticipators. Really the threshold is just a range of min/max temperatures. So in the Reef-Pi config, my opinion is there should be two settings;

1. Setpoint - The desired target temperature for the tank
2. Threshold - The acceptable Range

As example, Setpoint could be set to 78 Deg F and the Threshold to 1 Deg F. The acceptable range then would be from 77 to 79 in this example. If your not doing corals, the threshold might be larger. a climb of 1.5 Deg above setpoint would bring on the chiller and a decrease below 1.5 Deg would bring on the heat. There would need to be a gap introduced in the center that would prevent both the Heating and Chiller to operate at the same time.
How it is different from the current setup? If we are allowing specifying min and max , it’s anither way of specifying setpoint and tolerance . You are effectively controlling hysteresis
 
@Ranjib I'm going to have a play with hooking up four dosing pump heads today via a PCA 9685, so do I need two inputs into the l293d from the pi's gpio per head? That's a total of 8 plus 2 more to the PCA SCA/SDL, so that's a total of 10, does it matter which gpio pins I can use?

Also I'll be running 8 relays, so that's 8 more pins gone, plus the data for the temperature probes, so I'll be up to 19, now if I also want to run lights later on with another PCA 9685 (version 3.0?) do I have enough useable pins?

If you disabled spi when you set up your rpi that frees up more gpio pins that can be used. It doesn’t matter which pins you use. As far as I know the only pin that’s required to stay the same as the guide is the one wire pin for the temp probe and pins 18 and 19 if you are using built in pwm. All the other pins are free to use as Gpio.

I did not try this so cannot say if it will work or not but was thinking. The input pins just tell the motor which way to turn. So one goes low and the other is the high signal to trigger the motor. Since we don’t really care about motor direction for dosing pumps you could potentially save 3 output pins by using one gpio pin to all the low side inputs of the 293. This would put one side of all 4 motors to low then you would have 4 individual control pins to the high side.
 
If you disabled spi when you set up your rpi that frees up more gpio pins that can be used. It doesn’t matter which pins you use. As far as I know the only pin that’s required to stay the same as the guide is the one wire pin for the temp probe and pins 18 and 19 if you are using built in pwm. All the other pins are free to use as Gpio.

I did not try this so cannot say if it will work or not but was thinking. The input pins just tell the motor which way to turn. So one goes low and the other is the high signal to trigger the motor. Since we don’t really care about motor direction for dosing pumps you could potentially save 3 output pins by using one gpio pin to all the low side inputs of the 293. This would put one side of all 4 motors to low then you would have 4 individual control pins to the high side.

Thank you.

Makes sense, I was researching this all day almost came to the same conclusion, though wasn't quite sure, right now I've wired it up with the extra 3 wires, just for testing, hopefully won't blow anything up....o_O
 
How it is different from the current setup? If we are allowing specifying min and max , it’s anither way of specifying setpoint and tolerance . You are effectively controlling hysteresis
That is really what I would like to have control over. The +/- tolerance.
 
That is really what I would like to have control over. The +/- tolerance.

I agree that the gap/drift/threshold is the more commonly used syntax in HVAC, ie 79F +/- 1F, instead of a min/max. At the end of the day, it's the same thing, and the backend code could easily convert the drift to a max/min for use. Should be trivial for anyone to make that change, if that's what they want.
 

TOP 10 Trending Threads

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

    Votes: 14 35.9%
Back
Top
Home
Post thread…
Market
What's new