Hello,
first of all thanks for this module. Works fine so far. :)
I am searching for a solution to turn on my monitor on an incoming call. The monitors power is already switched on and off with an relay combined with an PIR sensor with these commands within an .py-script:
ON:
subprocess.call("gpio export 21 out", shell=True)
Hello, first of all thanks for this module. Works fine so far. :)
I am searching for a solution to turn on my monitor on an incoming call. The monitors power is already switched on and off with an relay combined with an PIR sensor with these commands within an .py-script:
ON: subprocess.call("gpio export 21 out", shell=True)
OFF: subprocess.call("gpio export 21 in", shell=True)
How can I use these commands to activate the monitor when a call comes in and deactivate it again when the call ends?
Thanks in advance.
Kind Regards :)