mirror of
https://github.com/fhem/fhem-mirror.git
synced 2024-11-22 02:59:49 +00:00
contrib/75_LGTV_RS232: add "use DevIo", add power set command (Forum: #23712)
git-svn-id: https://svn.fhem.de/fhem/trunk@9954 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c7f6391a4c
commit
4bea9b6889
@ -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($)
|
||||
|
Loading…
Reference in New Issue
Block a user