reef-pi :: An opensource reef tank controller based on Raspberry 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
Was wondering if anyone used the new aquarium safe temp probe from inkbird?
reef-pi uses ds18b20 probes which are different than the inkbird, as a result t
 
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
Links to the locations of those boards? I believe I've heard chat about all of those and didn't really know what they were or how they worked. I think that's exactly the direction I want to move in for it!

Update - Here's the Reef-Pi Link
$30 each

Bought 2, still looking for the others..

Thanks!
Any powerstrip consideration? Use a HAT and ph board to simplify your wiring. Just the kessil 5->10V pwm related circuit needs to be done by hand
 

Zippyfear

Community Member
View Badges
Joined
Apr 30, 2019
Messages
86
Reaction score
150
Rating - 0%
0   0   0
Any powerstrip consideration? Use a HAT and ph board to simplify your wiring. Just the kessil 5->10V pwm related circuit needs to be done by hand

Is it the same 5>12v pwm I used for the power strip? adjustable? so I'll need 2 of them for the lighting and power?
 
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
Is it the same 5>12v pwm I used for the power strip? adjustable? so I'll need 2 of them for the lighting and power?
Yes.. thats why I was asking about the ADJ powerstrip. if you plan to go with HS300 then you dont need 12v for it and less current requirement for the overall build (and some other nice features)
 

JohnMzreef

Active Member
View Badges
Joined
Sep 19, 2018
Messages
259
Reaction score
142
Location
Bellingham, WA
Rating - 0%
0   0   0
Hi, I am preparing to build my first reef-pi. I have been reading through the adafruit tutorials and have noticed some inconsistencies in the "reef-pi guide 5: light controller".
On the overview page it talks about using the "truelumen" moonlight which is a 24v DC fixture. However, on subsequent pages the moonlight circuit appears to be wired for 12v?
On the parts page the moonlight is referred to as a "coralife" fixture, not "truelumen".
Also, at the top of the parts page you talk about "one part of the build" which is an extension of the prior tutorials. However, you never revisit this and the tutorial seems to go straight to the "other build" which is a dedicated system.
Would you please edit this tutorial for clarity?
Thanks so much for all your efforts.
 

Soulreefer

Community Member
View Badges
Joined
Aug 16, 2018
Messages
44
Reaction score
67
Location
Jakarta, Indonesia
Rating - 0%
0   0   0
Thank you. To name a few, following is our tentative goals for 3.0, that exploit this feature
- Support for multiple PCA9685
- Using PWM pins (pca9685 or pi) as outlets (cause they can be switched back and forth 0 or 100%)
- support for @Roberto_b's ph board
- support for @theatrus 's pico base board
- support of MCP23017 IO expander (more inlets & outlets)
- Probably support for smart outlets (strech goal)

hello @Ranjib or other friends , is this MCP23017 can still be input into reef-pi ?, sorry I need enlightenment because I read back there is rarely anyone talking about MCP23017, I just need an additional inlet for the Ato function.

Thank you very much.
 

pies666

New Member
View Badges
Joined
Nov 25, 2019
Messages
12
Reaction score
9
Rating - 0%
0   0   0
Aaaahh. I think I get what you're saying now. Reef-Pi itself doesn't actually detect the screen. You have to run it in a browser.

I followed this tutorial https://pimylifeup.com/raspberry-pi-kiosk/ and now have my Raspberry Pi running in Kiosk Mode. The Raspberry Pi boots directly into Chrome and opens the page I specified (Reef-Pi). Works brilliantly for what I want.
01532d999834273d6ffc33933a78e23720a2e6d7e8.jpg


That's what my Raspberry Pi boots into . I'm assuming that's what you want?

Not exacly. I did have similar setup (toouchscreen with Kiosk Mode) but I have switched to official rpi screen. As long as I read here reef-pi has some sort of support for this (and only this) touchscreen. You can enable it in configuration->settings-> display. This is exacly what I'm asking about.

For some reason I'm stuck with this error: "{"error":"strconv.Atoi: parsing \"108\\n\": invalid syntax"} | HTTP 404 ". Number "xxx\\n\" depends on brightness level.
I wonder if reef-pi got any other support for official rpi touchscreen or just the brightness control.
If the only advantage of having official rpi screen is brightness control I will stick with non-official (cheaper one) in Kiosk Mode.


Also still can't get those lightning graphs to work. No matter if I use a single or dual PWM control I can't get them to render. Electrically everything works perfect - only light graphs on dashboard are blank.
 
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
Not exacly. I did have similar setup (toouchscreen with Kiosk Mode) but I have switched to official rpi screen. As long as I read here reef-pi has some sort of support for this (and only this) touchscreen. You can enable it in configuration->settings-> display. This is exacly what I'm asking about.

For some reason I'm stuck with this error: "{"error":"strconv.Atoi: parsing \"108\\n\": invalid syntax"} | HTTP 404 ". Number "xxx\\n\" depends on brightness level.
I wonder if reef-pi got any other support for official rpi touchscreen or just the brightness control.
If the only advantage of having official rpi screen is brightness control I will stick with non-official (cheaper one) in Kiosk Mode.


Also still can't get those lightning graphs to work. No matter if I use a single or dual PWM control I can't get them to render. Electrically everything works perfect - only light graphs on dashboard are blank.
I’ll cross check the display thing, from the error it appears there is a new line character that’s causing the issue.
The light graph is as expected, we are yet to add chart support for different profiles. During 3.0 pwm profile rewrite this was broken
 

Blaxkin

Community Member
View Badges
Joined
Oct 4, 2019
Messages
27
Reaction score
46
Rating - 0%
0   0   0
Ok i think the Problem is gone. I installed a separate LM2596 for the Temp Sensors Only.

But now can you tell me why one Graph begins at 0 and the other at 21 ?

A995D5B6-CD7D-47A3-86B8-C82BDD543026.png E804831E-FEEB-4135-AE10-A9741634E482.png
 

dmolavi

Well-Known Member
View Badges
Joined
Jan 3, 2015
Messages
509
Reaction score
640
Location
United States
Rating - 0%
0   0   0
Ok i think the Problem is gone. I installed a separate LM2596 for the Temp Sensors Only.

But now can you tell me why one Graph begins at 0 and the other at 21 ?

A995D5B6-CD7D-47A3-86B8-C82BDD543026.png E804831E-FEEB-4135-AE10-A9741634E482.png
You can set the min/max display range for each sensor. I've noticed that even after doing that, it can occationally take a "little while" before it kicks in. I'm not sure if it's a log out/in thing, closing my browser, etc, nor can I quantify the time or reliably reproduce the behavior. It's a minor nit, and since I use Adafruit IO mostly, nothing I'm too concerned about.
 

Blaxkin

Community Member
View Badges
Joined
Oct 4, 2019
Messages
27
Reaction score
46
Rating - 0%
0   0   0
You can set the min/max display range for each sensor. I've noticed that even after doing that, it can occationally take a "little while" before it kicks in. I'm not sure if it's a log out/in thing, closing my browser, etc, nor can I quantify the time or reliably reproduce the behavior. It's a minor nit, and since I use Adafruit IO mostly, nothing I'm too concerned about.


Yes but only in the version before 3.0 ?
 
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
Ok i think the Problem is gone. I installed a separate LM2596 for the Temp Sensors Only.

But now can you tell me why one Graph begins at 0 and the other at 21 ?

A995D5B6-CD7D-47A3-86B8-C82BDD543026.png E804831E-FEEB-4135-AE10-A9741634E482.png
This is an annoyance introduced in 3.0. In 2.0 we used to get a bogus error of utilization data not found upon creation of new sensors . This is because the sensor had not been monitored yet. To suppress that I introduced a change that will initialize a zero value utilization for new sensor . This is a visual /eye sore and should not trigger any control logic
In retrospect, this is a poor workaround and I should have initialized an Empty utilization data instead
I’ll make sure to address this in next minor release. Thank you for calling this out. Now that 3.0 is out of the door I’m sitting back and using the controller and also discovering bunch of such minor nuisances . I expect them to settle after a couple of minor releases
 

Zippyfear

Community Member
View Badges
Joined
Apr 30, 2019
Messages
86
Reaction score
150
Rating - 0%
0   0   0
Any powerstrip consideration? Use a HAT and ph board to simplify your wiring. Just the kessil 5->10V pwm related circuit needs to be done by hand

Just installed 3.0 on a fresh new Pi3, and a few questions - When I click on connectors, it gets an error -
Details
TypeError: Cannot read property 'analog-input' of null

maybe I didn't enable something on the Pi first? if that's the case, maybe you could add that to the error message .
** Solved - by enabling SPI from running raspi-config **

Second, I'd like to test my TP link hs103's before getting the HS300, but it asks for an address when I add the driver. The only address I see in the Kasa app is the MAC address. is there something else I need there?


Finally, The service seems to start up on a system restart, but the UI doesn't. (can't access it on via HTTP) - Do I need to do anything to enable that to run at startup?

Thanks for all your work on this project btw.. looking forward to getting my reef-pi hat and PH board and probe!
 
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
Just installed 3.0 on a fresh new Pi3, and a few questions - When I click on connectors, it gets an error -
Details
TypeError: Cannot read property 'analog-input' of null

maybe I didn't enable something on the Pi first? if that's the case, maybe you could add that to the error message .
** Solved - by enabling SPI from running raspi-config **

Second, I'd like to test my TP link hs103's before getting the HS300, but it asks for an address when I add the driver. The only address I see in the Kasa app is the MAC address. is there something else I need there?


Finally, The service seems to start up on a system restart, but the UI doesn't. (can't access it on via HTTP) - Do I need to do anything to enable that to run at startup?

Thanks for all your work on this project btw.. looking forward to getting my reef-pi hat and PH board and probe!
You have to provide the ip address:9999 , you can find the IP either via the arp command or by checking your gateway (like comcast routers or google wifi app)
 
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

Zippyfear

Community Member
View Badges
Joined
Apr 30, 2019
Messages
86
Reaction score
150
Rating - 0%
0   0   0
ping the broadcast address and then invoke arp -a for getting ip from mac address , if you dont have access to gateway. here is a post on how to do this: https://thebackroomtech.com/2010/08/22/determine-ip-address-from-a-mac-address/

Easy enough! Works perfectly on my HS105 btw, so you can maybe call those HS103/HS105.

Next issue. ugh. sorry about all this. I can't seem to get my GPIO equipment outlets working.. same wiring setup I used before with my other Pi3 that was just working. so I was just moving it over to a replacement Pi3. so I know for a fact that it's something in the OS settings. Temp sensors are working fine, just not the equipment outlets.

I updated all the settings as per this page.. anything else I might be missing or should check? **Edit - Also verified I can't get an LED light to turn on with GPIO. maybe something wrong with this new pi3?

 
Last edited:

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