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

I have a question about light control via ML hat. Is there any pre-made circuitry to transform the 3.3v PWM to 10v PWM? With my old eyes I have difficulty focusing on small circuitry. Also does the PWM signal go to zero to shut off LED power supply like Meanwell HLG-320h-c700ab? Is there a better method of control using 0-10v control via reef-pi?
So, I'm by no way the expert, but I bought this LED Driver board off eBay: https://www.ebay.com/itm/1piece-5UP...b1bb346d6:g:irMAAOSwf~9ZZIey&autorefresh=true

I have not hooked it up as yet but I'm planning on using it with the PWM from ML Pi Hat and an external power supply to drive my two LED bars. BTW it may be overkill as it will run 5 channels and I only need 2, but it was not expensive.
 
Having issues with adafruit.io on a fresh install of 3.5. I’m not getting any feeds moving over and am getting flooded with the below errors.

I have tried resetting my key a few times I put my user name, the key, and just put “reef” for the prefix.

error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}
 
Working on building a 24v relay controlled power bar to go alongside by 120v Robo-Tank AC power bar. Going to be driven by a Meanwell lrs type power supply, with barrel jacks for individual 24v pumps.


Anyways - trying to figure out a good way to have the connection between the Meanwell an the relay box - I'd rather not enclose the power supply - so I need a cord/connector that can do 10+ amps at 24v.

Anybody know what the name of this style of connector is? I'm trying to find beefier ones - but can't figure out the right search terms:

connector.png
 
Working on building a 24v relay controlled power bar to go alongside by 120v Robo-Tank AC power bar. Going to be driven by a Meanwell lrs type power supply, with barrel jacks for individual 24v pumps.


Anyways - trying to figure out a good way to have the connection between the Meanwell an the relay box - I'd rather not enclose the power supply - so I need a cord/connector that can do 10+ amps at 24v.

Anybody know what the name of this style of connector is? I'm trying to find beefier ones - but can't figure out the right search terms:

connector.png
They are commonly referred to as 'aviation connectors'.
 
Having issues with adafruit.io on a fresh install of 3.5. I’m not getting any feeds moving over and am getting flooded with the below errors.

I have tried resetting my key a few times I put my user name, the key, and just put “reef” for the prefix.

error":"not found - that is an invalid URL, please check the API documentation at https://io.adafruit.com/api/docs to make sure your URL is correct"}

I had this issue setting AIO up on a previous version 3.XX. I tried all options and kept getting the same message. Then suddenly, it started working and is still working. I have like 41 error messages in reef-pi relating to the same issue, that I can't clear or that keep coming back, but I live with them because AIO lets me see the info in a graph format that I can see and access easily.
 
Hello, have not found something here about using JBL Solar Natur & Effect combined with the reefpi and how to wire this. It's running in this condition for my tank. You may want to use this on your own risk ;)

JBL_Solar.png
 
I am at a loss on what I am doing wrong on my Prometheus build.

I have been following the guide located here http://www.d3noob.org/2020/02/installing-prometheus-and-grafana-on.html

Here is my config file

scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
- job_name: 'prometheus'

metrics_path: /x/metrics
# scheme defaults to 'http'.

static_configs:
- targets: ['CichlidTank.local']

Here is the looping error I get when running
sudo systemctl start prometheus
sudo systemctl status prometheus

● prometheus.service - Prometheus Server
Loaded: loaded (/etc/systemd/system/prometheus.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Wed 2020-11-04 00:21:03 EST; 3s ago
Docs: https://prometheus.io/docs/introduction/overview/
Process: 1452 ExecStart=/home/pi/prometheus/prometheus --config.file=/home/pi/prometheus/prometheus.yml
Main PID: 1452 (code=killed, signal=ILL)

Nov 04 00:21:03 CichlidTank systemd[1]: prometheus.service: Service RestartSec=100ms expired, scheduling r
Nov 04 00:21:03 CichlidTank systemd[1]: prometheus.service: Scheduled restart job, restart counter is at 5
Nov 04 00:21:03 CichlidTank systemd[1]: Stopped Prometheus Server.
Nov 04 00:21:03 CichlidTank systemd[1]: prometheus.service: Start request repeated too quickly.
Nov 04 00:21:03 CichlidTank systemd[1]: prometheus.service: Failed with result 'signal'.
Nov 04 00:21:03 CichlidTank systemd[1]: Failed to start Prometheus Server.

Can't find a guide so if anyone has one that helped them please drop a link! I have been doing raspberry pi project for 6ish years and I still feel like a noob.
 
Bumping for help....

under targets I have also tried the following and can't figure out whats wrong

192.xxx.xxx.xxx
CichlidTank.local
192.xxx.xxx.xxx:9090
CichlidTank.local:9090
localhost:9090
CichlidTank:9090

Nothing is found when I navigate to 192.xxx.xxx.xxx:9090/targets or any of previous combinations

Edit: I think I found my issue. Pi zero is Armv6 not armv7 like the pi 3 which I have been working with previously.
 
Last edited:
I seem to have a weird issue. If I reset my router, the address of my reef-pi changes. Then I have to pull it all apart to hook up a monitor to find the new one so I can access it.
 
Weird. I know for my internet company the only way to get a static IP is to pay. Mine doesn't reset the IP address unless I update route firmware or something. Use a hostname which should help for the most part
 
I seem to have a weird issue. If I reset my router, the address of my reef-pi changes. Then I have to pull it all apart to hook up a monitor to find the new one so I can access it.

You can set the pi's Mac address in your router settings and assign a permanent IP address, takes a couple of minutes only. For example mine is always 192.168.0.3 even if I switch the router off or have a power cut.
 
You can set the pi's Mac address in your router settings and assign a permanent IP address, takes a couple of minutes only. For example mine is always 192.168.0.3 even if I switch the router off or have a power cut.

Can I do that through my laptop or will i have to do it through my PI?
 
I am at a loss on what I am doing wrong on my Prometheus build.

I have been following the guide located here http://www.d3noob.org/2020/02/installing-prometheus-and-grafana-on.html

Here is my config file

scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
- job_name: 'prometheus'

metrics_path: /x/metrics
# scheme defaults to 'http'.

static_configs:
- targets: ['CichlidTank.local']

Here is the looping error I get when running
sudo systemctl start prometheus
sudo systemctl status prometheus

● prometheus.service - Prometheus Server
Loaded: loaded (/etc/systemd/system/prometheus.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Wed 2020-11-04 00:21:03 EST; 3s ago
Docs: https://prometheus.io/docs/introduction/overview/
Process: 1452 ExecStart=/home/pi/prometheus/prometheus --config.file=/home/pi/prometheus/prometheus.yml
Main PID: 1452 (code=killed, signal=ILL)

Nov 04 00:21:03 CichlidTank systemd[1]: prometheus.service: Service RestartSec=100ms expired, scheduling r
Nov 04 00:21:03 CichlidTank systemd[1]: prometheus.service: Scheduled restart job, restart counter is at 5
Nov 04 00:21:03 CichlidTank systemd[1]: Stopped Prometheus Server.
Nov 04 00:21:03 CichlidTank systemd[1]: prometheus.service: Start request repeated too quickly.
Nov 04 00:21:03 CichlidTank systemd[1]: prometheus.service: Failed with result 'signal'.
Nov 04 00:21:03 CichlidTank systemd[1]: Failed to start Prometheus Server.

Can't find a guide so if anyone has one that helped them please drop a link! I have been doing raspberry pi project for 6ish years and I still feel like a noob.
whats the output of `journalctl -u prometheus.service` ? there might be some issues with the configuration (yaml file)
 
Bumping for help....

under targets I have also tried the following and can't figure out whats wrong

192.xxx.xxx.xxx
CichlidTank.local
192.xxx.xxx.xxx:9090
CichlidTank.local:9090
localhost:9090
CichlidTank:9090

Nothing is found when I navigate to 192.xxx.xxx.xxx:9090/targets or any of previous combinations

Edit: I think I found my issue. Pi zero is Armv6 not armv7 like the pi 3 which I have been working with previously.
can you post your yaml file. i dont think these 9090 stuff are valid yaml
 
can you post your yaml file. i dont think these 9090 stuff are valid yaml
The primary issue with it not loading was because I downloaded the wrong version (arm7 instead of armv6 for a pi zero). The 9090 thing I got by trying to follow the guide here https://www.mytinydc.com/en/blog/prometheus-grafana-installation/

I think my main issue is resolved and now I just have to figure out how to actually use prometheus/grafana so I can use it for my MagicMirror.
 
@Ranjib I am building my set up. My DJ-8 doesn’t seem to be responding. What can I check to troubleshoot? On Facebook someone suggested to check my signal and power sufficient. What can be wrong?
 

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

    Votes: 22 44.9%
Back
Top
Home
Post thread…
Market
What's new