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

njtiger aquariums

Well-Known Member
View Badges
Joined
Oct 9, 2015
Messages
513
Reaction score
520
Location
NV
Rating - 0%
0   0   0
that doser looks sweet man. I plan on getting one in my system as I get there. I just wrapped up phase 2 of my system
 
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 I have to ask for help yet again! I'm starting to feel disheartened here. Setting aside the issue I have been having with the rpi pwm which is on a pi3 that I am using as a testing platform for a complete controller. I also have a pi-zero that I use strictly to run my Kessils over my tank. Now that setup is not working. It is running 1.3 and has the PCA9685 board and the dimming circuit. Suddenly it is refusing to show the "lighting" tab. This happened a couple of weeks ago and I removed and replaced reef-pi and it came back. Now I have R&R several times and nothing is working, no errors, just no tab and no control of the lights. What if the breakout board died, would reef-pi refuse to display the controls under that failure?

Edit: I just got the first error in the logs.

Jul 09 15:28:30 Reef-Pi reef-pi[216]: 2018/07/09 15:28:30 ERROR: Failed to initi alize lighting subsystem
Jul 09 15:28:30 Reef-Pi reef-pi[216]: 2018/07/09 15:28:30 ERROR: Failed to load lighting sub-system. Error: remote I/O error
if the pca9685 board is not detected, then reef-pi will not load lighting tab, since its must have for dimming.
You can verify if pca9685 is loaded using i2c-detect command
Code:
sudo i2cdetect -y 1
https://cdn-learn.adafruit.com/downloads/pdf/adafruit-16-channel-servo-driver-with-raspberry-pi.pdf
Check if pca9685 board is working.
 

philshel

Active Member
View Badges
Joined
Jul 24, 2010
Messages
365
Reaction score
375
Rating - 0%
0   0   0
if the pca9685 board is not detected, then reef-pi will not load lighting tab, since its must have for dimming.
You can verify if pca9685 is loaded using i2c-detect command
Code:
sudo i2cdetect -y 1
https://cdn-learn.adafruit.com/downloads/pdf/adafruit-16-channel-servo-driver-with-raspberry-pi.pdf
Check if pca9685 board is working.


Ok, that was what I was thinking. From perusing the .pdf I am assuming that I need to install "i2c-tools" as the terminal returns
"sudo: i2cdetect: command not found".
 

Erica-Renee

Valuable Member
View Badges
Joined
Oct 4, 2017
Messages
1,596
Reaction score
3,288
Location
lost
Rating - 0%
0   0   0
Ok, that was what I was thinking. From perusing the .pdf I am assuming that I need to install "i2c-tools" as the terminal returns
"sudo: i2cdetect: command not found".

I2C on Pi
  1. Run sudo raspi-config .
  2. Use the down arrow to select 9 Advanced Options.
  3. Arrow down to A7 I2C .
  4. Select yes when it asks you to enable I2C.
  5. Also select yes when it tasks about automatically loading the kernel module.
  6. Use the right arrow to select the <Finish> button.
  7. Select yes when it asks to reboot.
you can also do this from gui... pi configuration i forget what tab thou.. Easily found
 

philshel

Active Member
View Badges
Joined
Jul 24, 2010
Messages
365
Reaction score
375
Rating - 0%
0   0   0
I2C on Pi
  1. Run sudo raspi-config .
  2. Use the down arrow to select 9 Advanced Options.
  3. Arrow down to A7 I2C .
  4. Select yes when it asks you to enable I2C.
  5. Also select yes when it tasks about automatically loading the kernel module.
  6. Use the right arrow to select the <Finish> button.
  7. Select yes when it asks to reboot.
you can also do this from gui... pi configuration i forget what tab thou.. Easily found

Thank you. I2C was already enabled everything was running fine, than it became intermittent, now has stopped.
 

philshel

Active Member
View Badges
Joined
Jul 24, 2010
Messages
365
Reaction score
375
Rating - 0%
0   0   0
Ok, that was what I was thinking. From perusing the .pdf I am assuming that I need to install "i2c-tools" as the terminal returns
"sudo: i2cdetect: command not found".

After installing the i2c-tools, I'm finding that there are no addresses listed, so I'm under the impression that the breakout board is not functioning properly.
 

jcmental

Active Member
View Badges
Joined
Jan 25, 2018
Messages
114
Reaction score
137
Rating - 0%
0   0   0
The thing is 2. x is beta software. a lot of changes were made in the code and being worked out.. You can go back to 1.5 (I think was the latest actual release ) and wait out until 2x final release are at least to a pre RELEASE State...
Nah it's to late now. I came the the realisation this morning when one of my filters wasn't running a small glitch in the code and it you dont notice it in time you could lose £1000's of stock. it's not worth the risk. Don't get me wrong I'm glad I tried it and think that you guys on here are brilliant with help and ideas, but I'm just not code savvy enough to keep up dating the program and putting all the equipment, timers, outlets, in lets and pins into the program. I cant even find the file with the settings in to copy it.
So its gone all back in their boxes and going to post them on eBay on Sunday night.
 

daveabbott007

New Member
View Badges
Joined
Aug 12, 2014
Messages
5
Reaction score
8
Location
United Kingdom
Rating - 0%
0   0   0
Hi, Firstly Thank you so much for writing such a great open source Reef application, i have seen a few attempts before but nothing ever got near this, this is awesome allready!

Is there anyway to change the password without deleting the database and starting again? I have somehow managed to change my reef-pi password in the gui (not sure how) and now i do not know what it is, below is from chrome after i login to reef-pi (password challenge screen never used to appear before)

Unknown action in redux-reducer:|@@redux/INITq.p.p.f.q|
/api/capabilities:1 Failed to load resource: the server responded with a status of 401 (Unauthorized)
ui.js:108 Unknown action in redux-reducer:|API_FAILURE|
/api/info:1 Failed to load resource: the server responded with a status of 401 (Unauthorized)
ui.js:108 Unknown action in redux-reducer:|API_FAILURE|

(running PI0 with 2.0 Beta 5)
Many thanks
 

WannaBSpaghetti

Active Member
View Badges
Joined
Jun 8, 2018
Messages
161
Reaction score
153
Location
Bethlehem
Rating - 0%
0   0   0
I want to understand all of this so badly. I want to contribute. But...
upload_2018-7-10_14-4-9.png
 

sjeff35

Active Member
View Badges
Joined
Jun 14, 2018
Messages
172
Reaction score
356
Location
Corrales, NM
Rating - 0%
0   0   0
I want to understand all of this so badly. I want to contribute. But...
upload_2018-7-10_14-4-9.png


I know the feeling. It's a little intimidating at first. Lucky for me, I'm an IT guy and have some background with coding and Linux/Pi stuff. The whole wiring thing is over my head, but I just dove in, read every post in this thread, and watched a ton of Youtube videos on how to solder, use breadboards.... I'm figuring it out! It's a fun project!
 

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'm a Civils guy. Getting my head around this electronics and Linux and Pi stuff is a huge departure from building roads and Bridges and pipelines.
Roads= Wires and PCB Traces...

Bridges= Resisters,Capacitors. Diods and The like
Pipeline= Voltage, Amps , and so on..

Its really not that much different..
 

philshel

Active Member
View Badges
Joined
Jul 24, 2010
Messages
365
Reaction score
375
Rating - 0%
0   0   0
1AE35120-A973-477B-A043-FA9E139FAC6E.jpeg


Oddly enough, I’ve never tried to dip items in Plasti Dip, only used the spray. I’m impressed, easy to do and looks solid. These are four “Waterproof” temp probes that are metal, with heat shrink. Now they have a coating of rubberized plastic too.

Us "older" people remember when Plasti Dip was only available as a dip. LOL
 
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
1AE35120-A973-477B-A043-FA9E139FAC6E.jpeg


Oddly enough, I’ve never tried to dip items in Plasti Dip, only used the spray. I’m impressed, easy to do and looks solid. These are four “Waterproof” temp probes that are metal, with heat shrink. Now they have a coating of rubberized plastic too.
This is cool :-)
My bare steel probes are still working smooth, no rust yet.
 

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

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

    Votes: 34 23.3%
  • 75% live rock, 25% live sand

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

    Votes: 11 7.5%
Back
Top