Ok here is a workaround I managed to get working with Node-Red. If the TV is running (I have not integrated that “check” yet. So let’s assume it is running something) you can run the following Node Red flow. Also, you need to have smartThings enabled and integrated and you have to have the HACACS Integration of Samsung running.
Then this works to turn the TV back into Art Mode I know this is “artistic” to say the least, but it does the job.
[
{
"id": "0985c495899782b0",
"type": "api-call-service",
"z": "3f145bea.90abf4",
"name": "TV off",
"server": "dfcf8dcf.082cc",
"version": 5,
"debugenabled": false,
"domain": "remote",
"service": "turn_off",
"areaId": [],
"deviceId": [],
"entityId": [
"remote.frame_2"
],
"data": "",
"dataType": "json",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 400,
"y": 1020,
"wires": [
[
"987fae0025b463a5"
]
]
},
{
"id": "a6cb293f844ed3b2",
"type": "api-call-service",
"z": "3f145bea.90abf4",
"name": "TV on",
"server": "dfcf8dcf.082cc",
"version": 5,
"debugenabled": false,
"domain": "remote",
"service": "turn_on",
"areaId": [],
"deviceId": [],
"entityId": [
"remote.frame_2"
],
"data": "",
"dataType": "json",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 730,
"y": 1020,
"wires": [
[
"8e7997ab920aff5a"
]
]
},
{
"id": "20b93820fee59e67",
"type": "api-call-service",
"z": "3f145bea.90abf4",
"name": "Art on",
"server": "dfcf8dcf.082cc",
"version": 5,
"debugenabled": false,
"domain": "remote",
"service": "turn_on",
"areaId": [],
"deviceId": [],
"entityId": [
"remote.frame_2"
],
"data": "",
"dataType": "json",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 1050,
"y": 1020,
"wires": [
[]
]
},
{
"id": "8e7997ab920aff5a",
"type": "delay",
"z": "3f145bea.90abf4",
"name": "",
"pauseType": "delay",
"timeout": "3",
"timeoutUnits": "seconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 900,
"y": 1000,
"wires": [
[
"20b93820fee59e67"
]
]
},
{
"id": "987fae0025b463a5",
"type": "delay",
"z": "3f145bea.90abf4",
"name": "",
"pauseType": "delay",
"timeout": "3",
"timeoutUnits": "seconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 580,
"y": 1000,
"wires": [
[
"a6cb293f844ed3b2"
]
]
}
]
The delays seem to trick the TV into not turning it off again and so it moves into Art mode.
Happy to hear your feedback and improvements.