This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
actions, Execute Command, Displaying a message
#1
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.  Confused  

Jürgen
Angel  Entschuldigung für mein Englisch. Es ist "deepl.com english"
PN bitte auf german.  Big Grin
Reply


Messages In This Thread
actions, Execute Command, Displaying a message - by Luckbert - 2019-04-10, 09:42 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)