From 4fbba5f3191b7cccb624ec162b7dcbd91997f39f Mon Sep 17 00:00:00 2001 From: markusbloch <> Date: Sat, 21 Nov 2015 13:58:15 +0000 Subject: [PATCH] contrib/75_LGTV_RS232: add "use DevIo", add power set command (Forum: #23712) git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9954 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- contrib/75_LGTV_RS232.pm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/contrib/75_LGTV_RS232.pm b/contrib/75_LGTV_RS232.pm index 80022eb39..31f459816 100755 --- a/contrib/75_LGTV_RS232.pm +++ b/contrib/75_LGTV_RS232.pm @@ -23,6 +23,7 @@ package main; use strict; use warnings; use Time::HiRes qw(gettimeofday); +use DevIo; my %LGTV_RS232_response = ( @@ -87,8 +88,15 @@ my %LGTV_RS232_set = ( "component" => "kb 01 04", "hdmi1" => "kb 01 08", "hdmi2" => "kb 01 09", + }, +"power" => { + "on" => "ka 01 01", + "off" => "ka 01 00", } ); + + + ##################################### sub LGTV_RS232_Initialize($)