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

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.
 
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:
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....
 
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.
 
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
 
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.
 
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.
 
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?
 
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.
 
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 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.
 
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
 
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 :-)
 
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
 
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.
 
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
 
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.

 
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.

:)
 
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.

:)
 

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: 14 56.0%
  • Nah, I'll keep mine a secret...(Don't be like that, share with the class!)

    Votes: 11 44.0%
Back
Top
Home
Post thread…
Market
What's new