Page 1 of 1

samsungctl missing for windows

Posted: Monday 11 October 2021 11:18
by foscolino
Hello, I want to use samsungtv plugin on windows installation, but the link in official plugin page is broken :cry:
This is the page:
https://www.domoticz.com/wiki/Plugins/SamsungTV.html
The dropbox page link is 404
Do you know where can i find the setup link?
https://www.dropbox.com/sh/i0fi7f83do8u ... 1o1na?dl=0

Re: samsungctl missing for windows

Posted: Monday 11 October 2021 15:34
by erem
you can try this....
pure python, no setup, so follow the directions for install.

https://github.com/Ape/samsungctl

Re: samsungctl missing for windows

Posted: Monday 11 October 2021 16:19
by foscolino
Hi Rob, i have already tested pure python, I have installed samsungctl, but when i call mytv I receive an error:

Code: Select all

C:\Program Files (x86)\Domoticz\plugins\samsungctl-master>samsungctl --host 192.168.20.128 KEY_VOLDOWN
Traceback (most recent call last):
  File "C:\Program Files (x86)\Python35-32\Scripts\samsungctl-script.py", line 9, in <module>
    load_entry_point('samsungctl==0.8', 'console_scripts', 'samsungctl')()
  File "C:\Program Files (x86)\Python35-32\lib\site-packages\samsungctl-0.8-py3.5.egg\samsungctl\__main__.py", line 102, in main
    config = _read_config()
  File "C:\Program Files (x86)\Python35-32\lib\site-packages\samsungctl-0.8-py3.5.egg\samsungctl\__main__.py", line 32, in _read_config
    directories.append(os.path.join(os.getenv("HOME"), ".config"))
  File "C:\Program Files (x86)\Python35-32\lib\ntpath.py", line 113, in join
    genericpath._check_arg_types('join', path, *paths)
  File "C:\Program Files (x86)\Python35-32\lib\genericpath.py", line 143, in _check_arg_types
    (funcname, s.__class__.__name__)) from None
TypeError: join() argument must be str or bytes, not 'NoneType'

Re: samsungctl missing for windows

Posted: Tuesday 12 October 2021 11:20
by erem
@foscolino

sorry, i don't have a samsung tv to test with.
it looks like a missing .config directory to me in your home dir.

Re: samsungctl missing for windows

Posted: Tuesday 12 October 2021 13:47
by foscolino
.config file in window directory is missing. :(
i can't find any suggestion to install on windows s.o.