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
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

Just to be clear, I'm using login information for the reef-pi UI, or the pi itself? Also, should I be using this login information with the IP of the PC, or the reef-pi UI?
 

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
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

Running into the same issues no matter what login information I use. Using 127.0.0.1 as the IP, or the reef-pi IP of 192.168.3.187 results in null. Attempting to connect to the PC's IP of 168.192.3.229 results in a failure to connect over port 80. Connection timed 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
And then you should be able to run the calibration command using same ip
I'm using putty to get to the CLI in the reef-pi (x.x.3.187) itself, so the commands im inputting are going directly to the reef-pi. The json files are located on the desktop of my PC (x.x.3.229), as well as the download folder in the reef-pi. Any commands from the reef-pi to the reef-pi result in the CLI returning with null. Any commands to the PC result in a connection failure due to timeout over port 80. I'm missing something here, and I can't figure it out. Should I be executing these commands from the desktop of the reef-pi? I did do a full OS load on it, so it does have a desktop. Should the json files be placed somewhere specific in the reef-pi or my PC? If anyone besides @Ranjib knows how to do this, please let me know. @theatrus, how did you go about calibrating your probes for testing? What am I missing?
 
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'm using putty to get to the CLI in the reef-pi (x.x.3.187) itself, so the commands im inputting are going directly to the reef-pi. The json files are located on the desktop of my PC (x.x.3.229), as well as the download folder in the reef-pi. Any commands from the reef-pi to the reef-pi result in the CLI returning with null. Any commands to the PC result in a connection failure due to timeout over port 80. I'm missing something here, and I can't figure it out. Should I be executing these commands from the desktop of the reef-pi? I did do a full OS load on it, so it does have a desktop. Should the json files be placed somewhere specific in the reef-pi or my PC? If anyone besides @Ranjib knows how to do this, please let me know. @theatrus, how did you go about calibrating your probes for testing? What am I missing?
CLI returning null is ok and as expected . It means it’s working
 
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
Last night spend some time fixing couple of bad bugs. Namely the 0 and 100% pwm issue , and ato disable based on threshold . I ll cut a new 3.0 alpha release tonight if things go as expected
4E6F0577-EAC1-4798-B72C-38EF05840F29.jpeg


I like my new workspace/garage , it’s pretty sophisticated with all the testing gears I need (multi meter , oscilloscope ) and with ample additional builds :-)
 

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
Last night spend some time fixing couple of bad bugs. Namely the 0 and 100% pwm issue , and ato disable based on threshold . I ll cut a new 3.0 alpha release tonight if things go as expected
4E6F0577-EAC1-4798-B72C-38EF05840F29.jpeg


I like my new workspace/garage , it’s pretty sophisticated with all the testing gears I need (multi meter , oscilloscope ) and with ample additional builds :)

It needs more gadgetry! And where is your little helper/director? ;)
 

T-MIKE

Active Member
View Badges
Joined
Apr 4, 2019
Messages
152
Reaction score
84
Rating - 0%
0   0   0
You got this running? I am curious how you think about this feature. Its not very popular use case, I had built it to see my tank images during vacation, when Im out of home. Looking at how complex this for new users, I am thinking if its worth keeping this in 3.0. Users can setup the drive based upload as separate cron job, outside reef-pi,

No, it kept getting the cannot find executable problem.

I think if you can get streaming video working it would be pretty useful but the thing is who is going to have reef-pi in a position to live stream the tank and control everything? Right now I just have pi cam control running alongside reef-pi and it’s working fine. It is web based so it may be easier just to integrate pi cam control into reef-pi. It was easy to install too. You would just need to load http://loacalhost/min.php in reef-pi.

My Pi Zero is inside the light so I can have the camera come out and point downwards but I think most people are not doing it this way and the reef-pi box is probably hiding behind somewhere.

https://elinux.org/RPi-Cam-Web-Interface

568C7931-5BA0-4608-BF30-18D0B9AD2488.jpeg
 

T-MIKE

Active Member
View Badges
Joined
Apr 4, 2019
Messages
152
Reaction score
84
Rating - 0%
0   0   0
You can usually fix this problem with a pull down resistor (for each channel). That would be some high value resistor between your signal pin and ground. That way, if the signal is left floating while reef-pi is booting or otherwise disconnected, the light would see ground as the signal and stay off. Once reef-pi starts sending a signal, it would be much stronger than the pull down resistor.

Let me look into this, thanks for the tip. The PWM pin is connected to a FET and the gate is already pulled to ground with a resistor but I’ll have to measure the status of the gate to see what’s going on.
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
Last night spend some time fixing couple of bad bugs. Namely the 0 and 100% pwm issue , and ato disable based on threshold . I ll cut a new 3.0 alpha release tonight if things go as expected
4E6F0577-EAC1-4798-B72C-38EF05840F29.jpeg


I like my new workspace/garage , it’s pretty sophisticated with all the testing gears I need (multi meter , oscilloscope ) and with ample additional builds :)

Nice workspace, so was the pca9685 100 and zero percent bug fix in the code I identified?
 

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

    Votes: 47 33.8%
  • 50/50 live/dry rock, 50/50 live/bagged sand

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

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

    Votes: 10 7.2%
Back
Top