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

Hi All :)

I have a query about the reef-pi API - Specifically to do with pH readings, The below section, does that show the calibrated or non-calibrated ph reading?
1684133785506.png
I ran into this when creating kivy-reef – /read returns the uncalibrated reading. To obtain the calibrated reading, you need to call /api/phprobes/{id}/readings and use the last item in the list (i.e. the most recent reading).
 
Hi
I have been looking at this and have been tempted to try for months and now I'm going to attempt it but the very 1st thing is which pi should I look at getting for this I see there's lots about and there are a few that will work but is there 1 in particular that is worth trying to get hold of ?
 
Hi
I have been looking at this and have been tempted to try for months and now I'm going to attempt it but the very 1st thing is which pi should I look at getting for this I see there's lots about and there are a few that will work but is there 1 in particular that is worth trying to get hold of ?
What do you want to do with it? Just reef-pi? Other stuff as well? Do you want it to have it's own display, or just on your phone?

The cheapest is the pi zero W, mine has been running for years now. The dashboard is maybe a bit slow to load, but other than that it works fine.

The more expensive ones, like 3 , or even 4, work too of course, but if you don't want to use them for anything else at the same time, it's slightly overkill. Maybe the page will load faster though.

look here for up to date availability, Model A has no ethernet, only wifi, if that matters to you, also only as little ram as the pi zero w
 
Last edited:
hi thanks for the reply ill be using it just for the reef-pi testing the ph temps and a few other think when i learn how to use it a bit more i like the idea of it having wifi and linking it to its own screen.
 
hi thanks for the reply ill be using it just for the reef-pi testing the ph temps and a few other think when i learn how to use it a bit more i like the idea of it having wifi and linking it to its own screen.
with it's own display it's probably better to take a 3 or 4, not sure if the 3 model A would be enough, maybe someone else can say
 
Hi All :)

I have a query about the reef-pi API - Specifically to do with pH readings, The below section, does that show the calibrated or non-calibrated ph reading?
1684133785506.png
raw, un-calibrated value
 
I ran into this when creating kivy-reef – /read returns the uncalibrated reading. To obtain the calibrated reading, you need to call /api/phprobes/{id}/readings and use the last item in the list (i.e. the most recent reading).

I need to get back to this.. this is very inconvenient, we can just add an option in the read api to optionally get the calibrated valued. in fact i think we should return calibrated values unless explicitly raw value is requested.
 
That would be awesome if you can do it! As like with the HA addon it has issues trying to read the latest ph from the readings api as compared to /read since it’s just one value listed

Between that and the graph hiccup I mentioned in GitHub when is it likely an update will come out that will fix this stuff? Just asking :)
 
I need to get back to this.. this is very inconvenient, we can just add an option in the read api to optionally get the calibrated valued. in fact i think we should return calibrated values unless explicitly raw value is requested.
Would this change/fix then mean that /read would then by default get the calibrated reading?
 
Would this change/fix then mean that /read would then by default get the calibrated reading?
no. we wont break api, at least not in minor versions,. if we do break api, we'll call this out. I dont intend to break the api, i was thinking of adding an optional calibrated=true parameter in the read api. that will allow the new use case without breaking the old use case
 
no. we wont break api, at least not in minor versions,. if we do break api, we'll call this out. I dont intend to break the api, i was thinking of adding an optional calibrated=true parameter in the read api. that will allow the new use case without breaking the old use case
If you are thinking about publishing a new version of the API, could I put in a request for a way to get the state of an ATO – i.e. whether the float switch/optical level sensor etc. is in contact or not? The 'state' value is available via Prometheus and can be used to display the status of level sensors in Grafana, but I could not see any why to query this via the API.

This is what I have set up in Grafana and it would be great if I could achieve the same in KivyReef via the API:
1685460381282.png
 
Ok trying pi zero wimdows 10 dont see it when pluged in looked everywhere cant find fix edited files and added ssh in boot dont know what else to do
 
finally got pi zero w to work ssh but when i go to download reef pi i get wget unable to reslove host github.com
 
Sometime in late July. Is there anything specific you are looking for ?
The fix for the ph reading so we can get the calibrated value and not the uncalibrated one, ph randomly registering zero and also to I have found that when using mqtt - in order for reef-pi to connect to the mqtt broker on another device reef-pi has to be reloaded for it to work otherwise it just sits there and says it can’t connect to the mqtt ip address
 
The fix for the ph reading so we can get the calibrated value and not the uncalibrated one, ph randomly registering zero and also to I have found that when using mqtt - in order for reef-pi to connect to the mqtt broker on another device reef-pi has to be reloaded for it to work otherwise it just sits there and says it can’t connect to the mqtt ip address
Got it. The mqtt issue happens only when settings are updated ? Or always after reboot or just randomly ?
 
Hi
Has anyone tried to connect a zetlight to the reef pi?
I saw it has a 3.5 mm input jack. Almost like the kessils
Can I rephrase this? Does anyone know how to connect a zetlight to reefpi? I am debating on swapping out my viparspectra with a TMC V2 illuminare (appears to be a rebranded zetlight 6600a) and it has a 3.5mm jack that allows it to be connected to an apex when the light is put into slave mode........but I don't know how to do this to reef pi. Want to have the same control I have on the viparspectra with a Michael lane adapter board, just don't like the fact I have to have the viparspectra so high off the tank and have my white channel at 1%.

My only other option is to pull the lenses to try and blend the light better and swap out some of the LEDs on the white channel.

But would like to give the zetlight/V2 illuminare a go in the meantime to see if it is any better.
 
Can I rephrase this? Does anyone know how to connect a zetlight to reefpi? I am debating on swapping out my viparspectra with a TMC V2 illuminare (appears to be a rebranded zetlight 6600a) and it has a 3.5mm jack that allows it to be connected to an apex when the light is put into slave mode........but I don't know how to do this to reef pi. Want to have the same control I have on the viparspectra with a Michael lane adapter board, just don't like the fact I have to have the viparspectra so high off the tank and have my white channel at 1%.

My only other option is to pull the lenses to try and blend the light better and swap out some of the LEDs on the white channel.

But would like to give the zetlight/V2 illuminare a go in the meantime to see if it is any better.
I take it back, don't worry as I won't be using this light! Set it up to see what it's like and it's like having a disco in the tank and nowhere near the viparspectra. I thought the viparspectra had too much light leaking into my room......but this TMC branded zetlight makes it impossible to look at the tank from my settee.

I will just have to make some led changes to the viparspectra.

Thanks all and happy reefing.
 
Sometime in late July. Is there anything specific you are looking for ?
One small feature that would be nice is individual hysteresis for heating VS cooling.

With the way heaters are silent, fans are not, heaters usually have a secondary control loop, fans do not, heaters are switched at mains voltage while fans are (or at least can be with reef pi) switched at 5v or 12v or whatever with a simple transistor or not much more, it would be nice to have a moderately high hysteresis for heaters and a much smaller one for coolers,or at least the option to do this.

Technically, it's already possible by just using two temperature entities on the same probe, one running heating, the other cooling, but that destroys the nice heater/cooler runtime graph in the dashboard.

Not a huge deal and not sure how many others even care, but it would be a nice little detail
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • 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%

New Posts

Back
Top