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

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
865
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,876
Reaction score
16,680
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,876
Reaction score
16,680
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,876
Reaction score
16,680
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
252
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:open /dev/i2c-1: no such file or directory

Nov 10 20:23:24
temperature sub-system. Failed to read sensor temp (return). Error:open /sys/bus/w1/devices/28-01191245a033/w1_slave: no such file or directory
 

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
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,876
Reaction score
16,680
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,876
Reaction score
16,680
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
118
Reaction score
152
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.
 

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%
Free Phyto Promo
Spend $39+ → free 16oz Phyto · Use code FREEPHYTO at checkout · $16.99 value · Densest 6-species blend · Free shipping on every order · 100% live arrival guaranteed Spend $39+ → free 16oz Phyto · Use code FREEPHYTO at checkout · $16.99 value · Densest 6-species blend · Free shipping on every order · 100% live arrival guaranteed
Shop Now Code: FREEPHYTO
Back
Top