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

DirtDiggler2823

If I can't break it, it doesn't exist
View Badges
Joined
Jul 31, 2018
Messages
1,667
Reaction score
2,075
Location
Gambrills
Rating - 0%
0   0   0
yes create the calibration file in raspberry pi, or run the command to update calibration from your laptop, where you have the file, it does not matter, the command and the file needs to be invoked from the same place

I've been doing all of the work from my desktop PC using putty, and transferring files using filezilla. I am missing the knowledge on how to do this beyond copying and pasting your commands. From reading the commands, I can see that the pi is looking for an IP address, so I used the address of the PC I'm doing all the work from where the files are on my desktop. I created what I believe to be a creds file to use alongside the calibration file, but the error is the same. I've copied the files into the downloads folder on my pi for good measure.
 
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
I've been doing all of the work from my desktop PC using putty, and transferring files using filezilla. I am missing the knowledge on how to do this beyond copying and pasting your commands. From reading the commands, I can see that the pi is looking for an IP address, so I used the address of the PC I'm doing all the work from where the files are on my desktop. I created what I believe to be a creds file to use alongside the calibration file, but the error is the same. I've copied the files into the downloads folder on my pi for good measure.
Oops . my mistake., I confused the creds file with calibration file. Try this
Code:
curl -d '{"user":"reef-pi", "password":"reef-pi"}'  -X POST http://<IP>/auth/signin -c cookie.txt

Use the correct usename password, and use the exact quoting scheme. This is a simpler version of the same command, here instead of passing the json data from a file, we are just typing it out.
 

DirtDiggler2823

If I can't break it, it doesn't exist
View Badges
Joined
Jul 31, 2018
Messages
1,667
Reaction score
2,075
Location
Gambrills
Rating - 0%
0   0   0
Oops . my mistake., I confused the creds file with calibration file. Try this
Code:
curl -d '{"user":"reef-pi", "password":"reef-pi"}'  -X POST http://<IP>/auth/signin -c cookie.txt

Use the correct usename password, and use the exact quoting scheme. This is a simpler version of the same command, here instead of passing the json data from a file, we are just typing it out.

Connection is timing out. I'm putting the IP address of my PC into this command. That's the proper way, yes?
 
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
Connection is timing out. I'm putting the IP address of my PC into this command. That's the proper way, yes?
yes, so for you it should be
Code:
curl -X POST -d '{"user":"reef-pi", "password":"reef-pi"}'  http://192.168.3.229/auth/signin -c cookie.txt

if you are running from same pi, this should work as well
Code:
curl -X POST -d '{"user":"reef-pi", "password":"reef-pi"}'  http://127.0.0.1/auth/signin -c cookie.txt
 

DirtDiggler2823

If I can't break it, it doesn't exist
View Badges
Joined
Jul 31, 2018
Messages
1,667
Reaction score
2,075
Location
Gambrills
Rating - 0%
0   0   0
yes, so for you it should be
Code:
curl -X POST -d '{"user":"reef-pi", "password":"reef-pi"}'  http://192.168.3.229/auth/signin -c cookie.txt

if you are running from same pi, this should work as well
Code:
curl -X POST -d '{"user":"reef-pi", "password":"reef-pi"}'  http://127.0.0.1/auth/signin -c cookie.txt

Trying to retrieve from the pi gives me a null error, and trying to retrieve from the PC times out. Is there a specific location the files should be put in order for this to work? I apologize, but I am truly lost on this one.
 

DirtDiggler2823

If I can't break it, it doesn't exist
View Badges
Joined
Jul 31, 2018
Messages
1,667
Reaction score
2,075
Location
Gambrills
Rating - 0%
0   0   0
Trying to retrieve from the pi gives me a null error, and trying to retrieve from the PC times out. Is there a specific location the files should be put in order for this to work? I apologize, but I am truly lost on this one.

I will get back to this tomorrow
 
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
Trying to retrieve from the pi gives me a null error, and trying to retrieve from the PC times out. Is there a specific location the files should be put in order for this to work? I apologize, but I am truly lost on this one.
dont worry, i'll guide you through this. you never have to apologize, im thankful that you are giving this a try. The first command, does not involve any file, can you share a screenshot of the output of this:
Code:
curl -X POST -d '{"user":"reef-pi", "password":"reef-pi"}'  http://192.168.3.229/auth/signin -c cookie.txt
 
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
I will get back to this tomorrow
Ack. Lets do it as and when you have time. You should start observing the daily ph cycle irrespective of the calibration
 

DirtDiggler2823

If I can't break it, it doesn't exist
View Badges
Joined
Jul 31, 2018
Messages
1,667
Reaction score
2,075
Location
Gambrills
Rating - 0%
0   0   0
Ack. Lets do it as and when you have time. You should start observing the daily ph cycle irrespective of the calibration
I've re-enabled pH monitoring, so I should have some stuff to look at when I get back to this. I am very curious as to why this calibration process is giving me such a difficult time.
 

leolecal

New Member
View Badges
Joined
May 9, 2019
Messages
1
Reaction score
3
Location
João Pessoa - Brazil
Rating - 0%
0   0   0
I've just found this project and I'm amazed. I haven't checked if this question was answered before but can I use the pH monitoring functionality to turn on and off the solenoid of my CO2 cylinder? I want to put the pH probe into my calcium reactor and control the pH inside the chamber.
Thx in advance!
 
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
I've just found this project and I'm amazed. I haven't checked if this question was answered before but can I use the pH monitoring functionality to turn on and off the solenoid of my CO2 cylinder? I want to put the pH probe into my calcium reactor and control the pH inside the chamber.
Thx in advance!
Not yet. The ph feature only allows monitoring and alerting , I am yet to extend it to incorporate equipment action (like temperature or ato controller)
 
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
Theres been way too much tech stuff..
Acan has grown significantly since i removed some zoas and freed up some precious real estate
DSC_1543.jpg


Im slowly grafting zoas to the shaded areas of the main island,

DSC_1547.jpg

green slimer growing faster than all other acros.. i have to trim it. and i would hate to dump it :-/
DSC_1537.jpg

Forest fire digitata.. (did i shared this previously, feels like dejavu)
DSC_1528.jpg


Lepto ..
DSC_1525.jpg
 

That Crusso Kid

10K Club member
View Badges
Joined
Oct 21, 2018
Messages
14,893
Reaction score
76,038
Location
SW, FL, USA
Rating - 0%
0   0   0
Theres been way too much tech stuff..
Acan has grown significantly since i removed some zoas and freed up some precious real estate
DSC_1543.jpg


Im slowly grafting zoas to the shaded areas of the main island,

DSC_1547.jpg

green slimer growing faster than all other acros.. i have to trim it. and i would hate to dump it :-/
DSC_1537.jpg

Forest fire digitata.. (did i shared this previously, feels like dejavu)
DSC_1528.jpg


Lepto ..
DSC_1525.jpg

I must admit almost all of the coding info goes right over my head. Nevertheless, I do my best to keep abreast of all the updates and changes happening with reef-pi here and in other build threads too.

I do enjoy the occasional "spam" pics of your corals and such! I would also add that it could be time for some "kids" update pics too! ;)
 

ph123uk

Active Member
View Badges
Joined
Jan 3, 2019
Messages
191
Reaction score
302
Rating - 0%
0   0   0
Storm mode is neat, but the finer control of the light takes the cake. Since I put my lighting on the pi and have a real sunrise and sunset, you can see fish behaviors that you never seen before, and dont startle the fish.

Bingo, no more white light smashing on at 25% or blues at 100% - All start off and finish at 1% - fish seem much happier! - Its great - I'd just like a touch finer control rather than 2 hour blocks, but if @Ranjib has it in the works i'm a happy camper :D
 

Zippyfear

Community Member
View Badges
Joined
Apr 30, 2019
Messages
86
Reaction score
150
Rating - 0%
0   0   0
I have my fan set up to run when the temp runs below a value but noticed that the fan turns on and off every few minutes. In an effort reduce the power flipping every few minutes, thought I'd set a macro to turn on the fan, wait 60 minutes, then turn the fan off. but don't see any way to activate a macro on temp value. Am I missing something there, or does that functionality not exist?
 
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
I have my fan set up to run when the temp runs below a value but noticed that the fan turns on and off every few minutes. In an effort reduce the power flipping every few minutes, thought I'd set a macro to turn on the fan, wait 60 minutes, then turn the fan off. but don't see any way to activate a macro on temp value. Am I missing something there, or does that functionality not exist?
That functionality does not exist. Macro are triggered manually or via api, but always explicitly, not based on any condition
 

DirtDiggler2823

If I can't break it, it doesn't exist
View Badges
Joined
Jul 31, 2018
Messages
1,667
Reaction score
2,075
Location
Gambrills
Rating - 0%
0   0   0
Ack. Lets do it as and when you have time. You should start observing the daily ph cycle irrespective of the calibration
Back at home, ready to try again. What should I do, and break it down potato head style.
 
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
Back at home, ready to try again. What should I do, and break it down potato head style.
start with checking if you can signin
Code:
curl -c cookie.txt -X POST -d '{"user":"reef-pi", "password":"reef-pi"}' http://IP/auth/signin
Change IP , user/password as necessary. And let us know if that works, if it works then go for calibration, else lets fix this first
 

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.5%
  • 100% dry rock + 100% live sand

    Votes: 46 33.3%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 30 21.7%
  • 75% live rock, 25% live sand

    Votes: 14 10.1%
  • 25% live rock, 75% live sand

    Votes: 10 7.2%
Back
Top