It's explained here: http://www.d3noob.org/2020/02/installing-prometheus-and-grafana-on.htmlWhat is Prometheus, and how are people using different UI?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
It's explained here: http://www.d3noob.org/2020/02/installing-prometheus-and-grafana-on.htmlWhat is Prometheus, and how are people using different UI?
Prometheus is a metrics database. The different UI is the other software called grafana. Grafana is a metrics charting. Together they can fetch all metrics from reef-pi and allows you to chart any way you want for almost any duration. Both of these two software are probably world's most popular open-source solutions in their respective category and are much larger projects.What is Prometheus, and how are people using different UI?
Tried it and browser returned: site refused the connection. Second time this has happened when I enabled Prometheus, first on 3.5 and this time on 4.0. wondering if there is a way to disable Prometheus through the CLI and see if that fixes it.can you try accessing the ui from private/incognito mode?
What does the log says? Looks like reef-pi is not running. This can not be related to Prometheus option. Check the logs , it should show if reef-pi running or not, and if it’s failing , why .Tried it and browser returned: site refused the connection. Second time this has happened when I enabled Prometheus, first on 3.5 and this time on 4.0. wondering if there is a way to disable Prometheus through the CLI and see if that fixes it.
Oops! should have thought of that... Looks like there's a bunch of Prometheus/Git related stuff at the bottom of the log and the reef-pi.service exited. log attachedWhat does the log says? Looks like reef-pi is not running. This can not be related to Prometheus option. Check the logs , it should show if reef-pi running or not, and if it’s failing , why .
@RanjibWhat does the log says? Looks like reef-pi is not running. This can not be related to Prometheus option. Check the logs , it should show if reef-pi running or not, and if it’s failing , why .
Yeah I had a power outage the other day, we don't have them often but makes you think about getting a better backup plan. I saw where @Bigtrout was out for sometime, the problem I have is if it's in the summer I can run a long time on my UPS batteries, I have 2 1400VA APC that I have on my work bench that I can move and power things. But if it happens when its winter I have to run my heaters and even though it's only a 100w it chews through the batteries at a much faster clip. Need to come up with something that I can run my return pump and heater for a long period of time, but all the options I come up with are not cheap. :(I’ve been playing with different type of backup power sources for reef-pi this year. Due to climate change and california Wilde fire season , I think every year we’ll have more sever and frequent power outages for foreseeable feature.
i benchmarked a bunch of powerbank , mobile charger etc in the past. They are not bad , can run just the pi along with sensors etc for almost two to three days .
last week , i was thinking why not try out the Ryobi batteries ? I have a handful of those , since I use a whole bunch of Ryobi tools , from lead blower to trim router that runs on them. I have almost 8 batteries and some of them are 4/6 ah should be pretty good.
So I started testing. I have one of these Ryobi light that uses non-led/filament style bulb and the bulb was broken. I didn’t like this light , and got a different led light (ryobi), hence This is perfect for all experiments. I am using it for battery connections (could be easily changed with a 3D printer alternative). I have hooked up an lm2596 converter to step down the 18v coming from battery to 5.21 v.
Results; reef-pi on pi zero without anything else runs almost 2 days with the 3ah batteries . I’m planing to test test out the 6ah batteries next. I’ll be super delighted if they run for several days.
btw, there 3.2 or 5v submersible pump and air stones that could also be used with similar setup. in real life cases I am likely to run both controller as well as pump/air stone..![]()
![]()
I run it at at 60s interval. I don’t see any implications even if I run at 300s interval.Added a PH y probe this evening, what is everyone running for the check frequency for PH, 60secs or something else?
Thanks :)
Added a PH y probe this evening, what is everyone running for the check frequency for PH, 60secs or something else?
Thanks :)
Thanks for the reply, thats what I went with and so far this probe appears to be working much better than my last one, hopefully its a keeper.I run it at at 60s interval. I don’t see any implications even if I run at 300s interval.
My only concern about the frequency is I am wanting to use it as a failsafe for my Kalk doser, if PH rises over 8.4 (or whatever I have set) I want it to turn of the doser (in case it never turns off etc) and notifiy me. I have a lot to play with in regards to Kalk dosing so not sure how much dose will raise the PH in a given time. Once I see how it normally acts then I may be able to extend the frequency check.Mine checks every 320 seconds (5 minutes). Previously I had it check every 60 seconds but I don't really see the need.
If that's run via the dosing pump menu of reef-pi, then you can turn on and off individual dosing channels with macros. When creating a macro select doser, then the channel you want, then whether to turn it on or off. And then use that macro as a response to the ph reading.Now that I look at it, is it possible to turn off a doser (not an outlet but a 4 head dosing pump via @Michael Lane dosing module based on a PH reading? I could have sworn I have read that you can do that but right now I'm not sure I see how it can be done.
Thanks :)
Yup just saw it when looked at it again, the only downside I see for me using 3.x version is that it requires you to have a low side function also. I'n my case I just want to protect from High PH when dosing Kalk and really do not need a low side function since it will already alert me if its low or high. To solve that issue I just created a dummy macro with a wait input and assigned that, need to do some more testing but think that should work. I know Kalk is very concentrated but not sure if adding 10ml and hour will cause the PH to do much but with a probe I at least can watch and make sure that it plays nice.If that's run via the dosing pump menu of reef-pi, then you can turn on and off individual dosing channels with macros. When creating a macro select doser, then the channel you want, then whether to turn it on or off. And then use that macro as a response to the ph reading.
Hey @Ranjib I'm trying to setup MQTT and getting the following errorGlad I could help confuse you. :D
I'll update my build thread with MQTT info when I update my reef-pi installations.
{"error":"json: cannot unmarshal string into Go struct field MQTTConfig.mqtt.retained of type bool"} | HTTP 400
For anyone else getting this, the trick is to enable prometheus, save config, reload, refresh, THEN add mqtt details in the telemetry tab. I think it was trying to add parameters before it set them up.Hey @Ranjib I'm trying to setup MQTT and getting the following error
Code:{"error":"json: cannot unmarshal string into Go struct field MQTTConfig.mqtt.retained of type bool"} | HTTP 400
Any clues?
Hmm I have a master pump for Jebao, but I am comfortable w/ electronics to bypass the control module in it. Thanks for
Hmm I have a master pump for Jebao, but I am comfortable w/ electronics to bypass the control module in it. How are you powering them individually though?