Advertisement
Guest User

Untitled

a guest
Dec 26th, 2018
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.92 KB | None | 0 0
  1. root@4ac25b2493d0:/samsungctl# python -m samsungctl --host 192.168.123.203 --port 8002 --method websocket KEY_HDMI
  2. error from callback <bound method RemoteWebsocket.on_open of <samsungctl.remote_websocket.RemoteWebsocket object at 0xf68872b0>>: on_open() missing 1 required positional argument: 'ws'
  3. Traceback (most recent call last):
  4. File "/usr/local/lib/python3.6/runpy.py", line 193, in _run_module_as_main
  5. "__main__", mod_spec)
  6. File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
  7. exec(code, run_globals)
  8. File "/samsungctl/samsungctl/__main__.py", line 206, in <module>
  9. main()
  10. File "/samsungctl/samsungctl/__main__.py", line 181, in main
  11. with Remote(config) as remote:
  12. File "/samsungctl/samsungctl/remote.py", line 13, in __init__
  13. self.remote = RemoteWebsocket(config)
  14. File "/samsungctl/samsungctl/remote_websocket.py", line 50, in __init__
  15. self.open()
  16. File "/samsungctl/samsungctl/remote_websocket.py", line 124, in open
  17. raise RuntimeError('Connection Failure')
  18. RuntimeError: Connection Failure
  19. error from callback <bound method RemoteWebsocket.on_message of <samsungctl.remote_websocket.RemoteWebsocket object at 0xf68872b0>>: on_message() missing 1 required positional argument: 'message'
  20. ^CException ignored in: <module 'threading' from '/usr/local/lib/python3.6/threading.py'>
  21. Traceback (most recent call last):
  22. File "/usr/local/lib/python3.6/threading.py", line 1294, in _shutdown
  23. t.join()
  24. File "/usr/local/lib/python3.6/threading.py", line 1056, in join
  25. self._wait_for_tstate_lock()
  26. File "/usr/local/lib/python3.6/threading.py", line 1072, in _wait_for_tstate_lock
  27. elif lock.acquire(block, timeout):
  28. KeyboardInterrupt
  29. root@4ac25b2493d0:/samsungctl# cat ~/.samsungctl/token.txt
  30. root@4ac25b2493d0:/samsungctl#
  31.  
  32.  
  33.  
  34. device
  35. FrameTVSupport "false"
  36. GamePadSupport "true"
  37. ImeSyncedSupport "true"
  38. OS "Tizen"
  39. TokenAuthSupport "true"
  40. VoiceSupport "true"
  41. countryCode "AU"
  42. description "Samsung DTV RCR"
  43. developerIP "0.0.0.0"
  44. developerMode "0"
  45. duid "uuid:f3955515-4088-483a-b1e5-d11a95d2a1a7"
  46. firmwareVersion "Unknown"
  47. id "uuid:f3955515-4088-483a-b1e5-d11a95d2a1a7"
  48. ip "192.168.123.203"
  49. model "17_KANTM_UHD"
  50. modelName "UA65MU7000"
  51. name "[TV] Samsung 7 Series (65)"
  52. networkType "wired"
  53. resolution "3840x2160"
  54. smartHubAgreement "true"
  55. type "Samsung SmartTV"
  56. udn "uuid:f3955515-4088-483a-b1e5-d11a95d2a1a7"
  57. wifiMac "68:27:37:e9:f9:02"
  58. id "uuid:f3955515-4088-483a-b1e5-d11a95d2a1a7"
  59. isSupport "{\"DMP_DRM_PLAYREADY\":\"false\",\"DMP_DRM_WIDEVINE\":\"false\",\"DMP_available\":\"true\",\"EDEN_available\":\"true\",\"FrameTVSupport\":\"false\",\"ImeSyncedSupport\":\"true\",\"TokenAuthSupport\":\"true\",\"remote_available\":\"true\",\"remote_fourDirections\":\"true\",\"remote_touchPad\":\"true\",\"remote_voiceControl\":\"true\"}\n"
  60. name "[TV] Samsung 7 Series (65)"
  61. remote "1.0"
  62. type "Samsung SmartTV"
  63. uri "http://192.168.123.203:8001/api/v2/"
  64. version "2.0.25"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement