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

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
let's refrain from using bad words.
On your error, its not very clear what error you are hitting. Can you look at the javascript console. You can right click on your browser (e.g. chrome) and go to inspect and then check the console tab, it will show the details of the error, once we know that, we can fix the specific problem

Yeah. Sorry for the language. I was extremely cross with myself for upsetting the system when it was working so well.

Here's the Consol info as requested.

2018-07-22.png
 

morpheas

Well-Known Member
View Badges
Joined
Apr 3, 2016
Messages
532
Reaction score
447
Rating - 0%
0   0   0
I agree that is best , Once you have a final design.. But with min order, Wait time (shipping) . Testing make changes have reprinted ..... Creating a Single board for testing seems more economical until you get Exactly what you want.

Then do a Group order for larger Quantity .
I don't mean to be argumentative and etching might be something that works better for you. But when i design a circuit, i do it on eagle, take into account features, dimensions etc, prove it on the breadboard and then order it.

I see the pros of custom etching in the way you're describing it but the way the prices have gone ridiculously low ($20 for 10 of them and the waiting is 7 days) i find that for my personal preferences it's easier to do it with a board manufacturer.

On the other hand i definitely get not wanting to wait, sometimes it does suck haha
 

Erica-Renee

Valuable Member
View Badges
Joined
Oct 4, 2017
Messages
1,596
Reaction score
3,288
Location
lost
Rating - 0%
0   0   0
I don't mean to be argumentative and etching might be something that works better for you. But when i design a circuit, i do it on eagle, take into account features, dimensions etc, prove it on the breadboard and then order it.

I see the pros of custom etching in the way you're describing it but the way the prices have gone ridiculously low ($20 for 10 of them and the waiting is 7 days) i find that for my personal preferences it's easier to do it with a board manufacturer.

On the other hand i definitely get not wanting to wait, sometimes it does suck haha
Not Argumentative at all. I assumed it would take much longer to get. Anyway I have not done either up to now. This is the reason i asked about it ...
 

morpheas

Well-Known Member
View Badges
Joined
Apr 3, 2016
Messages
532
Reaction score
447
Rating - 0%
0   0   0
Not Argumentative at all. I assumed it would take much longer to get. Anyway I have not done either up to now. This is the reason i asked about it ...
I'm mean it's good to do it, you learn the ins and outs. But it's mostly educational in my experience. From a productivity standpoint nowadays a board factory edges the dyi solution. Again that's my experience. I'm sure other people that have done far more work than me and have everything down will probably think that for them it's more productive to prototype with dyi and order the final like you said... I guess it depends what you're after.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Yeah. Sorry for the language. I was extremely cross with myself for upsetting the system when it was working so well.

Here's the Consol info as requested.

2018-07-22.png
:-( . I am afraid that I cant decipher the error log. Its definitely an UI error, so the controller itself is working fine, but the UI code (that runs in your browser) has a bug where its trying to access a some configuration thats not present, probably a wrong or invalid settings.
One thing we can check is the dashboard settings using straight API (thus bypassing the UI), if its something invalid, then fix it (using API) and then hopefully the UI will work again.
For that, you can try this, to obtain the dashboard settings
Code:
 curl -u <username>:<password> http://localhost:8080/api/dashboard
Use the appropriate username and password you have set, by default its reef-pi (both username and password)
Share the settings here, I can audit it for you.
 

sjeff35

Active Member
View Badges
Joined
Jun 14, 2018
Messages
172
Reaction score
356
Location
Corrales, NM
Rating - 0%
0   0   0
I suspect you're already aware, but just in case. PLA will break down in saltwater but is safe otherwise, and ABS is consider "reef safe'ish", though there are some question regarding the pigments. I personally believe that natural PET should be safe as well. And everything but ASA will suffer to various degrees under the our lights.


I had read some comment about the different materials. What about in this instance where the material is not in direct contact with the water? It's just sitting on the edge.

Thanks
 

philshel

Active Member
View Badges
Joined
Jul 24, 2010
Messages
365
Reaction score
375
Rating - 0%
0   0   0
I had read some comment about the different materials. What about in this instance where the material is not in direct contact with the water? It's just sitting on the edge.

Thanks

I use PLA alot when it's not in direct contact and judging by some of the other post I'd be willing to try it in contact as well.
 

Hookster15

Active Member
View Badges
Joined
Sep 28, 2017
Messages
111
Reaction score
73
Location
Hobart , Indiana
Rating - 0%
0   0   0
ok this has been fun , but 3d prints will fail as plumbing parts................. I have been 3d printing for over 5 years now and do a lot for local reef club.

20180608_083540.jpg
20180608_083529.jpg

IMG_20180123_085340.jpg

This is my enclosure for the control board and the small is a ATO remote.

Again Please be careful with 3d Prints. not all filament is created equal, you get what you pay for. Unless its a 100 % infill for plumbing dont even try. the type of filament will not matter I have pla in my tank for 3 years and no a problem . but from experienceand a lot of flooding 3d print for plumbing is a NO NO.

IMG_20180316_062242.jpg
 

U.P.Guy

Community Member
View Badges
Joined
Jul 24, 2017
Messages
74
Reaction score
62
Rating - 0%
0   0   0
So.. is it working now ?
@Erica-Renee is the best.

Yes its working! Thank you for all the help.
I do have another question - My first part of this build is going to be a ATO. I see the instructions on the get hub page but the wiring guide is missing some detail. Again you'll have to forgive me because i am new this kind of tinkering. Would anyone be able to provide more info on how to wire the water level sensor to the pi (pictures would work)? The wiring guide shows how to hook it up to the DFRduino UNO but i am naive and can't picture how it would work to the pi . Also If anyone has made any modifications to the ATO system this would be a good time to speak up as I am open to new idea's.
 

philshel

Active Member
View Badges
Joined
Jul 24, 2010
Messages
365
Reaction score
375
Rating - 0%
0   0   0
ok this has been fun , but 3d prints will fail as plumbing parts................. I have been 3d printing for over 5 years now and do a lot for local reef club.

20180608_083540.jpg
20180608_083529.jpg

IMG_20180123_085340.jpg

This is my enclosure for the control board and the small is a ATO remote.

Again Please be careful with 3d Prints. not all filament is created equal, you get what you pay for. Unless its a 100 % infill for plumbing dont even try. the type of filament will not matter I have pla in my tank for 3 years and no a problem . but from experienceand a lot of flooding 3d print for plumbing is a NO NO.

IMG_20180316_062242.jpg

Thank you for adding your experience, I'm learning that a lot of the rumors of PLAs degrading characteristics don't seem to be true.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Yes its working! Thank you for all the help.
I do have another question - My first part of this build is going to be a ATO. I see the instructions on the get hub page but the wiring guide is missing some detail. Again you'll have to forgive me because i am new this kind of tinkering. Would anyone be able to provide more info on how to wire the water level sensor to the pi (pictures would work)? The wiring guide shows how to hook it up to the DFRduino UNO but i am naive and can't picture how it would work to the pi . Also If anyone has made any modifications to the ATO system this would be a good time to speak up as I am open to new idea's.
there are three pins one for 5v, one for GND and the data pin can be connected to any of the GPIO, check the recommended wiring.
https://reef-pi.github.io/general-guides/electronics/
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
ok this has been fun , but 3d prints will fail as plumbing parts................. I have been 3d printing for over 5 years now and do a lot for local reef club.

20180608_083540.jpg
20180608_083529.jpg

IMG_20180123_085340.jpg

This is my enclosure for the control board and the small is a ATO remote.

Again Please be careful with 3d Prints. not all filament is created equal, you get what you pay for. Unless its a 100 % infill for plumbing dont even try. the type of filament will not matter I have pla in my tank for 3 years and no a problem . but from experienceand a lot of flooding 3d print for plumbing is a NO NO.

IMG_20180316_062242.jpg
These enclosures looks awesome. I currently spend at least 10-25$ for enclosures , for each build. And they also requires decent amount of drilling for standoffs, panel mount jacks etc. 3d printed designs should be cheaper as well as free of any fabrication requirement.

If you do publish the 3d designs, please tag them with #reef-pi, whenever I plan to print mines, I can search them all easily :-)
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I think this covers it for the most part.. The relays Are not yet in there box. The outlets will be in Several different locations along the Sump wall . Close to equipment they will Control..

WP_20180722_15_10_26_Pro.jpg


WP_20180722_15_10_36_Pro.jpg


WP_20180722_13_52_11_Pro.jpg


WP_20180722_20_08_16_Pro.jpg
Love looking at these build pics. Thank you so much for sharing it with us.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Thank you Ranjib!
I feel like there will be a-lot of face palm moments here!
You should not worry about it at all. You will never ask a question that we'll not like. I myself learned things along the way, so completely understand that. I think getting a reef-pi build has more to do with not giving up and systematically fixing the errors in multiple attempts than being an expert on coding or electronics. You'll learn along the way,, pretty much everything
 

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
:-( . I am afraid that I cant decipher the error log. Its definitely an UI error, so the controller itself is working fine, but the UI code (that runs in your browser) has a bug where its trying to access a some configuration thats not present, probably a wrong or invalid settings.
One thing we can check is the dashboard settings using straight API (thus bypassing the UI), if its something invalid, then fix it (using API) and then hopefully the UI will work again.
For that, you can try this, to obtain the dashboard settings
Code:
 curl -u <username>:<password> http://localhost:8080/api/dashboard
Use the appropriate username and password you have set, by default its reef-pi (both username and password)
Share the settings here, I can audit it for you.

OK. Another school session for me, but I eventually got it right (yay!)

Below is the Dashboard Settings. I suspect that the problem is with "width":800 which is what I changed directly before I started to have the problem. How do I change it from the terminal?

2018-07-23.png
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
OK. Another school session for me, but I eventually got it right (yay!)

Below is the Dashboard Settings. I suspect that the problem is with "width":800 which is what I changed directly before I started to have the problem. How do I change it from the terminal?

2018-07-23.png
For some reason, the settings has 5 rows and 1 column, while the details are 4x2 , i.e. 4 rows ans 2 columns. Thats what causing the problem. You can save the dashboard settings in a file, then edit it to fix it, and then update it using the API back. here is how
1) To save the current dashboard settings in a file do this:
Code:
curl -u reef-pi:reef-pi http://localhost/api/dashboard > dashboard.json
2) then edit the dashboard.json file and change the rows number to 1 (just to be safe, once the UI is working you can set this again ), and save the dashboard.json file
3) Update the dashboard settings using API
Code:
curl -X POST -d @dashboard.json  -u reef-pi:reef-pi http://localhost/api/dashboard
 

DO YOU THINK TECHNOLOGICAL ADVANCEMENTS ARE MORE HELPFUL OR HURTFUL TO REEFING?

  • More helpful.

    Votes: 59 42.4%
  • More hurtful.

    Votes: 5 3.6%
  • I think it depends mostly on the technology.

    Votes: 53 38.1%
  • I think it dependsmostly on the reefer behind the technology.

    Votes: 41 29.5%
Back
Top
Home
Post thread…
Market
What's new