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

@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.
 
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
 
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.
 
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
 
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
 
@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
 
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 :)
 
@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)
 
@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:

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%

New Posts

Back
Top