OP
OP
Matt Carden

Matt Carden

Valuable Member
View Badges
Joined
Apr 13, 2018
Messages
1,647
Reaction score
4,086
Location
Detroit Metro
Rating - 0%
0   0   0
In the Pi SSH terminal if you run the following command do you see the pca9685 listed? It should show up as 0x40, in reef-pi for the driver address you would use 64.
I didn't get the command you mention above?
 
OP
OP
Matt Carden

Matt Carden

Valuable Member
View Badges
Joined
Apr 13, 2018
Messages
1,647
Reaction score
4,086
Location
Detroit Metro
Rating - 0%
0   0   0
This is what came up when I entered command. @Ranjib @robsworld78

16557556889151715987534606525978.jpg
This is in reef-pi when trying to setup the driver. Screenshot_20220620-162522_Chrome.jpg
 
Last edited:

robsworld78

Well-Known Member
View Badges
Joined
Feb 14, 2020
Messages
985
Reaction score
1,325
Location
Edmonton, Canada
Rating - 0%
0   0   0
This is what came up when I entered command. @Ranjib @robsworld78

16557556889151715987534606525978.jpg
This is in reef-pi when trying to setup the driver. Screenshot_20220620-162522_Chrome.jpg
The pca9685 is being detected and the address for reef-pi driver is correct. Is the problem with validation not allowing you to save it? If so maybe try a desktop browser.
 
OP
OP
Matt Carden

Matt Carden

Valuable Member
View Badges
Joined
Apr 13, 2018
Messages
1,647
Reaction score
4,086
Location
Detroit Metro
Rating - 0%
0   0   0
OMG I'm stupid! I just figured it out! The fields in the pic above for address and frequency were autofilled by reef-pi so I was just clicking save! I just tried to type the information in the boxes and it saved!
 
OP
OP
Matt Carden

Matt Carden

Valuable Member
View Badges
Joined
Apr 13, 2018
Messages
1,647
Reaction score
4,086
Location
Detroit Metro
Rating - 0%
0   0   0
I have some weird going ons happening with my reef-pi! Started ths controller up about a month ago. Had a few hiccups but otherwise running smoothly. I have been accessing daily via Google Chrome browser by typing in my IP address to turn off my return pump for frozen feedings. A few days ago I couldn't access via Chrome anymore but the controller was still controlling the equipment. Yesterday I went on my Xfinity gateway app and discovered my reef-pi IP address had changed! I was then able to access via Chrome with the updated IP address.

Then this morning I woke to discover my lights never turned off as scheduled last night and my water level was low. The truly strange part is that the reef-pi was controlling the intensity of the lights. I reset the Raspberry-Pi power and everything started working correctly?
 

HuduVudu

2500 Club Member
View Badges
Joined
Jun 2, 2020
Messages
3,241
Reaction score
3,669
Location
Houston
Rating - 0%
0   0   0
Yesterday I went on my Xfinity gateway app and discovered my reef-pi IP address had changed! I was then able to access via Chrome with the updated IP address.
The lease on the Pi expired and the router (part of the gateway) re-assigned the address. Normally people don't have a lot going on their networks so the router will just re-assign the same ip but sometimes the router decides to re-assign a new one. You can use the localhost pathing to solve this problem.

@Ranjib what is used when you make a localhost call?
 

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,006
Reaction score
978
Location
Germany
Rating - 0%
0   0   0
OP
OP
Matt Carden

Matt Carden

Valuable Member
View Badges
Joined
Apr 13, 2018
Messages
1,647
Reaction score
4,086
Location
Detroit Metro
Rating - 0%
0   0   0
I wasn't using ".local" ill try that when I get home. I've also tried setting up an SSH but have been unsuccessful.
 

HuduVudu

2500 Club Member
View Badges
Joined
Jun 2, 2020
Messages
3,241
Reaction score
3,669
Location
Houston
Rating - 0%
0   0   0
@Matt Carden @Sral

Found it!

You need to ssh in. You should be in your home directory. You can then type in ... sudo raspi-config
This brings up the config interface and under System Options > Host Name you can change the host name.

Once you change the host name and the Raspberry Pi reboots then you can use the hostname instead of the ip to access the reefpi interface.

For example if I change the hostname to crazyreef
Then I would access using:

More info:
 
Back
Top