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

Hello Ranjib,

Not sure if everyone knows this but I've discovered this the hard way. I did not realize that if Equipment is set to OFF and schedule has been set for a dosing device the graph will still show that dosing has been performed.
In my case somehow the Alkalinity dosing has been tuned of under Equipment tab and my alkalinity kept on falling.
I was checking the dashboard to see if there was any change in the daily dosing but graph was showing that everything is normal. It may be a good idea to update the code not to graph any values if the equipment is in the OFF state. Now I know so there is no problem but others may be in the same predicament trying to solve the issue and not realizing this condition.

Your thoughts?
 
May be worth posting on this thread about the Reef-Pi UI itself :) That would definitely be a nice feature!

Are you running on a Pi 0W, or a 3/4? If you're on the lower power 0, that's probably your issue more so than the number out temperature sensors. If you're on the 3/4, does it only lag when you expand it? Or does it do it when you first open the temperature page?
Thanks I posted it there also. I am running a pi 3 b+ it lags whenever I'm in the temperature menu. Not just when I have a drop down open.
 
Has anyone wired up a push button to triger a macro?
If so how did you do the wiring and serup in reef-pi?
 
Hello I am pretty new to the reef-pi world. Just got a Robo-tank and just got everything plugged in and working.
I am continuously seeing a pH error though. It is a parse error and it could be because of the long string of numbers but I wanted to check to see if anyone knows what is going on. My pH always reads out like 14 decimal places. Every time I clear the error it comes back the next read time.

My main concern is that the error that is thrown constant states
ph subsystem: Failed read probe: pH SumpError:strconv.ParseFloat: parsing
"7.\xb914\x00\x00\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x80": invalid syntax
With the parsing number being 7.xx but on my pH chart the value is in the 8.xx.
I am concerned when seeing this error that the reading from my probe is not correct and actually in the 8 range but is instead somewhere in the 7ph range since that is the error I am continuously getting.

My current pH reads at pH Sump-current (8.15677966101695)
but the error that was just put in the error log at the same minute is:
ph subsystem: Failed read probe: pH SumpError:strconv.ParseFloat: parsing "7.920\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80": invalid syntax

So is my pH 8.15..... or is it 7.920? Where is that parsing value coming from?
Any help with this would be greatly appreciated.
 
Hello I am pretty new to the reef-pi world. Just got a Robo-tank and just got everything plugged in and working.
I am continuously seeing a pH error though. It is a parse error and it could be because of the long string of numbers but I wanted to check to see if anyone knows what is going on. My pH always reads out like 14 decimal places. Every time I clear the error it comes back the next read time.

My main concern is that the error that is thrown constant states
ph subsystem: Failed read probe: pH SumpError:strconv.ParseFloat: parsing
"7.\xb914\x00\x00\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x80": invalid syntax
With the parsing number being 7.xx but on my pH chart the value is in the 8.xx.
I am concerned when seeing this error that the reading from my probe is not correct and actually in the 8 range but is instead somewhere in the 7ph range since that is the error I am continuously getting.

My current pH reads at pH Sump-current (8.15677966101695)
but the error that was just put in the error log at the same minute is:
ph subsystem: Failed read probe: pH SumpError:strconv.ParseFloat: parsing "7.920\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80": invalid syntax

So is my pH 8.15..... or is it 7.920? Where is that parsing value coming from?
Any help with this would be greatly appreciated.
I just recently had that issue, try decreasing the i2c baudrate, if you google that you should find plenty guides on how to do that. Mine worked at 50k

As for the value, did you calibrate with the robotank script or in reefpi? That value you see hasn't been touched by the reef-pi calibration yet
 
I just recently had that issue, try decreasing the i2c baudrate, if you google that you should find plenty guides on how to do that. Mine worked at 50k

As for the value, did you calibrate with the robotank script or in reefpi? That value you see hasn't been touched by the reef-pi calibration yet
I had already decreased the baudrate using the script in the setup instructions.
I have this line in my config.txt "dtparam=i2c_arm_baudrate=10000"

I calibrated the pH probe in reef-pi using the calibrate button in the pH tab using a 7.0 and a 10.0 buffer solution.
 
I just recently had that issue, try decreasing the i2c baudrate, if you google that you should find plenty guides on how to do that. Mine worked at 50k

As for the value, did you calibrate with the robotank script or in reefpi? That value you see hasn't been touched by the reef-pi calibration yet
Also I know how to check the pH with the robotank script. But I do not know how to calibrate the pH using it.
In reef-pi the pH is reporting as 8.25 and using R in the robotank script it is 7.982 but that looks lot be the raw value
 
Last edited:
Hello I am pretty new to the reef-pi world. Just got a Robo-tank and just got everything plugged in and working.
I am continuously seeing a pH error though. It is a parse error and it could be because of the long string of numbers but I wanted to check to see if anyone knows what is going on. My pH always reads out like 14 decimal places. Every time I clear the error it comes back the next read time.

My main concern is that the error that is thrown constant states
ph subsystem: Failed read probe: pH SumpError:strconv.ParseFloat: parsing
"7.\xb914\x00\x00\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x80": invalid syntax
With the parsing number being 7.xx but on my pH chart the value is in the 8.xx.
I am concerned when seeing this error that the reading from my probe is not correct and actually in the 8 range but is instead somewhere in the 7ph range since that is the error I am continuously getting.

My current pH reads at pH Sump-current (8.15677966101695)
but the error that was just put in the error log at the same minute is:
ph subsystem: Failed read probe: pH SumpError:strconv.ParseFloat: parsing "7.920\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80": invalid syntax

So is my pH 8.15..... or is it 7.920? Where is that parsing value coming from?
Any help with this would be greatly appreciated.
Oh looks like we got this sorted out. Turned out to be the speed and as @elysics mentioned the pH in the error was the uncalibrated value that's why they are different.
 
hello, there is a timed routine for checking the current state of the equipment?
If the light is turned off by reef-pi timer but, for maintenance, I forced to turn it on by the equipment tab after a short time, like one minute, the light automatically turns off, it's a little bug?

Where I find the complete documentation about reef-pi?
 
I press the reload button but I think I've broken the database, so via ssh, I made a backup and I try to reload an old database, but I think I broke all my raspbianos... (I'm doing stuff with pihole too...)
I'm making a new sd card with a new installation of raspbianos and reef-pi at work, once I went home I can put the old reef-pi database in the new installation

anyway, in the log I found an error so the reef-pi can't be loaded, one of my equipment is called "reattore + ciabatta" but the "+" symbol is a problem and the database won't load. Can I modify that name by shell?
I need a quick answer, I'm in trouble now
 
We have debated salinity (also called as EC or electrical conductivity), ORP and DO probes multiple times here. And I have punt on their support till now, they may come next in 3.0 (if theres enough excitement for this from the users) or later. Following are some details:
- In terms of reef keeping chores, these are not as important as temperature or even ph. With ATO , salinity should be same unless its being impacted by water change. ORP on the other hand has very little practical use, other than validating some already known case that can be detectable by other means.
- These are costly probes required thorough calibration and still can give anomolous reading if users are not setting up them correctly.
- It will not be a lot of work to support this in reef-pi since they are same as pH probe (we'll lean on atlas scientific/tentacle shields), but unless we have users we can't ensure proper field testing.
I would use a salinity probe for sure.
 
hello, there is a timed routine for checking the current state of the equipment?
If the light is turned off by reef-pi timer but, for maintenance, I forced to turn it on by the equipment tab after a short time, like one minute, the light automatically turns off, it's a little bug?

Where I find the complete documentation about reef-pi?
If the equipment is being controller by a sensor (like ato or temperature controller ,), then yes, reef-pi will reset its state , else just an equipment not attached to anything , should retain its state if you on/off it outside reef/pi. Reload will reset the state as well
 
I press the reload button but I think I've broken the database, so via ssh, I made a backup and I try to reload an old database, but I think I broke all my raspbianos... (I'm doing stuff with pihole too...)
I'm making a new sd card with a new installation of raspbianos and reef-pi at work, once I went home I can put the old reef-pi database in the new installation

anyway, in the log I found an error so the reef-pi can't be loaded, one of my equipment is called "reattore + ciabatta" but the "+" symbol is a problem and the database won't load. Can I modify that name by shell?
I need a quick answer, I'm in trouble now
Yes. Try the reef-pi db command. You can update a things name using it. Consult the documentation for details
 
Yes. Try the reef-pi db command. You can update a things name using it. Consult the documentation for details
I found it yesterday and I repair my broken DB, thanks!
 
Does anyone have a walk through on how to get the HS103 setup for current readings. I added the driver just fine but it won't let me add the analog input...

{"error":"Failed to create. Error: invalid pin 0: driver 4 for analog input WifiCurrent not found: driver tplink-hs103 is not an ADC driver"} | HTTP 500
 
Does anyone have a walk through on how to get the HS103 setup for current readings. I added the driver just fine but it won't let me add the analog input...

{"error":"Failed to create. Error: invalid pin 0: driver 4 for analog input WifiCurrent not found: driver tplink-hs103 is not an ADC driver"} | HTTP 500


The driver does not support that.
 
Really?? Is it just the hs300 that has this functionality?

the device may have the functionality to provide the data, but the driver used with reefpi is one way. It can only command the device to turn on and off, it can not read the state.
 
@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
 
Last edited:
the device may have the functionality to provide the data, but the driver used with reefpi is one way. It can only command the device to turn on and off, it can not read the state.
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
 

TOP 10 Trending Threads

ARE YOU READY TO CONFESS TO CRAZIEST, DUMBEST, FUNNIEST THING YOU’VE EVER DONE IN REEFING?

  • Yeah, I'll confess! (Share your story in the comments!)

    Votes: 28 54.9%
  • Nah, I'll keep mine a secret...(Don't be like that, share with the class!)

    Votes: 23 45.1%
Back
Top
Home
Post thread…
Market
What's new