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

OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Help, my setup has started throwing up these error messages every 10sec or thereabouts. Everything is working though.


{"error":"stats for id: '1' not found"} | HTTP 404
Any idea on how to fix that?

Thanks.
this is a benign error. when a sensor is created at first, the usage data is not present, this error indicates that. it should go away after some time
 

Kurtzisa

Community Member
View Badges
Joined
Mar 21, 2020
Messages
90
Reaction score
73
Location
Parma, Italy
Rating - 0%
0   0   0
Hi every one,

I try to set up a ReefPi managed aquarium.
Every thing is fine but i'm not able to set my PH meter.
I've plug it on a ADS1115 in I2C.
I'm able to read it with python BUT I'm not able to configure it in ReefPi interface.

What are steps ?

hello,

the ADS1115 is not working yet, I have one too and I'm waiting for the driver. You must use the hexadecimal address 48, reef pi can detect it but cannot read it
 

Des Westcott

Well-Known Member
View Badges
Joined
May 29, 2018
Messages
646
Reaction score
1,025
Location
Durban - South Africa
Rating - 0%
0   0   0
this is a benign error. when a sensor is created at first, the usage data is not present, this error indicates that. it should go away after some time

It should go away after the check period set in your temp settings. So if you set to check every 5 minutes (600 seconds, you will see that message for 600 seconds, then it takes the reading and message gone.

If reef-pi was set to take all the first readings immediately, wouldn't that make the "issse" (which isn't really one when you know it's benign) go away?
 

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,121
Rating - 0%
0   0   0
hello,

the ADS1115 is not working yet, I have one too and I'm waiting for the driver. You must use the hexadecimal address 48, reef pi can detect it but cannot read it
ADS1115 should be supported by choosing ph-board driver. reef-pi expects i2c addresses as decimals, so try 72 instead of 48. The ph board driver sets up ADS1115 for continuous conversion at 90 samples per second, and then starts converting.

I just realized the ph board uses ADS1119. I've been working on a driver for ADS1015, which may be compatible with ADS1115. Too many numbers that look the same!
 

Martin Lowry

Community Member
View Badges
Joined
Sep 19, 2017
Messages
60
Reaction score
65
Location
Dover, NH
Rating - 0%
0   0   0
Hi all, So, a noob question.

I have RPi running on the bench in testing and I have tried to execute a macro with a timer as it seemed the best way to setup a feeding cycle to turn multiple pumps off, wait for the feeding cycle and turn them all on again. Seemed pretty straight forward so I went ahead and setup the macro and ran it and it worked perfectly. Then setup a timer to execute the macro and it doesn't work. Did the usual things like reload, reboot, shutdown and restart, recreated the macro and timer, still not working. Running v3.3.1

BTW, I created a timer to turn one of the pumps off for 60 seconds and turn it back on and it worked fine.

Any ideas why a timer executing a macro is not working?
 

AbjectMaelstroM

Valuable Member
View Badges
Joined
Jul 21, 2019
Messages
1,535
Reaction score
1,709
Location
RVA
Rating - 100%
1   0   0
Hi all, So, a noob question.

I have RPi running on the bench in testing and I have tried to execute a macro with a timer as it seemed the best way to setup a feeding cycle to turn multiple pumps off, wait for the feeding cycle and turn them all on again. Seemed pretty straight forward so I went ahead and setup the macro and ran it and it worked perfectly. Then setup a timer to execute the macro and it doesn't work. Did the usual things like reload, reboot, shutdown and restart, recreated the macro and timer, still not working. Running v3.3.1

BTW, I created a timer to turn one of the pumps off for 60 seconds and turn it back on and it worked fine.

Any ideas why a timer executing a macro is not working?

Yes this has been discussed several times, there is a temporary fix some pages back.

Basically, when triggering a macro with a timer, the target macro steps need to be written in reverse order of which you want things to happen and the "reversible" box needs to be checked in the macro tab.
 

ubasu

Active Member
View Badges
Joined
Aug 21, 2013
Messages
214
Reaction score
197
Rating - 0%
0   0   0
Hey Im thinking of building a reef pi controller. Is there any way to monitor power usage on the outlets like the apex does?
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Hey Im thinking of building a reef pi controller. Is there any way to monitor power usage on the outlets like the apex does?
Yes, use hs300 or hs110 (tplink, Kasa) smart outlets which has current monitoring capabilities
 

robsworld78

Valuable Member
View Badges
Joined
Feb 14, 2020
Messages
1,029
Reaction score
1,293
Location
Edmonton, Canada
Rating - 0%
0   0   0
Hi all, guys, the construction of my Reef-pi is in progress, yesterday the optical sensor for ATO df robot arrived, I tried, it works well.
I would like to add a float switch that stops the pump if the water level exceeds a certain level, I tried with the float switch interrupting 12V on the pump, but after a couple of times it didn't work anymore, someone made something like this ?
thank you all

Make sure you don't run any load through the float switch as they will burn out and it's not safe.

You need to use a MOSFET or relay to switch the load, same as you're using for your pump.

There's many ways to do it, I put two MOSFETs in series. The first MOSFET gets turned on when 5v flows through the float switch. If the float is open the 2nd MOSFET has no source so pump sees no power even if it's on. This requires the float to always be closed or the rest of the circuit is dead.

You can use any MOSFET as long as it's Logic Level. You can also replace the MOSFETs with relays.

backup float.jpg
 

L0stmykeys

Active Member
View Badges
Joined
Nov 12, 2018
Messages
141
Reaction score
103
Rating - 0%
0   0   0
OK so I've run into a big of a snag on my reefpi unit I'm using a temperature sensor for ambient Temps of the sump room which is an attached structure of my home.

I'm using an inline fan to either pull warm air or cool air into the room from the house....

Problem is there is conflict configuring 1 outlet to do. Heater and chiller yes I'm most causes this is a great thing can it be disabled?

Or would adding a second temp sensor be the solution sensor one activate above threshold sensor 2 activate below threshold?

Thanks in advance guys!!
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
OK so I've run into a big of a snag on my reefpi unit I'm using a temperature sensor for ambient Temps of the sump room which is an attached structure of my home.

I'm using an inline fan to either pull warm air or cool air into the room from the house....

Problem is there is conflict configuring 1 outlet to do. Heater and chiller yes I'm most causes this is a great thing can it be disabled?

Or would adding a second temp sensor be the solution sensor one activate above threshold sensor 2 activate below threshold?

Thanks in advance guys!!
I think You can also use the same sensor to create Multiple controller ..
 

L0stmykeys

Active Member
View Badges
Joined
Nov 12, 2018
Messages
141
Reaction score
103
Rating - 0%
0   0   0
Perfect solution added another temp sensor using the same physical sensor one labeled ambient temp hot and one labeled ambient temp cold for anyone this may help! Thanks ranjib!!!!
 

Des Westcott

Well-Known Member
View Badges
Joined
May 29, 2018
Messages
646
Reaction score
1,025
Location
Durban - South Africa
Rating - 0%
0   0   0
Hi all, So, a noob question.

I have RPi running on the bench in testing and I have tried to execute a macro with a timer as it seemed the best way to setup a feeding cycle to turn multiple pumps off, wait for the feeding cycle and turn them all on again. Seemed pretty straight forward so I went ahead and setup the macro and ran it and it worked perfectly. Then setup a timer to execute the macro and it doesn't work. Did the usual things like reload, reboot, shutdown and restart, recreated the macro and timer, still not working. Running v3.3.1

BTW, I created a timer to turn one of the pumps off for 60 seconds and turn it back on and it worked fine.

Any ideas why a timer executing a macro is not working?

I wote a detailed post around my findings and work-arounds on this exact thing a few pages back. I'll try find it.

EDIT - Found it.
Post no 13 899 on 19 Feb 2020
 
Last edited:

mawhins

Community Member
View Badges
Joined
Jul 4, 2019
Messages
58
Reaction score
148
Rating - 0%
0   0   0
Hey again, I came into some water damaged neptune gear and have been looking at what if any parts I could use in my pi build. I'm thinking the energy bar might be a candidate, it doesn't seem to have any damage internally apart from small rust spots on the terminal screws inside. Also have two pH probes, an ORP probe and a temperature probe. They've been out of water for some time so may not hydrate. A couple of questions though. I can measure the resistance on the temp probe and see it change with different water temperatures but it only has two wires, no ground it seems. The reef-pi guide probe has a ground. Will it work if I just omit the ground? Or is the probe actually not a 1 wire interface and with therefore not work?

Regarding pH probes, should I be able to measure the resistance on those using a multimeter?
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Hey again, I came into some water damaged neptune gear and have been looking at what if any parts I could use in my pi build. I'm thinking the energy bar might be a candidate, it doesn't seem to have any damage internally apart from small rust spots on the terminal screws inside. Also have two pH probes, an ORP probe and a temperature probe. They've been out of water for some time so may not hydrate. A couple of questions though. I can measure the resistance on the temp probe and see it change with different water temperatures but it only has two wires, no ground it seems. The reef-pi guide probe has a ground. Will it work if I just omit the ground? Or is the probe actually not a 1 wire interface and with therefore not work?

Regarding pH probes, should I be able to measure the resistance on those using a multimeter?
The ph probes should work (assuming they are in working condition), rest I’m not sure. Reef-pi uses ds18b20 temperature sensor, I don’t think apex uses the same probes, hence temp probe most likely won’t work, as for the power bar, I have no clue, how it interfaces with the controller, if we get some understanding what it expects we might be able to suggest a way to reproduce similar signal using reef-pi, but it’s all contingent on that information
 

Des Westcott

Well-Known Member
View Badges
Joined
May 29, 2018
Messages
646
Reaction score
1,025
Location
Durban - South Africa
Rating - 0%
0   0   0
Hey again, I came into some water damaged neptune gear and have been looking at what if any parts I could use in my pi build. I'm thinking the energy bar might be a candidate, it doesn't seem to have any damage internally apart from small rust spots on the terminal screws inside. Also have two pH probes, an ORP probe and a temperature probe. They've been out of water for some time so may not hydrate. A couple of questions though. I can measure the resistance on the temp probe and see it change with different water temperatures but it only has two wires, no ground it seems. The reef-pi guide probe has a ground. Will it work if I just omit the ground? Or is the probe actually not a 1 wire interface and with therefore not work?

Regarding pH probes, should I be able to measure the resistance on those using a multimeter?

If the temp probe has only 2 wires, it is probably a thermocouple / thermistor. Not the same as the ds18b20 that reef-pi uses.

From what I recall though, the resistance difference across a thermocouple is linear, so you might be able to set it up as a pH probe and calibrate the voltages you read from it to give you a temp reading. But I'll wait for others better schooled than me to confirm that.
 

Simonv92

Active Member
View Badges
Joined
Oct 21, 2014
Messages
163
Reaction score
104
Location
Italy
Rating - 0%
0   0   0
@Ranjib using the ADS1119 as ADC, do you think it's possible to add current monitor for power outlets?
I'm thinking about adding it as a "ph" board and rename the chart on the dashboard to visualize the power drawn from my devices. Here in italy we don't have all the Kasa product so we have to invent something :D
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
@Ranjib using the ADS1119 as ADC, do you think it's possible to add current monitor for power outlets?
I'm thinking about adding it as a "ph" board and rename the chart on the dashboard to visualize the power drawn from my devices. Here in italy we don't have all the Kasa product so we have to invent something :D
If the i2c protocol is exactly same as ph driver then this should work.
 

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: 7 63.6%
  • Nah, I'll keep mine a secret...(Don't be like that, share with the class!)

    Votes: 4 36.4%
Back
Top
Home
Post thread…
Market
What's new