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

LongBeachReefer562

Community Member
View Badges
Joined
May 19, 2019
Messages
50
Reaction score
27
Rating - 0%
0   0   0
If I could see the current light level on the reefpi dashboard, io wouldn't be needed.
Hi Gary - not sure if you figured this out but in case not, I ran into the same thing and the solution was removing all spaces. I also removed all numbers and characters other than letters...one of these fixed it.
 

Bob Tiffany

Community Member
View Badges
Joined
Nov 4, 2015
Messages
33
Reaction score
17
Rating - 0%
0   0   0
Can you post a screenshot of your CPU/Memory readout? CPU readout is in percentage, what Pi hardware version are you using?
Thanks for the reply! I’m using the Raspberry Pi 4, 4GB. Here’s a screen shot:
FCD3654F-2561-4DE5-9509-7FCB541EAE44.jpeg
 
Last edited:

GaryE

Well-Known Member
View Badges
Joined
Mar 12, 2020
Messages
992
Reaction score
1,321
Location
Coatesville, Indiana
Rating - 0%
0   0   0
Hi Gary - not sure if you figured this out but in case not, I ran into the same thing and the solution was removing all spaces. I also removed all numbers and characters other than letters...one of these fixed it.

I just use Grafana....
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
Thanks for the reply! I’m using the Raspberry Pi 4, 4GB. Here’s a screen shot:
FCD3654F-2561-4DE5-9509-7FCB541EAE44.jpeg

Your CPU appears to be running high, looks like you have some errors, are you running anything else on your pi? Now this is a PI 4 so you have a lot more CPU processing but I am running on a pi 3 a+ and peak at .21 or 21% which is what I believe it represents.

Maybe take a screenshot of your error page and lets see what the errors look like. You can also from and console prompt (via SSH) perform a top and see what is using the most cpu resources.
 

Bob Tiffany

Community Member
View Badges
Joined
Nov 4, 2015
Messages
33
Reaction score
17
Rating - 0%
0   0   0
Your CPU appears to be running high, looks like you have some errors, are you running anything else on your pi? Now this is a PI 4 so you have a lot more CPU processing but I am running on a pi 3 a+ and peak at .21 or 21% which is what I believe it represents.

Maybe take a screenshot of your error page and lets see what the errors look like. You can also from and console prompt (via SSH) perform a top and see what is using the most cpu resources.

Just the latest version of Raspian. For errors I’m getting the occasional temp probe error that everyone else is getting, then I keep getting a bunch from Adafruit IO:

038A3FA1-4EDA-4785-9EA9-744814DF5B4F.png
 

Bob Tiffany

Community Member
View Badges
Joined
Nov 4, 2015
Messages
33
Reaction score
17
Rating - 0%
0   0   0
Your CPU appears to be running high, looks like you have some errors, are you running anything else on your pi? Now this is a PI 4 so you have a lot more CPU processing but I am running on a pi 3 a+ and peak at .21 or 21% which is what I believe it represents.

Maybe take a screenshot of your error page and lets see what the errors look like. You can also from and console prompt (via SSH) perform a top and see what is using the most cpu resources.

Also I don’t see how this could be a percentage on the CPU because it regularly goes over 1.0, it’s at 1.6 at one point.
 

trustychords

New Member
View Badges
Joined
Aug 17, 2019
Messages
24
Reaction score
30
Location
Virginia, USA
Rating - 0%
0   0   0
Just the latest version of Raspian. For errors I’m getting the occasional temp probe error that everyone else is getting, then I keep getting a bunch from Adafruit IO:

038A3FA1-4EDA-4785-9EA9-744814DF5B4F.png

Are you using a remote connection like Teamviewer? I was having a similar issue where my memory and CPU would skyrocket and it was because of Teamviewer.

I would also shut down the raspberry pi and restart it. Sometimes things get hung up for no apparent reason and a power on/of will clear the issue.
 

Mike25

New Member
View Badges
Joined
Aug 18, 2019
Messages
7
Reaction score
12
Rating - 0%
0   0   0
Hi All.
I'm working on getting fail2ban up on my system. Does anyone know if reef-pi logs failed login attempts? If so, what log file would that be stored in?
 

Bob Tiffany

Community Member
View Badges
Joined
Nov 4, 2015
Messages
33
Reaction score
17
Rating - 0%
0   0   0
Are you using a remote connection like Teamviewer? I was having a similar issue where my memory and CPU would skyrocket and it was because of Teamviewer.

I would also shut down the raspberry pi and restart it. Sometimes things get hung up for no apparent reason and a power on/of will clear the issue.

No, no TeamViewer or anything. I have shut down and reset a couple times lately, it’s always been the same and I’ve gotten those Adafruit IO errors since the day I setup the Adafruit IO feeds.
 

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
Hey guys. So my router assigned a new IP address to reef-pi last night thinks to a power outage. I lnow, I know. DHCP etc etc.

I've been searching for a tutorial to follow on how to set up a Static IP so I don't go through this again. Does anyone know a reliable one for me to follow?

Edit - my reef-pi is on wifi if that makes a difference.
 

BenB

Active Member
View Badges
Joined
Jun 11, 2019
Messages
118
Reaction score
152
Rating - 0%
0   0   0
Hey guys. So my router assigned a new IP address to reef-pi last night thinks to a power outage. I lnow, I know. DHCP etc etc.

I've been searching for a tutorial to follow on how to set up a Static IP so I don't go through this again. Does anyone know a reliable one for me to follow?

Edit - my reef-pi is on wifi if that makes a difference.
On your router you can, most likely, set a DHCP reservation for the current ip adress that is assigned to your pi. See manual of your router how to get it aranged.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Just the latest version of Raspian. For errors I’m getting the occasional temp probe error that everyone else is getting, then I keep getting a bunch from Adafruit IO:

038A3FA1-4EDA-4785-9EA9-744814DF5B4F.png
This is related to either incompatible name of equipment/some other elements name in reef-pi (with space ) or too many data point being submitted to reef-pi. Adafruit is free account only allow 6 feeds
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Hi All.
I'm working on getting fail2ban up on my system. Does anyone know if reef-pi logs failed login attempts? If so, what log file would that be stored in?
reef-pi legs failed login attempt. It’s logged in stdout and available via standard journalctl -u reef-pi.service . Check how fail2ban integrates with journalctl. Keep me posted :-)
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
No, no TeamViewer or anything. I have shut down and reset a couple times lately, it’s always been the same and I’ve gotten those Adafruit IO errors since the day I setup the Adafruit IO feeds.
Can you run ‘ps aux’ and share the output. There must be something that’s eating your cpu, reef-pi alone should not be that intensive
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Hey guys. So my router assigned a new IP address to reef-pi last night thinks to a power outage. I lnow, I know. DHCP etc etc.

I've been searching for a tutorial to follow on how to set up a Static IP so I don't go through this again. Does anyone know a reliable one for me to follow?

Edit - my reef-pi is on wifi if that makes a difference.
Your router is the one where you have to make dhcp reservation. I use google WiFi which allows this via their app.
 

GaryE

Well-Known Member
View Badges
Joined
Mar 12, 2020
Messages
992
Reaction score
1,321
Location
Coatesville, Indiana
Rating - 0%
0   0   0
Hey guys. So my router assigned a new IP address to reef-pi last night thinks to a power outage. I lnow, I know. DHCP etc etc.

I've been searching for a tutorial to follow on how to set up a Static IP so I don't go through this again. Does anyone know a reliable one for me to follow?

Edit - my reef-pi is on wifi if that makes a difference.

If you set the pi to use predictable network interface names, you can setup static IP addresses in /etc/dhcpdc.conf

mine looks like this:


# Example static IP configuration:
interface wlan0
static ip_address=192.168.0.10/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1 8.8.8.8
 

robsworld78

Valuable Member
View Badges
Joined
Feb 14, 2020
Messages
1,029
Reaction score
1,293
Location
Edmonton, Canada
Rating - 0%
0   0   0
Hey guys. So my router assigned a new IP address to reef-pi last night thinks to a power outage. I lnow, I know. DHCP etc etc.

I've been searching for a tutorial to follow on how to set up a Static IP so I don't go through this again. Does anyone know a reliable one for me to follow?

Edit - my reef-pi is on wifi if that makes a difference.

As @GaryE mentioned you can do this in the dhcpdc.conf file. Here's a little write up on it.

 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
Also I don’t see how this could be a percentage on the CPU because it regularly goes over 1.0, it’s at 1.6 at one point.

Yeah linux cpu monitor works a lot different from winblows stuff, it provides a number based on core utilization, if you have a multi core machine it can and will read over 100% based on load. I have an 8 core machine and if I am doing heavy cpu work my cpu percentage can read 440%, basically I am using 4 cores and and 40% of the fifth core. Right now it appears that you are using one and half cores and reaf-pi should only be using .2 or .3 (20-30%) of a single core.

From the console prompt you can also run top and it will show which processes are using the most resources, if you can capture that output and display here that will show us what is consuming the resources.

:)
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
Hey guys. So my router assigned a new IP address to reef-pi last night thinks to a power outage. I lnow, I know. DHCP etc etc.

I've been searching for a tutorial to follow on how to set up a Static IP so I don't go through this again. Does anyone know a reliable one for me to follow?

Edit - my reef-pi is on wifi if that makes a difference.

Hey @Des Westcott if you can give me the model of your router I will look it up and see if you can do DHCP reservations, willing to help just let me know.

:)
 

theatrus

Valuable Member
View Badges
Joined
Mar 26, 2016
Messages
2,255
Reaction score
3,603
Location
Sacramento, CA area
Rating - 0%
0   0   0

TOP 10 Trending Threads

ARE YOU READY TO CONFESS TO CRAZIEST, DUMBEST, FUNNIEST THING YOU’VE EVER DONE IN REEFING?

  • Yeah, I'll confess! (Share your story in the comments!)

    Votes: 10 58.8%
  • Nah, I'll keep mine a secret...(Don't be like that, share with the class!)

    Votes: 7 41.2%
Back
Top
Home
Post thread…
Market
What's new