Strange question , can i control one switch to an other ?

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.
Post Reply
thehay95
Posts: 1
Joined: Saturday 06 October 2018 7:41
Target OS: Windows
Domoticz version:
Contact:

Strange question , can i control one switch to an other ?

Post by thehay95 » Saturday 06 October 2018 7:42

Hi, i've searched but not found it , so here's the (strange) question
Can i control one switch to activate another, for example.
I've got an automated sunscreen witch i close with an push button on my domoticz system.
I would like when this happens , this push of a button activate another (virtual) button that gives me the state of my sunscreen when i'm away.
Later i'm thinking of using this state for a script wich would say if the rain is > then 1mm and the state of my suncreen is closed , then reopen my suncreen.
Seems simple but it isn't .... ;)

User avatar
waaren
Posts: 1071
Joined: Tuesday 03 January 2017 15:18
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Strange question , can i control one switch to an other ?

Post by waaren » Saturday 06 October 2018 9:13

thehay95 wrote:
Saturday 06 October 2018 7:42
..Can i control one switch to activate another, for example.
I've got an automated sunscreen witch i close with an push button on my domoticz system.
I would like when this happens , this push of a button activate another (virtual) button that gives me the state of my sunscreen when i'm away.
Later i'm thinking of using this state for a script which would say if the rain is > then 1mm and the state of my sunscreen is closed , then reopen my sunscreen.
Seems simple but it isn't .... ;)
Short answer: You can control virtual switches by pushing the button (and by various other events).

To be able to give an idea on how to approach this, I have some more questions.
- is the sunscreen itself also defined in domoticz ? If so you could just read the state of the sunscreen.
- do you use the pushbutton also to open the sunscreen ?
- can the sunscreen also controlled from outside domoticz ?
- try to describe the situation and what you intend as complete as possible.
Raspberry (debian stretch via berryboot on Synology DS916+) , Domoticz (almost) latest Beta, , dzVents 2.6, RFLink, RFXtrx433e, P1, Youless, Harmony, Hue, Yeelight, Xiaomi, HomeWizard, Zwave, Amazon echo

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests