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

t951

Community Member
View Badges
Joined
Feb 5, 2016
Messages
60
Reaction score
45
Location
Orlando, FL
Rating - 0%
0   0   0
Ranjib,

I was able to reload again...which seems to always work.
Here are the screenshots....you will see that the IPs are on the same network, same subnet
You can see that the router IP matches both the Kasa IP on the app and both show the same MAC address.
Thank you again for the guidance...
t.

router_kasa.jpg kasa_mac_nw.jpg pi3ifcfg.PNG rpi_ip.jpg
 

NeonRabbit221B

2500 Club Member
View Badges
Joined
Jun 21, 2019
Messages
3,037
Reaction score
5,408
Location
Richmond, Va
Rating - 0%
0   0   0
Just a heads up on adafruits new terminal block for the DB-9!
 

-MerlyN-

New Member
View Badges
Joined
Feb 29, 2020
Messages
4
Reaction score
27
Rating - 0%
0   0   0
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,

I was able to reload again...which seems to always work.
Here are the screenshots....you will see that the IPs are on the same network, same subnet
You can see that the router IP matches both the Kasa IP on the app and both show the same MAC address.
Thank you again for the guidance...
t.

router_kasa.jpg kasa_mac_nw.jpg pi3ifcfg.PNG rpi_ip.jpg
When you say reload again, do you mean it works when you reload ? Or it still does not work. The network/subnet etc looks ok to me. If the reload works, it means you have to just add a line in systems unit file to make sure reef-pi waits till network is up.
 

t951

Community Member
View Badges
Joined
Feb 5, 2016
Messages
60
Reaction score
45
Location
Orlando, FL
Rating - 0%
0   0   0
When you say reload again, do you mean it works when you reload ? Or it still does not work. The network/subnet etc looks ok to me. If the reload works, it means you have to just add a line in systems unit file to make sure reef-pi waits till network is up.
When I hit reload, everything appears to be functioning as I click on it. Is there a different way to ensure all services are running? I wait until the reef-pi app is up before adding the driver. The reef-pi was running over 24 hours today when I tried to add the driver...still same error.
Where is the systems unit file, and what can I do to edit it?
Can I manually specify the IP and force it?

Thanks,
t
 

Matevz Savarin

Active Member
View Badges
Joined
Dec 5, 2018
Messages
209
Reaction score
163
Rating - 0%
0   0   0
That schematic says the unit has a room temperature sensor and a display unit with a bunch of wires going to it, are you sure that you cannot set the temperature there?
Yes I can but that means that ac needs to operate whole day. I want to be abble to set it that it turns on when temp rises to set number.now I recive email from pi that room temp is 27 and then I turn ac on with iphone app.. I want that this is done automaticaly. with digital thermostate I would set it to 27 on and at 24 off..hope I am making sense..
 

-MerlyN-

New Member
View Badges
Joined
Feb 29, 2020
Messages
4
Reaction score
27
Rating - 0%
0   0   0
Hello all!
I've ordered Micheal Lane's reef-pi goby hat and pH probe module. I still need to order a pH probe. Are there any recommendations which pH probes work best? Or are all the probes basically the same and it doesnt matter?

Also I would like to add an Arduino with TFT display and have it display the temperature and pH values continuously. Is it possible to have the raspberry pi run a simple program in the background that transmits the temp and pH values through I2C to the arduino while reef-pi is running?

Thanks!
 

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
Hello all!
I've ordered Micheal Lane's reef-pi goby hat and pH probe module. I still need to order a pH probe. Are there any recommendations which pH probes work best? Or are all the probes basically the same and it doesnt matter?

Also I would like to add an Arduino with TFT display and have it display the temperature and pH values continuously. Is it possible to have the raspberry pi run a simple program in the background that transmits the temp and pH values through I2C to the arduino while reef-pi is running?

Thanks!

I asked a similar question about displaying parameters constantly quite a while ago, and there wasn't at that time any way to do it. I would also be interested in figuring a simple way to do that. Like on a 2 or 3 line display, just scroll through a preset list of parameters.
 

t951

Community Member
View Badges
Joined
Feb 5, 2016
Messages
60
Reaction score
45
Location
Orlando, FL
Rating - 0%
0   0   0
If you are using the TPLink-Smarthome-API there is a known TCP Timeout error related to the API.
Thanks for the info, how do I know if I am using it? The only thing that I have tried is the reef-pi and HomeSeer. HomeSeer and the native Kasa app worked perfectly.
The time out concern may be related, I get the fail to add message after about 2 seconds when I try and load the driver. The error says failed to dial....l perceive that to mean that it cannot make the call to the device, which is why I think it exists on the reefpi side.
 

MaddyP

'Til Reefdom Come...
View Badges
Joined
Jul 21, 2016
Messages
1,910
Reaction score
4,485
Location
Vancouver, WA
Rating - 0%
0   0   0
Thanks for the info, how do I know if I am using it? The only thing that I have tried is the reef-pi and HomeSeer. HomeSeer and the native Kasa app worked perfectly.
The time out concern may be related, I get the fail to add message after about 2 seconds when I try and load the driver. The error says failed to dial....l perceive that to mean that it cannot make the call to the device, which is why I think it exists on the reefpi side.
@Ranjib would be able to answer whether Reef-Pi utilizes the API or not...
 

Urtoo

Well-Known Member
View Badges
Joined
Jul 1, 2019
Messages
688
Reaction score
865
Rating - 0%
0   0   0
Hello all!
I've ordered Micheal Lane's reef-pi goby hat and pH probe module. I still need to order a pH probe. Are there any recommendations which pH probes work best? Or are all the probes basically the same and it doesnt matter?

Also I would like to add an Arduino with TFT display and have it display the temperature and pH values continuously. Is it possible to have the raspberry pi run a simple program in the background that transmits the temp and pH values through I2C to the arduino while reef-pi is running?

Thanks!
Here is the probe I am currently running on my pi. Works great with the Goby and ML’s ph board
Milwaukee Instruments MA911B/2... Amazon product
 

Zippyfear

Community Member
View Badges
Joined
Apr 30, 2019
Messages
86
Reaction score
150
Rating - 0%
0   0   0
Another pH question for you all.. I had it working great for 6 months, and after I moved, it was working great, but I moved to another Pi unit as I rebuilt the controller.. when I moved the probe, I can't seem to get it to calibrate properly. I suspected the probe as an issue, so I replaced it, but I see the same behavior on both probes..

When I calibrate it, I don't have any mid range pH calibration, so I am using 4.0 and 9.16 as my 2 calibration points.

The 4.0 reads at about 1100 on the probe give or take
the 9.16 reads -32768

When I put the probe in the tank, it also shows -32768

I know the pH of the tank is 8.0-8.1

When I move the probe back to the 4.0 solution, it gives me an accurate reading.

Both probes are doing this.. Thoughts as what could be wrong?

I suspected instrument electrical interference from something else, but I shut everything down and removed that from the equation.. same result.

Thanks for any guidance.
 

Zippyfear

Community Member
View Badges
Joined
Apr 30, 2019
Messages
86
Reaction score
150
Rating - 0%
0   0   0
I posted in my thread, it turned out to be that raspberry pi wifi was the issue. After I placed the raspberry on ethernet, it worked perfectly.

Was it a Pi0 or Pi3? My previous Pi3 worked fine, but the current Pi0 isn't.. I may swap back to the Pi3 to try that.
 

Msujeffery

Community Member
View Badges
Joined
Apr 12, 2020
Messages
26
Reaction score
66
Rating - 0%
0   0   0
I'm struggling to get Reef-Pi to recognize my PWM coming off my Leviathan board.

Raspberry Pi0->Leviathan->Mars Aqua with ML PWM Mars Aqua Converter Board.

When I try to install the lighting jack via PCA9685 I get an "error failed to create, error:remote i/o error http 500"

Also when running i2cdetect it does not pick up anything just blanks for all lines.

I am clueless so may be missing something, one thing that stuck out was I have 10v on each lighting channel coming off the Leviathan board but I believe the ML Board is expecting less voltage to convert.
 
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
Thanks for the info, how do I know if I am using it? The only thing that I have tried is the reef-pi and HomeSeer. HomeSeer and the native Kasa app worked perfectly.
The time out concern may be related, I get the fail to add message after about 2 seconds when I try and load the driver. The error says failed to dial....l perceive that to mean that it cannot make the call to the device, which is why I think it exists on the reefpi side.
we are not using that API. All reef-pi drivers are written in go, and from scratch, without any external dependency. We do have 2 second timeout for kasa drivers: https://github.com/reef-pi/drivers/blob/master/tplink/connection.go#L13

But I am not sure if that's the issue here, since even ping is not working from pi to hs300 unit. I can release a patch with higher timeout if we know that's the cause (i.e ping works and it just slow connection).
If the home network is so bad that devices have more than 2s latency (it should be less than millisecond , normally), we'll have a much bigger issue with wifi based drivers, i think
 

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

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