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

marekd1

Active Member
View Badges
Joined
Dec 24, 2019
Messages
133
Reaction score
199
Rating - 0%
0   0   0
I know whats happening, this is a common issue when the reef-pi starts before network is up during power up or reboot. You can fix this by updating the systemd unit file for reef-pi to make sure it’s started after network is up

Happy New Year!!! Thank you, Ranjib, I will give this a try.
 

Sarlindescent

Active Member
View Badges
Joined
Dec 26, 2015
Messages
145
Reaction score
140
Rating - 0%
0   0   0
Out of curiosity, has anyone integrated alkatronic into reef pi? I'm curious if I can just add an extra ph probe connector, if the data sent is the alk number.
 
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
Out of curiosity, has anyone integrated alkatronic into reef pi? I'm curious if I can just add an extra ph probe connector, if the data sent is the alk number.
none that im aware of
 

InactiveAcct

Well-Known Member
View Badges
Joined
Dec 2, 2019
Messages
520
Reaction score
501
Rating - 0%
0   0   0
Wondering if anybody can help me out with this. Installed first temp sensor for my build (pi4, reef-pi 4.0). The temp sensor seems like it’s definitely working because it’s showing the temp in the calibrate screen, and it seems to be accurately responding to changes.
However I’m getting errors in the dashboard and in the “edit” menu for the temp sensor.
Thank you


6E3BD08C-C3F6-4BD2-B75C-9DE663D6E74F.jpeg


2367D42E-7974-4C36-98BE-1869D5DC7D8D.jpeg
 

InactiveAcct

Well-Known Member
View Badges
Joined
Dec 2, 2019
Messages
520
Reaction score
501
Rating - 0%
0   0   0
Wondering if anybody can help me out with this. Installed first temp sensor for my build (pi4, reef-pi 4.0). The temp sensor seems like it’s definitely working because it’s showing the temp in the calibrate screen, and it seems to be accurately responding to changes.
However I’m getting errors in the dashboard and in the “edit” menu for the temp sensor.
Thank you


6E3BD08C-C3F6-4BD2-B75C-9DE663D6E74F.jpeg


2367D42E-7974-4C36-98BE-1869D5DC7D8D.jpeg
Edit: Thought Id figured it out but I hadn’t

Dashboard error was caused by not selecting sensor. Not sure why I only get one chance to set up the temp probe and then it throws an error every time afterwards
 
Last edited:

InactiveAcct

Well-Known Member
View Badges
Joined
Dec 2, 2019
Messages
520
Reaction score
501
Rating - 0%
0   0   0
Realized the issue with temp throwing an error at edit is caused by iOS internet browsers. Doesn’t have the issue when using a PC browser to access the reef-pi gui
 

Alaa

Community Member
View Badges
Joined
Nov 28, 2018
Messages
74
Reaction score
80
Rating - 0%
0   0   0
Hi
I'm having a simple problem, I can't get this test macro to run
when i press run it stays in blue frame (pic 2), and as you see in pic 3 the doser 1 is still off
is there anything that I'm missing
if i try similar macro with equipment it works fine

1.jpg 2.jpg 3.jpg
 

stefanm

Active Member
View Badges
Joined
Oct 11, 2017
Messages
360
Reaction score
394
Location
Sweden
Rating - 0%
0   0   0
Is the doser pump on in equipment? You need two affiliations for each pump head for it to work, one in outlets and the other in jacks. Please see the attached screenshots. The one that you set in outlets should be permanently on, the other in jacks is set by the timer under the doser tab.
Screenshot_2021-01-06-00-52-29-826_com.android.chrome.jpg
Screenshot_2021-01-06-00-52-46-912_com.android.chrome.jpg
 

stefanm

Active Member
View Badges
Joined
Oct 11, 2017
Messages
360
Reaction score
394
Location
Sweden
Rating - 0%
0   0   0
The next three images should help also.
Screenshot_2021-01-06-00-58-16-427_com.android.chrome.jpg
Screenshot_2021-01-06-00-58-24-272_com.android.chrome.jpg
Screenshot_2021-01-06-00-57-46-953_com.android.chrome.jpg


Mine are switched off right now as my return pump has conked off
 

InactiveAcct

Well-Known Member
View Badges
Joined
Dec 2, 2019
Messages
520
Reaction score
501
Rating - 0%
0   0   0
Still need some help with the HS300 stability. I can't get it to connect after a reboot without reloading reef-pi.

The after/ wants suggestion wasn't working, so I also added a delay to the service to sleep until we get a ping from the HS300. That didn't fix it either. My reef-pi.service file is below, do you see anything wrong?

Something else of note, I can't figure out why I am getting two mac addresses from the pi4 and it seems to be a toss-up on which one gets called after a reboot. From what I read, pi's have different mac addresses for the ethernet and wifi connections, but I have never even plugged the ethernet in. Thoughts?


[Unit]
Description=raspberry pi based reef tank controller
After=network-online.target
Wants=network-online.target


[Service]
ExecStartExecStartPre=/bin/sh -c 'until ping -c1 192.168.1.3; do sleep 1; done;'
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
 
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
Your unit file looks ok. The dual WiFi MAC address for same pi is concern. Are you changing hostname? Is it possible you have two pi with same name ?
 

InactiveAcct

Well-Known Member
View Badges
Joined
Dec 2, 2019
Messages
520
Reaction score
501
Rating - 0%
0   0   0
Your unit file looks ok. The dual WiFi MAC address for same pi is concern. Are you changing hostname? Is it possible you have two pi with same name ?
Thanks for checking the file.
Hmm I did change the host name per the setup docs but I only own this one pi.

Maybe I need to re-flash the drive or try spoofing the MAC so it’s always the same
 

Alaa

Community Member
View Badges
Joined
Nov 28, 2018
Messages
74
Reaction score
80
Rating - 0%
0   0   0
The next three images should help also.
Screenshot_2021-01-06-00-58-16-427_com.android.chrome.jpg
Screenshot_2021-01-06-00-58-24-272_com.android.chrome.jpg
Screenshot_2021-01-06-00-57-46-953_com.android.chrome.jpg


Mine are switched off right now as my return pump has conked off
Thanks for your reply
I have the doser only in Jacks and non in outlets
It is working fine, however i wanted to turn the channel off for extra security while not in use and then turn it on just before the next dose time using macros and times
There is a doser option in the Macros so i though it would work but it seems that i need to add it to outlet for that to work
regard
 

stefanm

Active Member
View Badges
Joined
Oct 11, 2017
Messages
360
Reaction score
394
Location
Sweden
Rating - 0%
0   0   0
Thanks for your reply
I have the doser only in Jacks and non in outlets
It is working fine, however i wanted to turn the channel off for extra security while not in use and then turn it on just before the next dose time using macros and times
There is a doser option in the Macros so i though it would work but it seems that i need to add it to outlet for that to work
regard

I'm not following you completely, but in almost two years I can safely state that reef-pi dosing has behaved impeccably, any issues have been user error! (It wasn't me)
 

b4tn

Valuable Member
View Badges
Joined
Jun 17, 2015
Messages
1,679
Reaction score
2,227
Location
Columbia MD
Rating - 0%
0   0   0
Has anyone messed around with ngrok or thought about making a reefpi plugin for it? I was setting up my octopi and ran across an article for accessing it from outside the network. Rather than forwarding ports ngrok establishes a secure tunnel. A single session account is free and you don’t have to forward any ports in your router. You access it from their cloud account. It was easy to setup in octopi because it has a plug-in.
 

theatrus

Valuable Member
View Badges
Joined
Mar 26, 2016
Messages
2,253
Reaction score
3,603
Location
Sacramento, CA area
Rating - 0%
0   0   0
Has anyone messed around with ngrok or thought about making a reefpi plugin for it? I was setting up my octopi and ran across an article for accessing it from outside the network. Rather than forwarding ports ngrok establishes a secure tunnel. A single session account is free and you don’t have to forward any ports in your router. You access it from their cloud account. It was easy to setup in octopi because it has a plug-in.

ngrok works great. I'm not familiar with octopi though?

Personally, I use wireguard tunnels to bridge networks together, but it still takes a bit of network planning to get that setup.
 
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
ngrok, port forwarding, vpn all works. they all have their pros and cons. you should be able to use whatever you are comfortable with. Port forwarding is easiest for me as I do it within google wifi app , on demand, so just enable it when needed , used the app and then disable it back again.
 
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
ngrok works great. I'm not familiar with octopi though?

Personally, I use wireguard tunnels to bridge networks together, but it still takes a bit of network planning to get that setup.
Octopi is raspbian OS derivative with baked in octoprint (3d printer web UI). I prefer to use octoprint straing on whatever the current raspbian/raspberry os is.
 

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.1%
  • 100% dry rock + 100% live sand

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

    Votes: 31 22.1%
  • 75% live rock, 25% live sand

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

    Votes: 10 7.1%
Free Phyto Promo
Spend $39+ → free 16oz Phyto · Use code FREEPHYTO at checkout · $16.99 value · Densest 6-species blend · Free shipping on every order · 100% live arrival guaranteed Spend $39+ → free 16oz Phyto · Use code FREEPHYTO at checkout · $16.99 value · Densest 6-species blend · Free shipping on every order · 100% live arrival guaranteed
Shop Now Code: FREEPHYTO
Back
Top