LG TV WebOs 3.0
Moderator: leecollings
-
- Posts: 39
- Joined: Monday 05 November 2018 16:17
- Target OS: Linux
- Domoticz version: 2022.2
- Location: @home
- Contact:
Re: LG TV WebOs 3.0
I'm willing to test it Bram.
-
- Posts: 6
- Joined: Thursday 20 July 2017 11:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: LG TV WebOs 3.0
Can you send a picture via this notification method for lg webos?
I want to send my door ipcam picture by first pausing content and showing a static jpeg picture from a url.
Greetz.
I want to send my door ipcam picture by first pausing content and showing a static jpeg picture from a url.
Greetz.
-
- Posts: 1
- Joined: Thursday 24 December 2020 10:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: LG TV WebOs 3.0
I'd be happy to test
-
- Posts: 39
- Joined: Monday 05 November 2018 16:17
- Target OS: Linux
- Domoticz version: 2022.2
- Location: @home
- Contact:
Re: LG TV WebOs 3.0
Am I the only one to which this happens: I can turn off the tv through the network, but when it is off, it won't turn on. This happens with the LG app, but also in Domoticz.
-
- Posts: 5
- Joined: Sunday 06 November 2016 17:53
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: LG TV WebOs 3.0
I would like to join to the test team also!
- Egregius
- Posts: 2582
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: LG TV WebOs 3.0
Think you need to allow that in the settings of the tv.
-
- Posts: 39
- Joined: Monday 05 November 2018 16:17
- Target OS: Linux
- Domoticz version: 2022.2
- Location: @home
- Contact:
Re: LG TV WebOs 3.0
I though I already configured that. I'll double check.
Re: LG TV WebOs 3.0
Interested to test as well.
The feature to send notification with a picture would be excellent if feasible.
The feature to send notification with a picture would be excellent if feasible.
-
- Posts: 39
- Joined: Monday 05 November 2018 16:17
- Target OS: Linux
- Domoticz version: 2022.2
- Location: @home
- Contact:
Re: LG TV WebOs 3.0
- Egregius
- Posts: 2582
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: LG TV WebOs 3.0
I believe it should work over ethernet also. Don't use it anymore because my Nvidia Shield starts the TV with HDMI HEC.
-
- Posts: 86
- Joined: Wednesday 11 October 2017 8:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1ß
- Location: Friesland
- Contact:
Re: LG TV WebOs 3.0
I have the same error. Found a solution yet?DarkG wrote: ↑Thursday 12 November 2020 1:01 I habe this error in log
2020-11-12 00:59:49.946 Error: (tv) 'onHeartbeat' failed 'NameError':'name 'out' is not defined'.
2020-11-12 00:59:49.946 Error: (tv) ----> Line 466 in '/home/pi/domoticz/plugins/Domoticz-LGTV-WebOS-Plugin-master/plugin.py', function onHeartbeat
2020-11-12 00:59:49.946 Error: (tv) ----> Line 298 in '/home/pi/domoticz/plugins/Domoticz-LGTV-WebOS-Plugin-master/plugin.py', function onHeartbeat
2020-11-12 00:59:49.946 Error: (tv) ----> Line 351 in '/home/pi/domoticz/plugins/Domoticz-LGTV-WebOS-Plugin-master/plugin.py', function GetTVInfo
--
Domoticz on rPi4 - RFXCOM RFXtrx433 USB - ZW090 Z-Stick Gen5 EU - IKEA Tradfri - Philips HUE - YouLess meter - SolarEdge
Domoticz on rPi4 - RFXCOM RFXtrx433 USB - ZW090 Z-Stick Gen5 EU - IKEA Tradfri - Philips HUE - YouLess meter - SolarEdge
-
- Posts: 5
- Joined: Tuesday 10 November 2020 20:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: LG TV WebOs 3.0
The problem is in plugin.py that 'out' is not defined in 'def GetTVInfo(self):' starting at line 340. Variable out is called at line 351. Following is working for me, insert a line at 341 to define out:Sarcas wrote: ↑Sunday 24 January 2021 15:09I have the same error. Found a solution yet?DarkG wrote: ↑Thursday 12 November 2020 1:01 I habe this error in log
2020-11-12 00:59:49.946 Error: (tv) 'onHeartbeat' failed 'NameError':'name 'out' is not defined'.
2020-11-12 00:59:49.946 Error: (tv) ----> Line 466 in '/home/pi/domoticz/plugins/Domoticz-LGTV-WebOS-Plugin-master/plugin.py', function onHeartbeat
2020-11-12 00:59:49.946 Error: (tv) ----> Line 298 in '/home/pi/domoticz/plugins/Domoticz-LGTV-WebOS-Plugin-master/plugin.py', function onHeartbeat
2020-11-12 00:59:49.946 Error: (tv) ----> Line 351 in '/home/pi/domoticz/plugins/Domoticz-LGTV-WebOS-Plugin-master/plugin.py', function GetTVInfo
Code: Select all
out = self.run("software-info")
Code: Select all
def GetTVInfo(self):
out = self.run("software-info")
currentApp = str(self.run("current-app")).rstrip()
currentInput = str(self.run("get-input")).rstrip()
currentChannel = self.run("get-channel")
currentInfo = self.run("info")
self.tvPlaying = {'title': 'test', 'programTitle': None}#_tv.get_playing_info()
Domoticz.Debug("App: " + currentApp)
Domoticz.Debug("Input: " + currentInput)
Domoticz.Debug("Channel: " + currentChannel)
Domoticz.Debug("Info: " + currentInfo)
if 'TimeoutError()' in out:
currentChannel = "Off"
-
- Posts: 86
- Joined: Wednesday 11 October 2017 8:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1ß
- Location: Friesland
- Contact:
Re: LG TV WebOs 3.0
At least I have a different error now
Code: Select all
2021-01-30 14:30:16.965 Error: Python Plugin System: (lgtv) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/LGTV/:/usr/lib/python37.zip:/usr/lib/python3.7:/usr/lib/python3.7/lib-dynload:/usr/local/lib/python3.7/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.7/dist-packages'.
2021-01-30 14:30:16.965 Error: Python Plugin System: (LGTV) Module Import failed, exception: 'TabError'
2021-01-30 14:30:16.966 Error: Python Plugin System: (LGTV) Import detail: File: /home/pi/domoticz/plugins/LGTV/plugin.py, Line: 342, offset: 59
2021-01-30 14:30:16.966 Error: Python Plugin System: (LGTV) Error Line ' currentApp = str(self.run("current-app")).rstrip()
2021-01-30 14:30:16.966 '
2021-01-30 14:31:25.850 Error: LGTV hardware (23) thread seems to have ended unexpectedly
2021-01-30 14:31:39.855 Error: LGTV hardware (23) thread seems to have ended unexpectedly
2021-01-30 14:31:53.858 Error: LGTV hardware (23) thread seems to have ended unexpectedly
2021-01-30 14:32:07.862 Error: LGTV hardware (23) thread seems to have ended unexpectedly
2021-01-30 14:32:21.865 Error: LGTV hardware (23) thread seems to have ended unexpectedly
2021-01-30 14:32:35.868 Error: LGTV hardware (23) thread seems to have ended unexpectedly
--
Domoticz on rPi4 - RFXCOM RFXtrx433 USB - ZW090 Z-Stick Gen5 EU - IKEA Tradfri - Philips HUE - YouLess meter - SolarEdge
Domoticz on rPi4 - RFXCOM RFXtrx433 USB - ZW090 Z-Stick Gen5 EU - IKEA Tradfri - Philips HUE - YouLess meter - SolarEdge
-
- Posts: 5
- Joined: Tuesday 10 November 2020 20:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: LG TV WebOs 3.0
Looks like a python error in your code at line 341 or 342, the TabError. Python uses indentation which can be tabs or spaces and should be the same in the lines of the code. What did you use to get the indentation?
In plugin.py each indent is 4 spaces, so for this new line it should be 8 spaces. Can you post a piece of your code?
In plugin.py each indent is 4 spaces, so for this new line it should be 8 spaces. Can you post a piece of your code?
-
- Posts: 69
- Joined: Monday 04 September 2017 17:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: LG TV WebOs 3.0
For me works great too! Thanks.marcovz wrote: ↑Friday 29 January 2021 20:45The problem is in plugin.py that 'out' is not defined in 'def GetTVInfo(self):' starting at line 340. Variable out is called at line 351. Following is working for me, insert a line at 341 to define out:Sarcas wrote: ↑Sunday 24 January 2021 15:09I have the same error. Found a solution yet?DarkG wrote: ↑Thursday 12 November 2020 1:01 I habe this error in log
2020-11-12 00:59:49.946 Error: (tv) 'onHeartbeat' failed 'NameError':'name 'out' is not defined'.
2020-11-12 00:59:49.946 Error: (tv) ----> Line 466 in '/home/pi/domoticz/plugins/Domoticz-LGTV-WebOS-Plugin-master/plugin.py', function onHeartbeat
2020-11-12 00:59:49.946 Error: (tv) ----> Line 298 in '/home/pi/domoticz/plugins/Domoticz-LGTV-WebOS-Plugin-master/plugin.py', function onHeartbeat
2020-11-12 00:59:49.946 Error: (tv) ----> Line 351 in '/home/pi/domoticz/plugins/Domoticz-LGTV-WebOS-Plugin-master/plugin.py', function GetTVInfothe beginning of 'Def GetTVInfo(self):'will look likeCode: Select all
out = self.run("software-info")
restart Domoticz service. Maybe this is not the best solution, but for me it works.Code: Select all
def GetTVInfo(self): out = self.run("software-info") currentApp = str(self.run("current-app")).rstrip() currentInput = str(self.run("get-input")).rstrip() currentChannel = self.run("get-channel") currentInfo = self.run("info") self.tvPlaying = {'title': 'test', 'programTitle': None}#_tv.get_playing_info() Domoticz.Debug("App: " + currentApp) Domoticz.Debug("Input: " + currentInput) Domoticz.Debug("Channel: " + currentChannel) Domoticz.Debug("Info: " + currentInfo) if 'TimeoutError()' in out: currentChannel = "Off"
-
- Posts: 86
- Joined: Wednesday 11 October 2017 8:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1ß
- Location: Friesland
- Contact:
Re: LG TV WebOs 3.0
My editor (BBEdit) put in a tab instead of 4 spaces. I fixed it, thanksmarcovz wrote: ↑Saturday 30 January 2021 15:56 Looks like a python error in your code at line 341 or 342, the TabError. Python uses indentation which can be tabs or spaces and should be the same in the lines of the code. What did you use to get the indentation?
In plugin.py each indent is 4 spaces, so for this new line it should be 8 spaces. Can you post a piece of your code?
--
Domoticz on rPi4 - RFXCOM RFXtrx433 USB - ZW090 Z-Stick Gen5 EU - IKEA Tradfri - Philips HUE - YouLess meter - SolarEdge
Domoticz on rPi4 - RFXCOM RFXtrx433 USB - ZW090 Z-Stick Gen5 EU - IKEA Tradfri - Philips HUE - YouLess meter - SolarEdge
-
- Posts: 6
- Joined: Tuesday 23 February 2021 23:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: LG TV WebOs 3.0
I have installed this amazing plugin on a Raspberry pi3 + together with domoticz and nothing else, after a day or two of correct operation my domoticz system falls and stops working, allí domoticz stop and and it is impossible to recover it.
Help ! Any solution?
Help ! Any solution?
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: LG TV WebOs 3.0
See https://www.domoticz.com/wiki/Troubleshooting section Hardware to disable the plugin through Setup-Hardware or directly in the SQL database.mapsindustrial wrote: ↑Tuesday 23 February 2021 23:08 I have installed this amazing plugin on a Raspberry pi3 + together with domoticz and nothing else, after a day or two of correct operation my domoticz system falls and stops working, allí domoticz stop and and it is impossible to recover it.
Help ! Any solution?
If Domoticz still fails to start something else is wrong..... Perhaps better to do a new install if you have no other devices in your implementation.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 6
- Joined: Tuesday 23 February 2021 23:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: LG TV WebOs 3.0
I want solve the ploblem with the plugin and use it. Domoticz isn't a problem because i can reinstall and work fine.
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: LG TV WebOs 3.0
Could be many things beside the plugin. If nobody else complains about crashes it could be your Domoticz install.mapsindustrial wrote: ↑Wednesday 24 February 2021 16:32 I want solve the ploblem with the plugin and use it. Domoticz isn't a problem because i can reinstall and work fine.
Do you run Stable or Beta?
What does the log file say?
What does the crash log say?
Is your SD card functioning right?
Is your power adapter functioning correctly?
Will Stable domoticz 2020.2 run on your system for 2 days without this plugin?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Who is online
Users browsing this forum: No registered users and 1 guest