Ranjib I have a couple of questions, I know you get asked a bunch but I am scratching my head still trying to understand fets and I think I have a basic understanding confused concerning the frits diagram you had for the actinic https://learn.adafruit.com/assets/63978 the one on ada fruit had the in front of the gate and appears to be tied to ground. The pwm circuit connected to the resistor and then flowed to the gate pin (actually they showed two ways, one was a NPN transistor and the other was the fet and it did not have a resistor in the circuit). Here is the one that I am referring too - https://learn.adafruit.com/rgb-led-strips?view=all
Just trying to understand the actinic fritz diagram that is in that guide, thanks. Couple more questions, you talked about having a power switch earlier in thread and it's mentioned in the lighting guide, but wanting to know does it just kill power or does it activate a script which then shuts down reef-pi. I have been looking at some scripts to do a graceful shutdown but haven't played with it yet.
Other question is regarding event based controls, I would like to be able to turn off equipment based on something that happens to the system, here is an example: I have a hob filter that the motor is located in the HOB filter and not located in the tank, you fill the hob up to prime it so it can pull water into the filter. If/when you have a power outage, the water from the hob filter siphons back into the tank. Power is restored at some point and since there is no water in the HOB filter depending on how long it runs can burn the motor up. What I would like to be able to do is based on linux event logging etc I would like to create a routine (cron job) that looks for the event, e.g. uptime and based on those conditions take action, in this case I would want the outlet turn off to not burn up the motor. I haven't fully dived into the macro's so I apologize if this is already possible but thought I would ask, I can think of other event based things like leaking water etc that I might want to trigger and outlet. It may be possible to do it outside of reef-pi via api and a cron script just wanting to know what options are available.
Thanks :)
Just trying to understand the actinic fritz diagram that is in that guide, thanks. Couple more questions, you talked about having a power switch earlier in thread and it's mentioned in the lighting guide, but wanting to know does it just kill power or does it activate a script which then shuts down reef-pi. I have been looking at some scripts to do a graceful shutdown but haven't played with it yet.
Other question is regarding event based controls, I would like to be able to turn off equipment based on something that happens to the system, here is an example: I have a hob filter that the motor is located in the HOB filter and not located in the tank, you fill the hob up to prime it so it can pull water into the filter. If/when you have a power outage, the water from the hob filter siphons back into the tank. Power is restored at some point and since there is no water in the HOB filter depending on how long it runs can burn the motor up. What I would like to be able to do is based on linux event logging etc I would like to create a routine (cron job) that looks for the event, e.g. uptime and based on those conditions take action, in this case I would want the outlet turn off to not burn up the motor. I haven't fully dived into the macro's so I apologize if this is already possible but thought I would ask, I can think of other event based things like leaking water etc that I might want to trigger and outlet. It may be possible to do it outside of reef-pi via api and a cron script just wanting to know what options are available.
Thanks :)
