############################################################################### # # Developed with VSCodium and richterger perl plugin. # # (c) 2017-2022 Copyright: Marko Oldenburg (fhemdevelopment at cooltux dot net) # All rights reserved # # Special thanks goes to comitters: # - Vitolinker / Commandref # # # This script is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # any later version. # # The GNU General Public License can be found at # http://www.gnu.org/copyleft/gpl.html. # A copy is found in the textfile GPL.txt and important notices to the license # from the author is found in LICENSE.txt distributed with these scripts. # # This script is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # # $Id$ # ############################################################################### package FHEM::LGTV_WebOS; use strict; use warnings; require FHEM::Devices::LGTV::LGTVWebOS; use FHEM::Meta; use GPUtils qw(GP_Import); #-- Run before package compilation BEGIN { #-- Export to main context with different name GP_Import(qw( readingFnAttributes)); } sub ::LGTV_WebOS_Initialize { goto &Initialize } sub Initialize { my $hash = shift; # Provider $hash->{ReadFn} = \&FHEM::Devices::LGTV::LGTVWebOS::Read; $hash->{WriteFn} = \&FHEM::Devices::LGTV::LGTVWebOS::Write; # Consumer $hash->{SetFn} = \&FHEM::Devices::LGTV::LGTVWebOS::Set; $hash->{DefFn} = \&FHEM::Devices::LGTV::LGTVWebOS::Define; $hash->{UndefFn} = \&FHEM::Devices::LGTV::LGTVWebOS::Undef; $hash->{AttrFn} = \&FHEM::Devices::LGTV::LGTVWebOS::Attr; $hash->{AttrList} = "disable:1 " . "channelGuide:1 " . "pingPresence:1 " . "wakeOnLanMAC " . "wakeOnLanBroadcast " . "wakeupCmd " . "keepAliveCheckTime " . $readingFnAttributes; return FHEM::Meta::InitMod( __FILE__, $hash ); } 1; __END__ =pod =item device =item summary Controls LG SmartTVs run with WebOS Operating System =item summary_DE Steuert LG SmartTVs mit WebOS Betriebssystem =begin html

LGTV_WebOS

=end html =begin html_DE

LGTV_WebOS

=end html_DE =for :application/json;q=META.json 82_LGTV_WebOS.pm { "abstract": "Module for Controls LG SmartTVs run with WebOS Operating System", "x_lang": { "de": { "abstract": "Modul zur Steuerung von LG SmartTVs mit WebOS Betriebssystem" } }, "keywords": [ "fhem-mod-device", "fhem-core", "Multimedia", "TV", "LG" ], "release_status": "stable", "license": "GPL_2", "version": "v3.6.5", "author": [ "Marko Oldenburg " ], "x_fhem_maintainer": [ "CoolTux" ], "x_fhem_maintainer_github": [ "LeonGaultier" ], "prereqs": { "runtime": { "requires": { "FHEM": 5.00918799, "perl": 5.016, "Meta": 1, "JSON": 1, "Date::Parse": 0 }, "recommends": { "JSON": 0 }, "suggests": { "Cpanel::JSON::XS": 0, "JSON::XS": 0 } } } } =end :application/json;q=META.json =cut