Ape / samsungctl

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

Model : UE50NU7025 / Error: Connection refused #129

Open CamilleHUmusic opened 3 years ago

CamilleHUmusic commented 3 years ago

Hello guys and happy new year 😄

I have some troubles with the library.

The installation is fine i guess, when i do samsungctl -h, i have help.

When i try samsungctl --host 192.168.1.24 KEY_VOLDOWN the response is Connection Refused.

In chrome i do http://192.168.1.24:8001/api/v2/ and accept the device on my tv but i have always the connection refused :

{"device":{"FrameTVSupport":"false","GamePadSupport":"true","ImeSyncedSupport":"true","OS":"Tizen","TokenAuthSupport":"true","VoiceSupport":"false","countryCode":"FR","description":"Samsung DTV RCR","developerIP":"0.0.0.0","developerMode":"0","duid":"uuid:de94e3af-4a01-4b31-8219-6b5d2da39663","firmwareVersion":"Unknown","id":"uuid:de94e3af-4a01-4b31-8219-6b5d2da39663","ip":"192.168.1.24","model":"18_KANTSU_UHD_BASIC","modelName":"UE50NU7025","name":"[TV] Samsung 7 Series (50)","networkType":"wireless","resolution":"3840x2160","smartHubAgreement":"true","ssid":"34:49:5b:3a:76:f0","type":"Samsung SmartTV","udn":"uuid:de94e3af-4a01-4b31-8219-6b5d2da39663","wifiMac":"CC:6E:A4:D7:AE:48"},"id":"uuid:de94e3af-4a01-4b31-8219-6b5d2da39663","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\":\"false\"}\n","name":"[TV] Samsung 7 Series (50)","remote":"1.0","type":"Samsung SmartTV","uri":"http://192.168.1.24:8001/api/v2/","version":"2.0.25"}

If someone have a begining of a solution, it will be nice.

Thanks a lot

Galicarnax commented 3 years ago

Same problem here, with 75" Class The Frame TV QLED. Adding the option --port 8001 gives Connection closed. With --method websocket the command just hangs without any output, untill interrupted manually.

sydneyjd commented 3 years ago

Same here as well, model number UN75NU6080F.

iminet commented 3 years ago

No solution yet? I have Samsung QE series, but getting the same problem. Opening http://MY_TV_IP_ADDRESS:8001/api/v2/ page in a browser, I get a lot of JSON data.

HVR88 commented 3 years ago

If anyone was listening, they're not any more. Shame. New TVs need the websocket option (which also defaults to port 8001). I can't get that option working at all - just throws a few script errors.

DRSDavidSoft commented 2 years ago

Same issue with UA82MU8000, looking for a solution to control the TV