Skip to content

Instantly share code, notes, and snippets.

@d2nyc
Created April 26, 2022 17:10
Show Gist options
  • Save d2nyc/9b70b4fdb1e9a7a6ca4b863d7292a63b to your computer and use it in GitHub Desktop.
Save d2nyc/9b70b4fdb1e9a7a6ca4b863d7292a63b to your computer and use it in GitHub Desktop.
---------------------
connect to socket - ws://192.168.1.220:8001/api/v2/channels/com.samsung.art-app?name=VGVzdCBTYW1zdW5nIEFQSQ==
socket - open
socket - message {
data: {
clients: [ [Object], [Object] ],
id: '85bfb6f9-7fa0-4ad1-ab3f-b19825f1e121'
},
event: 'ms.channel.connect'
}
socket - message {
data: {
attributes: { name: 'U2Ftc3VuZyBGcmFtZSBUVg==' },
connectTime: 1650992720312,
deviceName: 'U2Ftc3VuZyBGcmFtZSBUVg==',
id: 'ae9bf692-9d1-4087-95e9-4229ad5abae1',
isHost: false
},
event: 'ms.channel.clientDisconnect'
}
---------------------
socket - send getStatus {
method: 'ms.channel.emit',
params: {
data: '{"id":"85bfb6f9-7fa0-4ad1-ab3f-b19825f1e121","request":"get_artmode_status"}',
to: 'host',
event: 'art_app_request'
}
}
---------------------
In the folowing 30 seconds please try to change the Art Mode on your TV with the phisical remote.
Doing that should show some debugs regarding the status change.
socket - ping
socket - message {
data: {
attributes: { name: 'U2Ftc3VuZyBGcmFtZSBUVg==' },
connectTime: 1650992730984,
deviceName: 'U2Ftc3VuZyBGcmFtZSBUVg==',
id: 'aecad1d-598d-4d7e-a463-194ef8818726',
isHost: false
},
event: 'ms.channel.clientConnect'
}
socket - message {
data: {
attributes: { name: 'U2Ftc3VuZyBGcmFtZSBUVg==' },
connectTime: 1650992730984,
deviceName: 'U2Ftc3VuZyBGcmFtZSBUVg==',
id: 'aecad1d-598d-4d7e-a463-194ef8818726',
isHost: false
},
event: 'ms.channel.clientDisconnect'
}
socket - ping
socket - ping
socket - message {
data: {
attributes: { name: 'U2Ftc3VuZyBGcmFtZSBUVg==' },
connectTime: 1650992742056,
deviceName: 'U2Ftc3VuZyBGcmFtZSBUVg==',
id: 'e59ee04a-a67e-4b84-b578-116f35139cc',
isHost: false
},
event: 'ms.channel.clientConnect'
}
socket - message {
data: {
attributes: { name: 'U2Ftc3VuZyBGcmFtZSBUVg==' },
connectTime: 1650992742056,
deviceName: 'U2Ftc3VuZyBGcmFtZSBUVg==',
id: 'e59ee04a-a67e-4b84-b578-116f35139cc',
isHost: false
},
event: 'ms.channel.clientDisconnect'
}
socket - ping
socket - message {
data: {
attributes: { name: 'U2Ftc3VuZyBGcmFtZSBUVg==' },
connectTime: 1650992751687,
deviceName: 'U2Ftc3VuZyBGcmFtZSBUVg==',
id: '7c3f1aa-c175-4bed-a117-73bce85cef1b',
isHost: false
},
event: 'ms.channel.clientConnect'
}
socket - ping
socket - message {
data: {
attributes: { name: 'U2Ftc3VuZyBGcmFtZSBUVg==' },
connectTime: 1650992751687,
deviceName: 'U2Ftc3VuZyBGcmFtZSBUVg==',
id: '7c3f1aa-c175-4bed-a117-73bce85cef1b',
isHost: false
},
event: 'ms.channel.clientDisconnect'
}
socket - ping
---------------------
socket - terminate
socket - closed
Please copy everything and share it on your Issue :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment