Setting virtual buttons - possible or not ?
Verfasst: 18.02.2018, 20:56
Greetings all ,
after some time I come to you again seeking some advice
I bought couple of the following actuators:
https://www.elv.at/elv-homematic-schalt ... LiEALw_wcB
And connected them to control switching on/off couple of my computers at home.
The thing is, as the actuators after switching on , stay in the ON state until switched off manually again, I setup a short program that switches off the selected actuator 2 second after it state has been detected to ON (otherwise the computer would start and switch off again - like pressing its power button and keeping it pressed permanently).
So the thing is, I would like to control the computer in two ways.
1) Simple switching on / off - for this operation the actuator needs to be switched on and then off after 2 seconds
2) Force shut down - in case the computer is not responding, force shut down can be initiated by holding it's power button for longer than 5 seconds - meaning selected actuator needs to be switched on and then off after cca 5 seconds.
Since by controlling the actuator via program , I can only set it up either on 1) or 2).
Therefore I was thinking if there was a way to setup 2 virtual buttons for each operation and then by program set one to execute off state after 2 seconds and 5 seconds for the other button.
Am I looking at this correctly or is there another way ?
Ideally those buttons would appear in devices or rooms list that I could control also via TinyDroid (ex HomeDroid) app for android.
I saw some similar questions in german while googling the answer but as far as I understood it, people didn't find a solution. What I do know is that they were mentioning an approach via System Variables , but thats out of my knowledge about how to use that.
Any help is appreciated , also feel free to respond in german, as I only have problems in writting german , reading is ok
Best Regards !
Neven
after some time I come to you again seeking some advice
I bought couple of the following actuators:
https://www.elv.at/elv-homematic-schalt ... LiEALw_wcB
And connected them to control switching on/off couple of my computers at home.
The thing is, as the actuators after switching on , stay in the ON state until switched off manually again, I setup a short program that switches off the selected actuator 2 second after it state has been detected to ON (otherwise the computer would start and switch off again - like pressing its power button and keeping it pressed permanently).
So the thing is, I would like to control the computer in two ways.
1) Simple switching on / off - for this operation the actuator needs to be switched on and then off after 2 seconds
2) Force shut down - in case the computer is not responding, force shut down can be initiated by holding it's power button for longer than 5 seconds - meaning selected actuator needs to be switched on and then off after cca 5 seconds.
Since by controlling the actuator via program , I can only set it up either on 1) or 2).
Therefore I was thinking if there was a way to setup 2 virtual buttons for each operation and then by program set one to execute off state after 2 seconds and 5 seconds for the other button.
Am I looking at this correctly or is there another way ?
Ideally those buttons would appear in devices or rooms list that I could control also via TinyDroid (ex HomeDroid) app for android.
I saw some similar questions in german while googling the answer but as far as I understood it, people didn't find a solution. What I do know is that they were mentioning an approach via System Variables , but thats out of my knowledge about how to use that.
Any help is appreciated , also feel free to respond in german, as I only have problems in writting german , reading is ok
Best Regards !
Neven