I have the M Series Smart TV and I'm trying to use the library you have on your Github. I'm fairly new to understanding how its done so please bear with me. I have gone through almost all of the issues that are pertaining to this lib and have not found one similar to my issue.
with samsungctl.Remote(config) as remote:
remote.control("KEY_MUTE")
time.sleep(0.5)
I'm currently trying to run this program in python and I'm getting a TimeoutError. Before I was getting a ConnectionRefusedError but changed a few things but I don't think it honestly made a difference.
Are there any glaring issues that you see that I'm currently doing wrong?
Can this be ran on a linux os?
I can't seem to get the simple command line to run either.
Hello,
I have the M Series Smart TV and I'm trying to use the library you have on your Github. I'm fairly new to understanding how its done so please bear with me. I have gone through almost all of the issues that are pertaining to this lib and have not found one similar to my issue.
Here's the script I'm running:
import samsungctl import time import websocket
config = { "name": "samsungctl", "description": "PC", "id": "", "host": "192.168.XX.XX", "port": 55000, "method": "websocket", "timeout": 0, }
with samsungctl.Remote(config) as remote: remote.control("KEY_MUTE") time.sleep(0.5)
I'm currently trying to run this program in python and I'm getting a TimeoutError. Before I was getting a ConnectionRefusedError but changed a few things but I don't think it honestly made a difference.
Are there any glaring issues that you see that I'm currently doing wrong? Can this be ran on a linux os? I can't seem to get the simple command line to run either.
Thank you!