This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Samsung / Tizen TV API v2
#6
It's not working as i got an 'unautorized' reply. I know you first need to submit each remote control by a popup that appears a the the tv screen.

So for that i just tested with a basic url:
url = 'ws://' .. host .. ':' .. port .. '/api/v2/'

And then i got this response:
Samsung TV websocket 27.02.2023 14:08:28
* table:
["data"]
* table:
["clients"]
* table:
[1]
* table:
["isHost"]
* bool: false
["id"]
* string: f996fa65-4b22-4021-8f30-56df2da9a983
["attributes"]
* table:
["name"]
* userdata: NULL
["deviceName"]
* string: Smart Device
["connectTime"]
* number: 1677503304615
["id"]
* string: f996fa65-4b22-4021-8f30-56df2da9a983
["event"]
* string: ms.channel.connect


The same url http://192.168.126.54:8001/api/v2/ in the webbrowser is giving me more information back:
{
"device": {
"FrameTVSupport": "true",
"GamePadSupport": "true",
"ImeSyncedSupport": "true",
"OS": "Tizen",
"TokenAuthSupport": "true",
"VoiceSupport": "true",
"countryCode": "NL",
"description": "Samsung DTV RCR",
"developerIP": "0.0.0.0",
"developerMode": "0",
"duid": "uuid:ab728320-b477-48f8-9728-dee89aa3b37c",
"firmwareVersion": "Unknown",
"id": "uuid:ab728320-b477-48f8-9728-dee89aa3b37c",
"ip": "192.168.126.54",
"model": "18_KANTM2_FRAME",
"modelName": "UE43LS03N",
"name": "[TV] Samsung Frame Series (43)",
"networkType": "wired",
"resolution": "3840x2160",
"smartHubAgreement": "true",
"type": "Samsung SmartTV",
"udn": "uuid:ab728320-b477-48f8-9728-dee89aa3b37c",
"wifiMac": "64:1c:ae:e3:3b:af"
},
"id": "uuid:ab728320-b477-48f8-9728-dee89aa3b37c",
"isSupport": "{\"DMP_DRM_PLAYREADY\":\"false\",\"DMP_DRM_WIDEVINE\":\"false\",\"DMP_available\":\"true\",\"EDEN_available\":\"true\",\"FrameTVSupport\":\"true\",\"ImeSyncedSupport\":\"true\",\"TokenAuthSupport\":\"true\",\"remote_available\":\"true\",\"remote_fourDirections\":\"true\",\"remote_touchPad\":\"true\",\"remote_voiceControl\":\"true\"}\n",
"name": "[TV] Samsung Frame Series (43)",
"remote": "1.0",
"type": "Samsung SmartTV",
"uri": "http://192.168.126.54:8001/api/v2/",
"version": "2.0.25"
}
Reply


Messages In This Thread
Samsung / Tizen TV API v2 - by Joep - 24.02.2023, 13:59
RE: Samsung / Tizen TV API v2 - by admin - 24.02.2023, 14:13
RE: Samsung / Tizen TV API v2 - by Joep - 24.02.2023, 14:45
RE: Samsung / Tizen TV API v2 - by admin - 27.02.2023, 06:58
RE: Samsung / Tizen TV API v2 - by Joep - 27.02.2023, 13:23
RE: Samsung / Tizen TV API v2 - by admin - 27.02.2023, 13:40
RE: Samsung / Tizen TV API v2 - by Joep - 27.02.2023, 14:57
RE: Samsung / Tizen TV API v2 - by admin - 27.02.2023, 14:58
RE: Samsung / Tizen TV API v2 - by Joep - 27.02.2023, 15:36
RE: Samsung / Tizen TV API v2 - by admin - 27.02.2023, 15:49
RE: Samsung / Tizen TV API v2 - by Joep - 27.02.2023, 16:06
RE: Samsung / Tizen TV API v2 - by Joep - 23.02.2024, 11:16

Forum Jump: