Guide: Telemetry server

eggi55

Community Member
View Badges
Joined
Sep 18, 2022
Messages
63
Reaction score
52
Location
germany
Rating - 0%
0   0   0
Hello Ranjib
I reinstalled everything
but can't start reef-pi I took a picture.
I would appreciate your help.
 

Attachments

  • D21A31AF-9906-46A3-87E2-C10F532EBA4F.jpeg
    D21A31AF-9906-46A3-87E2-C10F532EBA4F.jpeg
    217 KB · Views: 99

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,349
Reaction score
1,724
Location
Missouri
Rating - 0%
0   0   0
Hello Ranjib
I reinstalled everything
but can't start reef-pi I took a picture.
I would appreciate your help.
Do you have a build thread going since that would be the best place to post this or the other main reef-pi thread. But in general if you want to start/stop/status reef-pi here is the proper command:

Code:
 sudo systemctl status reef-pi.service
[sudo] password for bishop:
● reef-pi.service - raspberry pi based reef tank controller
   Loaded: loaded (/lib/systemd/system/reef-pi.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2022-11-24 16:27:24 CST; 3 weeks 1 days ago
 Main PID: 14056 (reef-pi)
    Tasks: 14 (limit: 878)
   CGroup: /system.slice/reef-pi.service
           └─14056 /usr/bin/reef-pi daemon -config /etc/reef-pi/config.yaml

Dec 17 09:49:25 tankpi reef-pi[14056]: 2022/12/17 09:49:25 lighting subsystem: Setting Light:  Shrimp light Channel: Channel-1 Value
Dec 17 09:49:25 tankpi reef-pi[14056]: 2022/12/17 09:49:25 lighting-subsystem: Setting PWM value: 24.619443281261237  at channel: 0
Dec 17 09:49:25 tankpi reef-pi[14056]: 2022/12/17 09:49:25 lighting subsystem: Setting Light:  Chaeto light Channel: Channel-1 Value
Dec 17 09:49:25 tankpi reef-pi[14056]: 2022/12/17 09:49:25 lighting-subsystem: Setting PWM value: 0  at channel: 1
Dec 17 09:49:25 tankpi reef-pi[14056]: 2022/12/17 09:49:25 health check: Used memory: 13.76  Load5: 0
Dec 17 09:49:25 tankpi reef-pi[14056]: 2022/12/17 09:49:25 temperature sub-system:  sensor Ambient value: 66.76
Dec 17 09:49:25 tankpi reef-pi[14056]: 2022/12/17 09:49:25 temperature sub-system:  sensor Shrimp Tank value: 78.24
Dec 17 09:49:25 tankpi reef-pi[14056]: 2022/12/17 09:49:25 Current value of 'Shrimp Tank' is below minimum threshold. Executing up r
Dec 17 09:49:25 tankpi reef-pi[14056]: 2022/12/17 09:49:25 Euipment: 1 On: true
Dec 17 09:49:26 tankpi reef-pi[14056]: 2022/12/17 09:49:26 temperature sub-system:  sensor Coral Tank Alarm only value: 79.2

Replace status with start to start the service. Service level commands generally need to be run from an account with elevated privileges hence the beginning "sudo" is used to elevate your privileges.

Hope that helps get you working :)
 

eggi55

Community Member
View Badges
Joined
Sep 18, 2022
Messages
63
Reaction score
52
Location
germany
Rating - 0%
0   0   0
Do you have a build thread going since that would be the best place to post this or the other main reef-pi thread. But in general if you want to start/stop/status reef-pi here is the proper command:

Code:
 sudo systemctl status reef-pi.service
[sudo] password for bishop:
● reef-pi.service - raspberry pi based reef tank controller
   Loaded: loaded (/lib/systemd/system/reef-pi.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2022-11-24 16:27:24 CST; 3 weeks 1 days ago
 Main PID: 14056 (reef-pi)
    Tasks: 14 (limit: 878)
   CGroup: /system.slice/reef-pi.service
           └─14056 /usr/bin/reef-pi daemon -config /etc/reef-pi/config.yaml

Dec 17 09:49:25 tankpi reef-pi[14056]: 2022/12/17 09:49:25 lighting subsystem: Setting Light:  Shrimp light Channel: Channel-1 Value
Dec 17 09:49:25 tankpi reef-pi[14056]: 2022/12/17 09:49:25 lighting-subsystem: Setting PWM value: 24.619443281261237  at channel: 0
Dec 17 09:49:25 tankpi reef-pi[14056]: 2022/12/17 09:49:25 lighting subsystem: Setting Light:  Chaeto light Channel: Channel-1 Value
Dec 17 09:49:25 tankpi reef-pi[14056]: 2022/12/17 09:49:25 lighting-subsystem: Setting PWM value: 0  at channel: 1
Dec 17 09:49:25 tankpi reef-pi[14056]: 2022/12/17 09:49:25 health check: Used memory: 13.76  Load5: 0
Dec 17 09:49:25 tankpi reef-pi[14056]: 2022/12/17 09:49:25 temperature sub-system:  sensor Ambient value: 66.76
Dec 17 09:49:25 tankpi reef-pi[14056]: 2022/12/17 09:49:25 temperature sub-system:  sensor Shrimp Tank value: 78.24
Dec 17 09:49:25 tankpi reef-pi[14056]: 2022/12/17 09:49:25 Current value of 'Shrimp Tank' is below minimum threshold. Executing up r
Dec 17 09:49:25 tankpi reef-pi[14056]: 2022/12/17 09:49:25 Euipment: 1 On: true
Dec 17 09:49:26 tankpi reef-pi[14056]: 2022/12/17 09:49:26 temperature sub-system:  sensor Coral Tank Alarm only value: 79.2

Replace status with start to start the service. Service level commands generally need to be run from an account with elevated privileges hence the beginning "sudo" is used to elevate your privileges.

Hope that helps get you working :)
Do you have a build thread going since that would be the best place to post this or the other main reef-pi thread. But in general if you want to start/stop/status reef-pi here is the proper command:

Code:
 sudo systemctl status reef-pi.service
[sudo] password for bishop:
● reef-pi.service - raspberry pi based reef tank controller
   Loaded: loaded (/lib/systemd/system/reef-pi.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2022-11-24 16:27:24 CST; 3 weeks 1 days ago
 Main PID: 14056 (reef-pi)
    Tasks: 14 (limit: 878)
   CGroup: /system.slice/reef-pi.service
           └─14056 /usr/bin/reef-pi daemon -config /etc/reef-pi/config.yaml

Dec 17 09:49:25 tankpi reef-pi[14056]: 2022/12/17 09:49:25 lighting subsystem: Setting Light:  Shrimp light Channel: Channel-1 Value
Dec 17 09:49:25 tankpi reef-pi[14056]: 2022/12/17 09:49:25 lighting-subsystem: Setting PWM value: 24.619443281261237  at channel: 0
Dec 17 09:49:25 tankpi reef-pi[14056]: 2022/12/17 09:49:25 lighting subsystem: Setting Light:  Chaeto light Channel: Channel-1 Value
Dec 17 09:49:25 tankpi reef-pi[14056]: 2022/12/17 09:49:25 lighting-subsystem: Setting PWM value: 0  at channel: 1
Dec 17 09:49:25 tankpi reef-pi[14056]: 2022/12/17 09:49:25 health check: Used memory: 13.76  Load5: 0
Dec 17 09:49:25 tankpi reef-pi[14056]: 2022/12/17 09:49:25 temperature sub-system:  sensor Ambient value: 66.76
Dec 17 09:49:25 tankpi reef-pi[14056]: 2022/12/17 09:49:25 temperature sub-system:  sensor Shrimp Tank value: 78.24
Dec 17 09:49:25 tankpi reef-pi[14056]: 2022/12/17 09:49:25 Current value of 'Shrimp Tank' is below minimum threshold. Executing up r
Dec 17 09:49:25 tankpi reef-pi[14056]: 2022/12/17 09:49:25 Euipment: 1 On: true
Dec 17 09:49:26 tankpi reef-pi[14056]: 2022/12/17 09:49:26 temperature sub-system:  sensor Coral Tank Alarm only value: 79.2

Replace status with start to start the service. Service level commands generally need to be run from an account with elevated privileges hence the beginning "sudo" is used to elevate your privileges.

Hope that helps get you working :)
no i can not start http:// 192.___.___.__/reef-pi
 

eggi55

Community Member
View Badges
Joined
Sep 18, 2022
Messages
63
Reaction score
52
Location
germany
Rating - 0%
0   0   0
so i set up prometheus see photo everything right or wrong?
I would appreciate an answer and wish you all a nice 4th advent.

8BF04BD9-4459-4BF4-A40E-CCD84275D11E.jpeg DB746395-7C8F-4C9F-BD0A-3B656220C60B.jpeg
 
Last edited:

ColoredRock

Well-Known Member
View Badges
Joined
Aug 9, 2021
Messages
856
Reaction score
1,034
Location
Murrieta, CA (North of San Diego)
Rating - 0%
0   0   0
so i set up prometheus see photo everything right or wrong?
I would appreciate an answer and wish you all a nice 4th advent.
try to search for the error you are getting


Also try install prometheus with a guide more detailed to what flavor of linux you are using.... I installed on Ubuntu using this guide.

 

eggi55

Community Member
View Badges
Joined
Sep 18, 2022
Messages
63
Reaction score
52
Location
germany
Rating - 0%
0   0   0
try to search for the error you are getting


Also try install prometheus with a guide more detailed to what flavor of linux you are using.... I installed on Ubuntu using this guide.

thank you
 

the register

Community Member
View Badges
Joined
Apr 16, 2009
Messages
50
Reaction score
47
Rating - 0%
0   0   0
Not to hijack this thread, but this might be one of those things that's super helpful to build a kubernetes deployment around and guide people on how to push this up to GCP or another host. While you'd need to pay for the usage, my guess is the net cost for something as lightweight as this would be comparable in cost to the electric bill from running the server.

If others are interested in that, I can write that up and push the configs onto github.
 
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
Not to hijack this thread, but this might be one of those things that's super helpful to build a kubernetes deployment around and guide people on how to push this up to GCP or another host. While you'd need to pay for the usage, my guess is the net cost for something as lightweight as this would be comparable in cost to the electric bill from running the server.

If others are interested in that, I can write that up and push the configs onto github.
i would take that route if this was sas. For individual users, reef-pi is already pretty complicated, i doubt very much the k8s plumbing will have general consumption. I could definitely use a helm chart to test out reef-pi on my k8s cluster :)

i already have a telemetry operator (grafana, prometheus, node exporter) and was hoping to extend that to incorporate reef-pi and then slowly build out the mothership.
 

ColoredRock

Well-Known Member
View Badges
Joined
Aug 9, 2021
Messages
856
Reaction score
1,034
Location
Murrieta, CA (North of San Diego)
Rating - 0%
0   0   0

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