[PORT] LG Smart TV Discovery 2012+

Okay, figured out the issue in your code:

On line 498, you're scheduling a subscription and running that every 10 minutes. As such, you keep subscribing over and over to the same events and the longer the code runs, the more the subscriptions and the more the slowdowns in the hub. In mine, I created a poll function (similar to the original code) that requests vs subscribes and I'm running that every 10 minutes

@asj Also, just another heads up, your descriptive text logging is called "txtEnable" but in the code, you're using "txtEnabled" so it doesn't log them. Cheers

@yototogblo I was worried about the 10 minute timer on the subscriptions, it's copied from the older driver. Quick testing seemed to imply it wasn't resulting in multiple subscriptions, but that appears to be wrong, I'll fix it up.

And that's for the logging fix. I slammed that in there from other code/style and obviously ended up with a typo, doh!

The old code wasn't actually doing multiple subscriptions. It was calling a polling method that did requests. I believe you changed that to be recursive which caused the issue

I've cleaned up the LG WebOS driver with the most egregious erros you found @yototogblo

I also fixed up the input list handling @joetlawson . Turns out I had a bug in your version which didn't create a list with external inputs like HDMI, and merged this in. (it does if you click home() but that left over testing code, oops!)

Updated here:

Thanks for the update. I actually already made all the changes I need to mine but some things for you to consider:

  1. Power down is sending "" instead of off. The issue we had with blank is likely to reoccur where Hubitat gives it the old value on refresh. Probably need to change it back to "off".
  2. There's a race condition if power down occurs and then the TV turns on again before the websocket fails. This can also occur when updating apps on the TV because for some reason, for a split microsecond, the TV would send nulls in appID and processID and your handler would think it's off. Your device handler would leave the device as off even though the input would change.
    To fix, you need something that turns it back on when an event is received while the device is off. @cybrmage's code uses rResp to deal with this and I added that to mine also.
  3. It appears you got rid of polling completely. Don't know if it's needed but for me, I added a polling method that's scheduled every 10 mins (same way as @cybrmage's code).

Can send you my updated code if that'd help.

Cheers

@asj Thank you so much for putting so much time into this sir. I really appreciate it and all the support you provided my friend.

1 Like

Just a comment here from the peanut gallery .. kudos to both of you and anyone else involved in working on this. I'm anxious to give it another try soon. Thought you'd want to know there are lurkers following this thread that appreciate what you are doing. [Edit: OK, at least two. :-)]

6 Likes

Can you send me a screen shot of the device event stream showing this? The code does a sendPowerEvent("off"...) which is the same as "on" etc. I'd like to see what the description reads.

Thanks for pointing that out, but rResp is a poor solution for what's effectively a synchronization issue. There should be a common handler for "off" handling and this should be consistent no mater if the web socket closed due to a timeout/error or if notified. Localizing all the code together will make consistent handling of events, and I'll update my driver.

There's no need to poll the TV. Websockets opened by the hubitat already do ping/pong's on something like a 30s interval, so there's no point moving data every 10 mins from what I can tell.

Sorry, I meant sending "" for channelName isn't of "off"

It's actually more a problem for "on" handling rather than "off" handling. Right now, it's assuming it only needs to turn on when a websocket connection is restored. It also needs to handle cases when the TV was turned off and then back on before the websocket failed.

Ah, that was an intentional change. channelName is "annoying" since there isn't one when the TV is off, so it shouldn't have a value. You can't use null since it doesn't propagate well, or isn't useable by RM4 or something when I tested it. But I don't like using "off" since that's a valid string, while it's unlikely to have a channel called "off" it's also possible. I'm kind of loathed to use a sentinel value and depend on it. (though "" isn't much better)

What problems is empty channelName causing? If you're using it for on/off detection shouldn't you use power on/off?

Hopefully as I wait for NY tonight I can spend some time fixing up the socket/power reporting. Maybe that'll keep me awake. :slight_smile:

Just a reminder :slight_smile:

See above. I'm not using it for on/off detection.

Is it normal for the LG WebOS TV Discovery app to be spamming my hub this much. It's sending almost 200 debug messages in the space of 5 seconds. I've begun experiencing slowdowns again because of this:

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:08.288 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:08.270 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a::upnp:rootdevice, ssdpTerm:upnp:rootdevice]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:08.268 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: upnp:rootdevice

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:08.251 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a::upnp:rootdevice

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:08.248 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:08.234 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@1d22b10

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.812 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.780 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a::upnp:rootdevice, ssdpTerm:upnp:rootdevice]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.777 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: upnp:rootdevice

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.774 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a::upnp:rootdevice

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.768 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.739 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a, ssdpTerm:urn:schemas-upnp-org:device:basic:1]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.743 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.708 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@153754d

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.736 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: urn:schemas-upnp-org:device:basic:1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.708 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.706 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.678 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@a3ccad

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.592 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.578 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a, ssdpTerm:uuid:2f402f80-da50-11e1-9b23-001788414b4a]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.577 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.549 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: uuid:2f402f80-da50-11e1-9b23-001788414b4a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.552 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.540 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a, ssdpTerm:uuid:2f402f80-da50-11e1-9b23-001788414b4a]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.532 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a, ssdpTerm:urn:schemas-upnp-org:device:basic:1]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.546 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.543 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.511 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@11b0706

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.537 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: uuid:2f402f80-da50-11e1-9b23-001788414b4a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.501 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: urn:schemas-upnp-org:device:basic:1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.522 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.500 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a::upnp:rootdevice, ssdpTerm:upnp:rootdevice]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.518 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.497 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.498 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.478 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: upnp:rootdevice

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.495 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.490 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@505df8

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.475 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@1753413

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.454 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a::upnp:rootdevice

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.420 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:07.416 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@523969

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:06.387 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:06.366 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a::upnp:rootdevice, ssdpTerm:upnp:rootdevice]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:06.363 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: upnp:rootdevice

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:06.344 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a::upnp:rootdevice

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:06.341 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:06.338 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@186350b

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:06.334 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:06.313 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a, ssdpTerm:uuid:2f402f80-da50-11e1-9b23-001788414b4a]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:06.312 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:06.310 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: uuid:2f402f80-da50-11e1-9b23-001788414b4a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:06.283 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a, ssdpTerm:urn:schemas-upnp-org:device:basic:1]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:06.307 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:06.288 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:06.284 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@66d114

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:06.280 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: urn:schemas-upnp-org:device:basic:1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:06.253 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:06.251 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:06.247 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@e03636

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:06.238 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:06.218 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a, ssdpTerm:uuid:2f402f80-da50-11e1-9b23-001788414b4a]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:06.215 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: uuid:2f402f80-da50-11e1-9b23-001788414b4a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:06.163 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:06.160 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:06.156 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@d6d85d

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.997 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.972 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a, ssdpTerm:urn:schemas-upnp-org:device:basic:1]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.969 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: urn:schemas-upnp-org:device:basic:1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.966 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.963 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.948 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@96c8cb

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.876 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.871 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a::upnp:rootdevice, ssdpTerm:upnp:rootdevice]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.868 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: upnp:rootdevice

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.865 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a::upnp:rootdevice

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.862 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.859 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@19c1e93

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.337 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.331 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.327 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a, ssdpTerm:uuid:2f402f80-da50-11e1-9b23-001788414b4a]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.324 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: uuid:2f402f80-da50-11e1-9b23-001788414b4a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.281 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.312 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a, ssdpTerm:urn:schemas-upnp-org:device:basic:1]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.310 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: urn:schemas-upnp-org:device:basic:1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.290 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.288 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.276 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@1afd4f4

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.278 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.275 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@85f890

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.262 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.233 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a, ssdpTerm:uuid:2f402f80-da50-11e1-9b23-001788414b4a]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.244 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.240 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a, ssdpTerm:urn:schemas-upnp-org:device:basic:1]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.236 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: urn:schemas-upnp-org:device:basic:1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.235 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.233 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.230 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a::upnp:rootdevice, ssdpTerm:upnp:rootdevice]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.231 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.230 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: uuid:2f402f80-da50-11e1-9b23-001788414b4a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.210 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@1753cdd

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.201 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: upnp:rootdevice

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.208 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.197 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.198 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a::upnp:rootdevice

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.195 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.172 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@1ef6e60

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:05.170 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@7dd64d

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:04.620 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:04.616 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a::upnp:rootdevice, ssdpTerm:upnp:rootdevice]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:04.613 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: upnp:rootdevice

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:04.609 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a::upnp:rootdevice

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:04.607 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:04.592 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@36a8fe

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.854 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.825 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a, ssdpTerm:urn:schemas-upnp-org:device:basic:1]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.822 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: urn:schemas-upnp-org:device:basic:1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.819 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.793 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.789 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@108f764

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.764 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.741 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a::upnp:rootdevice, ssdpTerm:upnp:rootdevice]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.758 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.730 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a, ssdpTerm:uuid:2f402f80-da50-11e1-9b23-001788414b4a]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.739 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: upnp:rootdevice

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.735 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a::upnp:rootdevice

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.733 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.727 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: uuid:2f402f80-da50-11e1-9b23-001788414b4a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.712 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.710 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.706 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@14270a5

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.702 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@18c0b54

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.444 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.463 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.434 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a, ssdpTerm:urn:schemas-upnp-org:device:basic:1]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.440 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a, ssdpTerm:uuid:2f402f80-da50-11e1-9b23-001788414b4a]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.414 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: uuid:2f402f80-da50-11e1-9b23-001788414b4a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.431 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: urn:schemas-upnp-org:device:basic:1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.408 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.411 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.397 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.405 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.402 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@ef001

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.393 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@15959e8

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.306 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.286 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a::upnp:rootdevice, ssdpTerm:upnp:rootdevice]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.283 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: upnp:rootdevice

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.264 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a::upnp:rootdevice

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.261 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:03.228 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@1fb1877

[app:321](http://192.168.x.xxx/logs/past#app321)2019-12-31 07:25:02.868 pm [info](http://192.168.x.xxx/installedapp/configure/321)Subscribing to events for Iron

[app:321](http://192.168.x.xxx/logs/past#app321)2019-12-31 07:25:02.858 pm [info](http://192.168.x.xxx/installedapp/configure/321)Verifying that IP for Iron is set to 192.168.1.239:49153

[app:321](http://192.168.x.xxx/logs/past#app321)2019-12-31 07:25:02.834 pm [info](http://192.168.x.xxx/installedapp/configure/321)Subscribing to events for Christmas Tree

[app:321](http://192.168.x.xxx/logs/past#app321)2019-12-31 07:25:02.826 pm [info](http://192.168.x.xxx/installedapp/configure/321)Verifying that IP for Christmas Tree is set to 192.168.1.202:49153

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.741 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.720 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev2, ip:C0A801EF, ssdpPath:/setup.xml, ssdpUSN:uuid:Socket-1_0-221623K010287B::urn:Belkin:device:controllee:1, ssdpTerm:urn:Belkin:device:controllee:1]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.734 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.730 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a, ssdpTerm:urn:schemas-upnp-org:device:basic:1]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.725 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: urn:schemas-upnp-org:device:basic:1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.723 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.718 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev3, ip:C0A801CA, ssdpPath:/setup.xml, ssdpUSN:uuid:Socket-1_0-221609K010045B::urn:Belkin:device:controllee:1, ssdpTerm:urn:Belkin:device:controllee:1]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.718 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: urn:Belkin:device:controllee:1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.715 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: urn:Belkin:device:controllee:1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.714 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:Socket-1_0-221623K010287B::urn:Belkin:device:controllee:1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.700 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:Socket-1_0-221609K010045B::urn:Belkin:device:controllee:1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.704 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /setup.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.711 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.708 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.705 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@19237db

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.701 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@1502dea

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.698 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /setup.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.694 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@98725c

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.617 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.612 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a, ssdpTerm:uuid:2f402f80-da50-11e1-9b23-001788414b4a]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.610 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: uuid:2f402f80-da50-11e1-9b23-001788414b4a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.607 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.604 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.603 pm [debug](http://192.168.x.xxx/installedapp/configure/323)hub: 1

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.598 pm [debug](http://192.168.x.xxx/installedapp/configure/323)upnp: [mac:dev1, ip:C0A801B5, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788414b4a::upnp:rootdevice, ssdpTerm:upnp:rootdevice]

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.595 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpTerm: upnp:rootdevice

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.593 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@11e065a

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.592 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpUSN: uuid:2f402f80-da50-11e1-9b23-001788414b4a::upnp:rootdevice

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.589 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Found ssdpPath: /description.xml

[app:323](http://192.168.x.xxx/logs/past#app323)2019-12-31 07:25:02.586 pm [debug](http://192.168.x.xxx/installedapp/configure/323)Device Location Event: com.hubitat.hub.domain.Event@19dd04d

Oh bugger, it's always fun when someone quotes back something you forgot you said. It's also like when you google a problem and find yourself as the first hit. :smiley:

Ok, on it, this is easy enough to fix, and sentinel values it is!

@yototogblo

Thoughts:

  1. I haven't looked into the discovery app at all, so I'm not sure what's going on over there at all.
  2. Worst case: You don't need the discovery app, so you can remove it. You can add the TV as a "virtual device" and then set the IP address by hand and it'll start working once it finds the TV being on.
  3. This looks like upnp spam. Some device is perhaps being noisy and the hub is just reporting all the upnp broadcast traffic it's seeing. upnp == universal plug & pray. I don't know all the details, but for discovery I believe devices broadcast enough info that others can look up what they are. This is how the app discovers the TV.
  4. Presumably once discovery is done the app doesn't need to keep subscribing to UPNP events. Not sure if the app has enough info to actually know this though. But the app flow could be changed to allow for this by using a page just for discovery and a timeout.

Most of this is conjecture though. Once I'm happy with the driver I'll have to start digging into the app side.

Updated the code to account for on/off web socket sync issues, merged the importURL PR, and channelName and friends go to [off] Careful with channelDesc it still needs to be fixed, and I'm not sure what to do with channelNumber. Meh.

Thanks. I switched to a virtual device and works fine so far.

Previously, had tried removing the app after pairing the TV and it broke at some point. I'm guessing that's because the device was created by the app and so, once the app was removed, the device broke. So hopefully, that shouldn't affect a virtual device.

Happy New Year!

Happy New Year. Tried HDMI switching using friendly names with your new drivers and it works great now! Thank you.

Also, just for fun, thought folks might appreciate seeing a dashboard I created on top this great device handler. It's not as aesthetically refined as I'd like, but it's a decent v1.0. Each tile runs an app that fires the appropriate command to the WebOS device. Works like a charm. Latency is minimal. The out-of-place looking tiles along the left side are virtual switches that indicates which TV(s) to control, as we have 4 LGs around the house.

image

That's awesome! I really like the dashboard and it's what my goal of updating the driver is. Along with I being able to say "Alexa, turn on amazon prime" and voila, lights are right, TV is on and running the right app, etc. Or "Alexa, turn on Andrew's Netflix" and it's on my screen not my partners and her weird shows. :wink:

1 Like

You and me both. And I imagine a bunch of others as well. If you want help with testing iterations of the driver, don't hesitate to call on me.

noob question: can this be done from rule machine? I see no way to access a child device from RM.