[
{
"id": "ec220c83.1098d",
"type": "tab",
"label": "TV Volume",
"disabled": false,
"info": ""
},
{
"id": "4d861a23.5381a4",
"type": "mqtt in",
"z": "ec220c83.1098d",
"name": "TV VOLUME",
"topic": "domoticz/out",
"qos": "0",
"datatype": "auto",
"broker": "8747e656.336818",
"x": 180,
"y": 300,
"wires": [
[
"e3bcead9.637d68"
]
]
},
{
"id": "e3bcead9.637d68",
"type": "json",
"z": "ec220c83.1098d",
"name": "",
"property": "payload",
"action": "",
"pretty": false,
"x": 340,
"y": 300,
"wires": [
[
"806f6d7b.e579f"
]
]
},
{
"id": "806f6d7b.e579f",
"type": "switch",
"z": "ec220c83.1098d",
"name": "",
"property": "payload.idx",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "608",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 460,
"y": 300,
"wires": [
[
"292055be.1e1e7a"
]
]
},
{
"id": "292055be.1e1e7a",
"type": "switch",
"z": "ec220c83.1098d",
"name": "",
"property": "payload.svalue1",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "0",
"vt": "str"
},
{
"t": "eq",
"v": "10",
"vt": "str"
},
{
"t": "eq",
"v": "20",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 3,
"x": 590,
"y": 300,
"wires": [
[
"f48e6bf2.cf9cc8"
],
[
"6fc9c370.430fdc"
],
[
"f616db5e.d19cd8"
]
]
},
{
"id": "f48e6bf2.cf9cc8",
"type": "samsung-tv-send",
"z": "ec220c83.1098d",
"device": "a09ecf38.1ce4e",
"name": "MUTE",
"key": "KEY_MUTE",
"x": 770,
"y": 260,
"wires": [
[]
]
},
{
"id": "6fc9c370.430fdc",
"type": "samsung-tv-send",
"z": "ec220c83.1098d",
"device": "a09ecf38.1ce4e",
"name": "VOL+",
"key": "KEY_VOLUP",
"x": 770,
"y": 300,
"wires": [
[]
]
},
{
"id": "f616db5e.d19cd8",
"type": "samsung-tv-send",
"z": "ec220c83.1098d",
"device": "a09ecf38.1ce4e",
"name": "VOL-",
"key": "KEY_VOLDOWN",
"x": 770,
"y": 340,
"wires": [
[]
]
},
{
"id": "8747e656.336818",
"type": "mqtt-broker",
"name": "Domoticz",
"broker": "192.168.1.234",
"port": "1883",
"clientid": "",
"usetls": false,
"compatmode": false,
"keepalive": "60",
"cleansession": true,
"birthTopic": "",
"birthQos": "0",
"birthPayload": "",
"closeTopic": "",
"closeQos": "0",
"closePayload": "",
"willTopic": "",
"willQos": "0",
"willPayload": ""
},
{
"id": "a09ecf38.1ce4e",
"type": "samsung-tv",
"name": "TV",
"model": "8002",
"ip": "192.168.1.123",
"mac": "1A:B2:3C:D4:5E:F6",
"token": "12345678"
}
]