Combine Selector Switch and physical switch on Fibaro Relay Switch
Posted: Sunday 05 August 2018 15:38
Hello,
I am a newby in DzVents, and hope to get some help with my issue below. I searched the forum, but couldn't find the solution.
My situation:
* I put some black tubes on my roof to heat my children's swimming pool.
* A pump pumps the swimming pool water through these tubes.
* The pump is connected to 1 output of a Fibaro FGS-223 double switch 2.
I created a DzVents script based on these 2 inputs:
- The actual Solar Power
- A 3-way selector switch Off / Auto / On
The script tuns fine.
> Selector Off : Pump Off
> Selector Auto : Pump switched On/Off based on solar power.
> Selector On : Pump On
What I would like to change:
A manual input pulse switch is connected to the input of the Fibaro switch.
With the script turned of, this input changes the state of the pump from On to Off and back.
With the script turned on every time the Solar Power state is updated (every 5 minutes), it reads the status of the Selector switch, and changes back the status of the pump to the original value.
So I am searching for a script to change the state of the 3-way Selector Switch when the button of the input is operated.
So:
-> Selector Off (& Pump Off) & input operated: Selector changed into "On" (pump will change from Off to On)
-> Selector Auto & Pump Off & input operated: Selector changed into "On" (pump will change from Off to On)
-> Selector Auto & Pump On & input operated: Selector changed into "On" (pump will change from On to Off)
-> Selector On (& Pump On) & input operated: Selector changed into "On" (pump will change from On to Off)
Probably, when I am able to read the actual operation of the Fibaro input, I am able to create the rest of the script.
Thanks in advance!
I am a newby in DzVents, and hope to get some help with my issue below. I searched the forum, but couldn't find the solution.
My situation:
* I put some black tubes on my roof to heat my children's swimming pool.
* A pump pumps the swimming pool water through these tubes.
* The pump is connected to 1 output of a Fibaro FGS-223 double switch 2.
I created a DzVents script based on these 2 inputs:
- The actual Solar Power
- A 3-way selector switch Off / Auto / On
The script tuns fine.
> Selector Off : Pump Off
> Selector Auto : Pump switched On/Off based on solar power.
> Selector On : Pump On
What I would like to change:
A manual input pulse switch is connected to the input of the Fibaro switch.
With the script turned of, this input changes the state of the pump from On to Off and back.
With the script turned on every time the Solar Power state is updated (every 5 minutes), it reads the status of the Selector switch, and changes back the status of the pump to the original value.
So I am searching for a script to change the state of the 3-way Selector Switch when the button of the input is operated.
So:
-> Selector Off (& Pump Off) & input operated: Selector changed into "On" (pump will change from Off to On)
-> Selector Auto & Pump Off & input operated: Selector changed into "On" (pump will change from Off to On)
-> Selector Auto & Pump On & input operated: Selector changed into "On" (pump will change from On to Off)
-> Selector On (& Pump On) & input operated: Selector changed into "On" (pump will change from On to Off)
Probably, when I am able to read the actual operation of the Fibaro input, I am able to create the rest of the script.
Thanks in advance!