Hallo Freunde, ich hab soeben ein kleines Zwischenprojekt abgeschlossen.
Aufgabe: LG-TV in Fhem einbinden.
Status: Fast Perfekt.
Problem: Einschalten funktioniert nur über cec-Client in der Raspi-Console (wird auch nicht anders möglich sein).
echo 'on 0' | /usr/local/bin/cec-client -s -d 1
Aber beim Ausschalten und wieder Einschalten über cec-Client stürzt Fhem ab.
Was mache ich falsch und wie bekomme ich das in die RemoteControl eingebunden?
Wäre über brauchbare Vorschläge sehr dankbar.
So sieht das ganze aus:
define presenceLgTV PRESENCE lan-ping LgTV
attr presenceLgTV event-on-change-reading state
define LgTV LGTV2012 192.168.xx.xx
attr LgTV devStateIcon 1 .*:Shutdown
attr LgTV fp_Wohnung 670,830,1,
attr LgTV icon it_television
attr LgTV pairingcode xxxxxx
attr LgTV presencedevice presenceLgTV
attr LgTV room WZ
# attr LgTV group HIFI
attr LgTV verbose 5
attr LgTV webCmd power
define LgRemote remotecontrol
attr LgRemote rc_iconpath icons/remotecontrol
attr LgRemote rc_iconprefix black_btn_
attr LgRemote room WZ
# attr LgRemote group HIFI
attr LgRemote row00 power:POWEROFF2,aspectratio:PICTURE_SIZE,externalinput:SOURCE
attr LgRemote row01 :blank,:blank,:blank
attr LgRemote row02 number1:1,number2:2,number3:3
attr LgRemote row03 number4:4,number5:5,number6:6
attr LgRemote row04 number7:7,number8:8,number9:9
attr LgRemote row05 proglist:CH_LIST,number0:0,prevchannel:PRECH
attr LgRemote row06 :blank,:blank,:blank
attr LgRemote row07 volume_up:VOLUP2,favchanel:FAV,ch_up:CHUP2
attr LgRemote row08 volume_down:VOLDOWN2,mute:MUTE,ch_down:CHDOWN2
attr LgRemote row09 :blank,:blank,:blank
attr LgRemote row10 menu:MENU,home:HOMEsym,myapps:CONTENTS
attr LgRemote row11 red:RED,up:UP,green:GREEN
attr LgRemote row12 left:LEFT,ok:OK,right:RIGHT
attr LgRemote row13 yellow:YELLOW,down:DOWN,blue:BLUE
attr LgRemote row14 previous:RETURN,epg:GUIDE,exit:EXIT
attr LgRemote row15 :blank,:blank,:blank
attr LgRemote row16 teletext:TEXT,textoption:TOOLS,quickmenu:SUBMENU2
attr LgRemote row17 stop:STOP,play:PLAY,pause:PAUSE
attr LgRemote row18 rewind:REWIND,fastforward:FF,record:REC
attr LgRemote row19 currentproginfo:INFO2,audiodescription:AD,threedvideo:3
define notify_LgRemote notify LgRemote set LgTV $EVENT
Hallo
schau mal hier, ...
Haben heute nachmittag zumindest für einen LG2011 eine neue LG.pm die auch 2 stellige Programe per Fernsehprogramm schalten kann.
Schick mir mal deine richtige email dann sende ich dir die neueste pm
Hallo zusammen,
habe meinen LG TV ebenfalls in FHEM integriert (LGTV2012), soweit läuft alles, habe aber auch das Problem das mir FHEM abstürzt wenn ich den TV über FHEM ausschalte und wieder einschalte, muss dann den kompletten Raspi rebooten >:( Was läuft hier falsch?
Gruss
Martin
Fehler logs?