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

@Ranjib i found bug in version 4.1
trigger macro with timer does not work. The "reversible" button must be activated and then it works normally. but it works backwards.


i use 2 inlet connector with reverse selected. 1 for ATO (fresh water) and Water IN (natural salt water). 1 for waste water out.

And use the macro function to automatic water change with several steps.

this picture seems confusing. because the function works from the ground up, and "on off" also functions in reverse.

Screenshot_2021-05-14-22-26-14-17_1.png
Screenshot_2021-05-14-22-25-42-11_1.png
Thank you for informing this. I’ll go through and address and it. The reversible thing is a known thing and is as expected (the macro has to be reversible for use with timer ). We have to do a better job in validation and inform this requirement when user setup macro in timer .
The ordering issue is definitely needs to be addressed. Agree it’s counter intuitive
 
Yes we don’t read or sync state with the device . We do however read the current if you decide to do so. Hence it’s not one way for the whole device , but yes for the on/off part it’s one way. Reef /pi only commands the device , so if you change the state out of reef/pi , it will not know
Can you explain roughly how to read the current? When I go to add an analog input for the HS103 it gives me the error. Do I need to add another driver for the current side?
 
Can you explain roughly how to read the current? When I go to add an analog input for the HS103 it gives me the error. Do I need to add another driver for the current side?
Hs103 does not have current monitoring capabilities. Hs110, hs300 has it. The existing driver should be fine. Current is read as ph /analog input
 
Hey!!
So, im using a DS18B20 but i keep getting random CRC failures (once every week or so). In order to fix the error i normally need to:
-Power off the Pi
-Disconnect the DS18B20
-Power on the Pi then power it off again
-Reconnect the DS18B20
-Power on the Pi

Is there any way to "tell" Reef-Pi to disregards those crazy temps or at least to not turn on the heater? (im getting -1ºc, 85ºc, etc)
Any idea of why this happens?? im using a 4.7k pull up resistor
Thanks guys!!
 
Hey!!
So, im using a DS18B20 but i keep getting random CRC failures (once every week or so). In order to fix the error i normally need to:
-Power off the Pi
-Disconnect the DS18B20
-Power on the Pi then power it off again
-Reconnect the DS18B20
-Power on the Pi

Is there any way to "tell" Reef-Pi to disregards those crazy temps or at least to not turn on the heater? (im getting -1ºc, 85ºc, etc)
Any idea of why this happens?? im using a 4.7k pull up resistor
Thanks guys!!
Sounds like a bad sensor, this can be a problem with them, something internally is happening and causing the 1-wire bus to hang that's why you need to power cycle, usually unplug and plug back in will solve it but not always. If possible try another sensor. The resistor value is ok.
 
Sounds like a bad sensor, this can be a problem with them, something internally is happening and causing the 1-wire bus to hang that's why you need to power cycle, usually unplug and plug back in will solve it but not always. If possible try another sensor. The resistor value is ok.
I will, thanks!! :)
The sensor is the one with the red silicon cable, they're supposed to be very good sensors though. Good thing i bought two of them haha.
PS: It would be a very cool addition for Reef-Pi to read the CRC haha, would this be difficult?
PPS: Those amazing corals are thanks to the awesome work of the Reff-Pi Team, Thanks guys!!!
 

Attachments

  • IMG_20210516_121525.jpg
    IMG_20210516_121525.jpg
    62.8 KB · Views: 52
  • IMG_20210516_121530.jpg
    IMG_20210516_121530.jpg
    87.3 KB · Views: 61
I sent an email to @Michael Lane but if anyone has any thoughts on how I can resolve or troubleshoot please let me know. I was already planning on replacing the jaebo doser and was doing a water change today and the doser came on when I ran the turn back everything on macro but it didnt stop. Imagine my panic since its dumping Kalk, i finally got it unplugged but it's sideways and even rebooting the reefpi it continues to run unless I pull the power. I assume it's something with the pca9685 but do I need to replace the whole board or what are your thoughts, I do have a spare, but what else can I do to figure out what is causing the issue. I removed all the dosing connectors and configuration but it continues to run on the pwm 5 channel.

Let me know what you think, thanks.

Update, I replaced the board with a spare board that I had, from what I can see it appears that the pca9685 failed for that pin and was stuck closed, nothing would change that fact. It just proved to me that I do not want a dosing pump being fed by pca9685, will go with timers and a BRS pump. Think I need to pick up another spare board now...unless someone else can figure out how to test the board.
 
Last edited:
@Ranjib and others, is there anyway I can manually set the time on the pi, it's 6:38 pm and my router has reset to just past midnight 1/1/1970, I've just got electricity back after 61 hours after a cyclone hit us, no internet other than mobile data. Apparently that will take a few days to restore.
 
@Ranjib and others, is there anyway I can manually set the time on the pi, it's 6:38 pm and my router has reset to just past midnight 1/1/1970, I've just got electricity back after 61 hours after a cyclone hit us, no internet other than mobile data. Apparently that will take a few days to restore.
Not sure how often this happens (I missed the cyclone part, hope everyone is ok) you might want to look into adding a RTC for your Pi, I know @Bigtrout has some instructions on his build thread. To manually set the date and time I think you want to use the "date" command, see here - Date and time

Hope that helps :)

Oh one more thing, keep in mind that if it reboots again the time will be off again, just keep that in mind.
 
Thanks
Not sure how often this happens (I missed the cyclone part, hope everyone is ok) you might want to look into adding a RTC for your Pi, I know @Bigtrout has some instructions on his build thread. To manually set the date and time I think you want to use the "date" command, see here - Date and time

Hope that helps :)

Oh one more thing, keep in mind that if it reboots again the time will be off again, just keep that in mind.

Thanks that worked.
 
This is a very common issue. We have a dedicated command to fix it. Other than that, since reef-pi 3.2 (I think , could be 3.0) we have reef-pi dB command that can selectively update /delete /backup things . It’s all command line though
I am struggling to reset my password. How do you stop Reef-pi without having the password? I have tried SSH but it always boots into the log in? I have connected a Keyboard/mouse and monitor directly to the Reef-pi to see if i can get at it that way, but same thing, always boots into a log in screen. Please help.
thanks
 
Reset DB inclusive reefpi password (SSH in to your pi and enter the 3 commands below one by one):
sudo systemctl stop reef-pi.service
sudo rm -rf /var/lib/reef-pi/reef-pi.db
sudo systemctl start reef-pi.service
I cannot log into the Pi via SSH without the password? Is there another way to accomplish this?
thanks
 
I cannot log into the Pi via SSH without the password? Is there another way to accomplish this?
thanks
are you talking about the pi password or the reefpi password?

for the pi password, you can reset that if you have a computer with an sd card reader:


couple of other methods too, definitely need that sd card reader though
 
I cannot log into the Pi via SSH without the password? Is there another way to accomplish this?
thanks
When you setup the PI OS you can choose to use it with password or not, depends on how you have set of up in the past. I am not site of there is a workaround to reset the PI OS password. Ultimately you can format the SD card and start all over again.
 
When you setup the PI OS you can choose to use it with password or not, depends on how you have set of up in the past. I am not site of there is a workaround to reset the PI OS password. Ultimately you can format the SD card and start all over again.
thanks for the response. SO i was ultimately able to log into the the PI and reset the password but i still cannot reach the reef-pi via web browser. I can ping it and its definitely on my network but when i try to browse to it, it tells me connection refused?
 
thanks for the response. SO i was ultimately able to log into the the PI and reset the password but i still cannot reach the reef-pi via web browser. I can ping it and its definitely on my network but when i try to browse to it, it tells me connection refused?


Are you accessing your Pi through a hardwired HDMI connection, or through a local network on a different device?
 
Are you accessing your Pi through a hardwired HDMI connection, or through a local network on a different devI hav

Are you accessing your Pi through a hardwired HDMI connection, or through a local network on a different device?
I have tried both methods.
I can access the PI via local and SSH but i cannot access the reef-pi either way
 
I have tried both methods.
I can access the PI via local and SSH but i cannot access the reef-pi either way
Have you confirmed that reef-pi is running at all?

sudo systemctl status reef-pi.service (not exactly sure if the last part is spelled correctly, best to use autocomplete for that)

And is there anything else besides reef-pi on the pi?
 
Sounds like a bad sensor, this can be a problem with them, something internally is happening and causing the 1-wire bus to hang that's why you need to power cycle, usually unplug and plug back in will solve it but not always. If possible try another sensor. The resistor value is ok.
Hey!
So, I changed the sensor and redid the circuit just to be sure and IT STILL HAS THE SAME PROBLEM. It will randomly give me a bad CRC code and the temps go to -1ºc and 44.56ºc. I also changed the power supply and still nothing. any thoughts???
 

TOP 10 Trending Threads

Back
Top
Home
Post thread…
Market
What's new