kdschlosser / samsungctl

Remote control Samsung televisions via a TCP/IP connection
MIT License
148 stars 34 forks source link

ValueError: invalid literal for int() with base 16: 'NONE' #103

Open dirtyharryiv opened 5 years ago

dirtyharryiv commented 5 years ago

Hi, i get this error with UE50MU6179U

/usr/bin/samsungctl --host 192.168.1.1 --port 8001 --method websocket KEY_POWER

Traceback (most recent call last):
  File "/usr/bin/samsungctl", line 11, in <module>
    load_entry_point('samsungctl==0.8.0b0', 'console_scripts', 'samsungctl')()
  File "/usr/lib/python2.7/site-packages/samsungctl-0.8.0b0-py2.7.egg/samsungctl/__main__.py", line 355, in main
    with Remote(config) as remote:
  File "/usr/lib/python2.7/site-packages/samsungctl-0.8.0b0-py2.7.egg/samsungctl/remote.py", line 73, in __call__
    return RemoteWrapper(conf)
  File "/usr/lib/python2.7/site-packages/samsungctl-0.8.0b0-py2.7.egg/samsungctl/remote.py", line 48, in __init__
    remote.__init__(self, config)
  File "/usr/lib/python2.7/site-packages/samsungctl-0.8.0b0-py2.7.egg/samsungctl/utils.py", line 24, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/samsungctl-0.8.0b0-py2.7.egg/samsungctl/remote_websocket.py", line 33, in __init__
    websocket_base.WebSocketBase.__init__(self, config)
  File "/usr/lib/python2.7/site-packages/samsungctl-0.8.0b0-py2.7.egg/samsungctl/utils.py", line 24, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/samsungctl-0.8.0b0-py2.7.egg/samsungctl/websocket_base.py", line 37, in __init__
    self.open()
  File "/usr/lib/python2.7/site-packages/samsungctl-0.8.0b0-py2.7.egg/samsungctl/utils.py", line 24, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/samsungctl-0.8.0b0-py2.7.egg/samsungctl/remote_websocket.py", line 61, in open
    self.power = True
  File "/usr/lib/python2.7/site-packages/samsungctl-0.8.0b0-py2.7.egg/samsungctl/utils.py", line 24, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/samsungctl-0.8.0b0-py2.7.egg/samsungctl/remote_websocket.py", line 220, in power
    wake_on_lan.send_wol(self.mac_address)
  File "/usr/lib/python2.7/site-packages/samsungctl-0.8.0b0-py2.7.egg/samsungctl/wake_on_lan.py", line 271, in send_wol
    hex_mac = list(int(h, 16) for h in split_mac)
  File "/usr/lib/python2.7/site-packages/samsungctl-0.8.0b0-py2.7.egg/samsungctl/wake_on_lan.py", line 271, in <genexpr>
    hex_mac = list(int(h, 16) for h in split_mac)
ValueError: invalid literal for int() with base 16: 'NONE'

any idea? the ape version used to work with my tv before the ssl update...