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

hi all I am working on setting up reef-pi to controll lights and monitor pH, I'm looking to get some support as I am having some issues. and i hope this is the right place for that.
i am having issues with ML pi goby hat and his ph-board and vpar adapter. when i connect the hat and run i2c detect i get 2 devices on addresses 40 and 70 i assume this is for the 2 i2c ports for ph probe modules. once i plug the ph-boar and run i2c detect again i get 40 70 and 45 (is this normal) I connected the ph-probe directly to the pi and i get device on address 45 shouldn't it be on 40 what am i missing here?
am i setting it up wrong on the reef-pi? if so, what driver should i use ph-board or ph-ezo I tried both one gives me i2c write error the latter reads 0 ph
please help
 
hi all I am working on setting up reef-pi to controll lights and monitor pH, I'm looking to get some support as I am having some issues. and i hope this is the right place for that.
i am having issues with ML pi goby hat and his ph-board and vpar adapter. when i connect the hat and run i2c detect i get 2 devices on addresses 40 and 70 i assume this is for the 2 i2c ports for ph probe modules. once i plug the ph-boar and run i2c detect again i get 40 70 and 45 (is this normal) I connected the ph-probe directly to the pi and i get device on address 45 shouldn't it be on 40 what am i missing here?
am i setting it up wrong on the reef-pi? if so, what driver should i use ph-board or ph-ezo I tried both one gives me i2c write error the latter reads 0 ph
please help
Hi, the 40 and 70 belong to the pca9685, 70 can be ignored.

The 45 will be the pH circuit, that's why it appears when you connect it.

Unfortunately the list in Linux are Hex values, not for humans, reef-pi uses the decimal conversion as devices on the market use those. Here's a calculator that will convert Hex to Decimal.


You'll see 40 = 64 and 45 = 69, the 64 and 69 are the addresses for reef-pi.

I believe that pH circuit uses the ph-board driver.
 
Hi, the 40 and 70 belong to the pca9685, 70 can be ignored.

The 45 will be the pH circuit, that's why it appears when you connect it.

Unfortunately the list in Linux are Hex values, not for humans, reef-pi uses the decimal conversion as devices on the market use those. Here's a calculator that will convert Hex to Decimal.


You'll see 40 = 64 and 45 = 69, the 64 and 69 are the addresses for reef-pi.

I believe that pH circuit uses the ph-board driver.
Thank you for the explanation, I can't say that I had a duh moment (as all that u mentioned is new) but it made me aware of that differentiation (I have a lot to learn)
I was able to get a reading from my pH probe but is in the 2200, I think it's the probe so have a new one coming and we'll see. or (read somewhere that it could indicate a wiring issue)
I was also able to get my lights to ramp up and down and are now controlled by the Reef-pi
thanks again! @robsworld78 i only found out about your hardware after I got everything :confused:
 
Thank you for the explanation, I can't say that I had a duh moment (as all that u mentioned is new) but it made me aware of that differentiation (I have a lot to learn)
I was able to get a reading from my pH probe but is in the 2200, I think it's the probe so have a new one coming and we'll see. or (read somewhere that it could indicate a wiring issue)
I was also able to get my lights to ramp up and down and are now controlled by the Reef-pi
thanks again! @robsworld78 i only found out about your hardware after I got everything :confused:
No worries, it all does the same thing. Sounds like you have it working now, not sure about the 2200 reading though, you may need to calibrate it before you get a normal reading. You can check by opening calibration and enter 7.0 in step one, then close, enable pH and you should get around 7.0.
 
@robsworld78 again thanks a bunch for your input it helped immensely!!
pH probe functional
lights functional

On to additional addons (moonlight, dosing pump, ATO, and some macros and timers)

I just came across this document, not sure how I missed it Reef-pi User Manual has a lot of answers. I now feel that I didn't do my research quite well ;Bookworm:rolleyes: ima leave it here for the next person
 
@Ranjib

Hi Ranjib hope you or someone can help.

My raspberry pi crashed couldn't connect to it as it kept freezing on boot.

Reinstalled operating system and reef pi, went through setting up connectors and hit a problem with temperature control. When I go to add heaters to a temperature probe it keeps coming up with "Hysteresis incorrect no matter what value I put in.

Any ideas anyone?
 
@Ranjib

Hi Ranjib hope you or someone can help.

My raspberry pi crashed couldn't connect to it as it kept freezing on boot.

Reinstalled operating system and reef pi, went through setting up connectors and hit a problem with temperature control. When I go to add heaters to a temperature probe it keeps coming up with "Hysteresis incorrect no matter what value I put in.

Any ideas anyone?
Sorted :) ended up that I installed 3.0 for pi0 instead of 4.0 for pi3, started again now working smooth as. rushing to get control of my tank again ended up making a simple error.

Now that's sorted I can focus on Euphyllia eating flatworm instead :(
 
For ATO, I run a simple float valve, backed up up by an inline electric solenoid valve driven off a timer. Stays open long enough to top off the water, and fails closed during power outage. Two means of shutoff, but the float has always shut the water off before the valve ever had to kick in. Simple and effective... A little each day keeps the salt creep away...
This is a good solution. I need to do this. Using the solenoid to open when switch goes down is asking for trouble. Wish neptune made an always closed version. It was meant to be just a ball valve gravity drip set to match evap as I always had it..with the addition of the solenoid set as backup to be always open and shut when high switch triggered. Cant even remember why I programmed differently.
I just have to fashion my own hang on or magnetic holder for the float valve install. Anyone seen any good non-drill setups on 40b style sump?
 
Question to all you Reef-pi gurus out there, Im hot sure how the timer works or how to get it to work the way I want it to. I see the month day hour ECT. but don't get how to use it. I I have my macros set up, this is for a dosing pump. I got it to work but it seems to turn on randomly not every 10 seconds like I put in the box.
 
Question to all you Reef-pi gurus out there, Im hot sure how the timer works or how to get it to work the way I want it to. I see the month day hour ECT. but don't get how to use it. I I have my macros set up, this is for a dosing pump. I got it to work but it seems to turn on randomly not every 10 seconds like I put in the box.
What exactly did you put in which box? For every 10 seconds there should be a star in every box except the seconds box, and in there either "0,10,20,30,40,50" or "*/10“
 
Last edited:
That's what I have yet it takes A full minute before it turns on. Iv'e used it like this for a long time its judt bugging me that i cant figure it out
That's weird. Is there a reason you are using a timer to run a macro to run a dosing pump, and not using the dosing pump menu? Maybe something with the macros is hanging, but I don't know, just guessing at this point
 
@Ranjib Until recently my ATO has been working fine. Now when the (optical) sensor is reached each time it disables all ATO module rather than just turning pump off. Any suggestions?
 
@Ranjib Until recently my ATO has been working fine. Now when the (optical) sensor is reached each time it disables all ATO module rather than just turning pump off. Any suggestions?
Honestly when Ive had problems like this I restart my Computer. If that doesn't fix it I remove the settings and start over.
 
Hi,

Weird problem. After updating from 3.0 to 4.1 I'm unable to change any temperature settings.
Everything works ok with previous settings but I can't change anything under temp tab.

No matter if I change check frequency (even by 1 second), chart min/max, thresholds - any change = "The temperature settings cannot be saved due to validation errors. Please correct the errors and try again."

Anyone got an idea how to solve this issue? :)
I could probably fresh install reef-pi but that's an 2 hour work to set up everything back.

Everything else: equipment, lights, ATO works like a charm.

Thanks!


1625265536095.png
 
Hi,

Weird problem. After updating from 3.0 to 4.1 I'm unable to change any temperature settings.
Everything works ok with previous settings but I can't change anything under temp tab.

No matter if I change check frequency (even by 1 second), chart min/max, thresholds - any change = "The temperature settings cannot be saved due to validation errors. Please correct the errors and try again."

Anyone got an idea how to solve this issue? :)
I could probably fresh install reef-pi but that's an 2 hour work to set up everything back.

Everything else: equipment, lights, ATO works like a charm.

Thanks!


1625265536095.png
Can you share the reef-pi log? dont delete whole reef-pi database, just delete the temperature controller and create a new one if nothing else work
 
Can you share the reef-pi log? dont delete whole reef-pi database, just delete the temperature controller and create a new one if nothing else work

Thanks!

Deleting and adding again temp controllers works :)

This is what I get from sudo journalctl -fu reef-pi.service:

-- Logs begin at Sat 2021-07-03 21:18:34 CEST. --
lip 04 01:38:29 reefpi reef-pi[1720]: 2021/07/04 01:38:29 API Request:' GET /api/me' from: 192.168.1.19:57654
lip 04 01:38:30 reefpi reef-pi[1720]: 2021/07/04 01:38:30 ato-subsystem: sensor: Czujnik poziomu wody state: 1
lip 04 01:38:30 reefpi reef-pi[1720]: 2021/07/04 01:38:30 Euipment: 8 On: false
lip 04 01:38:30 reefpi reef-pi[1720]: 2021/07/04 01:38:30 ato-subsystem: sensor: Czujnik poziomu wody usage: 0
lip 04 01:38:31 reefpi reef-pi[1720]: 2021/07/04 01:38:31 API Request:' GET /api/me' from: 192.168.1.34:56464
lip 04 01:38:33 reefpi reef-pi[1720]: 2021/07/04 01:38:33 API Request:' GET /api/me' from: 192.168.1.19:57654
lip 04 01:38:34 reefpi reef-pi[1720]: 2021/07/04 01:38:34 ato-subsystem: sensor: Czujnik poziomu wody state: 1
lip 04 01:38:34 reefpi reef-pi[1720]: 2021/07/04 01:38:34 Euipment: 8 On: false
lip 04 01:38:34 reefpi reef-pi[1720]: 2021/07/04 01:38:34 ato-subsystem: sensor: Czujnik poziomu wody usage: 0
lip 04 01:38:35 reefpi reef-pi[1720]: 2021/07/04 01:38:35 API Request:' GET /api/me' from: 192.168.1.34:56464
lip 04 01:38:37 reefpi reef-pi[1720]: 2021/07/04 01:38:37 API Request:' GET /api/tcs/1/usage' from: 192.168.1.34:56464
lip 04 01:38:37 reefpi reef-pi[1720]: 2021/07/04 01:38:37 API Request:' GET /api/tcs/2/usage' from: 192.168.1.34:49559
lip 04 01:38:37 reefpi reef-pi[1720]: 2021/07/04 01:38:37 API Request:' GET /api/equipment' from: 192.168.1.34:60599
lip 04 01:38:37 reefpi reef-pi[1720]: 2021/07/04 01:38:37 API Request:' GET /api/tcs/3/usage' from: 192.168.1.34:53078
lip 04 01:38:37 reefpi reef-pi[1720]: 2021/07/04 01:38:37 API Request:' GET /api/atos/1/usage' from: 192.168.1.34:55873
lip 04 01:38:37 reefpi reef-pi[1720]: 2021/07/04 01:38:37 API Request:' GET /api/me' from: 192.168.1.19:57654
lip 04 01:38:37 reefpi reef-pi[1720]: 2021/07/04 01:38:37 API Request:' GET /api/health_stats' from: 192.168.1.19:57654
lip 04 01:38:37 reefpi reef-pi[1720]: 2021/07/04 01:38:37 API Request:' GET /api/tcs/1/usage' from: 192.168.1.19:57652
lip 04 01:38:37 reefpi reef-pi[1720]: 2021/07/04 01:38:37 API Request:' GET /api/tcs/2/usage' from: 192.168.1.19:57646
lip 04 01:38:37 reefpi reef-pi[1720]: 2021/07/04 01:38:37 API Request:' GET /api/equipment' from: 192.168.1.19:57656
lip 04 01:38:37 reefpi reef-pi[1720]: 2021/07/04 01:38:37 API Request:' GET /api/tcs/3/usage' from: 192.168.1.19:57656
lip 04 01:38:37 reefpi reef-pi[1720]: 2021/07/04 01:38:37 API Request:' GET /api/atos/1/usage' from: 192.168.1.19:57648
lip 04 01:38:38 reefpi reef-pi[1720]: 2021/07/04 01:38:38 ato-subsystem: sensor: Czujnik poziomu wody state: 1
lip 04 01:38:38 reefpi reef-pi[1720]: 2021/07/04 01:38:38 Euipment: 8 On: false
lip 04 01:38:38 reefpi reef-pi[1720]: 2021/07/04 01:38:38 ato-subsystem: sensor: Czujnik poziomu wody usage: 0
lip 04 01:38:38 reefpi reef-pi[1720]: 2021/07/04 01:38:38 Reading temperature from device: 28-0416a4afe1ff
lip 04 01:38:38 reefpi reef-pi[1720]: 2021/07/04 01:38:38 Reading temperature from device: 28-0416a4ac3eff
lip 04 01:38:38 reefpi reef-pi[1720]: 2021/07/04 01:38:38 lighting subsystem: Setting Light: T5 LED 15000K Channel: Channel-1 Value: 0
lip 04 01:38:38 reefpi reef-pi[1720]: 2021/07/04 01:38:38 lighting-subsystem: Setting PWM value: 0 at channel: 2
lip 04 01:38:38 reefpi reef-pi[1720]: 2021/07/04 01:38:38 onTime 0 offTime 4096
lip 04 01:38:38 reefpi reef-pi[1720]: 2021/07/04 01:38:38 lighting subsystem: Setting Light: T5 LED UV Channel: Channel-1 Value: 0
lip 04 01:38:38 reefpi reef-pi[1720]: 2021/07/04 01:38:38 lighting-subsystem: Setting PWM value: 0 at channel: 3
lip 04 01:38:38 reefpi reef-pi[1720]: 2021/07/04 01:38:38 onTime 0 offTime 4096
lip 04 01:38:38 reefpi reef-pi[1720]: 2021/07/04 01:38:38 lighting subsystem: Setting Light: LED DIY 70W Channel: Channel-1 Value: 0
lip 04 01:38:38 reefpi reef-pi[1720]: 2021/07/04 01:38:38 lighting-subsystem: Setting PWM value: 0 at channel: 1
lip 04 01:38:38 reefpi reef-pi[1720]: 2021/07/04 01:38:38 onTime 4096 offTime 0
lip 04 01:38:39 reefpi reef-pi[1720]: 2021/07/04 01:38:39 health check: Used memory: 35.27 Load5: 2.12
lip 04 01:38:39 reefpi reef-pi[1720]: 2021/07/04 01:38:39 API Request:' GET /api/me' from: 192.168.1.34:49559
lip 04 01:38:39 reefpi reef-pi[1720]: 2021/07/04 01:38:39 temperature sub-system: sensor Powietrze value: 26.06
lip 04 01:38:40 reefpi reef-pi[1720]: 2021/07/04 01:38:40 temperature sub-system: sensor Akwarium value: 26.38
lip 04 01:38:40 reefpi reef-pi[1720]: 2021/07/04 01:38:40 Current value of 'Akwarium' within range switching off control equipments
lip 04 01:38:40 reefpi reef-pi[1720]: 2021/07/04 01:38:40 Euipment: 1 On: false
lip 04 01:38:40 reefpi reef-pi[1720]: 2021/07/04 01:38:40 Euipment: 10 On: false
lip 04 01:38:41 reefpi reef-pi[1720]: 2021/07/04 01:38:41 API Request:' GET /api/me' from: 192.168.1.19:57656
lip 04 01:38:42 reefpi reef-pi[1720]: 2021/07/04 01:38:42 ato-subsystem: sensor: Czujnik poziomu wody state: 1
lip 04 01:38:42 reefpi reef-pi[1720]: 2021/07/04 01:38:42 Euipment: 8 On: false
lip 04 01:38:42 reefpi reef-pi[1720]: 2021/07/04 01:38:42 ato-subsystem: sensor: Czujnik poziomu wody usage: 0
lip 04 01:38:43 reefpi reef-pi[1720]: 2021/07/04 01:38:43 API Request:' GET /api/me' from: 192.168.1.34:49559
lip 04 01:38:45 reefpi reef-pi[1720]: 2021/07/04 01:38:45 API Request:' GET /api/me' from: 192.168.1.19:57656
lip 04 01:38:46 reefpi reef-pi[1720]: 2021/07/04 01:38:46 ato-subsystem: sensor: Czujnik poziomu wody state: 1
lip 04 01:38:46 reefpi reef-pi[1720]: 2021/07/04 01:38:46 Euipment: 8 On: false
lip 04 01:38:46 reefpi reef-pi[1720]: 2021/07/04 01:38:46 ato-subsystem: sensor: Czujnik poziomu wody usage: 0
lip 04 01:38:47 reefpi reef-pi[1720]: 2021/07/04 01:38:47 API Request:' GET /api/me' from: 192.168.1.34:49559
lip 04 01:38:47 reefpi reef-pi[1720]: 2021/07/04 01:38:47 API Request:' GET /api/tcs/2/usage' from: 192.168.1.34:56464
lip 04 01:38:47 reefpi reef-pi[1720]: 2021/07/04 01:38:47 API Request:' GET /api/tcs/1/usage' from: 192.168.1.34:53078
lip 04 01:38:47 reefpi reef-pi[1720]: 2021/07/04 01:38:47 API Request:' GET /api/atos/1/usage' from: 192.168.1.34:53556
lip 04 01:38:47 reefpi reef-pi[1720]: 2021/07/04 01:38:47 API Request:' GET /api/tcs/3/usage' from: 192.168.1.34:60599
lip 04 01:38:47 reefpi reef-pi[1720]: 2021/07/04 01:38:47 API Request:' GET /api/equipment' from: 192.168.1.34:55873
lip 04 01:38:47 reefpi reef-pi[1720]: 2021/07/04 01:38:47 API Request:' GET /api/health_stats' from: 192.168.1.34:49559
lip 04 01:38:47 reefpi reef-pi[1720]: 2021/07/04 01:38:47 API Request:' GET /api/tcs/1/usage' from: 192.168.1.19:57656
lip 04 01:38:47 reefpi reef-pi[1720]: 2021/07/04 01:38:47 API Request:' GET /api/tcs/2/usage' from: 192.168.1.19:57646
lip 04 01:38:47 reefpi reef-pi[1720]: 2021/07/04 01:38:47 API Request:' GET /api/equipment' from: 192.168.1.19:57648
lip 04 01:38:47 reefpi reef-pi[1720]: 2021/07/04 01:38:47 API Request:' GET /api/tcs/3/usage' from: 192.168.1.19:57648
lip 04 01:38:47 reefpi reef-pi[1720]: 2021/07/04 01:38:47 API Request:' GET /api/atos/1/usage' from: 192.168.1.19:57652
lip 04 01:38:49 reefpi reef-pi[1720]: 2021/07/04 01:38:49 API Request:' GET /api/me' from: 192.168.1.19:57646
lip 04 01:38:50 reefpi reef-pi[1720]: 2021/07/04 01:38:50 ato-subsystem: sensor: Czujnik poziomu wody state: 1
lip 04 01:38:50 reefpi reef-pi[1720]: 2021/07/04 01:38:50 Euipment: 8 On: false
lip 04 01:38:50 reefpi reef-pi[1720]: 2021/07/04 01:38:50 ato-subsystem: sensor: Czujnik poziomu wody usage: 0
lip 04 01:38:51 reefpi reef-pi[1720]: 2021/07/04 01:38:51 API Request:' GET /api/me' from: 192.168.1.34:53078
lip 04 01:38:53 reefpi reef-pi[1720]: 2021/07/04 01:38:53 API Request:' GET /api/me' from: 192.168.1.19:57646
lip 04 01:38:54 reefpi reef-pi[1720]: 2021/07/04 01:38:54 ato-subsystem: sensor: Czujnik poziomu wody state: 1
lip 04 01:38:54 reefpi reef-pi[1720]: 2021/07/04 01:38:54 Euipment: 8 On: false
lip 04 01:38:54 reefpi reef-pi[1720]: 2021/07/04 01:38:54 ato-subsystem: sensor: Czujnik poziomu wody usage: 0
lip 04 01:38:55 reefpi reef-pi[1720]: 2021/07/04 01:38:55 API Request:' GET /api/me' from: 192.168.1.34:53078
lip 04 01:38:57 reefpi reef-pi[1720]: 2021/07/04 01:38:57 API Request:' GET /api/tcs/1/usage' from: 192.168.1.34:53078
lip 04 01:38:57 reefpi reef-pi[1720]: 2021/07/04 01:38:57 API Request:' GET /api/equipment' from: 192.168.1.34:49559
lip 04 01:38:57 reefpi reef-pi[1720]: 2021/07/04 01:38:57 API Request:' GET /api/atos/1/usage' from: 192.168.1.34:53556
lip 04 01:38:57 reefpi reef-pi[1720]: 2021/07/04 01:38:57 API Request:' GET /api/tcs/2/usage' from: 192.168.1.34:60599
lip 04 01:38:57 reefpi reef-pi[1720]: 2021/07/04 01:38:57 API Request:' GET /api/tcs/3/usage' from: 192.168.1.34:56464
lip 04 01:38:57 reefpi reef-pi[1720]: 2021/07/04 01:38:57 API Request:' GET /api/me' from: 192.168.1.19:57646
lip 04 01:38:57 reefpi reef-pi[1720]: 2021/07/04 01:38:57 API Request:' GET /api/tcs/1/usage' from: 192.168.1.19:57646
lip 04 01:38:57 reefpi reef-pi[1720]: 2021/07/04 01:38:57 API Request:' GET /api/tcs/2/usage' from: 192.168.1.19:57648
lip 04 01:38:57 reefpi reef-pi[1720]: 2021/07/04 01:38:57 API Request:' GET /api/equipment' from: 192.168.1.19:57652
lip 04 01:38:57 reefpi reef-pi[1720]: 2021/07/04 01:38:57 API Request:' GET /api/tcs/3/usage' from: 192.168.1.19:57656
lip 04 01:38:57 reefpi reef-pi[1720]: 2021/07/04 01:38:57 API Request:' GET /api/atos/1/usage' from: 192.168.1.19:57654
lip 04 01:38:58 reefpi reef-pi[1720]: 2021/07/04 01:38:58 ato-subsystem: sensor: Czujnik poziomu wody state: 1
lip 04 01:38:58 reefpi reef-pi[1720]: 2021/07/04 01:38:58 Euipment: 8 On: false
lip 04 01:38:58 reefpi reef-pi[1720]: 2021/07/04 01:38:58 ato-subsystem: sensor: Czujnik poziomu wody usage: 0
lip 04 01:38:59 reefpi reef-pi[1720]: 2021/07/04 01:38:59 API Request:' GET /api/me' from: 192.168.1.34:60599
lip 04 01:39:01 reefpi reef-pi[1720]: 2021/07/04 01:39:01 API Request:' GET /api/me' from: 192.168.1.19:57648
lip 04 01:39:02 reefpi reef-pi[1720]: 2021/07/04 01:39:02 ato-subsystem: sensor: Czujnik poziomu wody state: 1
lip 04 01:39:02 reefpi reef-pi[1720]: 2021/07/04 01:39:02 Euipment: 8 On: false
lip 04 01:39:02 reefpi reef-pi[1720]: 2021/07/04 01:39:02 ato-subsystem: sensor: Czujnik poziomu wody usage: 0
lip 04 01:39:03 reefpi reef-pi[1720]: 2021/07/04 01:39:03 API Request:' GET /api/me' from: 192.168.1.34:60599
lip 04 01:39:05 reefpi reef-pi[1720]: 2021/07/04 01:39:05 API Request:' GET /api/me' from: 192.168.1.19:57648
lip 04 01:39:06 reefpi reef-pi[1720]: 2021/07/04 01:39:06 ato-subsystem: sensor: Czujnik poziomu wody state: 1
lip 04 01:39:06 reefpi reef-pi[1720]: 2021/07/04 01:39:06 Euipment: 8 On: false
lip 04 01:39:06 reefpi reef-pi[1720]: 2021/07/04 01:39:06 ato-subsystem: sensor: Czujnik poziomu wody usage: 0
lip 04 01:39:07 reefpi reef-pi[1720]: 2021/07/04 01:39:07 API Request:' GET /api/me' from: 192.168.1.34:60599
lip 04 01:39:07 reefpi reef-pi[1720]: 2021/07/04 01:39:07 API Request:' GET /api/tcs/2/usage' from: 192.168.1.34:56464
lip 04 01:39:07 reefpi reef-pi[1720]: 2021/07/04 01:39:07 API Request:' GET /api/tcs/1/usage' from: 192.168.1.34:53078
lip 04 01:39:07 reefpi reef-pi[1720]: 2021/07/04 01:39:07 API Request:' GET /api/atos/1/usage' from: 192.168.1.34:55873
lip 04 01:39:07 reefpi reef-pi[1720]: 2021/07/04 01:39:07 API Request:' GET /api/tcs/3/usage' from: 192.168.1.34:49559
lip 04 01:39:07 reefpi reef-pi[1720]: 2021/07/04 01:39:07 API Request:' GET /api/equipment' from: 192.168.1.34:53556
lip 04 01:39:07 reefpi reef-pi[1720]: 2021/07/04 01:39:07 API Request:' GET /api/tcs/1/usage' from: 192.168.1.19:57648
lip 04 01:39:07 reefpi reef-pi[1720]: 2021/07/04 01:39:07 API Request:' GET /api/tcs/2/usage' from: 192.168.1.19:57656
lip 04 01:39:07 reefpi reef-pi[1720]: 2021/07/04 01:39:07 API Request:' GET /api/equipment' from: 192.168.1.19:57654
lip 04 01:39:07 reefpi reef-pi[1720]: 2021/07/04 01:39:07 API Request:' GET /api/tcs/3/usage' from: 192.168.1.19:57646
lip 04 01:39:07 reefpi reef-pi[1720]: 2021/07/04 01:39:07 API Request:' GET /api/atos/1/usage' from: 192.168.1.19:57654
lip 04 01:39:08 reefpi reef-pi[1720]: 2021/07/04 01:39:08 Reading temperature from device: 28-041685b6acff
lip 04 01:39:08 reefpi reef-pi[1720]: 2021/07/04 01:39:08 lighting subsystem: Setting Light: T5 LED 15000K Channel: Channel-1 Value: 0
lip 04 01:39:08 reefpi reef-pi[1720]: 2021/07/04 01:39:08 lighting-subsystem: Setting PWM value: 0 at channel: 2
lip 04 01:39:08 reefpi reef-pi[1720]: 2021/07/04 01:39:08 onTime 0 offTime 4096
lip 04 01:39:08 reefpi reef-pi[1720]: 2021/07/04 01:39:08 lighting subsystem: Setting Light: T5 LED UV Channel: Channel-1 Value: 0
lip 04 01:39:08 reefpi reef-pi[1720]: 2021/07/04 01:39:08 lighting-subsystem: Setting PWM value: 0 at channel: 3
lip 04 01:39:08 reefpi reef-pi[1720]: 2021/07/04 01:39:08 onTime 0 offTime 4096
lip 04 01:39:08 reefpi reef-pi[1720]: 2021/07/04 01:39:08 lighting subsystem: Setting Light: LED DIY 70W Channel: Channel-1 Value: 0
lip 04 01:39:08 reefpi reef-pi[1720]: 2021/07/04 01:39:08 lighting-subsystem: Setting PWM value: 0 at channel: 1
lip 04 01:39:08 reefpi reef-pi[1720]: 2021/07/04 01:39:08 onTime 4096 offTime 0
lip 04 01:39:09 reefpi reef-pi[1720]: 2021/07/04 01:39:09 temperature sub-system: sensor Sterownik value: 37.81
lip 04 01:39:09 reefpi reef-pi[1720]: 2021/07/04 01:39:09 Current value of 'Sterownik' within range switching off control equipments
lip 04 01:39:09 reefpi reef-pi[1720]: 2021/07/04 01:39:09 Euipment: 9 On: false
lip 04 01:39:09 reefpi reef-pi[1720]: 2021/07/04 01:39:09 Euipment: 7 On: false
lip 04 01:39:09 reefpi reef-pi[1720]: 2021/07/04 01:39:09 API Request:' GET /api/me' from: 192.168.1.19:57654
lip 04 01:39:10 reefpi reef-pi[1720]: 2021/07/04 01:39:10 ato-subsystem: sensor: Czujnik poziomu wody state: 1
lip 04 01:39:10 reefpi reef-pi[1720]: 2021/07/04 01:39:10 Euipment: 8 On: false
lip 04 01:39:10 reefpi reef-pi[1720]: 2021/07/04 01:39:10 ato-subsystem: sensor: Czujnik poziomu wody usage: 0
lip 04 01:39:11 reefpi reef-pi[1720]: 2021/07/04 01:39:11 API Request:' GET /api/me' from: 192.168.1.34:53078
lip 04 01:39:13 reefpi reef-pi[1720]: 2021/07/04 01:39:13 API Request:' GET /api/me' from: 192.168.1.19:57654
lip 04 01:39:14 reefpi reef-pi[1720]: 2021/07/04 01:39:14 ato-subsystem: sensor: Czujnik poziomu wody state: 1
lip 04 01:39:14 reefpi reef-pi[1720]: 2021/07/04 01:39:14 Euipment: 8 On: false
^Alip 04 01:39:15 reefpi reef-pi[1720]: 2021/07/04 01:39:14 ato-subsystem: sensor: Czujnik poziomu wody usage: 0
lip 04 01:39:15 reefpi reef-pi[1720]: 2021/07/04 01:39:15 API Request:' GET /api/me' from: 192.168.1.34:53078
^A^Alip 04 01:39:17 reefpi reef-pi[1720]: 2021/07/04 01:39:17 API Request:' GET /api/tcs/1/usage' from: 192.168.1.34:53078
lip 04 01:39:17 reefpi reef-pi[1720]: 2021/07/04 01:39:17 API Request:' GET /api/atos/1/usage' from: 192.168.1.34:53556
lip 04 01:39:17 reefpi reef-pi[1720]: 2021/07/04 01:39:17 API Request:' GET /api/equipment' from: 192.168.1.34:49559
lip 04 01:39:17 reefpi reef-pi[1720]: 2021/07/04 01:39:17 API Request:' GET /api/tcs/2/usage' from: 192.168.1.34:56464
lip 04 01:39:17 reefpi reef-pi[1720]: 2021/07/04 01:39:17 API Request:' GET /api/tcs/3/usage' from: 192.168.1.34:55873
lip 04 01:39:17 reefpi reef-pi[1720]: 2021/07/04 01:39:17 API Request:' GET /api/me' from: 192.168.1.19:57654
lip 04 01:39:17 reefpi reef-pi[1720]: 2021/07/04 01:39:17 API Request:' GET /api/tcs/1/usage' from: 192.168.1.19:57654
lip 04 01:39:17 reefpi reef-pi[1720]: 2021/07/04 01:39:17 API Request:' GET /api/tcs/2/usage' from: 192.168.1.19:57646
lip 04 01:39:17 reefpi reef-pi[1720]: 2021/07/04 01:39:17 API Request:' GET /api/equipment' from: 192.168.1.19:57656
lip 04 01:39:17 reefpi reef-pi[1720]: 2021/07/04 01:39:17 API Request:' GET /api/tcs/3/usage' from: 192.168.1.19:57648
lip 04 01:39:17 reefpi reef-pi[1720]: 2021/07/04 01:39:17 API Request:' GET /api/atos/1/usage' from: 192.168.1.19:57652
lip 04 01:39:18 reefpi reef-pi[1720]: 2021/07/04 01:39:18 ato-subsystem: sensor: Czujnik poziomu wody state: 1
lip 04 01:39:18 reefpi reef-pi[1720]: 2021/07/04 01:39:18 Euipment: 8 On: false
lip 04 01:39:18 reefpi reef-pi[1720]: 2021/07/04 01:39:18 ato-subsystem: sensor: Czujnik poziomu wody usage: 0
lip 04 01:39:18 reefpi reef-pi[1720]: 2021/07/04 01:39:18 Reading temperature from device: 28-0416a4ac3eff
lip 04 01:39:19 reefpi reef-pi[1720]: 2021/07/04 01:39:19 API Request:' GET /api/me' from: 192.168.1.34:56464
 
Hi:
After my Digital Aquatics Archon finally gave up the ghost a few weeks ago, I switched over to reef-pi on robo-tank hardware. I've got my LEDs driven by a 0-10v signal on a diurnal program that has them come on at about 2:30PM, and then go off around 11:30PM. Because a couple of my LED drivers don't always completely cut off, I've also got 2 AC outlet switches that are off from midnight until 2:00 PM. All this works fine and it's the way I had it set up for the last 5 years or so.

Sometimes, though, I want to turn the lights on in the morning, maybe for service, or maybe just to see what's going on. On my Archon, it was easy to set up a macro to do this, but I can't seem to find a way to do that under reef-pi. I tried creating a manual lighting program that I could enable and then turn the lights up. But it seemed as though every couple of mins, the main program would turn them back off, then they'd come on again...

How can I set up a macro/timer/something to turn the light on manually?

Thanks,
Phil
 
Hey question, I want to use a PWM signal to control T5 ballasts. It requires a 0-10v analog signal and i was hoping someone might know how to convert the PWM to analog. This diagram is from @theatrus and his pico board.
Screenshot 2021-07-05 154443.png

I'm guessing I need something like this, I was thinking i could use a ULN 2803A with a capacitor on the PWN signal to flatten the signal out before it goes into the driver??? Is there a mass produced chip that already does this this to make my life easier??
 

TOP 10 Trending Threads

Free Phyto Promo
Spend $39+ → free 16oz Phyto · Use code FREEPHYTO at checkout · $16.99 value · Densest 6-species blend · Free shipping on every order · 100% live arrival guaranteed Spend $39+ → free 16oz Phyto · Use code FREEPHYTO at checkout · $16.99 value · Densest 6-species blend · Free shipping on every order · 100% live arrival guaranteed
Shop Now Code: FREEPHYTO
Back
Top
Home
Post thread…
Market
What's new