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

NeonRabbit221B

2500 Club Member
View Badges
Joined
Jun 21, 2019
Messages
3,037
Reaction score
5,408
Location
Richmond, Va
Rating - 0%
0   0   0
And I have connected a Servo that I am controlling with the light tab, it works in manual mode from 50 to 99 only it turns about 90degrees in total. Is there extra support needed like a driver ore some additional programming? It will be nice to have, to build a feeder with multiple servos that turn to deposit food in the aquarium.
I believe someone has already written code for an autofeeder. I do remember seeing it in the additional resources at one point.
 

raketemensch

Ape That Likes Fish
View Badges
Joined
Oct 13, 2019
Messages
378
Reaction score
466
Location
Northwest CT
Rating - 0%
0   0   0
I can't seem to get my (standard raspi) camera to work in 3.0.

dmesg shows success:

[ 7.727495] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 8.387919] bcm2835-v4l2: scene mode selected 0, was 0
[ 8.388636] bcm2835-v4l2: V4L2 device registered as video0 - stills mode > 1280x720
[ 8.394648] bcm2835-v4l2: Broadcom 2835 MMAL video capture ver 0.0.2 loaded.


daemon.log shows:

Dec 15 18:45:04 reefpi reef-pi[692]: 2019/12/15 18:45:04 Initializing DB for camera bucket
Dec 15 18:45:04 reefpi reef-pi[692]: 2019/12/15 18:45:04 WARNING: camera config not found. Initializing default config
Dec 15 18:45:04 reefpi reef-pi[692]: 2019/12/15 18:45:04 Initializing DB for photos bucket
Dec 15 18:45:04 reefpi reef-pi[692]: 2019/12/15 18:45:04 Successfully started subsystem: camera
Dec 15 18:45:04 reefpi reef-pi[692]: 2019/12/15 18:45:04 Starting camera controller


I'm not sure why it goes back to "Starting" after it was successfully started, but the UI just shows:

Something went wrong.
TypeError: undefined is not an object (evaluating 'i.props.views[i.state.currentIndex]')

The camera worked well in octoprint, so it should be in good shape.
 
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
Question on temp probe calibration.

I just noticed the feature and gave it a try. I dropped both probes in the same spot and let them sit for 10 minutes and they where 1 degree off from eachother. I used my BBQ instant read for a 3rd reading which matched say probe 1. I then changed the calibration value in probe 2 so that it matched probe 1 and put them back in their spots. When I went to go look back at the calibration value it was gone. Did the calibration save and just does not show? If so how can I reset to defaults since I dont remember which probe I adjusted lol.
I have to break it down to smaller pieces and process :-) . I can double check the calibration behavior , but I think I will add some ui data to indicate existing calibration data by 3.1

I think you should just redo the steps :-) ,If you didn’t see any error it likely means the calibration data is saved .
 

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,121
Rating - 0%
0   0   0
Question on temp probe calibration.

I just noticed the feature and gave it a try. I dropped both probes in the same spot and let them sit for 10 minutes and they where 1 degree off from eachother. I used my BBQ instant read for a 3rd reading which matched say probe 1. I then changed the calibration value in probe 2 so that it matched probe 1 and put them back in their spots. When I went to go look back at the calibration value it was gone. Did the calibration save and just does not show? If so how can I reset to defaults since I dont remember which probe I adjusted lol.
reef-pi should display the temperature calibration point if you open the calibration dialog again. I've just double checked the UI code to confirm. It's possible that we have a bug in that behavior though.

It won't hurt to calibrate the temperature probe again as Ranjib suggested. Can you tell if the probe is reporting the temperature you expect? I also looked for anything we might log during temperature reading to indicate a calibration adjustment, but didn't see anything. Maybe we can update the logging to print the raw and calibrated values.
 
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,
Good work with the launch of 3.0!!!
I found a little thing maybe you can update it next time:

1576529006268.png

When a driver is created for PCA9685 the Frequency is not showing if you want to modify. Maybe that was on purpose, can you at least show the set Frequency along with the name and address? It will be nice as well when you can change the Frequency and save instead of deleting the driver(and everything that is connected to it) and creating a new one.
Yeah, this is a UI gap that we have to fix. The driver UI still does not have the ability to provide driver specific settings (frequency in this case). If it helps, i can provide API equivalent,
 

BenB

Active Member
View Badges
Joined
Jun 11, 2019
Messages
118
Reaction score
152
Rating - 0%
0   0   0
Yeah, this is a UI gap that we have to fix. The driver UI still does not have the ability to provide driver specific settings (frequency in this case). If it helps, I can provide API equivalent,

Yes please, then I can play with the frequency... LOL
 

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
Alright, I guess alternative is to use an ATO container that won't overflow the sump if ATO gets stuck.

I run a separate fail safe independant from Reef-Pi to kill the power to my ATO-related items in the case of a high sump level. I run it at about 30mm higher than my normal running level, so even when I turn my return off it disables ATO pumps.

The ATO's are obviously still thinking they are working under Reef-Pi, but the pumps aren't getting power. This way I get a usage alert as a notification that something is wrong.
 

AbjectMaelstroM

Valuable Member
View Badges
Joined
Jul 21, 2019
Messages
1,535
Reaction score
1,709
Location
RVA
Rating - 100%
1   0   0
I run a separate fail safe independant from Reef-Pi to kill the power to my ATO-related items in the case of a high sump level. I run it at about 30mm higher than my normal running level, so even when I turn my return off it disables ATO pumps.

The ATO's are obviously still thinking they are working under Reef-Pi, but the pumps aren't getting power. This way I get a usage alert as a notification that something is wrong.

Would you mind sharing more details on your setup?
 

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
Would you mind sharing more details on your setup?


There's my build thread
 

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
But basically all my "ATO pumps" are 12V.

I have 1 x 12V peristaltic pump that pumps through my kalk reactor for top-ups and 2 x 12V pumps for my Auto Water Changes. So I have 3 x 12V channels on my bank of relays.

I run this 12V supply to these 3 x relays through a separate relay board (Independant of Reef-Pi) that I trigger with 5V (taken off the 5V supply to the Pi) from a separate float switch set at the high level in the sump.

I hope that makes sense to you all.
 

Zippyfear

Community Member
View Badges
Joined
Apr 30, 2019
Messages
86
Reaction score
150
Rating - 0%
0   0   0
My original PH probe was kicking readings that were all over the place, so I ordered a replacement and different brand.. works perfectly now! Thanks to all on here for the help...

Is there a reason the scale of the graph isn't more like temp where it will make the graph high to low readings as opposed to 0-12?

ReefPitemp.PNG
 

AbjectMaelstroM

Valuable Member
View Badges
Joined
Jul 21, 2019
Messages
1,535
Reaction score
1,709
Location
RVA
Rating - 100%
1   0   0
My original PH probe was kicking readings that were all over the place, so I ordered a replacement and different brand.. works perfectly now! Thanks to all on here for the help...

Is there a reason the scale of the graph isn't more like temp where it will make the graph high to low readings as opposed to 0-12?

ReefPitemp.PNG

What brand was causing issues and which worked fine?
 

Zippyfear

Community Member
View Badges
Joined
Apr 30, 2019
Messages
86
Reaction score
150
Rating - 0%
0   0   0
What brand was causing issues and which worked fine?

This one is the new WORKING one.

Amazon product

The original NON working one was this

Amazon product

But in all fairness, after getting the new one which came with a wet container that was removed before use, after some reading, the original didn't have one, and came dry but probably should have had one. it may have been a previous return that never should have been shipped back out.
 
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
My original PH probe was kicking readings that were all over the place, so I ordered a replacement and different brand.. works perfectly now! Thanks to all on here for the help...

Is there a reason the scale of the graph isn't more like temp where it will make the graph high to low readings as opposed to 0-12?

ReefPitemp.PNG
The Y axis limits are currently fixed in the code. We are thinking on how to make this configurable. Me and Michael discussed about this. Expect something to address this problem in generic manner across all charts.. Not sure when we'll have the exact time, but its high on my radar. We are shipping macro reverse, ATO controllable macro etc for 3.1, which i feel is of high priority.
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
This one is the new WORKING one.

Amazon product

The original NON working one was this

Amazon product

But in all fairness, after getting the new one which came with a wet container that was removed before use, after some reading, the original didn't have one, and came dry but probably should have had one. it may have been a previous return that never should have been shipped back out.

More than likely was a return. My Milwaukee ph probe came in a wet container and has been working great. The instructions say to put it back into the wet container with ph probe storage solution when not using.

My probe was this:
Milwaukee Instruments MA911B/2 Double Junction Ph Electrode with 2 m Cable and Gel Filled Electrolyte Solution Amazon product
 
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
More than likely was a return. My Milwaukee ph probe came in a wet container and has been working great. The instructions say to put it back into the wet container with ph probe storage solution when not using.

My probe was this:
Milwaukee Instruments MA911B/2 Double Junction Ph Electrode with 2 m Cable and Gel Filled Electrolyte Solution Amazon product

Yeah, if the probe is not in sealed buffer , it’s likely to be unusable
 
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
And I have connected a Servo that I am controlling with the light tab, it works in manual mode from 50 to 99 only it turns about 90degrees in total. Is there extra support needed like a driver ore some additional programming? It will be nice to have, to build a feeder with multiple servos that turn to deposit food in the aquarium.
Reef-pi does not have servo or stepper driver.it can only generate pwm signal .i do have plans for stepper driver (for dosing pump ) in future
 

mhp1972

Community Member
View Badges
Joined
Dec 18, 2017
Messages
27
Reaction score
33
Rating - 0%
0   0   0
Hi dear reefers
Just DL latest version of reef- pi, and trying to set up heater control. But getting this message Hysteresis value must be provided. Can you explain to me what to type in this box. I do not understand the meaning off this box :)

Best Regards
Michael
 

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
Hi dear reefers
Just DL latest version of reef- pi, and trying to set up heater control. But getting this message Hysteresis value must be provided. Can you explain to me what to type in this box. I do not understand the meaning off this box :)

Best Regards
Michael

Hey. I struggled with this as well, and found that if you put in a random chiller threshold and a phantom outlet the problem goes away. Can always edit the boxes to the correct ones when you get to setting that up.

Des.
 

mhp1972

Community Member
View Badges
Joined
Dec 18, 2017
Messages
27
Reaction score
33
Rating - 0%
0   0   0
Hey. I struggled with this as well, and found that if you put in a random chiller threshold and a phantom outlet the problem goes away. Can always edit the boxes to the correct ones when you get to setting that up.

Des.
Problen fixed i did as you proposed Des. Thank you very much
 

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

    Votes: 48 33.6%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 32 22.4%
  • 75% live rock, 25% live sand

    Votes: 15 10.5%
  • 25% live rock, 75% live sand

    Votes: 10 7.0%
Back
Top