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

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
Hi Ranjib unauthorized.

Screenshot from 2018-09-17 06-34-11.png
oops. sorry I gave wrong commands (and the docs need updates). We have recently revamped the auth (for better) to use cookies, try this:
Code:
curl -X POST -d '{"user":"reef-pi","password":"reef-pi"}'  -c cookie http://localhost:8080/auth/signin
Update the command with appropriate username and password for your build. This will sign you in and save your credential cookie in the "cookie" file, we can then use it to make subsequent API calls. Like this
Code:
curl -b cookie  -c cookie http://<reef-pi IP>/api/capabilities
does this work?

Anyway.. since you are getting unauthorized response, it means reef-pi is running at least (hence responding unauthorized), make sure you are using the right IP in your browser
 

Des Westcott

Well-Known Member
View Badges
Joined
May 29, 2018
Messages
646
Reaction score
1,025
Location
Durban - South Africa
Rating - 0%
0   0   0
Hey guys

I really like the new look of the UI. It's coming together in a big way.

On another note, it looks like my photoelectric liquid level sensor (FS IR02) has failed on me so I was lookin at the local vendors that sell this stuff here and I saw that they had this :-

https://www.netram.co.za/3362-gravity-non-contact-liquid-level-sensor.html

Does anyone know if it will work with Reef-Pi? I really like the idea that it's not in contact with the water. Would be great to just stick on the outside of the sump.

Thanks in advance guys.

 

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,121
Rating - 0%
0   0   0
Hey guys

I really like the new look of the UI. It's coming together in a big way.

On another note, it looks like my photoelectric liquid level sensor (FS IR02) has failed on me so I was lookin at the local vendors that sell this stuff here and I saw that they had this :-

https://www.netram.co.za/3362-gravity-non-contact-liquid-level-sensor.html

Does anyone know if it will work with Reef-Pi? I really like the idea that it's not in contact with the water. Would be great to just stick on the outside of the sump.

Thanks in advance guys.
I believe it looks compatible based on the sample arduino code. It seems to just act as a digital input. Pretry neat. I'll check it out on more detail in a few hours.
 
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

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,121
Rating - 0%
0   0   0
Hey guys

I really like the new look of the UI. It's coming together in a big way.

On another note, it looks like my photoelectric liquid level sensor (FS IR02) has failed on me so I was lookin at the local vendors that sell this stuff here and I saw that they had this :-

https://www.netram.co.za/3362-gravity-non-contact-liquid-level-sensor.html

Does anyone know if it will work with Reef-Pi? I really like the idea that it's not in contact with the water. Would be great to just stick on the outside of the sump.

Thanks in advance guys.

I just ordered a few from ebay, less than $5. Skipping the dfrobot board, but it looks like it is just a few capacitors.
I'll try them out when they get here in a month.

https://www.ebay.com/itm/192225891215
 
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
@Ranjib
JFYI, I just stumbled across this relay, not sure if you're already familiar with it. Seems like it could be used in reef-pi builds.

https://dlidirect.com/products/iot-power-relay
I have seen this. I have couple of single outlet variant like this. I think these are bit more costly compared to the American dj sr p8, but they are good for high current workload .
There are dual outlet variants as well.
I find their screw terminal based control wires bit weird :-)
 
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 just ordered a few from ebay, less than $5. Skipping the dfrobot board, but it looks like it is just a few capacitors.
I'll try them out when they get here in a month.

https://www.ebay.com/itm/192225891215
I think dfrobot has dropped price as well (strange given all the trade war going) .


I think if we can convince one of these manufacturers to tune these parts for reef-pi and bulk order them, then we’ll save a lot of money. These sensors should not be more than 5-7$ each
 
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
@Ranjib,. Just fyi, for my ato have a simple float switch. Nothing digital.
A float switch acts like a digital input device. i.e it can either be on or off. Temperature sensors, ph sensors are examples of analogs inputs (i.e. their value can be anything within a range).
 

wykat

Active Member
View Badges
Joined
May 23, 2018
Messages
182
Reaction score
421
Rating - 0%
0   0   0
so finally my PCB's arrived (not from JLC...). Will test them tomorrow :) Oven is upgraded and working, solder paste dispenser is working but needs tuning :D
Finally got PCBs from PCBWAY.
JLC... claimed to have shipped PCB's with stencil but have no proof and stencil package couldn't have included PCB's as they claim. Trying to get my money back from JLC.... but they refuse :mad:

PCBWAY hat more questions (correctly), but delivered as promised. Next step to a reef :cool:
 

Cookiethief1983

New Member
View Badges
Joined
Sep 6, 2018
Messages
4
Reaction score
5
Rating - 0%
0   0   0
Ranjib .

I just wanted to thank you for all your hard work !

Your project has inspired me to build the reef-pi myself.

Currently it is setup to control temperature and time my equipment.

I wish to build the PH circuit next, am I correct in stating that currently the atlas probe is the only one supported by reef-pi ?

Is it possible to setup control for this monitor aswell ? To dose ph up and down ?


All the best.


Dan.
 

MaccaPopEye

Well-Known Member
View Badges
Joined
Jan 5, 2016
Messages
697
Reaction score
1,224
Rating - 0%
0   0   0
so finally my PCB's arrived (not from JLC...). Will test them tomorrow :) Oven is upgraded and working, solder paste dispenser is working but needs tuning :D
Finally got PCBs from PCBWAY.
JLC... claimed to have shipped PCB's with stencil but have no proof and stencil package couldn't have included PCB's as they claim. Trying to get my money back from JLC.... but they refuse :mad:

PCBWAY hat more questions (correctly), but delivered as promised. Next step to a reef :cool:

Man Wykat, you're not having much luck with these components :/

Glad they finally arrived though, keen to hear how you go with testing!
 
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
Ranjib .

I just wanted to thank you for all your hard work !

Your project has inspired me to build the reef-pi myself.

Currently it is setup to control temperature and time my equipment.

I wish to build the PH circuit next, am I correct in stating that currently the atlas probe is the only one supported by reef-pi ?

Is it possible to setup control for this monitor aswell ? To dose ph up and down ?


All the best.


Dan.
Thank you for considering reef-pi and a warm welcome to reef2reef. You'll love it here.
You are right, currently reef-pi only supports atlas scientific ph kit (Ezo circuit). reef-pi only requires the ezo circuit, i think you can use that circuit with other ph probe as well (like brs double junction pH probe), but I have never tried it.
Currently reef-pi can only monitor pH and automate dosing based on timers (i.e. periodically), these two modules are not connected yet (i.e. dosing pump cant be triggered if ph is up or down beyond a threshold. But this is something I plan to add after 2.0 release. I expect a general mechanism to either control dosing pump or any equipment (CO2 for calcium reactor) based on pH readings, similar to temperature. So.. couple of months at least..
 

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