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

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
I actually did not extend the leads as a test. The cable is just 3 feet with only one sensor. That is why I am leaning to a cold joint on the socket or maybe a loose jump wire. I will post back the results. once I figure this out, I want to add a second sensor and lead length of bout 6' each. With that, where do you insert the pull up resistor? I do have a resistor on the pi hat as per the original build spec that is posted.
With those lengths you should be good, and the 4.7 k in place as per the guide. Im running 3 sensors each 10 feet long(3meters) with the 4.7k as per specs with no issues at all.
Time to get out the meter and look at continuity.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
How long should 'make ui-dev' take? It's been sitting here for almost 5 minutes....

dari@sheldon:~/gospace/src/github.com/reef-pi/reef-pi$ make ui-dev
npm run ui-dev

> [email protected] ui-dev /home/dari/gospace/src/github.com/reef-pi/reef-pi
> webpack -d --watch

clean-webpack-plugin: /home/dari/gospace/src/github.com/reef-pi/reef-pi/ui has been removed.

Webpack is watching the files…

Hash: 6b2e9022514358ae6c6c
Version: webpack 4.14.0
Time: 13607ms
Built at: 01/20/2019 9:03:12 AM
Asset Size Chunks Chunk Names
assets/css/main.3ace807c456ac8cb6683.css 160 KiB main [emitted] main
assets/js/main.41cd4f81d10cf7efbe79.js 1.43 MiB main [emitted] main
assets/js/vendors~main.867036f7abcecbc2c2b9.js 10.6 MiB vendors~main [emitted] vendors~main
favicon.ico 3.69 KiB [emitted]
home.html 542 bytes [emitted]
[./assets/sass/style.scss] 39 bytes {main} [built]
[./jsx/app.jsx] 3.07 KiB {main} [built]
[./jsx/ato/main.jsx] 3.67 KiB {main} [built]
[./jsx/camera/main.jsx] 4.64 KiB {main} [built]
[./jsx/configuration/main.jsx] 3.91 KiB {main} [built]
[./jsx/dashboard/main.jsx] 8.89 KiB {main} [built]
[./jsx/dlipower/main.jsx] 2.35 KiB {main} [built]
[./jsx/doser/main.jsx] 7.37 KiB {main} [built]
[./jsx/entry.js] 339 bytes {main} [built]
[./jsx/main_panel.jsx] 8.06 KiB {main} [built]
[./jsx/redux/reducer.js] 4.93 KiB {main} [built]
[./jsx/redux/store.js] 851 bytes {main} [built]
[./jsx/sign_in.jsx] 6.35 KiB {main} [built]
[./jsx/timers/main.jsx] 6.58 KiB {main} [built]
[./jsx/ui_components/error_boundary.jsx] 3.1 KiB {main} [built]
+ 944 hidden modules
Child html-webpack-plugin for "home.html":
1 asset
[./node_modules/html-webpack-plugin/lib/loader.js!./assets/home.html] 453 bytes {0} [built]
[./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {0} [built]
[./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built]
+ 1 hidden module
Child mini-css-extract-plugin node_modules/css-loader/index.js!node_modules/postcss-loader/src/index.js??ref--5-2!node_modules/sass-loader/lib/loader.js!assets/sass/style.scss:
[./node_modules/css-loader/index.js!./node_modules/postcss-loader/src/index.js??ref--5-2!./node_modules/sass-loader/lib/loader.js!./assets/sass/style.scss] ./node_modules/css-loader!./node_modules/postcss-loader/src??ref--5-2!./node_modules/sass-loader/lib/loader.js!./assets/sass/style.scss 166 KiB {mini-css-extract-plugin} [built]
+ 1 hidden module
it will run forever. It watches any changes in your jsx files and recompile things when needed. you should not expect it to stop.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
With reef-pi controlling the heater, and the heater set higher, the bi-metallic strip in the heater should typically remain closed. That should tremendously extend the life of the heater.
The 8 channel boards are cheap and easy to switch out should a relay fail (or change the relay itself). As far as the ADJ boards, what are they running internally? Would you be able to service them to replace a relay if one failed? If not, that may be a situation of having the heater control itself and have reef-pi running as the secondary control.
Currently I dont think that we would ever know if either the heater or relay failed on, as we do not have any way of sensing whether a device is actually on. @Ranjib is power/voltage/current sensing in the works at all? I know it has been mentioned in the past, but I dont know if it is going anywhere.
How does Apex monitor power?
not currently. but we'll definitely have this in future, exactly for the reasons you have described. may be a 4.0 thing, or earlier ... who knows. The recent HAL work that we did , will introduce generic analog inputs. this should make things lot simpler in terms of adding new driver/probes. But theres a long way to go before we use that data for something good. These discussions are very helpful in that regard, it gives me some understanding on what user experience (UX) we are aiming for. I don't want to just add the ability to monitor current, I want a streamlined story like if we add current monitoring, it will seamlessly work with the rest of the system to detect and alert failure, and users should not have to know a whole lot of things.

On the same note, I think we can do a lot more even without the current monitoring... just by analyzing the trends (heater usage for example).
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I'm getting down to the make part but getting the following error:

pwd = /home/bishop/gospace/src/github.com/ranjib/reef-pi
make
make go
make[1]: Entering directory '/home/bishop/gospace/src/github.com/ranjib/reef-pi'
go build -o bin/reef-pi -ldflags "-s -w -X main.Version=2.1-20-g7415295" ./commands
commands/daemon.go:11:2: cannot find package "github.com/reef-pi/reef-pi/controller/daemon" in any of:
/usr/lib/go/src/github.com/reef-pi/reef-pi/controller/daemon (from $GOROOT)
/home/bishop/gospace/src/github.com/reef-pi/reef-pi/controller/daemon (from $GOPATH)
commands/reset_password.go:8:2: cannot find package "github.com/reef-pi/reef-pi/controller/storage" in any of:
/usr/lib/go/src/github.com/reef-pi/reef-pi/controller/storage (from $GOROOT)
/home/bishop/gospace/src/github.com/reef-pi/reef-pi/controller/storage (from $GOPATH)
make[1]: *** [Makefile:21: go] Error 1
make[1]: Leaving directory '/home/bishop/gospace/src/github.com/ranjib/reef-pi'
make: *** [Makefile:12: bin] Error 2
Like I said its probably something obvious but I'm tired, if you have any ideas on what I am missing let me know, the next part compiling the jsx code worked, just the make part that I am having issues with...

Thanks :)
@Tom Bishop which document you are following? I am not able to spot anything that reference ranjib/reef-pi, I am looking at this: https://reef-pi.github.io/additional-documentation/development/
 

That Crusso Kid

10K Club member
View Badges
Joined
Oct 21, 2018
Messages
15,517
Reaction score
78,846
Location
SW, FL, USA
Rating - 0%
0   0   0
Set to 78, gap of 1. They are old from an aquaculture project circa 2009-10, no 0-10V outputs.

Whoa! That kind of shoots the "replace heater every year" theory! ;Wideyed
 

Erica-Renee

Valuable Member
View Badges
Joined
Oct 4, 2017
Messages
1,596
Reaction score
3,288
Location
lost
Rating - 0%
0   0   0
Comments on the heater Discussion. If your Heater Recommendation is 200w use two 100 or 150 w heaters Each on there own controller or controller channel.The likely hood of having two fail at the same time is very low and if one fails your still going to keep the tank heated . I have 4 500w heaters on my tank connected to reef-pi and Ink-Bird controllers .The REEF-PI Controlled outlets are normally open , So if the pi fails the heaters will still be on the Ink Bird controller
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
I run mine the opposite way because aqueon pros are solid state, not bimetal strips. My heaters control temp, and reef pi is set a degree higher in case the heater control goes haywire. Plus with aqueons being electronic control, switching on and off alot probably isnt good for them

I also run Aqueon Pros, they are not fail proof but so far they have done there and compared to the others I think they are better, I think they are assembled in Italy. They have a newer version now, not sure what they changed internally but they do not appear to be quite the same. I do not have the reef-pi controlling them quite yet but my plan is to run them in the same manner, reef-pi will be the fail safe if the temp goes to high.
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
Well that would ex
I have to update the developer documentation. it should not use ranjib/reef-pi , that was before 1.0 .

Well that would explain it, I am willing to help out with that kind of stuff just let me know what it should be and I will gladly update. :)

I was pretty tired when I was doing things last night and thought it was just something I was doing.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I am working on adding a new type of connector to represent analog inputs , like the ones used for ph, orp, salinity etc, and I am thinking what to call them. We have outlet representing digital output, inlet representing digital input , jack representing variable dc output,,, any suggestion for the new connector name that will represent analog input ?
 

rushbattle

Valuable Member
View Badges
Joined
Oct 19, 2016
Messages
1,347
Reaction score
1,628
Location
Equality
Rating - 0%
0   0   0
Whoa! That kind of shoots the "replace heater every year" theory! ;Wideyed
Ranco are industrial temperature controllers, they have been making the same thing reliably for a long time. The only failures I have seen were due to being exposed to salt water spray, or thermal issues. Otherwise I have never seen one fail. They are not your normal bi-metal strip situation like home aquarium oriented heaters.
 

rushbattle

Valuable Member
View Badges
Joined
Oct 19, 2016
Messages
1,347
Reaction score
1,628
Location
Equality
Rating - 0%
0   0   0
I am working on adding a new type of connector to represent analog inputs , like the ones used for ph, orp, salinity etc, and I am thinking what to call them. We have outlet representing digital output, inlet representing digital input , jack representing variable dc output,,, any suggestion for the new connector name that will represent analog input ?
Honestly, I find all of that confusing. I would have named them what you are describing them as (digital output, digital input, PWM output, analog input). Once I figured it out, no big deal but it was confusing trying to figure out a jack vs an outlet, etc.
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
@Tom Bishop which document you are following? I am not able to spot anything that reference ranjib/reef-pi, I am looking at this: https://reef-pi.github.io/additional-documentation/development/

I was following this guide - https://reef-pi.github.io/general-guides/development/

Here is the screenshot of the section:

dev.png



I assume I should follow the one you listed above?
 

dmolavi

Well-Known Member
View Badges
Joined
Jan 3, 2015
Messages
509
Reaction score
640
Location
United States
Rating - 0%
0   0   0

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
I am working on adding a new type of connector to represent analog inputs , like the ones used for ph, orp, salinity etc, and I am thinking what to call them. We have outlet representing digital output, inlet representing digital input , jack representing variable dc output,,, any suggestion for the new connector name that will represent analog input ?
I guess Anal-IN is not under consideration ;)

But maybe name them what they are and call them all connectors.

DI=Digital Input
DO=Digital Output
AI=Analog Input
AO=Analog Output
PWM=PWM Output

May simplify things in the future, with reef pi expanding into different things.
 
Last edited:

theatrus

Valuable Member
View Badges
Joined
Mar 26, 2016
Messages
2,255
Reaction score
3,603
Location
Sacramento, CA area
Rating - 0%
0   0   0
I guess Anal-IN is not under consideration ;)

But maybe name them what they are and call them all connectors.

DI=Digital Input
DO=Digital Output
AI=Analog Input
AO=Analog Output
PWM=PWM Output

May simplify things in the future, with reef pi expanding into different things.

Nice and simple.

It will be nice to be able to attach different modules to an analog input as well, for example temperature probes in addition to pH. It requires different analog front end circuitry, but from a digital perspective is just analog input, with a different conversion function.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Nice and simple.

It will be nice to be able to attach different modules to an analog input as well, for example temperature probes in addition to pH. It requires different analog front end circuitry, but from a digital perspective is just analog input, with a different conversion function.
Yup . We have to convert the ds18b20 code as driver for that
 

That Crusso Kid

10K Club member
View Badges
Joined
Oct 21, 2018
Messages
15,517
Reaction score
78,846
Location
SW, FL, USA
Rating - 0%
0   0   0
Honestly, I find all of that confusing. I would have named them what you are describing them as (digital output, digital input, PWM output, analog input). Once I figured it out, no big deal but it was confusing trying to figure out a jack vs an outlet, etc.

+1

I guess Anal-IN is not under consideration ;)

But maybe name them what they are and call them all connectors.

DI=Digital Input
DO=Digital Output
AI=Analog Input
AO=Analog Output
PWM=PWM Output

May simplify things in the future, with reef pi expanding into different things.

+1
 

TOP 10 Trending Threads

Back
Top
Home
Post thread…
Market
What's new