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

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,345
Reaction score
1,722
Location
Missouri
Rating - 0%
0   0   0
I'm having a strange issue with one of my tank heaters.. No recent changes to anything in the setup, but for some reason this heater doesn't want to control my temp any more. you can see the threshold is 78 and yet the tank is happily heating right up to 80.... my poor fish don't know what to think.

1649298324418.png
Huh, what version are you running?
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,345
Reaction score
1,722
Location
Missouri
Rating - 0%
0   0   0
Welp that is a bummer, Ive stayed back on 4.3, I know things work and does what I need it to do, would be interesting to see what journalctl is saying in the logs but it is missing the threshold, is it possible that the relay has gone south? Maybe try moving the heater to another outlet and see if that happens or manually throwing the outlet switch via equipment.
 

robsworld78

Well-Known Member
View Badges
Joined
Feb 14, 2020
Messages
952
Reaction score
1,281
Location
Edmonton, Canada
Rating - 0%
0   0   0
Understand but my question is can I use the ground in the powerstrip enclosure vs bringing the ground from the rpi. What I noticed is on his dj powerstrip connection he did not bring a ground over, just the 8 gpio connectors and the one 12v connection, the rlay board in the DJ strip uses the ground in the enclosure and I was going to do the same thing. I tested it with a meter and ground from the rpi is ground at the relay board, so I think I am good.
If you have a ground from relay board to Pi then you have a common ground somewhere so all should be good. DC circuits need a ground between all devices or weird things can happen.
 

Arkon

New Member
View Badges
Joined
Apr 7, 2022
Messages
1
Reaction score
0
Location
Hungary
Rating - 0%
0   0   0
Hello, if I update to 5.2 then my 12v dosing pumps stopped working. If I revert back to 5.1 all pump work as normal
 

GaryE

Well-Known Member
View Badges
Joined
Mar 12, 2020
Messages
992
Reaction score
1,384
Location
Coatesville, Indiana
Rating - 0%
0   0   0
I think it's just not able to connect to the kasa strip.

1649326493857.png



Code:
Apr 07 00:00:13 nempi reef-pi[15541]: 2022/04/07 00:00:13 lighting subsystem: Setting Light:  Left White Channel: Left White Value: 0
Apr 07 00:00:13 nempi reef-pi[15541]: 2022/04/07 00:00:13 lighting-subsystem: Setting PWM value: 0  at channel: 3
Apr 07 00:00:13 nempi reef-pi[15541]: 2022/04/07 00:00:13 onTime  0  offTime  4096
Apr 07 00:00:13 nempi reef-pi[15541]: 2022/04/07 00:00:13 lighting subsystem: Setting Light:  Right Blue Channel: Right Blue Value: 0
Apr 07 00:00:13 nempi reef-pi[15541]: 2022/04/07 00:00:13 lighting-subsystem: Setting PWM value: 0  at channel: 4
Apr 07 00:00:13 nempi reef-pi[15541]: 2022/04/07 00:00:13 onTime  0  offTime  4096
Apr 07 00:00:14 nempi reef-pi[15541]: 2022/04/07 00:00:14 ph sub-system: ERROR: Failed to read probe: Sump_Heater_pin . Error: pin 3 on analog input 14 has no driver: driver 22 for analog input sump_heater_pin not found: driver by id 22
 not available
Apr 07 00:00:14 nempi reef-pi[15541]: 2022/04/07 00:00:14 ph sub-system: ERROR: Failed to read probe: Return_Pump_pin . Error: pin 5 on analog input 12 has no driver: driver 22 for analog input return_pump_pin not found: driver by id 22
 not available
Apr 07 00:00:14 nempi reef-pi[15541]: 2022/04/07 00:00:14 lighting subsystem: Setting Light:  Right White Channel: Right White Value: 0
Apr 07 00:00:14 nempi reef-pi[15541]: 2022/04/07 00:00:14 lighting-subsystem: Setting PWM value: 0  at channel: 5
Apr 07 00:00:14 nempi reef-pi[15541]: 2022/04/07 00:00:14 onTime  0  offTime  4096
Apr 07 00:00:14 nempi reef-pi[15541]: 2022/04/07 00:00:14 ph sub-system: Probe: sht31-temp Reading: 24.91
Apr 07 00:00:14 nempi reef-pi[15541]: 2022/04/07 00:00:14 ph sub-system: Probe: sht31-humidity Reading: 48.58
Apr 07 00:00:14 nempi reef-pi[15541]: 2022/04/07 00:00:14 ph sub-system: Probe: sht31-temp_file Reading: 76.76
Apr 07 00:00:14 nempi reef-pi[15541]: 2022/04/07 00:00:14 ph sub-system: Probe: sht31-humidity_file Reading: 48.57
Apr 07 00:00:14 nempi reef-pi[15541]: 2022/04/07 00:00:14 ph sub-system: ERROR: Failed to read probe: Heater_pin . Error: pin 1 on analog input 9 has no driver: driver 22 for analog input heater_pin not found: driver by id 22 not availa
ble
Apr 07 00:00:14 nempi reef-pi[15541]: 2022/04/07 00:00:14 ph sub-system: ERROR: Failed to read probe: Skimmer_pin . Error: pin 0 on analog input 10 has no driver: driver 22 for analog input skimmer_pin not found: driver by id 22 not ava
ilable
Apr 07 00:00:15 nempi reef-pi[15541]: 2022/04/07 00:00:15 Reading temperature from device: 28-0119387a8b67
Apr 07 00:00:15 nempi reef-pi[15541]: 2022/04/07 00:00:15 Reading temperature from device: 28-00000c3bcbb2
Apr 07 00:00:15 nempi reef-pi[15541]: 2022/04/07 00:00:15 health check: Used memory: 10.08  Load5: 0.45
Apr 07 00:00:17 nempi reef-pi[15541]: 2022/04/07 00:00:17 temperature sub-system:  sensor Box Temp value: 91.63
Apr 07 00:00:17 nempi reef-pi[15541]: 2022/04/07 00:00:17 Current value of 'Box Temp' is above maximum threshold. Executing down routine
Apr 07 00:00:17 nempi reef-pi[15541]: 2022/04/07 00:00:17 Equipment: dummy On: false
Apr 07 00:00:17 nempi reef-pi[15541]: 2022/04/07 00:00:17 Equipment: Fan On: true
Apr 07 00:00:17 nempi reef-pi[15541]: 2022/04/07 00:00:17 onTime  4096  offTime  0
Apr 07 00:00:17 nempi reef-pi[15541]: 2022/04/07 00:00:17 temperature sub-system:  sensor temp value: 78.35
Apr 07 00:00:17 nempi reef-pi[15541]: 2022/04/07 00:00:17 Current value of 'temp' within range switching off control equipments
Apr 07 00:00:17 nempi reef-pi[15541]: 2022/04/07 00:00:17 Equipment: Heater_1 On: false
Apr 07 00:00:29 nempi reef-pi[15541]: 2022/04/07 00:00:29 ph sub-system: ERROR: Failed to read probe: Heater_pin . Error: pin 1 on analog input 9 has no driver: driver 22 for analog input heater_pin not found: driver by id 22 not availa
ble
Apr 07 00:00:29 nempi reef-pi[15541]: 2022/04/07 00:00:29 ph sub-system: ERROR: Failed to read probe: Skimmer_pin . Error: pin 0 on analog input 10 has no driver: driver 22 for analog input skimmer_pin not found: driver by id 22 not ava
ilable
Apr 07 00:00:43 nempi reef-pi[15541]: 2022/04/07 00:00:43 lighting subsystem: Setting Light:  Blue Bar Front Channel: Channel-1 Value: 0
Apr 07 00:00:43 nempi reef-pi[15541]: 2022/04/07 00:00:43 lighting-subsystem: Setting PWM value: 0  at channel: 0
Apr 07 00:00:43 nempi reef-pi[15541]: 2022/04/07 00:00:43 onTime  0  offTime  4096
Apr 07 00:00:43 nempi reef-pi[15541]: 2022/04/07 00:00:43 lighting subsystem: Setting Light:  Blue Bar Back Channel: Channel-1 Value: 0
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,345
Reaction score
1,722
Location
Missouri
Rating - 0%
0   0   0
I think it's just not able to connect to the kasa strip.

1649326493857.png



Code:
Apr 07 00:00:13 nempi reef-pi[15541]: 2022/04/07 00:00:13 lighting subsystem: Setting Light:  Left White Channel: Left White Value: 0
Apr 07 00:00:13 nempi reef-pi[15541]: 2022/04/07 00:00:13 lighting-subsystem: Setting PWM value: 0  at channel: 3
Apr 07 00:00:13 nempi reef-pi[15541]: 2022/04/07 00:00:13 onTime  0  offTime  4096
Apr 07 00:00:13 nempi reef-pi[15541]: 2022/04/07 00:00:13 lighting subsystem: Setting Light:  Right Blue Channel: Right Blue Value: 0
Apr 07 00:00:13 nempi reef-pi[15541]: 2022/04/07 00:00:13 lighting-subsystem: Setting PWM value: 0  at channel: 4
Apr 07 00:00:13 nempi reef-pi[15541]: 2022/04/07 00:00:13 onTime  0  offTime  4096
Apr 07 00:00:14 nempi reef-pi[15541]: 2022/04/07 00:00:14 ph sub-system: ERROR: Failed to read probe: Sump_Heater_pin . Error: pin 3 on analog input 14 has no driver: driver 22 for analog input sump_heater_pin not found: driver by id 22
 not available
Apr 07 00:00:14 nempi reef-pi[15541]: 2022/04/07 00:00:14 ph sub-system: ERROR: Failed to read probe: Return_Pump_pin . Error: pin 5 on analog input 12 has no driver: driver 22 for analog input return_pump_pin not found: driver by id 22
 not available
Apr 07 00:00:14 nempi reef-pi[15541]: 2022/04/07 00:00:14 lighting subsystem: Setting Light:  Right White Channel: Right White Value: 0
Apr 07 00:00:14 nempi reef-pi[15541]: 2022/04/07 00:00:14 lighting-subsystem: Setting PWM value: 0  at channel: 5
Apr 07 00:00:14 nempi reef-pi[15541]: 2022/04/07 00:00:14 onTime  0  offTime  4096
Apr 07 00:00:14 nempi reef-pi[15541]: 2022/04/07 00:00:14 ph sub-system: Probe: sht31-temp Reading: 24.91
Apr 07 00:00:14 nempi reef-pi[15541]: 2022/04/07 00:00:14 ph sub-system: Probe: sht31-humidity Reading: 48.58
Apr 07 00:00:14 nempi reef-pi[15541]: 2022/04/07 00:00:14 ph sub-system: Probe: sht31-temp_file Reading: 76.76
Apr 07 00:00:14 nempi reef-pi[15541]: 2022/04/07 00:00:14 ph sub-system: Probe: sht31-humidity_file Reading: 48.57
Apr 07 00:00:14 nempi reef-pi[15541]: 2022/04/07 00:00:14 ph sub-system: ERROR: Failed to read probe: Heater_pin . Error: pin 1 on analog input 9 has no driver: driver 22 for analog input heater_pin not found: driver by id 22 not availa
ble
Apr 07 00:00:14 nempi reef-pi[15541]: 2022/04/07 00:00:14 ph sub-system: ERROR: Failed to read probe: Skimmer_pin . Error: pin 0 on analog input 10 has no driver: driver 22 for analog input skimmer_pin not found: driver by id 22 not ava
ilable
Apr 07 00:00:15 nempi reef-pi[15541]: 2022/04/07 00:00:15 Reading temperature from device: 28-0119387a8b67
Apr 07 00:00:15 nempi reef-pi[15541]: 2022/04/07 00:00:15 Reading temperature from device: 28-00000c3bcbb2
Apr 07 00:00:15 nempi reef-pi[15541]: 2022/04/07 00:00:15 health check: Used memory: 10.08  Load5: 0.45
Apr 07 00:00:17 nempi reef-pi[15541]: 2022/04/07 00:00:17 temperature sub-system:  sensor Box Temp value: 91.63
Apr 07 00:00:17 nempi reef-pi[15541]: 2022/04/07 00:00:17 Current value of 'Box Temp' is above maximum threshold. Executing down routine
Apr 07 00:00:17 nempi reef-pi[15541]: 2022/04/07 00:00:17 Equipment: dummy On: false
Apr 07 00:00:17 nempi reef-pi[15541]: 2022/04/07 00:00:17 Equipment: Fan On: true
Apr 07 00:00:17 nempi reef-pi[15541]: 2022/04/07 00:00:17 onTime  4096  offTime  0
Apr 07 00:00:17 nempi reef-pi[15541]: 2022/04/07 00:00:17 temperature sub-system:  sensor temp value: 78.35
Apr 07 00:00:17 nempi reef-pi[15541]: 2022/04/07 00:00:17 Current value of 'temp' within range switching off control equipments
Apr 07 00:00:17 nempi reef-pi[15541]: 2022/04/07 00:00:17 Equipment: Heater_1 On: false
Apr 07 00:00:29 nempi reef-pi[15541]: 2022/04/07 00:00:29 ph sub-system: ERROR: Failed to read probe: Heater_pin . Error: pin 1 on analog input 9 has no driver: driver 22 for analog input heater_pin not found: driver by id 22 not availa
ble
Apr 07 00:00:29 nempi reef-pi[15541]: 2022/04/07 00:00:29 ph sub-system: ERROR: Failed to read probe: Skimmer_pin . Error: pin 0 on analog input 10 has no driver: driver 22 for analog input skimmer_pin not found: driver by id 22 not ava
ilable
Apr 07 00:00:43 nempi reef-pi[15541]: 2022/04/07 00:00:43 lighting subsystem: Setting Light:  Blue Bar Front Channel: Channel-1 Value: 0
Apr 07 00:00:43 nempi reef-pi[15541]: 2022/04/07 00:00:43 lighting-subsystem: Setting PWM value: 0  at channel: 0
Apr 07 00:00:43 nempi reef-pi[15541]: 2022/04/07 00:00:43 onTime  0  offTime  4096
Apr 07 00:00:43 nempi reef-pi[15541]: 2022/04/07 00:00:43 lighting subsystem: Setting Light:  Blue Bar Back Channel: Channel-1 Value: 0
Yup that would do it, why I only have things on the Kasa that I want to stay running like wave pumps or return pumps since if wireless is down or it power reboots the kasa strip is not always reachable. I have one kasa strip and one hardwired strip, and heaters and dosers go on the hardwired strip since I want them to be reachable at all times. Things that I tend to want on all the time or non critical devices I place on the Kasa strip. I have the same concern, I really like the kasa strips but they can become unreachable, for me it's still an issue after a power hit, the wireless controllers take longer to boot up vs the rpi's and I have to almost do a reload on reef-pi to get the strips working again.

I want to spend some time looking into a cron job that will monitor the kasa strips and if not reachable perform a reload, I prefer to do something besides a full reload but not sure what else can be done. Will try to spend some time this weekend and see what I can come up with. :)
 

GaryE

Well-Known Member
View Badges
Joined
Mar 12, 2020
Messages
992
Reaction score
1,384
Location
Coatesville, Indiana
Rating - 0%
0   0   0
Yup that would do it, why I only have things on the Kasa that I want to stay running like wave pumps or return pumps since if wireless is down or it power reboots the kasa strip is not always reachable. I have one kasa strip and one hardwired strip, and heaters and dosers go on the hardwired strip since I want them to be reachable at all times. Things that I tend to want on all the time or non critical devices I place on the Kasa strip. I have the same concern, I really like the kasa strips but they can become unreachable, for me it's still an issue after a power hit, the wireless controllers take longer to boot up vs the rpi's and I have to almost do a reload on reef-pi to get the strips working again.

I want to spend some time looking into a cron job that will monitor the kasa strips and if not reachable perform a reload, I prefer to do something besides a full reload but not sure what else can be done. Will try to spend some time this weekend and see what I can come up with. :)

I've found the kasa devices to be fairly reliable. I've been using them for about 5 years or so.. The funny thing, I have two tanks. Both using RPi 3. Both using Kaza strips. Both were running 5.2 and only one is having issues reaching the strip.....

Revert to 5.1 on this particular install and it works just fine.. That's what I get for keeping things on the bleeding edge... :p
 

DWKDiver

Community Member
View Badges
Joined
May 18, 2021
Messages
44
Reaction score
42
Location
Georgia
Rating - 0%
0   0   0
Hi! Here I am using 12v dc pumps, and they are working perfectly, I use them with the PCA9685 controller connected to a board with 4 MOSFETs that control the 4 dosing heads.
I am using a robotank board. YMMV. They don't run with 5.2 revision of ReefPi. Works fine on 5.1 rev.

I see others are having the same issue.
 

DWKDiver

Community Member
View Badges
Joined
May 18, 2021
Messages
44
Reaction score
42
Location
Georgia
Rating - 0%
0   0   0
How to turn off pwm lights?

Tried:

Disable light - won't save. Always shows up enabled.
Set maximum to zero - it will set to 100 as I guess zero is not allowed.

This seems to be a bug.

I Don't want to change our delete the lights, just turn them off until I want them back on.

Any help appreciated. Thanks in advance.
 

BenB

Active Member
View Badges
Joined
Jun 11, 2019
Messages
100
Reaction score
152
Rating - 0%
0   0   0
How to turn off pwm lights?

Tried:

Disable light - won't save. Always shows up enabled.
Set maximum to zero - it will set to 100 as I guess zero is not allowed.

This seems to be a bug.

I Don't want to change our delete the lights, just turn them off until I want them back on.

Any help appreciated. Thanks in advance.
My lights have 24v, and pwm dimming. I use a relay to turn of the 24v.
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,345
Reaction score
1,722
Location
Missouri
Rating - 0%
0   0   0
Looks good, you will need to connect the ground as it's required to complete the circuit, like @GaryE mentioned you can use the shield for ground, I think most cables are end to end.
Yup looks like you need to carry over the ground, I tested both ways and it did not work as expected with NC outlets. I'd really like someone to explain in simpleton terms why this is and how the DJ strips are working without a ground from the rpi. I did some googling and has to do with the optical isolaters and how it is sinking to ground along with the JDVCC jumper. I found this thread that tries to explain it but its waaay over my head, lol - https://electronics.stackexchange.c...lay-module-with-jd-vcc-from-arduino-raspberry

Bottom line without the ground from the rpi (I tried grounding the relay in the enclosure itself), the NC outlet would trigger on when GND was touched on the rpi. It was clear that something was not quite right, but with ground brought over from the rpi it behaved as expected. I was tired last night and will try to read through that write up again but just thought @theatrus @robsworld78 or someone could explain in laymans terms what is going on.

Thanks :)
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,345
Reaction score
1,722
Location
Missouri
Rating - 0%
0   0   0
How to turn off pwm lights?

Tried:

Disable light - won't save. Always shows up enabled.
Set maximum to zero - it will set to 100 as I guess zero is not allowed.

This seems to be a bug.

I Don't want to change our delete the lights, just turn them off until I want them back on.

Any help appreciated. Thanks in advance.
What version of reef-pi are you running, what kind of lights are you controlling and how?
 

elysics

Valuable Member
View Badges
Joined
Jan 15, 2020
Messages
1,520
Reaction score
1,511
Rating - 0%
0   0   0
How to turn off pwm lights?

Tried:

Disable light - won't save. Always shows up enabled.
Set maximum to zero - it will set to 100 as I guess zero is not allowed.

This seems to be a bug.

I Don't want to change our delete the lights, just turn them off until I want them back on.

Any help appreciated. Thanks in advance.
have you tried switching to manual mode by clicking the button that says auto and dragging the slider to 0? It won't delete your config, if you switch back to auto that will still be there
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,345
Reaction score
1,722
Location
Missouri
Rating - 0%
0   0   0
Yup looks like you need to carry over the ground, I tested both ways and it did not work as expected with NC outlets. I'd really like someone to explain in simpleton terms why this is and how the DJ strips are working without a ground from the rpi. I did some googling and has to do with the optical isolaters and how it is sinking to ground along with the JDVCC jumper. I found this thread that tries to explain it but its waaay over my head, lol - https://electronics.stackexchange.c...lay-module-with-jd-vcc-from-arduino-raspberry

Bottom line without the ground from the rpi (I tried grounding the relay in the enclosure itself), the NC outlet would trigger on when GND was touched on the rpi. It was clear that something was not quite right, but with ground brought over from the rpi it behaved as expected. I was tired last night and will try to read through that write up again but just thought @theatrus @robsworld78 or someone could explain in laymans terms what is going on.

Thanks :)
Following up, and being more of clear mind this am its the optical isolation that makes things different, once I went back and read that write up it makes *cough* more sense ( at least to my simpleton electronics mind). :)
 

robsworld78

Well-Known Member
View Badges
Joined
Feb 14, 2020
Messages
952
Reaction score
1,281
Location
Edmonton, Canada
Rating - 0%
0   0   0
Yup looks like you need to carry over the ground, I tested both ways and it did not work as expected with NC outlets. I'd really like someone to explain in simpleton terms why this is and how the DJ strips are working without a ground from the rpi. I did some googling and has to do with the optical isolaters and how it is sinking to ground along with the JDVCC jumper. I found this thread that tries to explain it but its waaay over my head, lol - https://electronics.stackexchange.c...lay-module-with-jd-vcc-from-arduino-raspberry

Bottom line without the ground from the rpi (I tried grounding the relay in the enclosure itself), the NC outlet would trigger on when GND was touched on the rpi. It was clear that something was not quite right, but with ground brought over from the rpi it behaved as expected. I was tired last night and will try to read through that write up again but just thought @theatrus @robsworld78 or someone could explain in laymans terms what is going on.

Thanks :)
I can't explain things very well but a common ground for DC is needed to complete the circuit otherwise it would be an open circuit. The isolator only isolates, doesn't eliminate the ground, you would still need to run one from Pi to relay board. I could be wrong but I don't think the DJ power bar has any circuit, just relays on a board so all you need is a common power wire to each relay and a ground to switch that's why no common ground was needed as it was all done on the controller PCB.
 

Vnomus

Community Member
View Badges
Joined
Aug 22, 2020
Messages
89
Reaction score
113
Location
Jeffersonton
Rating - 0%
0   0   0
No. right now reef-pi everywhere uses poll based sensor reading. You can use API to trigger on demand.
Ok, wired the converter with Vin to the motor and Vout to GPIO17. Tested in at 12V and out at 5V and added GPIO17 as an input for the ATO. However, I'm not seeing any events recorded in the reef-pi ATO chart. Anything else I need to configure?
 

robsworld78

Well-Known Member
View Badges
Joined
Feb 14, 2020
Messages
952
Reaction score
1,281
Location
Edmonton, Canada
Rating - 0%
0   0   0
Ok, wired the converter with Vin to the motor and Vout to GPIO17. Tested in at 12V and out at 5V and added GPIO17 as an input for the ATO. However, I'm not seeing any events recorded in the reef-pi ATO chart. Anything else I need to configure?
When you created the ATO did you assign a piece of equipment to control? Without this the chart wouldn't update so it appears it's not working.
 

Bubbles, bubbles, and more bubbles: Do you keep bubble-like corals in your reef?

  • I currently have bubble-like corals in my reef.

    Votes: 13 36.1%
  • I don’t currently have bubble-like corals in my reef, but I have in the past.

    Votes: 5 13.9%
  • I don’t currently have bubble-like corals in my reef, but I plan to in the future.

    Votes: 13 36.1%
  • I don’t currently have bubble-like corals in my reef and have no plans to in the future.

    Votes: 4 11.1%
  • Other.

    Votes: 1 2.8%
Back
Top