Guten Abend
Da es Probleme mit dem FHEM Modul für LG webOS TV (82_LGTV_WebOS.pm) mit neuer Firmware gibt. Habe ich ein rudimentäres Modul ,,70_LGWebosPY.pm" auf Basis der Python Implementierung geschrieben. Mit dem Status update muss man spielen. Wird der TV zu oft abgefragt um auch die Fernbedienung abzufangen, blockt der TV. Ist halt KI.
Warnung!!! Nur für ,,Käpsele". Implementierung nicht einfach.
How to proceed:
# first enter the directory of fhem
# cd /opt/fhem/
# then open a terminal in this directory and create a new directory
# mkdir VPyFHEM
# then create a virtual python instance
# python3 -m venv VPyFHEM
# open the virtual python environment
# source VPyFHEM/bin/activate
# then install LG Webos TV module
# pip install lgtv-cli
# copy 70_LGWEBOSpy.pm to fhem/FHEM
#
# change the rights for the directory VPyFHEM and file accordingly
#
# define the TV with a long interval for update status, because it takes a long time
# and to read the status to often, will block the TV
# define name LGWEBOSpy IP 60 5
#
# confirm with your remote control on TV
Gruß
Hans-Jörg
Anbei das Modul:
70_LGWebosPY.pm