I'm trying to reinstall this to see if it will work with a different TV but I can't get the step with the guide button to work. Is there something I'm overlooking? I'm following the directions here:
I need TV model and year plus Hubitat Logs.
The TV is a QN43Q60RAFXZA purchased in February 2020.
[dev:2083](http://192.168.50.247/logs#dev2083)2021-11-13 03:59:01.438 pm [debug](http://192.168.50.247/device/edit/2083)[null, 2.0.0]:: parseWebsocket: event = ms.channel.unauthorized, message = [event:ms.channel.unauthorized]
[dev:2083](http://192.168.50.247/logs#dev2083)2021-11-13 03:59:01.435 pm [debug](http://192.168.50.247/device/edit/2083)[null, 2.0.0]:: parseWebsocket: [event:ms.channel.unauthorized]
[dev:2083](http://192.168.50.247/logs#dev2083)2021-11-13 03:59:01.429 pm [debug](http://192.168.50.247/device/edit/2083)[null, 2.0.0]:: webSocketStatus: Failure. Closing Socket.
[dev:2083](http://192.168.50.247/logs#dev2083)2021-11-13 03:59:01.263 pm [debug](http://192.168.50.247/device/edit/2083)[null, 2.0.0]:: webSocketStatus: wsDeviceStatus = open
[dev:2083](http://192.168.50.247/logs#dev2083)2021-11-13 03:59:01.126 pm [debug](http://192.168.50.247/device/edit/2083)[null, 2.0.0]:: parseUpnp: updated rcSid to uuid:d4cd6080-3bd7-49a7-8b52-741a982dcac2
[dev:2083](http://192.168.50.247/logs#dev2083)2021-11-13 03:59:01.123 pm [debug](http://192.168.50.247/device/edit/2083)[null, 2.0.0]:: connect: function = frameArt
[dev:2083](http://192.168.50.247/logs#dev2083)2021-11-13 03:59:01.120 pm [debug](http://192.168.50.247/device/edit/2083)[null, 2.0.0]:: sendMessage: function = frameArt | data = {"method":"ms.channel.emit","params":{"data":"{\"request\":\"get_artmode_status\",\"id\":\"0cbe5ee2-9586-4f4f-bb98-ec8cddc3c283\"}","to":"host","event":"art_app_request"}} | connectType = close
[dev:2083](http://192.168.50.247/logs#dev2083)2021-11-13 03:59:01.116 pm [debug](http://192.168.50.247/device/edit/2083)[null, 2.0.0]:: refresh: getting artMode and SmartThings status data
[dev:2083](http://192.168.50.247/logs#dev2083)2021-11-13 03:59:01.066 pm [debug](http://192.168.50.247/device/edit/2083)[null, 2.0.0]:: upnpSubscribe
[dev:2083](http://192.168.50.247/logs#dev2083)2021-11-13 03:58:59.101 pm [info](http://192.168.50.247/device/edit/2083)[null, 2.0.0]:: updated: pollInterval = 60, refresh = 5
[dev:2083](http://192.168.50.247/logs#dev2083)2021-11-13 03:58:59.050 pm [debug](http://192.168.50.247/device/edit/2083)[null, 2.0.0]:: resubscribe: switch = on
[dev:2083](http://192.168.50.247/logs#dev2083)2021-11-13 03:58:59.015 pm [info](http://192.168.50.247/device/edit/2083)[null, 2.0.0]:: getDeviceData: Updated Device Data.
[dev:2083](http://192.168.50.247/logs#dev2083)2021-11-13 03:58:59.012 pm [info](http://192.168.50.247/device/edit/2083)[null, 2.0.0]:: getDeviceData: year = 2019, frameTv = false, tokenSupport = true
[dev:2083](http://192.168.50.247/logs#dev2083)2021-11-13 03:58:58.349 pm [debug](http://192.168.50.247/device/edit/2083)[null, 2.0.0]:: webSocketStatus: Failure. Closing Socket.
[dev:2083](http://192.168.50.247/logs#dev2083)2021-11-13 03:58:58.343 pm [debug](http://192.168.50.247/device/edit/2083)[null, 2.0.0]:: parseWebsocket: event = ms.channel.unauthorized, message = [event:ms.channel.unauthorized]
[dev:2083](http://192.168.50.247/logs#dev2083)2021-11-13 03:58:58.340 pm [debug](http://192.168.50.247/device/edit/2083)[null, 2.0.0]:: parseWebsocket: [event:ms.channel.unauthorized]
[dev:2083](http://192.168.50.247/logs#dev2083)2021-11-13 03:58:58.122 pm [debug](http://192.168.50.247/device/edit/2083)[null, 2.0.0]:: webSocketStatus: wsDeviceStatus = open
[dev:2083](http://192.168.50.247/logs#dev2083)2021-11-13 03:58:57.970 pm [debug](http://192.168.50.247/device/edit/2083)[null, 2.0.0]:: connect: function = remote
[dev:2083](http://192.168.50.247/logs#dev2083)2021-11-13 03:58:57.967 pm [debug](http://192.168.50.247/device/edit/2083)[null, 2.0.0]:: sendMessage: function = remote | data = {"method":"ms.remote.control","params":{"Cmd":"Click","DataOfCmd":"KEY_GUIDE","TypeOfRemote":"SendRemoteKey"}} | connectType = close
[dev:2083](http://192.168.50.247/logs#dev2083)2021-11-13 03:58:53.643 pm [debug](http://192.168.50.247/device/edit/2083)[null, 2.0.0]:: parseUPnP: Previous subscription canceled!
[dev:2083](http://192.168.50.247/logs#dev2083)2021-11-13 03:58:53.516 pm [debug](http://192.168.50.247/device/edit/2083)[null, 2.0.0]:: upnpUnsubscribe: rcSid = uuid:996a89c2-dc75-42cb-94c7-b7d08d30b0c6
[dev:2083](http://192.168.50.247/logs#dev2083)2021-11-13 03:58:53.499 pm [info](http://192.168.50.247/device/edit/2083)[null, 2.0.0]:: updated
My best guess is that your device is not "paired" with your TV. To verify this, using your TV's remote, go to
Setting -> General -> External Device Manager -> Device Connection Manager -> Device List
You should have a device on the list similar to "Hubitat Samsung Remote" and "Allowed.
- If the device is not allowed, then select "Edit" then "Allow".
- Go to the Hubitat driver and select "menu" (convenient command), being prepared with the TV's remote to accept the connection.
That is the best I have right now. The TV is refusing the webSocket connection and that is the usual suspect.
There is an option to turn off notifications from devices trying to connect. It was turned off so I wasn't seeing the notification. I was able to add the device and it appears to be controlling the TV.
I’m getting a glitch “off” event on the tv driver despite the tv not actually being turned off. The events page shows the off event for a split second and then turns back on. It’s exactly 1 hour since the driver saw a volume command. Is there anything significant to 1 hour that might cause such a glitch event? And how do I fix it?
It will take several days to check. Get back when checked.
EDIT: What are your scheduled tasks at the bottom of the Device's Edit Page?
Looking at the code, the only place that attribute "switch" is set is during the quick poll process. This is scheduled (design) for a period between 5 seconds and 1 minute. The only thing I can think is the TV going into a wifi power save mode after one hour - increasing the poll time and causing the error. Logs would be nice at the time the error occurs to confirm this.
The quick poll function (and the attribute "switch") were specifically designed to preclude certain functions attempting to run when the device is off-line (not on wifi) and causing errors and extra processing. It can also be used in rules/etc. to trigger other actions; however, for some reason the command I use fails. I will probably modify the command to do a ping vice sending a command. Test and other updates will add to the time (I need to complete a periodic recheck of the device).
Not sure if its related but I'm seeing an error in the logs as of recent. Hoping you may know what's going on.
2021-11-15 21:44:49.171 errorgroovy.lang.MissingMethodException: No signature of method: java.lang.String.call() is applicable for argument types: (java.lang.String) values: [on]
Possible solutions: wait(), any(), wait(long), split(java.lang.String), each(groovy.lang.Closure), any(groovy.lang.Closure) on line 592 (method pollParse)
Should not. It turns art mode on or off depending on system settings. It is an ERROR (should not have a parameter but does - therefore the error) and will be corrected in next version.
Test. In the Driver Code, go to line 584. Change the timeout value from 2 to 5. Then save the code. See if that fixes the issue. (I am still going to mod the code. Not fully happy with it.)
Yeah, I've been receiving the same error lately in my logs.
I tried changing the Driver Code on line 584 from 2 to 5. Do I need to reboot the hub in order for the code to take effect?
dev:2792021-11-26 12:45:26.101 pm errorgroovy.lang.MissingMethodException: No signature of method: java.lang.String.call() is applicable for argument types: (java.lang.String) values: [on] Possible solutions: wait(), any(), wait(long), split(java.lang.String), each(groovy.lang.Closure), any(groovy.lang.Closure) on line 592 (method pollParse)
I also get this warning but not as often as the error above:
dev:2792021-11-25 06:25:19.125 pm warn[Master TV, 2.0.0]:: parseUpnp: Unhandled return. resp = [mac:XXXXXXXXXXX, ip:c0a85682, port:23ed, headers:[HTTP/1.1 412 Precondition Failed:null, Connection:Close], body:null, header:HTTP/1.1 412 Precondition Failed Connection: Close ]
No, just save.
Will examine as part of next release.
I am having the on issue. WOL works fine from my asus router (I mean I can turn on the tv fine via the router using Mac just not from hubitat device. I have tried with and without WOL Mac option and same affect. Other functions work fine I have left it for 20 mins and still have the issue.
2020 / UN75TU700DFXZA
Verify that the Device Details - Data (bottom of device edit page) includes values for:
deviceMac
alternateWolMAC
deviceUUID
If not, rerun setup, carefully following the instructions.
Try setting the alternateWOLMAC in preferences and saving preferences.
Other than that, I need debug log data when you are trying to execute the WoL.
Yes uuid, Mac are present. I will look up how to get debug logs and will post them
ev:1372021-11-29 08:49:57.736 pm debug[null, 2.0.0]:: on: wolMac = 4CC95E9241D3
dev:1372021-11-29 08:49:54.218 pm debug[null, 2.0.0]:: on: wolMac = 4CC95E9241D3
dev:1372021-11-29 08:49:48.357 pm debug[null, 2.0.0]:: on: wolMac = 4CC95E9241D3
dev:1372021-11-29 08:49:46.805 pm debug[null, 2.0.0]:: on: wolMac = 4CC95E9241D3
dev:1372021-11-29 08:49:39.549 pm debug[null, 2.0.0]:: on: wolMac = 4CC95E9241D3
Did you try using the alternate MAC? (it can be selected in Preferences).
Thanks for this, Got it working great on my Q70A
One thing i am struggling with is getting the Smarthings Tv device ID
Following the instructions it mentions open a logging page. How do i do this to find the device ID?
Thanks
The log page is created by you as a separate window in step f of SmartThings Integration. The log page is opened in on the Hubitat menu by selecting the upper left of the page (three horizontal bars) and going to the bottom (logs). Use the alternate mouse button (PC) and open in a separate window.
Ah thankyou.
I did check the logs before but no device id was in the log but its there now.
Thanks again
I am quite certain this has been documented earlier in this thread but i have searched and can't find it. How do i get my SmartThings API Key? I know I have done it in the past , but it has been years since i really have done anything with smartthings.
LJ