dcorsus, I want to thank for your efforts with this PI. I setup a 2018 LG TV Model OLED55C8PUA yesterday. The PI is able to control the WebOS based TV without issue. Toast messaging has been implemented with the help of the examples in this thread & the help file. Like @kideon said it would be great to be able to send Image to display.
Announcement
Collapse
No announcement yet.
LG WebOS Smart TV Remotes?
Collapse
X
-
Originally posted by lpcalcaterra View Postdcorsus, I want to thank for your efforts with this PI. I setup a 2018 LG TV Model OLED55C8PUA yesterday. The PI is able to control the WebOS based TV without issue. Toast messaging has been implemented with the help of the examples in this thread & the help file. Like @kideon said it would be great to be able to send Image to display.
So the trick would be something like this:
- say someone rings the front door bell and you have a camera that takes a picture
- you kick off a script that copies the picture onto a folder that is "discovered" by your server
- if you always use the same name for the picture (and just overwrite it) you could have created an event that had that picture already pre-selected and not your script kicks off an event that plays that picture on your TV
- you start a time for how long you want the picture displayed
- when time runs our, you issue a stop command and your TV goes back to what it was doing
- you CANNOT overlay this picture on top of part of what you were watching
Read up on the help file how to use servers and players and how to set up events.
Dirk
ps there is a way to embed a picture (more like an icon) in the toast message but don't think that's what you are looking for. There is also a notification pop-up on LG TVs (big banner on bottom you sometimes see) but I haven't figured out how to use it , might not even be possible to tickle it from an external app
Comment
-
Originally posted by dcorsus View Post
Install any DLNA server SW on any PC on same network. The PI will discover the DMS (media server) and you can now select content (music, video, picture) from the server and send to your TV. You would have to add the DMR (media renderer) device part of your LG TV to the PI but now the PI acts as a controller and you can create events to select content from the DMS and play it on any DMR.
So the trick would be something like this:
- say someone rings the front door bell and you have a camera that takes a picture
- you kick off a script that copies the picture onto a folder that is "discovered" by your server
- if you always use the same name for the picture (and just overwrite it) you could have created an event that had that picture already pre-selected and not your script kicks off an event that plays that picture on your TV
- you start a time for how long you want the picture displayed
- when time runs our, you issue a stop command and your TV goes back to what it was doing
- you CANNOT overlay this picture on top of part of what you were watching
Read up on the help file how to use servers and players and how to set up events.
Dirk
ps there is a way to embed a picture (more like an icon) in the toast message but don't think that's what you are looking for. There is also a notification pop-up on LG TVs (big banner on bottom you sometimes see) but I haven't figured out how to use it , might not even be possible to tickle it from an external app
ThanksLarry
Comment
-
Originally posted by lpcalcaterra View Post
GOT IT! and Done. I added HS NetCam image directory to Windows Media Player Library. CurrentImage gets push to TV
Thanks
Anyone played with building an image? I'd love to create an updatable image that is compiled with all sorts of good stuff. Also maybe a daily digest. Not as good as a flashy video but it's a start.
Comment
-
Originally posted by kideon View PostAnyone played with building an image? I'd love to create an updatable image that is compiled with all sorts of good stuff. Also maybe a daily digest. Not as good as a flashy video but it's a start.
This package allows you to easily generate images on the fly by means of simple entries in an ini file. This can then be used in any application or hardware whereLarry
Comment
-
Originally posted by lpcalcaterra View Post
kideon..... not to highjack this thread, but Jon00 Image Builder should work for you. I have not used in a while.
Comment
-
Originally posted by CameronHilliard View Post
Hi. Thank you for all your work. I have a quick question. Would you happen to know why my lg web os tv only allows me options to control volume and WOL?
Comment
-
Originally posted by dcorsus View Post
A screenshot won’t do it unfortunately. I need the debug flag on and a full logFeb-15 9:38:55 AM MC GetIniSection called with section = UPnP Devices UDN to Info, FileName = MediaController.ini and # Result = 8 Feb-15 9:38:55 AM MC GetPagePlugin for PlugInConfig called with pageName = MediaControl and user = CameronHilliard and userRights = 6 and queryString = Feb-15 9:38:55 AM MC hspi.GetPagePlugin called for instance = and pageName = MediaControl and user = CameronHilliard and userRights = 6 and queryString = Feb-15 9:38:55 AM MC INIT: MaxNbrOfUPNPObjects set to 999 Feb-15 9:38:55 AM MC ReadIniFile called Feb-15 9:38:55 AM MC CreateUPnPControllers created an instance of UPnPDeviceController for UPnPDevice = NoMan LR TV Feb-15 9:38:55 AM MC SetHSMainState called for device - NoMan LR TV and Current HSRef = 2178 and AdminStateActive = True and DeviceStatus = Offline Feb-15 9:38:55 AM MC SetHSMainState called for device - NoMan LR TV and Current HSRef = 2178 and AdminStateActive = True and DeviceStatus = Offline Feb-15 9:38:55 AM MC SetAdministrativeState called for device - NoMan LR TV and Active = True Feb-15 9:38:55 AM MC DeviceIPPort called for UPnPDevice = NoMan LR TV with IPPort = 1293 Feb-15 9:38:55 AM MC DeviceIPAddress called for UPnPDevice = NoMan LR TV with IPAddress = 192.168.1.41 Feb-15 9:38:55 AM MC Warning Warning in CreateUPnPControllers. UPnpDevice = NoMan LR TV not on-line. Using last known IPAdress/Port Feb-15 9:38:55 AM MC CreateUPnPControllers has found UPnpDevice = NoMan LR TV with on-line status = False and Adminstate = True Feb-15 9:38:55 AM MC ReadDeviceIniSettings called for device - NoMan LR TV Feb-15 9:38:55 AM MC DeviceAPIIndex called for device = NoMan LR TV with API Index = 1 Feb-15 9:38:55 AM MC GetNextFreeDeviceIndex found Index = 1 Feb-15 9:38:55 AM MC GetIniSection called with section = UPnP Devices UDN to Info, FileName = MediaController.ini and # Result = 8 Feb-15 9:38:55 AM MC GetNextFreeDeviceIndex called Feb-15 9:38:55 AM MC PlayerIconURL called for device = NoMan LR TV and IConURL = Feb-15 9:38:55 AM MC DeviceIPPort called for UPnPDevice = NoMan LR TV with IPPort = 1293 Feb-15 9:38:55 AM MC DeviceIPAddress called for UPnPDevice = NoMan LR TV with IPAddress = 192.168.1.41 Feb-15 9:38:55 AM MC DeviceHSCode Set called for device - NoMan LR TV with DeviceRef = 2178 Feb-15 9:38:55 AM MC DeviceServiceType Set called for device - NoMan LR TV with ServiceType = RCR Feb-15 9:38:55 AM MC DeviceName called for device - with value = NoMan LR TV Feb-15 9:38:54 AM Starting Plug-In Plugin MediaController started successfully in 11 milliseconds Feb-15 9:38:54 AM MC InitMusicAPI called for device = Feb-15 9:38:54 AM MC InitIO Called for Instance = 3004471b-7754-d9bf-2934-5d72d7dabd5b Feb-15 9:38:54 AM MC InitIO for Instance = 3004471b-7754-d9bf-2934-5d72d7dabd5b found this plugin running on Linux = False Feb-15 9:38:54 AM MC InitIO Called for Instance = 3004471b-7754-d9bf-2934-5d72d7dabd5b and running on OS = Win32NT Feb-15 9:38:54 AM MC InitIO for Instance = 3004471b-7754-d9bf-2934-5d72d7dabd5b found HS running on Linux = False Feb-15 9:38:54 AM MC InitIO for Instance = 3004471b-7754-d9bf-2934-5d72d7dabd5b found CurrentAppPath = C:\Program Files (x86)\HomeSeer HS3 Feb-15 9:38:54 AM Starting Plug-In Initializing plugin MediaController ... Feb-15 9:38:54 AM Info Plugin MediaController with instance 3004471b-7754-d9bf-2934-5d72d7dabd5b has connected. IP:127.0.0.1:59031 Feb-15 9:38:54 AM MC AddInstance called with InstanceName = 3004471b-7754-d9bf-2934-5d72d7dabd5b Feb-15 9:38:54 AM MC CreateUPnPControllers found 1 devices and ActivateTheZone = True Feb-15 9:38:54 AM MC CreateHSRootDevice: Created device NoMan LR TV with reference 2178 Feb-15 9:38:54 AM MC CreateHSRootDevice called with DevType = RCR and DeviceName = NoMan LR TV and DeviceUDN = 3004471b-7754-d9bf-2934-5d72d7dabd5b Feb-15 9:38:54 AM MC AddDevicetoHS called with DeviceUDN = 3004471b-7754-d9bf-2934-5d72d7dabd5b Feb-15 9:38:54 AM MC GetIniSection called with section = UPnP Devices UDN to Info, FileName = MediaController.ini and # Result = 8 Feb-15 9:38:54 AM MC GetZoneUDNByIndex called with Index = 8 Feb-15 9:38:54 AM MC ItemChange called with DeviceTableItems = ptiAddBtn and Value = Submit and RowIndex = 8 Feb-15 9:38:54 AM MC postBackProc for PluginControl found Value = Submit Feb-15 9:38:54 AM MC postBackProc for PluginControl found Key = AddPlayerBtn Feb-15 9:38:54 AM MC postBackProc for PluginControl found Value = AddPlayerBtn_8 Feb-15 9:38:54 AM MC postBackProc for PluginControl found Key = id Feb-15 9:38:54 AM MC PostBackProc for PluginControl called with page = MediaControl and data = &id=AddPlayerBtn_8&AddPlayerBtn_8=Submit and user = CameronHilliard and userRights = 6 Feb-15 9:38:38 AM MC GetIniSection called with section = UPnP Devices UDN to Info, FileName = MediaController.ini and # Result = 8 Feb-15 9:38:38 AM MC GetPagePlugin for PlugInConfig called with pageName = MediaControl and user = CameronHilliard and userRights = 6 and queryString = Feb-15 9:38:38 AM MC hspi.GetPagePlugin called for instance = and pageName = MediaControl and user = CameronHilliard and userRights = 6 and queryString = Feb-15 9:38:27 AM MC GetIniSection called with section = UPnP Devices UDN to Info, FileName = MediaController.ini and # Result = 8 Feb-15 9:38:27 AM MC GetPagePlugin for PlugInConfig called with pageName = MediaControl and user = CameronHilliard and userRights = 6 and queryString = Feb-15 9:38:27 AM MC hspi.GetPagePlugin called for instance = and pageName = MediaControl and user = CameronHilliard and userRights = 6 and queryString = Feb-15 9:38:27 AM MC INIT: MaxNbrOfUPNPObjects set to 999 Feb-15 9:38:27 AM MC ReadIniFile called Feb-15 9:38:27 AM Info Plugin MediaController with instance: 3004471b-7754-d9bf-2934-5d72d7dabd5b has disconnected Feb-15 9:38:27 AM MC ClearQueue called for device = NoMan LR TV Feb-15 9:38:27 AM MC Disconnect: Disconnected from UPnPDevice - NoMan LR TV and CurrentState = Offline Full = True Feb-15 9:38:27 AM MC DestroyPlayer called for device = NoMan LR TV and Disposing = True Feb-15 9:38:27 AM MC DeleteWebLink called with DeviceUDN = 3004471b-7754-d9bf-2934-5d72d7dabd5b Feb-15 9:38:27 AM MC Disconnect: Disconnected from UPnPDevice - NoMan LR TV and CurrentState = Offline Full = True Feb-15 9:38:27 AM MC ShutdownIO called for Instance = 3004471b-7754-d9bf-2934-5d72d7dabd5b and isRoot = False Feb-15 9:38:27 AM MC RemoveInstance called with InstanceName = 3004471b-7754-d9bf-2934-5d72d7dabd5b Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = Remote Service by UDN and Key = 3004471b-7754-d9bf-2934-5d72d7dabd5b Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = Message Service by UDN and Key = 3004471b-7754-d9bf-2934-5d72d7dabd5b Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = Message Devices and Key = 3004471b-7754-d9bf-2934-5d72d7dabd5b Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = Speaker Devices and Key = 3004471b-7754-d9bf-2934-5d72d7dabd5b Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diPartyHSCode Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diServerHSCode Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diDeviceControlHSCode Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diRemoteHSCode Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diSamsungClientID Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diSamsungisSupportInfo Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diSamsungTokenAuthSupport Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diWifiMacAddress Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diSamsungToken Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diSecWebSocketKey Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diLGClientKey Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diPlayerHSRef Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diGenreHSRef Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diQueueShuffleHSRef Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diQueueRepeatHSRef Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diQueueShuffleHSRef Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diQueueRepeatHSRef Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diTrackDescrHSRef Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diTrackPosHSRef Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diTrackLengthHSRef Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diBalanceHSRef Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diMuteHSRef Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diVolumeHSRef Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diPlayStateHSRef Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diNextArtHSRef Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diArtHSRef Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diNextAlbumHSRef Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diAlbumHSRef Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diNextArtistHSRef Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diArtistHSRef Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diNextTrackHSRef Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diSpeedHSRef Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diTrackHSRef Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diNextAV Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diRemoteType Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diUseNextAV Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diAdminStateMessageService Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diAdminStateRemote Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diRegistered Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = 3004471b-7754-d9bf-2934-5d72d7dabd5b and Key = diHSDeviceRef Feb-15 9:38:27 AM MC DeleteEntryIniFile called with section = UPnP HSRef to UDN and Key = 2177 Feb-15 9:38:27 AM MC RemoveDevicefromHS deleted HSRef = 2177 Feb-15 9:38:27 AM MC RemoveDevicefromHS found HSRef = 2177 Feb-15 9:38:27 AM MC GetIniSection called with section = UPnP HSRef to UDN, FileName = MediaController.ini and # Result = 0 Feb-15 9:38:27 AM MC DMRemove called with UDN = 3004471b-7754-d9bf-2934-5d72d7dabd5b Feb-15 9:38:27 AM MC RemoveDevicefromHS called with DeviceUDN = 3004471b-7754-d9bf-2934-5d72d7dabd5b Feb-15 9:38:27 AM MC GetIniSection called with section = UPnP Devices UDN to Info, FileName = MediaController.ini and # Result = 8 Feb-15 9:38:27 AM MC GetZoneUDNByIndex called with Index = 8 Feb-15 9:38:27 AM MC ItemChange called with DeviceTableItems = ptiRemoveBtn and Value = Submit and RowIndex = 8 Feb-15 9:38:27 AM MC postBackProc for PluginControl found Value = Submit Feb-15 9:38:27 AM MC postBackProc for PluginControl found Key = ovPlayerRemSubmit Feb-15 9:38:27 AM MC postBackProc for PluginControl found Value = ovPlayerRemSubmit_8 Feb-15 9:38:27 AM MC postBackProc for PluginControl found Key = id Feb-15 9:38:27 AM MC PostBackProc for PluginControl called with page = MediaControl and data = &id=ovPlayerRemSubmit_8&ovPlayerRemSubmit_8=Submit and user = CameronHilliard and userRights = 6 Feb-15 9:38:10 AM MC INIT: MaxNbrOfUPNPObjects set to 999 Feb-15 9:38:10 AM MC ReadIniFile called Feb-15 9:38:10 AM MC postBackProc for PluginControl found Value = SuperDebugChkBox Feb-15 9:38:10 AM MC postBackProc for PluginControl found Key = id Feb-15 9:38:10 AM MC postBackProc for PluginControl found Value = checked Feb-15 9:38:10 AM MC postBackProc for PluginControl found Key = SuperDebugChkBox Feb-15 9:38:10 AM MC PostBackProc for PluginControl called with page = MediaControl and data = SuperDebugChkBox=checked&id=SuperDebugChkBox and user = CameronHilliard and userRights = 6 Feb-15 9:38:08 AM MC ReadIniFile called
Comment
-
Originally posted by dcorsus View PostCan you describe what you did? Don’t think it was a restart and don’t think the Tv was powered up.
Did you delete the device?
Turn tv on, make sure PI debug flag is on, restart HS, if you deleted the remote device, add again,
click on create remote buttons , post log
Comment
-
Originally posted by CameronHilliard View Post
ok, something I did made this work. I created remote buttons and everything works except the WOL. I remember reading something about the ping timing but I can go back and read and see if there was anything I missed. If there is anything you know as to why this isn't working?
Comment
-
dcorsus
Hi Dirk, I replaced one of our older LG TVs with a new one (49UM7300AUE). The plugin detects it and the appropriate devices are created, and the remote buttons are created after I clicked the "Create Remote Buttons" button. However, the Status device does not get updated after clicking the "Retrieve App, Channel & Input Info" button. No error appears in the log after clicking it. Let me know what level of debugging I should capture to help troubleshoot the issue. I'm running version 3.0.0.52 of the plugin.
Thanks
AlHS 4.2.8.0: 2134 Devices 1252 Events
Z-Wave 3.0.10.0: 133 Nodes on one Z-Net
Comment
Comment