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

dmolavi

Well-Known Member
View Badges
Joined
Jan 3, 2015
Messages
509
Reaction score
646
Location
United States
Rating - 0%
0   0   0
@dmola and @Ranjib and anyone else more familiar with this than I am.

Seems like the power methods mentioned with the options wanted are quite expensive. I've not been able to find one for less than several hundred dollars. At that price I believe it has become cost prohibitive for many people. Not sure if it's possible but could we not simply "daisy chain" another Rpi to do what we want it to do?

Something along these lines or similar?

https://www.raspberrypi.org/blog/open-source-energy-monitoring-raspberry-pi/

Once again, simply throwing ideas out there because I don't know any better!

Just checked out the open source energy monitor you linked to - it's AC only (makes sense, since it's contact-less, relying on inductive sensing). That won't work on the DC power that (most of) our equipment runs from. A smart switch which can monitor a per-outlet load is most likely the best option if this is to be pursued.

Brain fart - we could do inductive sensing on the output of the 'dumb' switch outlets. Need more coffee.
 

crusso1993

7500 Club Member
View Badges
Joined
Oct 21, 2018
Messages
8,671
Reaction score
44,651
Location
SW, FL, USA
Rating - 0%
0   0   0
Just checked out the open source energy monitor you linked to - it's AC only (makes sense, since it's contact-less, relying on inductive sensing). That won't work on the DC power that (most of) our equipment runs from. A smart switch which can monitor a per-outlet load is most likely the best option if this is to be pursued.

Gah! Good catch... I missed that tiny useful bit of info. I'll blame my eyesight! ;Watching
 

b4tn

Valuable Member
View Badges
Joined
Jun 17, 2015
Messages
1,673
Reaction score
2,244
Location
Columbia MD
Rating - 0%
0   0   0
yeah seen that but its not the latest release is it?


I may be dumb lol but I cannot view the releases from the browser on my phone. If I go to the same github link via my PC the links for new releases are visible. Took me awhile to figure that out trying to navigate the github website.
 

LionHeart2017

Active Member
View Badges
Joined
Sep 13, 2017
Messages
185
Reaction score
321
Location
Lincolnshire
Rating - 0%
0   0   0
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I may be dumb lol but I cannot view the releases from the browser on my phone. If I go to the same github link via my PC the links for new releases are visible. Took me awhile to figure that out trying to navigate the github website.
yeah :-/ , some UIs of github are not visible from mobile, unless you explicitly type out the URL/address
 

Panda Jerk

Community Member
View Badges
Joined
May 17, 2016
Messages
76
Reaction score
89
Location
Mesa, AZ
Rating - 0%
0   0   0
Any ideas why the following API endpoints return 404? Running 2.2.
GET /api/tc/usage
GET /api/tc/readings
GET /api/tc/config

The temp control is on and working (these are dev datapoints, dont read too much into the settings)
2019-01-29_142520.png
 

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
@Ranjib question about the ATO alerts. I just set this up as follows and it should have tripped a the far right in this screen cap. I did not get a notification and the pump is currently on. can you assist on this because my wife is HORRIBLE at telling me she unplugged the pump once it ran dry. Plus on a controlled device, you cannot turn it off if programming wants it on. It instantly comes back on at the check period.

upload_2019-1-29_16-22-42.png
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Any ideas why the following API endpoints return 404? Running 2.2.
GET /api/tc/usage
GET /api/tc/readings
GET /api/tc/config

The temp control is on and working (these are dev datapoints, dont read too much into the settings)
2019-01-29_142520.png
reef-pi 1.0 has support for only a single ato, temperature control (tc) etc. reef-pi 2.0 added support for multiple ato, temperature controller etc, which is why your API calls wont work against 2.0, (and also the reason reef-pi had a major version bump, because it breaks older API). Try following:

Code:
# to list tcs
GET /api/tcs
# to fetch a single tc (with ID), this will give the config
GET /api/tcs/<ID>
# usage
GET /api/tcs/<ID>/usage

This should be analogous to most REST based APIs. I didnt get the time to document the 2.0 api , but know that the entire UI is powered by API, and you can find it under LoadAPI methods in each module, here: https://github.com/reef-pi/reef-pi/blob/master/controller/modules/temperature/api.go#L12
thank you for considering reef-pi, I'll love to know more about your build :)
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
@Ranjib question about the ATO alerts. I just set this up as follows and it should have tripped a the far right in this screen cap. I did not get a notification and the pump is currently on. can you assist on this because my wife is HORRIBLE at telling me she unplugged the pump once it ran dry. Plus on a controlled device, you cannot turn it off if programming wants it on. It instantly comes back on at the check period.

upload_2019-1-29_16-22-42.png
I'll check it out tonight. I am in a spot where I can do context switching from the ph board work :0)
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,826
Rating - 0%
0   0   0
@Ranjib
Did you see the reference to the esp8266 sonoff devices and tasmota on the other thread?
I myself prefer hardwired reef-pi but the sonoff POW R2 would allow power monitoring for 18 dollars if you could somehow incorporate it easily..
 
Last edited:
Back
Top