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

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
You have only 5v requirement? I have used micro usb in one of the early build, and never for any other build. I found them lot less useful compared to straight barrel jacks.

This is for the raspberry pi itself, or is the 12v input being used to supply power to the entire box?
 
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
Oct 15 10:16:31 raspberrypi reef-pi[6376]: 2018/10/15 10:16:31 ERROR: Failed to submit data to adafruit.io. User: Pickupman66 Feed: sump temp-reading Error: {"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}
Oct 15 10:16:31 raspberrypi reef-pi[6376]: 2018/10/15 10:16:31 ERROR: Failed to submit data to adafruit.io. User: Pickupman66 Feed: room temp-reading Error: {"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}
Oct 15 10:17:01 raspberrypi reef-pi[6376]: 2018/10/15 10:17:01 temperature sub-system: sensor Tank Temp value: 77.225
Oct 15 10:17:01 raspberrypi reef-pi[6376]: 2018/10/15 10:17:01 ERROR: Failed to submit data to adafruit.io. User: Pickupman66 Feed: tank temp-reading Error: {"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}
Oct 15 10:17:01 raspberrypi reef-pi[6376]: 2018/10/15 10:17:01 temperature subsystem: Current temperature is within range switching off heater/cooler
Oct 15 10:17:01 raspberrypi reef-pi[6376]: 2018/10/15 10:17:01 Setting GPIO Pin: 6 State: 0
Oct 15 10:17:01 raspberrypi reef-pi[6376]: 2018/10/15 10:17:01 ERROR: Failed to submit data to adafruit.io. User: Pickupman66 Feed: tank temp-cooler Error: {"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}
Oct 15 10:17:02 raspberrypi reef-pi[6376]: 2018/10/15 10:17:02 ERROR: Failed to submit data to adafruit.io. User: Pickupman66 Feed: tank temp-heater Error: {"error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}
Can you reload reef-pi ?. There was a bug in rc-0 that when you rename a temperature sensor it wont recreate the feed. I have fixed it in rc-1. In older rc0 you have to reload/restart reef-pi to resolve this
 
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
This is for the raspberry pi itself, or is the 12v input being used to supply power to the entire box?
Yup, 12v for the whole box (hence lm2596 to convery 12V -> 5V for Pi)
 
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
That is a great idea, I didn't know those existed! If those could work with Reef-Pi it would be a fantastic addition. Probably something that would be good to look at after an the I2C GPIO extender is added.
I think the current sensor is analog input based.
 

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
Yup, 12v for the whole box (hence lm2596 to convery 12V -> 5V for Pi)

I thought the power for the control of the power strip was why we added the buck converter. Interesting. Good thing I didn't power anything on yet :P
 

pickupman66

5000 Club Member
View Badges
Joined
Aug 10, 2010
Messages
6,032
Reaction score
1,165
Location
Winchester, TN
Rating - 0%
0   0   0
Can you reload reef-pi ?. There was a bug in rc-0 that when you rename a temperature sensor it wont recreate the feed. I have fixed it in rc-1. In older rc0 you have to reload/restart reef-pi to resolve this

I have reloaded several times. I just now updated reef-pi to the latest.

Oct 15 11:20:58 raspberrypi reef-pi[19457]: 2018/10/15 11:20:58 ERROR: Telemetry sub-system: Failed to create feed: sump temp-reading Error: {"error":["Name must be unique within the selected group","Key must be unique within the selecte
Oct 15 11:20:58 raspberrypi reef-pi[19457]: 2018/10/15 11:20:58 ERROR: Telemetry sub-system: Failed to create feed: tank temp-reading Error: {"error":["Name must be unique within the selected group","Key must be unique within the selecte
Oct 15 11:20:58 raspberrypi reef-pi[19457]: 2018/10/15 11:20:58 ERROR: Telemetry sub-system: Failed to create feed: room temp-reading Error: {"error":["Name must be unique within the selected group","Key must be unique within the selecte
Oct 15 11:20:59 raspberrypi reef-pi[19457]: 2018/10/15 11:20:59 Telemetry sub-system: Creating missing feed: tank temp-heater
Oct 15 11:20:59 raspberrypi reef-pi[19457]: 2018/10/15 11:20:59 Starting health checker
Oct 15 11:20:59 raspberrypi reef-pi[19457]: 2018/10/15 11:20:59 ERROR: Telemetry sub-system: Failed to create feed: tank temp-heater Error: {"error":["Name must be unique within the selected group","Key must be unique within the selected
Oct 15 11:21:03 raspberrypi reef-pi[19457]: 2018/10/15 11:21:03 ato sub-system: sensor ATO value: 1
Oct 15 11:21:04 raspberrypi reef-pi[19457]: 2018/10/15 11:21:04 Setting GPIO Pin: 5 State: 0
Oct 15 11:21:08 raspberrypi reef-pi[19457]: 2018/10/15 11:21:08 ato sub-system: sensor ATO value: 1
Oct 15 11:21:09 raspberrypi reef-pi[19457]: 2018/10/15 11:21:09 Setting GPIO Pin: 5 State: 0

ato usage.JPG
 
Last edited:
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 have reloaded several times. I just now updated reef-pi to the latest.

Oct 15 11:20:58 raspberrypi reef-pi[19457]: 2018/10/15 11:20:58 ERROR: Telemetry sub-system: Failed to create feed: sump temp-reading Error: {"error":["Name must be unique within the selected group","Key must be unique within the selecte
Oct 15 11:20:58 raspberrypi reef-pi[19457]: 2018/10/15 11:20:58 ERROR: Telemetry sub-system: Failed to create feed: tank temp-reading Error: {"error":["Name must be unique within the selected group","Key must be unique within the selecte
Oct 15 11:20:58 raspberrypi reef-pi[19457]: 2018/10/15 11:20:58 ERROR: Telemetry sub-system: Failed to create feed: room temp-reading Error: {"error":["Name must be unique within the selected group","Key must be unique within the selecte
Oct 15 11:20:59 raspberrypi reef-pi[19457]: 2018/10/15 11:20:59 Telemetry sub-system: Creating missing feed: tank temp-heater
Oct 15 11:20:59 raspberrypi reef-pi[19457]: 2018/10/15 11:20:59 Starting health checker
Oct 15 11:20:59 raspberrypi reef-pi[19457]: 2018/10/15 11:20:59 ERROR: Telemetry sub-system: Failed to create feed: tank temp-heater Error: {"error":["Name must be unique within the selected group","Key must be unique within the selected
Oct 15 11:21:03 raspberrypi reef-pi[19457]: 2018/10/15 11:21:03 ato sub-system: sensor ATO value: 1
Oct 15 11:21:04 raspberrypi reef-pi[19457]: 2018/10/15 11:21:04 Setting GPIO Pin: 5 State: 0
Oct 15 11:21:08 raspberrypi reef-pi[19457]: 2018/10/15 11:21:08 ato sub-system: sensor ATO value: 1
Oct 15 11:21:09 raspberrypi reef-pi[19457]: 2018/10/15 11:21:09 Setting GPIO Pin: 5 State: 0

ato usage.JPG
I think this error is happening due to the temperature sensor name. Can you share following details:
- Scope of the telemetry issue: Do you see data for some of your sensors ? Like ato , ph or light etc? Only temperature data is missing? Or none of the sensor data is appearing in adafruit.io ?
- Name of your temperature sensors. Particularly the ones which has missing data. I think it has space in the name, and may be renaming the sensor to something else will fix it.
 

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,121
Rating - 0%
0   0   0
Is there any provisions to use current sensors to set alarm notifications. Thinking I would like to know if my return pump failed ie pulling high or no amps or if the lights failed. Seems like it could be done using these. https://www.sparkfun.com/products/11005
I am also interested in this. I hadn't considered the product you linked, I was thinking more about a custom relay controller with current monitoring. This looks like it might be more approachable, though. I don't think rpi has any analog inputs, so it would still need some additional external hardware. This will be interesting to consider after 2.o is complete.
 

speedstar

Well-Known Member
View Badges
Joined
Sep 18, 2018
Messages
704
Reaction score
1,029
Location
Grand Rapids
Rating - 0%
0   0   0
Using
I am also interested in this. I hadn't considered the product you linked, I was thinking more about a custom relay controller with current monitoring. This looks like it might be more approachable, though. I don't think rpi has any analog inputs, so it would still need some additional external hardware. This will be interesting to consider after 2.o is complete.
Using a MCP3002 ADC and some of this code should get it in business https://github.com/commandtab/brewbot
 

speedstar

Well-Known Member
View Badges
Joined
Sep 18, 2018
Messages
704
Reaction score
1,029
Location
Grand Rapids
Rating - 0%
0   0   0
@Ranjib if I have not yet, THANK YOU! for all the time, effort and sharing of this. I hope to understand how the coding works when I have time, but it has been 20+ years since my C+ and Quick/Visual Basic days. Have done some basic ardunio as well. Looked at the code and environment, hopefully will set it up sometime. Would you recommend any basic programming resources?
 

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,121
Rating - 0%
0   0   0
@Ranjib if I have not yet, THANK YOU! for all the time, effort and sharing of this. I hope to understand how the coding works when I have time, but it has been 20+ years since my C+ and Quick/Visual Basic days. Have done some basic ardunio as well. Looked at the code and environment, hopefully will set it up sometime. Would you recommend any basic programming resources?
I found the golang tour very helpful (https://tour.golang.org/welcome/1). The react documentation is fairly decent too. Outside of that, I think the reef-pi slack is a good choice for code specific questions or ideas(Ranjib can send you an invite if you are interested). I think we've been pretty good about sharing what we know and supporting each other in areas where we'd like to know more. I'm a professional developer, but I had never used go or react before starting to contribute to reef-pi. I think you'd get the hang of it pretty quickly based on the github page you linked.
 

Joseph Lim

New Member
View Badges
Joined
Oct 6, 2018
Messages
21
Reaction score
23
Rating - 0%
0   0   0
Hi, I was fidling with the setting for dashboard and changed rows to 3. After clicking update and back to dashboard...the screen was just plain white. Had to reset the pi database for it to work again. Anybody else experiencing this?

Im running 2.0.0-rc1
 
Last edited:

Mendeln

Community Member
View Badges
Joined
Nov 21, 2017
Messages
27
Reaction score
64
Location
Germany
Rating - 0%
0   0   0
Is there any provisions to use current sensors to set alarm notifications. Thinking I would like to know if my return pump failed ie pulling high or no amps or if the lights failed. Seems like it could be done using these. https://www.sparkfun.com/products/11005
hi there

i would stick it to my pump to see when i need to clean my filter. this is better than the flowmeter.
i have a freshwater aquarium and i build my reefpi setup in the next months
 

Diamond1

Valuable Member
View Badges
Joined
Oct 17, 2013
Messages
1,368
Reaction score
1,914
Location
Cleveland Ohio
Rating - 0%
0   0   0
Been looking at a few things to get parts for my reef pi. I found these and was wondering if they would work with reef pi instead of building circuits on a bread board.
https://pi-plates.com/pi-plates-catalog/
They are stackable, modular and seem to have everything needed to build an AIO unit. Since I have limited experience with building stuff like this I was looking at this as a more plug and play option.
The DAQC and DC motor control plates look very promising. After pricing everything out from Ranjib's parts list the cost difference in negligible.
Any thoughts?
 
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, I was fidling with the setting for dashboard and changed rows to 3. After clicking update and back to dashboard...the screen was just plain white. Had to reset the pi database for it to work again. Anybody else experiencing this?

Im running 2.0.0-rc1
I have never encountered something like this. I’ll try to reproduce . Dashboard config should not be able to something like this
 

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
Been looking at a few things to get parts for my reef pi. I found these and was wondering if they would work with reef pi instead of building circuits on a bread board.
https://pi-plates.com/pi-plates-catalog/
They are stackable, modular and seem to have everything needed to build an AIO unit. Since I have limited experience with building stuff like this I was looking at this as a more plug and play option.
The DAQC and DC motor control plates look very promising. After pricing everything out from Ranjib's parts list the cost difference in negligible.
Any thoughts?
Wow, that could be a neat way forward right there. How did you find those?
 
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
@Ranjib if I have not yet, THANK YOU! for all the time, effort and sharing of this. I hope to understand how the coding works when I have time, but it has been 20+ years since my C+ and Quick/Visual Basic days. Have done some basic ardunio as well. Looked at the code and environment, hopefully will set it up sometime. Would you recommend any basic programming resources?
thank you for the kind words. As @Michael Lane mentioned, go should be very similar to C/C++ (simpler I would say). I'll also recommend not to start with the front end code(react/javascript) in the beginning. Take a small backend problem and solve that and then learn the next one..
 

TOP 10 Trending Threads

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

  • 100% live rock + bagged sand

    Votes: 37 27.2%
  • 100% dry rock + 100% live sand

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

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

    Votes: 13 9.6%
  • 25% live rock, 75% live sand

    Votes: 10 7.4%
Back
Top