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

reefwreck

Active Member
View Badges
Joined
Oct 12, 2017
Messages
227
Reaction score
63
Rating - 0%
0   0   0
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
 

iamdan

Community Member
View Badges
Joined
Jul 1, 2022
Messages
89
Reaction score
67
Location
Western Australia
Rating - 0%
0   0   0
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
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
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 ?
 

geologeek

Active Member
View Badges
Joined
Apr 21, 2010
Messages
189
Reaction score
153
Location
UK
Rating - 0%
0   0   0
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.
 

geologeek

Active Member
View Badges
Joined
Apr 21, 2010
Messages
189
Reaction score
153
Location
UK
Rating - 0%
0   0   0
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.
 

elysics

Valuable Member
View Badges
Joined
Jan 15, 2020
Messages
1,695
Reaction score
1,607
Rating - 0%
0   0   0
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
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
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
Yes.

after using reef-pi for temperature control for more than 7 years , and recently benchmarking a lot of different heaters, I feel i Should use reef-pi only for failsafe . This is due to the fact that repeated on off causes more wear and tear on the heater and the relay. cou-Pe of my mechanical relays and one of the Kasa relays gave up. on the other hand the heater benchmarking data reveals some of them are very precise (cobalt neotherm for example ) while other show significant temperature swings (oase for example ) with their internal thermistor. I intend to go with neotherms for next builds and use reef-pi to monitor and intervene when things are out of bounds
 

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,015
Reaction score
943
Location
Germany
Rating - 0%
0   0   0
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.
Just for understanding: was the color distribution very uneven or was it flickering ? I’m guessing it was the first.
 

geologeek

Active Member
View Badges
Joined
Apr 21, 2010
Messages
189
Reaction score
153
Location
UK
Rating - 0%
0   0   0
Just for understanding: was the color distribution very uneven or was it flickering ? I’m guessing it was the first.
The colour distribution was all over the shop and far too much shimmer lines, it is literally like a disco with light flicking off in every direction.

Also TMC never bothered to get back to me with regards to how to control it in slave mode.......I could not figure out how it was controlled via the audio jack which had a negative, 24vdc and one other on the 3 way audio jack and I didn't know how it would allow the 3 channels to be controlled. It a mute point anyway as I really did not like the light output and it is like half the power of the viparspectra.
 

Simonv92

Active Member
View Badges
Joined
Oct 21, 2014
Messages
161
Reaction score
104
Location
Italy
Rating - 0%
0   0   0
Hi all! there's a way to add some digital inputs to a Raspberry Pi with Reef-Pi? I've tryed with an AD1115 but it would be better to have a 0/1 input type.
Thank you very much!
Simone
 

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,015
Reaction score
943
Location
Germany
Rating - 0%
0   0   0
Hi all! there's a way to add some digital inputs to a Raspberry Pi with Reef-Pi? I've tryed with an AD1115 but it would be better to have a 0/1 input type.
Thank you very much!
Simone
Analog Inputs via an ADS1115 can be made to work like that as well. There is a transformation formula field in the pH Tab. I'm pretty sure one can find an easy formula to convert the input to something resembling a two state system and then use the "raising" and "lowering" mechanisms. Something like:
Code:
sign(v-3.3/2)
might work, if the maths there knows the sign function and if the value from the ADS1115 is a voltage between 0 and 3.3. Otherwise you might use:
Code:
(v-3.3/2)/abs(v-3.3/2)
Again, might work if the maths knows the absolute function as exactly that.

All GPIO pins on the PI can be used as Digital Inputs. You establish the Inlets under Admin->Connectors and then use the ATO tab.
 

Simonv92

Active Member
View Badges
Joined
Oct 21, 2014
Messages
161
Reaction score
104
Location
Italy
Rating - 0%
0   0   0
Analog Inputs via an ADS1115 can be made to work like that as well. There is a transformation formula field in the pH Tab. I'm pretty sure one can find an easy formula to convert the input to something resembling a two state system and then use the "raising" and "lowering" mechanisms. Something like:
Code:
sign(v-3.3/2)
might work, if the maths there knows the sign function and if the value from the ADS1115 is a voltage between 0 and 3.3. Otherwise you might use:
Code:
(v-3.3/2)/abs(v-3.3/2)
Again, might work if the maths knows the absolute function as exactly that.

All GPIO pins on the PI can be used as Digital Inputs. You establish the Inlets under Admin->Connectors and then use the ATO tab.
Thank you very much @Sral! I'll do some test, I already have an ADS1115 on my CPU Board so I'll give it a try! :)
 

iamdan

Community Member
View Badges
Joined
Jul 1, 2022
Messages
89
Reaction score
67
Location
Western Australia
Rating - 0%
0   0   0
Got it. The mqtt issue happens only when settings are updated ? Or always after reboot or just randomly ?
always after reboot. Have to click on reload and then it works.

Also I see a lot of people having issues first setting it up, I managed to get around that issue myself by turning mqtt in but not configure anything, hit save and then reload and then I could configure it
 

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,015
Reaction score
943
Location
Germany
Rating - 0%
0   0   0
always after reboot. Have to click on reload and then it works.

Also I see a lot of people having issues first setting it up, I managed to get around that issue myself by turning mqtt in but not configure anything, hit save and then reload and then I could configure it
That’s my standard for changing anything in ReefPi. Turn it on, save and reload :rolling-on-the-floor-laughing:
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
always after reboot. Have to click on reload and then it works.

Also I see a lot of people having issues first setting it up, I managed to get around that issue myself by turning mqtt in but not configure anything, hit save and then reload and then I could configure it
Is reef-pi configured to start after networking service ? The issue is very similar to WiFi based drivers, and should be easily fixable by configuring the systemd unit.
 

iamdan

Community Member
View Badges
Joined
Jul 1, 2022
Messages
89
Reaction score
67
Location
Western Australia
Rating - 0%
0   0   0
Is reef-pi configured to start after networking service ? The issue is very similar to WiFi based drivers, and should be easily fixable by configuring the systemd unit.
Sorry for late reply just got back from working away, No I haven’t changed, was installed initially via robs script. How does one do this? I tried searching the forum threads but couldn’t find anything relevant
 

iamdan

Community Member
View Badges
Joined
Jul 1, 2022
Messages
89
Reaction score
67
Location
Western Australia
Rating - 0%
0   0   0
Code:
Code:
[Unit]
Description=raspberry pi based reef tank controller
After=network-online.target
Wants=network-online.target

[Service]
ExecStart=/usr/bin/reef-pi daemon -config /etc/reef-pi/config.yaml
WorkingDirectory=/var/lib/reef-pi
Restart=always
RestartSec=90
StartLimitInterval=400
StartLimitBurst=10


[Install]
WantedBy=multi-user.target
As always I find something after I post lol

Is this the correct way?
 

MikeSpike

Community Member
View Badges
Joined
Jan 2, 2019
Messages
88
Reaction score
54
Rating - 0%
0   0   0
Hi. Using the latest reef pi with robo tank controller. I'd like to create a visual indicator e.g. flashing cabinet light when there is an issue e.g. raised temperature. I thought of using the temp controller to run a macro (master) which calls another macro (sub) that turns the light on waits 1 sec, turns the light off and then calls the macro master.
This does achieve the loop I want - but doesnt give me any escape route! Any alternative suggestions on achieving this.
Thank you
 

TOP 10 Trending Threads

WHAT AMOUNT OF LIVE ROCK AND SAND SHOULD BE PRIORITIZED FOR OPTIMAL BIODIVERSITY/FILTRATION?

  • 100% live rock + bagged sand

    Votes: 38 27.3%
  • 100% dry rock + 100% live sand

    Votes: 47 33.8%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 30 21.6%
  • 75% live rock, 25% live sand

    Votes: 14 10.1%
  • 25% live rock, 75% live sand

    Votes: 10 7.2%
Back
Top