Would like to get it working though

Moderator: leecollings
It seems that on Synology access to pip3 must be done from inside python3. I follow a combination of this http://blog.vincentpau.com/2015/08/17/where-is-pip3/ and, of course, this https://www.domoticz.com/wiki/Plugins/SamsungTV.html to install samsungctl on my two Synology. But on the one with DSM 5.2 the Python Plugins seems not to be implemented on evansport architecture (ds214play), thus i can't have Samsung TV hardware . And on the other one, with DSM 6.1, I got the Samsung TV in hardware list but this is at another place where I don't have the TV ...EdwinK wrote: ↑Sunday 14 May 2017 17:28 Thanks. Going to try this.
Before that I already did a 'sudo -i' (something that Synology wants instead of just plain sudo'.Code: Select all
root@DiskStation:/volume3/@appstore/domoticz/var/scripts/python# pip3 intall samsungctl -ash: pip3: command not found
ok with your command i'm able to connetct my samsung tv, but if i go to domoticz, install plugin, this is log:zak45 wrote: ↑Sunday 21 January 2018 12:22 @dextm80
do you have tried in this way :
samsungctl -i --host x.x.x.x --port 8001 --method websocket --timeout 1
Samsungctl do not work on all model ... here is the link to the supported models:
https://github.com/Ape/samsungctl/wiki/Supported-Models
Code: Select all
2018-01-24 18:38:40.521 Error: (Samsung) 'onCommand' failed 'ImportError'.
2018-01-24 18:38:40.521 Error: (Samsung) ----> Line 179 in /home/luigi/domoticz/plugins/SamsungTV/plugin.py, function onCommand
2018-01-24 18:38:40.521 Error: (Samsung) ----> Line 287 in /home/luigi/domoticz/plugins/SamsungTV/plugin.py, function SamsungSend
2018-01-24 18:38:40.521 Error: (Samsung) ----> Line 11 in /usr/lib/python3.5/samsungctl/remote.py, function __init__
2018-01-24 18:38:40.521 Error: (Samsung) ----> Line 17 in /usr/lib/python3.5/samsungctl/remote_websocket.py, function __init__
I can compile a test version for you with Python plugin, but you have to take backup of your database and scripts and uninstall the old domoticz version before you install the new version with Python plugin.HM31 wrote: ↑Sunday 21 January 2018 16:16It seems that on Synology access to pip3 must be done from inside python3. I follow a combination of this http://blog.vincentpau.com/2015/08/17/where-is-pip3/ and, of course, this https://www.domoticz.com/wiki/Plugins/SamsungTV.html to install samsungctl on my two Synology. But on the one with DSM 5.2 the Python Plugins seems not to be implemented on evansport architecture (ds214play), thus i can't have Samsung TV hardware . And on the other one, with DSM 6.1, I got the Samsung TV in hardware list but this is at another place where I don't have the TV ...EdwinK wrote: ↑Sunday 14 May 2017 17:28 Thanks. Going to try this.
Before that I already did a 'sudo -i' (something that Synology wants instead of just plain sudo'.Code: Select all
root@DiskStation:/volume3/@appstore/domoticz/var/scripts/python# pip3 intall samsungctl -ash: pip3: command not found
Does anyone have built a version of Domoticz on ds214play with DSM 5.2 and python extension installed because jahdal don't have (http://www.jadahl.com/domoticz_beta_5.2 ... 20Version/)
New version uploaded, 2.0.1, give it a try and let me know.dextm80 wrote: ↑Wednesday 24 January 2018 18:50can you help me?Code: Select all
2018-01-24 18:38:40.521 Error: (Samsung) 'onCommand' failed 'ImportError'. 2018-01-24 18:38:40.521 Error: (Samsung) ----> Line 179 in /home/luigi/domoticz/plugins/SamsungTV/plugin.py, function onCommand 2018-01-24 18:38:40.521 Error: (Samsung) ----> Line 287 in /home/luigi/domoticz/plugins/SamsungTV/plugin.py, function SamsungSend 2018-01-24 18:38:40.521 Error: (Samsung) ----> Line 11 in /usr/lib/python3.5/samsungctl/remote.py, function __init__ 2018-01-24 18:38:40.521 Error: (Samsung) ----> Line 17 in /usr/lib/python3.5/samsungctl/remote_websocket.py, function __init__
Sorry, i'm a newbie, how and what can i update (samsungctl is 0.7 verision)?zak45 wrote: ↑Wednesday 24 January 2018 20:30New version uploaded, 2.0.1, give it a try and let me know.dextm80 wrote: ↑Wednesday 24 January 2018 18:50can you help me?Code: Select all
2018-01-24 18:38:40.521 Error: (Samsung) 'onCommand' failed 'ImportError'. 2018-01-24 18:38:40.521 Error: (Samsung) ----> Line 179 in /home/luigi/domoticz/plugins/SamsungTV/plugin.py, function onCommand 2018-01-24 18:38:40.521 Error: (Samsung) ----> Line 287 in /home/luigi/domoticz/plugins/SamsungTV/plugin.py, function SamsungSend 2018-01-24 18:38:40.521 Error: (Samsung) ----> Line 11 in /usr/lib/python3.5/samsungctl/remote.py, function __init__ 2018-01-24 18:38:40.521 Error: (Samsung) ----> Line 17 in /usr/lib/python3.5/samsungctl/remote_websocket.py, function __init__
Many thanks.jumbotroll wrote: ↑Wednesday 24 January 2018 19:14
You also have to install Python spk package for DSM5.2 from here: http://ukdl.synology.com/download/Packa ... .4.1-0101/
take a look here :Gdroos68 wrote: ↑Saturday 24 February 2018 15:38 I want to use this plugin with my Samsung QLED tv. When I install this plugin in my hardware and I use port 8001, it sees whether my TV is alive. However Domoticz gets really unstable and I many times I can not even acces domoticz anymore by means of my webbrowser. The only possibility I then have is to replace the domoticz.db and/or domoticz.sh. Does anybody know how to resolve?
Segmentation fault
And Domoticz stops. If i turn of the tv and again use ./domoticz, domoticz keeps running and I can remove the samsung plugin and autostart agoin works.
Not sure which part you mean but I did all kinds of owner variant and none have worked. Even tried to change python version (3.4) but not sure if I did it correctly and had no effect.zak45 wrote: ↑Sunday 25 February 2018 10:42
take a look here :
viewtopic.php?f=65&t=21645&start=80#p172535
Compiling from source did solve my issue of domoticz service stopping. However now I get similar problems as dextm80. I can see my tv is connected but get all kind of errors:
Stupid of me but it was not installed. I also copied six.py. But I get the following:
Users browsing this forum: No registered users and 1 guest