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

stefanm

Active Member
View Badges
Joined
Oct 11, 2017
Messages
360
Reaction score
397
Location
Sweden
Rating - 0%
0   0   0
I'm having an issue, my temperature sensors are no longer showing on reef-pi, it probably happened after a long power cut approximately 6 days ago, subsequently I updated reef-pi to 4.2, still no luck. If I click edit on the laptop nothing happens, on my mobile i can access but sensors aren't showing.

Any ideas where to start?
Anyone?
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
FYI

My DC dosers do not work with 5.2 version. Deleted readded restarted ... no go.
Updated back to 5.1 ... no problems. DC dosers working fine. I rebooted.

At least the dosers are now working.
oops :-( . I'll file a bug and test it out ASAP
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,349
Reaction score
1,724
Location
Missouri
Rating - 0%
0   0   0
I forgot what i did exactly, but i changed something somewhere so the "dirty bit" is ignored or automatically repaired or whatever and I went from corrupt SD card every 2nd to 3rd power cut to never having had that problem since with numerous powercuts.

It's disabling a safety feature, but i'm not really worried about corrupt data on my pi i am worried about reefpi not running.
Once I went to the high endurance SD cards I haven't had any issues with the SD cards and corruptions, but ya know how that goes. Why I like having my stuff split, I have the always on stuff on the Kasa strip and even if the rpi dumps, my return pump and wave pumps will keep chugging along...I will loose heaters but I should get a text message if the grafana is not able to get updated data so at least I will know there is an issue. As long as I keep a backup database handy (keep meaning to cron that up for a nightly backup) then I can rebuild and restore in 30min or less. Most of that time is spent on upgrading the rpi software.

:)
 

robsworld78

Well-Known Member
View Badges
Joined
Feb 14, 2020
Messages
985
Reaction score
1,325
Location
Edmonton, Canada
Rating - 0%
0   0   0
How do I check that?
Open the SSH terminal for the Pi and type in the following command.

cd /sys/bus/w1/devices

Then type in

ls

It should come back with some directories, one being w1_bus_master1 and then one for each sensor connected, they should start with 28-
 

ReeferLou

Active Member
View Badges
Joined
Dec 24, 2020
Messages
193
Reaction score
151
Location
Michigan-Oakland County
Rating - 0%
0   0   0
Open the SSH terminal for the Pi and type in the following command.

cd /sys/bus/w1/devices

Then type in

ls

It should come back with some directories, one being w1_bus_master1 and then one for each sensor connected, they should start with 28-
For example :


1647947298137.png
 

elysics

Valuable Member
View Badges
Joined
Jan 15, 2020
Messages
1,591
Reaction score
1,590
Rating - 0%
0   0   0
I haven't looked into these fancy external graphing and dashboard stuff you guys use, have always just used the reefpi internal one over vpn, I assume you need an external server or service subscription or something for that to work?
 

stefanm

Active Member
View Badges
Joined
Oct 11, 2017
Messages
360
Reaction score
397
Location
Sweden
Rating - 0%
0   0   0
Open the SSH terminal for the Pi and type in the following command.

cd /sys/bus/w1/devices

Then type in

ls

It should come back with some directories, one being w1_bus_master1 and then one for each sensor connected, they should start with 28-
It's not showing any devices, maybe there's a cold solder joint and it's come loose, I'll check when I get the chance.
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,349
Reaction score
1,724
Location
Missouri
Rating - 0%
0   0   0
I haven't looked into these fancy external graphing and dashboard stuff you guys use, have always just used the reefpi internal one over vpn, I assume you need an external server or service subscription or something for that to work?
Yeah you need another rpi (like anyone needs an excuse to have more than one) or some other way to host the software. For the most part you would not want to host it on the same rpi running reef-pi. Although with the rpi 4 you probably have enough horsepower to run it, there are advantages with keeping it separate. @Ranjib has put Prometheus into the reef-pi software to expose the data you just need a device to collect it and display it, most folks use Grafana to do that. I would say its a luxury and nice to have, but that other rpi device can be used to do other things to monitor reef-pi etc, nice to have and the charts are much nicer and configurable etc...:)
 

elysics

Valuable Member
View Badges
Joined
Jan 15, 2020
Messages
1,591
Reaction score
1,590
Rating - 0%
0   0   0
Yeah you need another rpi (like anyone needs an excuse to have more than one) or some other way to host the software. For the most part you would not want to host it on the same rpi running reef-pi. Although with the rpi 4 you probably have enough horsepower to run it, there are advantages with keeping it separate. @Ranjib has put Prometheus into the reef-pi software to expose the data you just need a device to collect it and display it, most folks use Grafana to do that. I would say its a luxury and nice to have, but that other rpi device can be used to do other things to monitor reef-pi etc, nice to have and the charts are much nicer and configurable etc...:)
Yeah that's a shame. Have like 3 other projects lined up waiting for me getting my hands on not disgustingly overpriced pis. And the one i have is just a zero, probably don't want to strain it with more stuff.
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,349
Reaction score
1,724
Location
Missouri
Rating - 0%
0   0   0
Yeah that's a shame. Have like 3 other projects lined up waiting for me getting my hands on not disgustingly overpriced pis. And the one i have is just a zero, probably don't want to strain it with more stuff.
Yeah you do not want to add it to a rpi zero thats for sure. I happen to have a vm machine that I can also spin up vm's and that is what I use, you may want to think about an old desktop etc, although it uses a lot more power but I use both. I tend to use rpi's for things that need to connect to other stuff, octoprint, reef-pi, adsb etc...and for monitoring and server based stuff I have on another box, but a rpi 4 with plenty of memory could do the same for small scale stuff. Memory may be a limitation but for my VM I have lots of other stuff going on also, so a rpi wouild not have had the horsepower.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Yeah that's a shame. Have like 3 other projects lined up waiting for me getting my hands on not disgustingly overpriced pis. And the one i have is just a zero, probably don't want to strain it with more stuff.
Use a cheap intel Nuc for Prometheus and grafana instead of pi. It’s bit expensive but far better and available
 

elysics

Valuable Member
View Badges
Joined
Jan 15, 2020
Messages
1,591
Reaction score
1,590
Rating - 0%
0   0   0
I know it might be a power consumption issue... but how many of us dont have a spare laptop or 3
Yeah that wouldn't make economic sense where i am, electricity is rather expensive, was even before current events. I could buy a whole heap of overpriced pis for what i'd save in electricity. It's more of a principled don't buy from scalpers thing that is stopping me from doing that.
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,349
Reaction score
1,724
Location
Missouri
Rating - 0%
0   0   0
Yeah that wouldn't make economic sense where i am, electricity is rather expensive, was even before current events. I could buy a whole heap of overpriced pis for what i'd save in electricity. It's more of a principled don't buy from scalpers thing that is stopping me from doing that.
Yeah I get it, I am in the midwest and electric rates are pretty cheap, but that is not the case everywhere. Although there are some low powered chips that are not an RPI that would do the same thing, just needs to run linux and lots of options out there to do it. Heck the rpi clones that run debian or any flavor of linux would be fine in that case, that may be an easier path and they should be just fine. :)
 

HAVE YOU EVER KEPT A RARE/UNCOMMON FISH, CORAL, OR INVERT? SHOW IT OFF IN THE THREAD!

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%
Back
Top