2019-04-10, 09:42 AM
Hello, everyone,
I am currently trying to turn my HDMI screen off and on again with actions.
Now to my procedure.
I installed cec-utils first.
This allows me to put the monitor into standby mode and back into on mode.
This procedure also works wonderfully in the command line.
Now I wanted to go one step further and automate it. I connected a motion detector to GPIO 05 which acts as a trigger.
In SK Diagnose, the motion detector runs up, which means it does what it should.
Now to my problems:
I wanted to display a message (for testing) as an action. That doesn't work. But I think the problem has been known for some time because I read it in the search of this problem.
Additionally I wanted to execute a command.
echo "on 0" | cec-client RPI -s -d 1
respectively
echo "standby 0" | cec-client RPI -s -d 1
But I get the following error when I start OP in debug mode..:
MySK_to_Action_Calc instance has no attribute 'currentpath'
"standby 0" | cec-client RPI -s -d 1
Hangs the problem of looking here see Threat?
Are there ways to solve this?
@jim321 I know that you like to work with node red. I tried it. But I am too stupid. It may be quite easy, but unfortunately not for me.
Jürgen
I am currently trying to turn my HDMI screen off and on again with actions.
Now to my procedure.
I installed cec-utils first.
This allows me to put the monitor into standby mode and back into on mode.
This procedure also works wonderfully in the command line.
Now I wanted to go one step further and automate it. I connected a motion detector to GPIO 05 which acts as a trigger.
In SK Diagnose, the motion detector runs up, which means it does what it should.
Now to my problems:
I wanted to display a message (for testing) as an action. That doesn't work. But I think the problem has been known for some time because I read it in the search of this problem.
Additionally I wanted to execute a command.
echo "on 0" | cec-client RPI -s -d 1
respectively
echo "standby 0" | cec-client RPI -s -d 1
But I get the following error when I start OP in debug mode..:
MySK_to_Action_Calc instance has no attribute 'currentpath'
"standby 0" | cec-client RPI -s -d 1
Hangs the problem of looking here see Threat?
Are there ways to solve this?
@jim321 I know that you like to work with node red. I tried it. But I am too stupid. It may be quite easy, but unfortunately not for me.
Jürgen