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,035
Location
Durban - South Africa
Rating - 0%
0   0   0
Previously, when a Macro was running, the "run" box would change to "running" showing you a macro was running. Is there any other way to show easily a Macro is running? Not possibly some chance of a "widget" type thing on the Dashboard sometime in the future?
2019-11-11_LI.jpg
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I think my temp issue is a general i2c issue. It works for a variable number of minutes/hours after I reboot the pi, then dies. this pair of errors are always there after a failure...maybe I'll do some research about resolving rpi i2c issues

Nov 10 20:23:32
Failed to initialize i2c. Error:eek:pen /dev/i2c-1: no such file or directory

Nov 10 20:23:24
temperature sub-system. Failed to read sensor temp (return). Error:eek:pen /sys/bus/w1/devices/28-01191245a033/w1_slave: no such file or directory
i2c issue happens when i2c bus is not enabled. raspi-config is used to set it. Once done it does not need to tweaked till reimage.
The second issue is one wire/ temperature probe. Thats different than the i2c issue. Nothing physical changed?
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0

adityaduggal

New Member
View Badges
Joined
Nov 4, 2019
Messages
6
Reaction score
9
Rating - 0%
0   0   0
Just found a small bug on v3.0-beta release, the graph on the Temperature page for the heater duration is taking the Y-Axis values improperly. See the image below:
1573459489467.png


Since the Y-Axis is starting from 25.66 but till 86 I think that value came from the Deg F range and hence it basically means that the line for temperature is almost not visible in this heater graph. Should I create a github issue or posting on the forums is sufficient?
 

Blaxkin

Community Member
View Badges
Joined
Oct 4, 2019
Messages
27
Reaction score
46
Rating - 0%
0   0   0
is there any way to eliminate the 127 and 85 degree peaks from ds18b20 ?
the pikes comes only every 20-40 minutes :-( so the best was a software way ?
 

adityaduggal

New Member
View Badges
Joined
Nov 4, 2019
Messages
6
Reaction score
9
Rating - 0%
0   0   0
Was this for my reply, since the left hand side graph does not have any such peaks and the right hand side graph's left-side Y-axis range is not matching with the temperature range in the Temperature only graph so I can't seem to believe that it should be due to 127 and 85 degree peaks from ds18b20.

I am not an expert but still whatever limited knowledge I have it seems that the right hand graph for heater's left hand Y-axis range is getting some values from deg F range instead of getting from deg C range.
 

PaulJ2303

Community Member
View Badges
Joined
Sep 30, 2018
Messages
76
Reaction score
172
Rating - 0%
0   0   0
i wonder if anyone else has come across this in pi3 beta?
I've been running 2.5 and using it to control my Jebao dosing pumps via PCA9685.

when i upgrade to 3 beta the tick box for PCA9685 in the configuration screen goes blank and when i recheck it and reboot the pi it goes blanks again and my dosing pumps no longer work.

I wonder if this is a known thing?

also on 2.5 the dosing pumps sometimes stop working and make a whining noise. i believe this is a known issue, hense the reason i want to get onto 3.0 as i believe there is a fix incoming for that.
 

Blaxkin

Community Member
View Badges
Joined
Oct 4, 2019
Messages
27
Reaction score
46
Rating - 0%
0   0   0
Was this for my reply, since the left hand side graph does not have any such peaks and the right hand side graph's left-side Y-axis range is not matching with the temperature range in the Temperature only graph so I can't seem to believe that it should be due to 127 and 85 degree peaks from ds18b20.

I am not an expert but still whatever limited knowledge I have it seems that the right hand graph for heater's left hand Y-axis range is getting some values from deg F range instead of getting from deg C range.

no i have a problem with peaks :)
 

PaulJ2303

Community Member
View Badges
Joined
Sep 30, 2018
Messages
76
Reaction score
172
Rating - 0%
0   0   0
when i upgrade to 3 beta the tick box for PCA9685 in the configuration screen goes blank and when i recheck it and reboot the pi it goes blanks again and my dosing pumps no longer work.

in my last post i describe the screen on my PC ... when i load reef-pi on my tablet i can now see the option to add a pca9685 driver.
when i try to do this (i don't change the default address or frequency options which are set at 68 and 1500 respectively) it fails with an error:
{"error"."failed to create. Error: remote IO error"} HTTP 500

has anyone else seen this, i'm using @Michael Lane goby board.
 

BenB

Active Member
View Badges
Joined
Jun 11, 2019
Messages
112
Reaction score
155
Rating - 0%
0   0   0
in my last post i describe the screen on my PC ... when i load reef-pi on my tablet i can now see the option to add a pca9685 driver.
when i try to do this (i don't change the default address or frequency options which are set at 68 and 1500 respectively) it fails with an error:
{"error"."failed to create. Error: remote IO error"} HTTP 500

has anyone else seen this, i'm using @Michael Lane goby board.

Default hexidecimal code for PCA9685 is 0x40, in decimal that wil be 64.

 

Matevz Savarin

Active Member
View Badges
Joined
Dec 5, 2018
Messages
209
Reaction score
163
Rating - 0%
0   0   0
I was just looking this tnx BenB, 64 works. Anyone know why I cant delete wrong connector? It just cant be deleted.
 

PaulJ2303

Community Member
View Badges
Joined
Sep 30, 2018
Messages
76
Reaction score
172
Rating - 0%
0   0   0
Default hexidecimal code for PCA9685 is 0x40, in decimal that wil be 64.

Thanks Ben that worked :)
just for my own future reference how did you know the hex code for pca9685 is 40 / 64 ?

and something for @Michael Lane ... i'm afraid i've still got the dosing pump whine, tbh i wouldn't care but it stops the motors from turning at all.

edit:
just did a further test and all three pumps run fine at 100% .. i only get the whine at a percentage value.
 
Last edited:

burningbaal

Active Member
View Badges
Joined
Aug 13, 2019
Messages
232
Reaction score
257
Location
Near Seattle
Rating - 0%
0   0   0
i2c issue happens when i2c bus is not enabled. raspi-config is used to set it. Once done it does not need to tweaked till reimage.
The second issue is one wire/ temperature probe. Thats different than the i2c issue. Nothing physical changed?
ok, so I2C isn't related, darn. I was hoping I was getting close to root cause.
Nothing changes between working and not working. I don't have things tidy, so I suppose something might be flinching and causing an issue (like the voltage doohicky that powers the ADJ relays, which is just floating right now), but with everything just sitting there (3 lighting timers, ATO is on a timer for 5m every hour, that's about as interesting as it gets except when I raise the lights for feeding). It'll work for an hour or 5, then dies with these errors...weird, right?
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Thanks Ben that worked :)
just for my own future reference how did you know the hex code for pca9685 is 40 / 64 ?

and something for @Michael Lane ... i'm afraid i've still got the dosing pump whine, tbh i wouldn't care but it stops the motors from turning at all.

edit:
just did a further test and all three pumps run fine at 100% .. i only get the whine at a percentage value.
40 is hexadecimal , translated to 4x16 + 0x16 =64 in decimal. the ui takes decimal number. I think we should improve the ui to support hexadecimal natively.
 

BenB

Active Member
View Badges
Joined
Jun 11, 2019
Messages
112
Reaction score
155
Rating - 0%
0   0   0
Thanks Ben that worked :)
just for my own future reference how did you know the hex code for pca9685 is 40 / 64 ?

and something for @Michael Lane ... i'm afraid i've still got the dosing pump whine, tbh i wouldn't care but it stops the motors from turning at all.

edit:
just did a further test and all three pumps run fine at 100% .. i only get the whine at a percentage value.


See : Adressing the boards

You can hook up to 62 pca9685s when you change the adress by connecting solderpoints on the board :)
 

PaulJ2303

Community Member
View Badges
Joined
Sep 30, 2018
Messages
76
Reaction score
172
Rating - 0%
0   0   0
I think we should improve the ui to support hexadecimal natively.
[/QUOiys all@Ranjib you don't have to account for my abject stupidity
I think we should improve the ui to support hexadecimal natively.
It's all good @Ranjib you don't have to account for my abject stupidity
 

hhaase

Active Member
View Badges
Joined
Nov 11, 2019
Messages
415
Reaction score
355
Rating - 0%
0   0   0
Well, I had to sign up for a new forum due to this one. I've only had a chance to do a quick overview, but looks like this project is alive and kicking, and I'm ready to dig deeper.

I've got a background in electronics manufacturing, so hopefully I can contribute to the overall project as needed. I may have to finally figure out how to use github (always found it a really annoying file system to be honest).

Anyway, back to reading and trolling to see where things are, where I can help, and where I can pick up and start building one of these.
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,826
Rating - 0%
0   0   0
Thanks Ben that worked :)
just for my own future reference how did you know the hex code for pca9685 is 40 / 64 ?

and something for @Michael Lane ... i'm afraid i've still got the dosing pump whine, tbh i wouldn't care but it stops the motors from turning at all.

edit:
just did a further test and all three pumps run fine at 100% .. i only get the whine at a percentage value.
What frequency are you using...you may have to tweak that to get decent results
 

HAVE YOU EVER KEPT A RARE/UNCOMMON FISH, CORAL, OR INVERT? SHOW IT OFF IN THE THREAD!

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%
Back
Top