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

Would it be difficult to add reset button for charts?lets say my ato doses 10; but when I am out of water it d0ses 3600, so this number stays and I cant see 10 s graphs anymore.. if there would be reset it would be great. Now I have to delete it and make another..its same with other graphs..it takes a lot of work and if I delete it in diffrent order, i get something error and then I need to import settings and do it again..
Really annoying..
right now there is no easy way,. as the charts are built from the usage data directly. You can use the reef-pi db command to edit the ato_usage value to get rid of that specific usage, if you are up for some command :
1) Stop reef-pi
2) Get a list of ato id's. Identify the one that you want to fix
3) Dump the usage data of that ato in a file.
4) Edit that file to remove the value (with whatever you prefer). And then update it .

I am sharing the exact command for my ato (with id). I have the jq command installed to make it easy to read the usage data (installl: sudo apt-get install jq)

Code:
sudo systemctl stop reef-pi.service
sudo reef-pi db list ato
reef-pi db -store reef-pi.db  show ato_usage 2  | jq .  > usage.json
cat usage.json | sudo reef-pi db updare ato_usage 2

I have updated the doc with reef-pi db usage :-0) . I realize i should not wait for long release and start incrementally update the official docs.. even if their quality if not great, at least having these details there saves my time :) .
 
right now there is no easy way,. as the charts are built from the usage data directly. You can use the reef-pi db command to edit the ato_usage value to get rid of that specific usage, if you are up for some command :
1) Stop reef-pi
2) Get a list of ato id's. Identify the one that you want to fix
3) Dump the usage data of that ato in a file.
4) Edit that file to remove the value (with whatever you prefer). And then update it .

I am sharing the exact command for my ato (with id). I have the jq command installed to make it easy to read the usage data (installl: sudo apt-get install jq)

Code:
sudo systemctl stop reef-pi.service
sudo reef-pi db list ato
reef-pi db -store reef-pi.db  show ato_usage 2  | jq .  > usage.json
cat usage.json | sudo reef-pi db updare ato_usage 2

I have updated the doc with reef-pi db usage :-0) . I realize i should not wait for long release and start incrementally update the official docs.. even if their quality if not great, at least having these details there saves my time :) .

I tried this to familiarise myself with the process.

When I run "reef-pi db -store reef-pi.db show ato_usage 2 | jq . > usage.json" I get the following
"parse error: Invalid numeric literal at line 1, column 7"

My ATO ID's seem to be 1, 2, 3, so I tried all of them as options and get the same response. Maybe this fiddling around stuff just isn't for me LOL
 
I tried this to familiarise myself with the process.

When I run "reef-pi db -store reef-pi.db show ato_usage 2 | jq . > usage.json" I get the following
"parse error: Invalid numeric literal at line 1, column 7"

My ATO ID's seem to be 1, 2, 3, so I tried all of them as options and get the same response. Maybe this fiddling around stuff just isn't for me LOL
Try with sudo and you don’t have to pass the -store argemnt, the example was from my laptop, for actual build the default (/var/lib/reef-pi/reef-pi.db) should work
 
Try with sudo and you don’t have to pass the -store argemnt, the example was from my laptop, for actual build the default (/var/lib/reef-pi/reef-pi.db) should work

Thanks

I was using Putty from my laptop. I'll try VNC in as well and see if I get a result
 
Just wanted to pop my head in here and say thanks everyone for creating this project & community! I've been out of the hobby for 6 years and just getting a tank plumbed and setup, finding reef-pi is the highlight so far (but plumbing hardpipes is a close 2nd).

I put myself in for the robotank hardware kickstarter, to simplify the hardware build and got reef-pi installed on a RPi-2b I had laying around last night. Looking forward to getting the tank automated from day 1 :)
 
Just wanted to pop my head in here and say thanks everyone for creating this project & community! I've been out of the hobby for 6 years and just getting a tank plumbed and setup, finding reef-pi is the highlight so far (but plumbing hardpipes is a close 2nd).

I put myself in for the robotank hardware kickstarter, to simplify the hardware build and got reef-pi installed on a RPi-2b I had laying around last night. Looking forward to getting the tank automated from day 1 :)
Be sure to make a build thread!!!
 
Ranjib I managed to save db file for my ato 1 with this command:
reef-pi db -output reef-pi.db show ato_usage 1 | jq . > usage.json
but now I dont know how to open it.. yes I know:)
tnx
 
Ranjib I managed to save db file for my ato 1 with this command:
reef-pi db -output reef-pi.db show ato_usage 1 | jq . > usage.json
but now I dont know how to open it.. yes I know:)
tnx
Notepad++ (Windows)
Nano(Linux)
 
Has anyone hacked into an eheim auto feeder yet? I’m debating cracking mine open to try and make a reefpi auto feeder.

Nope but keep us posted. I run one of the Eheim ones as a backup. I imagine the method of depressing the dispense now button will work the same as the other feeders.
 
Ranjib I managed to save db file for my ato 1 with this command:
reef-pi db -output reef-pi.db show ato_usage 1 | jq . > usage.json
but now I dont know how to open it.. yes I know:)
tnx
Try nano . It’s a text editor .
 
I'm getting errors when reef-pi tries to connect to adafruit IO, it's trying to connect with IPv6, but I have that disabled. What can I do about that?
It’s a Linux thing. Disable ipv6 advertisements on router
 
Hello everybody,
the ReefPi project is great!
I would like to use the ADS1115 16 bit ADC i2c interface on Reef Pi, i'm a newby in raspberry world but sometimes i worked with Arduino.
Should i create drivers to use this ADC for temperature or PH monitoring? I have analog sensors at home like pt1000 and i wish i could use them.
 
Has anyone hacked into an eheim auto feeder yet? I’m debating cracking mine open to try and make a reefpi auto feeder.

Here's some images I made up a while ago showing how to do it. You can use any logic level mosfet, the green line in 1st image goes to any I/O pin on the Pi. The blue line is what solders to the Eheim PCB.

To run in Reef-pi add an 'outlet' connector for that pin and setup the feeder as a piece of 'equipment'. Then setup a timer and set it to turn off after 1 second. This will be the same as you pressing the manual feed button for one second.

Base = Gate
Collector = Drain
Emitter = Source

Feeder_NPN.jpg

feeder1.jpg

feeder2.jpg
 
Here's some images I made up a while ago showing how to do it. You can use any logic level mosfet, the green line in 1st image goes to any I/O pin on the Pi. The blue line is what solders to the Eheim PCB.

To run in Reef-pi add an 'outlet' connector for that pin and setup the feeder as a piece of 'equipment'. Then setup a timer and set it to turn off after 1 second. This will be the same as you pressing the manual feed button for one second.

Base = Gate
Collector = Drain
Emitter = Source

Feeder_NPN.jpg

feeder1.jpg

feeder2.jpg

Nice.

This is what I hoped to accomplish with my Juwel feeder, but with that you can't turn off the feeding schedule, so my only work-around was to turn the unit on and off.

I can't find the post, but there was someone (from Europe I think) that posted about setting up a reef-pi for his setup (I think it was a freshwater setup) and he got an autofeeder to work as well. I think it was an Eheim and and he got reef-pi to activate the manual button.
 

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%
Back
Top