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,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I found a bug, when you calibrate temp in 3.0 beta it stays calibrated till you reload pi, After reloads it drops to previous initial value.
Temperature or ph ? What check frequency you are using ? And are you waiting till the next check period ?
 

Alaa

Community Member
View Badges
Joined
Nov 28, 2018
Messages
74
Reaction score
80
Rating - 0%
0   0   0
hi, help need setting pH board @Michael Lane and others

I'm trying to setup Micheal Lane pH board but i got nothing at i2cdetect -y 1, as it is not showing
i tried connecting with all other sensors ans connectors on and with the pH board only connected directly to the Pi

i attached pic for the connections and results, any ideas
thanks

1- connectors ph board.jpeg 2- connectors pi.jpeg 3- results.jpeg
 

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,123
Rating - 0%
0   0   0
hi, help need setting pH board @Michael Lane and others

I'm trying to setup Micheal Lane pH board but i got nothing at i2cdetect -y 1, as it is not showing
i tried connecting with all other sensors ans connectors on and with the pH board only connected directly to the Pi

i attached pic for the connections and results, any ideas
thanks

1- connectors ph board.jpeg 2- connectors pi.jpeg 3- results.jpeg
It's hard for me to tell from the pictures, but I think the wiring looks right.
1573233964198.png

Do you have any other i2c devices to confirm that the i2c bus is functioning properly?
 

Alaa

Community Member
View Badges
Joined
Nov 28, 2018
Messages
74
Reaction score
80
Rating - 0%
0   0   0
It's hard for me to tell from the pictures, but I think the wiring looks right.
1573233964198.png

Do you have any other i2c devices to confirm that the i2c bus is functioning properly?
Hi
I have pca9685 connected in the same way but on 3 volt and working nicely
The pic shows the connections with scl (purple) after 5 v (black) and the sda (gray) and lastly ground (white) if you want i can take other pics
 

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
In the past, Reef-Pi used to show the current temp from the sensor in the brackets circled below. I see it isn't showing. Is this something that's been removed? Will it come back?


0123da8ebfee49873701637a4893ec1bda5594e9e0_LI.jpg
 

sfgabe

Active Member
View Badges
Joined
Sep 7, 2018
Messages
172
Reaction score
264
Rating - 0%
0   0   0
I recall 3-4 instances, but only one was a bug that i can recall related to the current reading in UI not up to date. The missing sensor thing i could not reproduce. couple the reported ones were complicated by sensor interference due to some other device , one of the led light, one bad heater. I am thinking about what the best way to address this, susceptibility on the sensor side, but nothing from software perspective
+1 on temperature probe weirdness. There is reproducible interference (or something) when I turn on the led lights, but even with the lights disabled the temp data seems to "wobble" a lot more on 3.0, some of which are definitely not accurate readings.

Here's 2.5 (freshwater, looks correct) vs. 3.0 (reef, random spikes) charts for the day. There aren't lights or pumps or anything going off or on during this time that correspond to the spikes, so I'm kind of stumped.

IMG_20191109_090544.jpg


IMG_20191109_090525.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
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
+1 on temperature probe weirdness. There is reproducible interference (or something) when I turn on the led lights, but even with the lights disabled the temp data seems to "wobble" a lot more on 3.0, some of which are definitely not accurate readings.

Here's 2.5 (freshwater, looks correct) vs. 3.0 (reef, random spikes) charts for the day. There aren't lights or pumps or anything going off or on during this time that correspond to the spikes, so I'm kind of stumped.

IMG_20191109_090544.jpg


IMG_20191109_090525.jpg
the strange part is whatever the cause might be, its not reef-pi induced for sure. Since all of them are happening at raspbian/linux kernel layer :-/ . reef-pi is just reading and plotting the value,, same as 2.5 to 3.0
 

b4tn

Valuable Member
View Badges
Joined
Jun 17, 2015
Messages
1,673
Reaction score
2,244
Location
Columbia MD
Rating - 0%
0   0   0
I wanted to post here first before listing in the FS forum. I have a pair of Ocean revive lights that came off my tank today. They are reefpi ready with aviation connectors for dimming via pwm and on off relay control. PM me if you are interested.
 
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 wanted to post here first before listing in the FS forum. I have a pair of Ocean revive lights that came off my tank today. They are reefpi ready with aviation connectors for dimming via pwm and on off relay control. PM me if you are interested.
Curious why you are selling them?
 

buddy.

Active Member
View Badges
Joined
May 16, 2018
Messages
291
Reaction score
617
Location
Australia
Rating - 0%
0   0   0
Does anyone have an idea of what type of plug and cable to use to connect my PCA9685 and my led drivers?
My PCA9685 is in a box with my rpi. My led drivers, power supply are in a separate box.
Im currently using a VGA cable but it is a bit cumbersome having a thick cable getting in the way.

I'm currently running 9 channels with LDD drivers but I will be updating my LEDs soon and will probably reduce to 6 or 7 channels.

lights.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
Does anyone have an idea of what type of plug and cable to use to connect my PCA9685 and my led drivers?
My PCA9685 is in a box with my rpi. My led drivers, power supply are in a separate box.
Im currently using a VGA cable but it is a bit cumbersome having a thick cable getting in the way.

I'm currently running 9 channels with LDD drivers but I will be updating my LEDs soon and will probably reduce to 6 or 7 channels.

lights.JPG
there are 5 or 7 pin min DIN jacks, mini hdmi, micro usb ?
 

adityaduggal

New Member
View Badges
Joined
Nov 4, 2019
Messages
6
Reaction score
9
Rating - 0%
0   0   0
Well I just upgraded to the V3.0 and everything except the lights seems to be working fine.
I have added a driver for PCA9685 and then the jacks were also added, but when I try to set my lights profile I am getting the validation error as

```
"The light settings cannot be saved due to validation errors. Please correct the errors and try again."
```

The validation error does not really anything about the error. Also my logs are showing that the system is trying to change the pwm values as below:

```
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting subsystem: Setting Light: LED Strip 03 Channel: channel-3 Value: 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting-subsystem: Setting PWM value: 0 at channel: 10
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 onTime 0 offTime 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting subsystem: Setting Light: LED Strip 03 Channel: channel-4 Value: 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting-subsystem: Setting PWM value: 0 at channel: 11
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 onTime 0 offTime 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting subsystem: Setting Light: LED Strip 03 Channel: channel-1 Value: 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting-subsystem: Setting PWM value: 0 at channel: 8
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 onTime 0 offTime 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting subsystem: Setting Light: LED Strip 03 Channel: channel-2 Value: 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting-subsystem: Setting PWM value: 0 at channel: 9
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 onTime 0 offTime 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting subsystem: Setting Light: LED Strip 03 Channel: channel-3 Value: 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting-subsystem: Setting PWM value: 0 at channel: 10
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 onTime 0 offTime 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting subsystem: Setting Light: LED Strip 03 Channel: channel-4 Value: 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting-subsystem: Setting PWM value: 0 at channel: 11
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 onTime 0 offTime 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting subsystem: Setting Light: LED Strip 03 Channel: channel-1 Value: 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting-subsystem: Setting PWM value: 0 at channel: 8
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 onTime 0 offTime 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting subsystem: Setting Light: LED Strip 03 Channel: channel-2 Value: 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting-subsystem: Setting PWM value: 0 at channel: 9
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 onTime 0 offTime 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting subsystem: Setting Light: LED Strip 03 Channel: channel-3 Value: 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting-subsystem: Setting PWM value: 0 at channel: 10
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 onTime 0 offTime 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting subsystem: Setting Light: LED Strip 03 Channel: channel-4 Value: 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting-subsystem: Setting PWM value: 0 at channel: 11
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 onTime 0 offTime 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting subsystem: Setting Light: LED Strip 03 Channel: channel-1 Value: 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting-subsystem: Setting PWM value: 0 at channel: 8
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 onTime 0 offTime 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting subsystem: Setting Light: LED Strip 03 Channel: channel-2 Value: 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting-subsystem: Setting PWM value: 0 at channel: 9
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 onTime 0 offTime 0

```
 

Urtoo

Well-Known Member
View Badges
Joined
Jul 1, 2019
Messages
688
Reaction score
925
Rating - 0%
0   0   0
I am getting errors and 500's. Frustrated and waiting now for full release in a few weeks. Back to HomeAssistant until then for me :(
 
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
Well I just upgraded to the V3.0 and everything except the lights seems to be working fine.
I have added a driver for PCA9685 and then the jacks were also added, but when I try to set my lights profile I am getting the validation error as

```
"The light settings cannot be saved due to validation errors. Please correct the errors and try again."
```

The validation error does not really anything about the error. Also my logs are showing that the system is trying to change the pwm values as below:

```
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting subsystem: Setting Light: LED Strip 03 Channel: channel-3 Value: 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting-subsystem: Setting PWM value: 0 at channel: 10
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 onTime 0 offTime 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting subsystem: Setting Light: LED Strip 03 Channel: channel-4 Value: 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting-subsystem: Setting PWM value: 0 at channel: 11
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 onTime 0 offTime 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting subsystem: Setting Light: LED Strip 03 Channel: channel-1 Value: 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting-subsystem: Setting PWM value: 0 at channel: 8
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 onTime 0 offTime 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting subsystem: Setting Light: LED Strip 03 Channel: channel-2 Value: 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting-subsystem: Setting PWM value: 0 at channel: 9
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 onTime 0 offTime 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting subsystem: Setting Light: LED Strip 03 Channel: channel-3 Value: 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting-subsystem: Setting PWM value: 0 at channel: 10
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 onTime 0 offTime 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting subsystem: Setting Light: LED Strip 03 Channel: channel-4 Value: 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting-subsystem: Setting PWM value: 0 at channel: 11
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 onTime 0 offTime 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting subsystem: Setting Light: LED Strip 03 Channel: channel-1 Value: 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting-subsystem: Setting PWM value: 0 at channel: 8
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 onTime 0 offTime 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting subsystem: Setting Light: LED Strip 03 Channel: channel-2 Value: 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting-subsystem: Setting PWM value: 0 at channel: 9
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 onTime 0 offTime 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting subsystem: Setting Light: LED Strip 03 Channel: channel-3 Value: 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting-subsystem: Setting PWM value: 0 at channel: 10
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 onTime 0 offTime 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting subsystem: Setting Light: LED Strip 03 Channel: channel-4 Value: 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting-subsystem: Setting PWM value: 0 at channel: 11
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 onTime 0 offTime 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting subsystem: Setting Light: LED Strip 03 Channel: channel-1 Value: 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting-subsystem: Setting PWM value: 0 at channel: 8
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 onTime 0 offTime 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting subsystem: Setting Light: LED Strip 03 Channel: channel-2 Value: 0
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 lighting-subsystem: Setting PWM value: 0 at channel: 9
Nov 10 10:35:25 aquarium reef-pi[300]: 2019/11/10 10:35:25 onTime 0 offTime 0

```
3.0 light ui is being worked on as I write this post. I am likely to cut another beta release next week that will have light UI support. I am assuming you are seeing these errors in the latest beta release
 
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 am getting errors and 500's. Frustrated and waiting now for full release in a few weeks. Back to HomeAssistant until then for me :(
With 3.0 beta? which module? It will be helpful for us to know the extent of errors. I'll make sure we have tested all those paths as part of the final release
 
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
@Ranjib my wifes wedding ring lost a couple diamonds over the summer. She had been asking me to get her a new ring. So I bought her a new ring ...... and a pair of reefi extreme’s :)
Makes so much sense :) , happy wife == happy life
 

burningbaal

Active Member
View Badges
Joined
Aug 13, 2019
Messages
232
Reaction score
257
Location
Near Seattle
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
 

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