Devicename update

This commit is contained in:
Dirk Alders 2024-08-20 18:00:50 +02:00
parent abe6549c7c
commit 015cf26e9f
2 changed files with 47 additions and 376 deletions

View File

@ -3164,9 +3164,9 @@
"id": "713c4a78041f2b85", "id": "713c4a78041f2b85",
"type": "comment", "type": "comment",
"z": "8e9c7f123e3fa72b", "z": "8e9c7f123e3fa72b",
"name": "Record Player", "name": "Phono",
"info": "", "info": "",
"x": 110, "x": 90,
"y": 1120, "y": 1120,
"wires": [] "wires": []
}, },
@ -3175,7 +3175,7 @@
"type": "mqtt in", "type": "mqtt in",
"z": "8e9c7f123e3fa72b", "z": "8e9c7f123e3fa72b",
"name": "", "name": "",
"topic": "videv/gfw/dirk/record_player/state", "topic": "videv/gfw/dirk/phono/state",
"qos": "2", "qos": "2",
"datatype": "auto-detect", "datatype": "auto-detect",
"broker": "f6f673e95e75873d", "broker": "f6f673e95e75873d",
@ -3183,7 +3183,7 @@
"rap": true, "rap": true,
"rh": 0, "rh": 0,
"inputs": 0, "inputs": 0,
"x": 170, "x": 150,
"y": 1180, "y": 1180,
"wires": [ "wires": [
[ [
@ -3196,7 +3196,7 @@
"type": "mqtt out", "type": "mqtt out",
"z": "8e9c7f123e3fa72b", "z": "8e9c7f123e3fa72b",
"name": "", "name": "",
"topic": "videv/gfw/dirk/record_player/state/set", "topic": "videv/gfw/dirk/phono/state/set",
"qos": "", "qos": "",
"retain": "", "retain": "",
"respTopic": "", "respTopic": "",
@ -3205,7 +3205,7 @@
"correl": "", "correl": "",
"expiry": "", "expiry": "",
"broker": "f6f673e95e75873d", "broker": "f6f673e95e75873d",
"x": 970, "x": 950,
"y": 1180, "y": 1180,
"wires": [] "wires": []
}, },

View File

@ -1124,7 +1124,7 @@
"type": "mqtt out", "type": "mqtt out",
"z": "8e9c7f123e3fa72b", "z": "8e9c7f123e3fa72b",
"name": "", "name": "",
"topic": "my_apps/gfw/dirk/remote/RAS5/LINE1", "topic": "my_apps/gfw/dirk/remote_ctrl/RAS5/LINE1",
"qos": "", "qos": "",
"retain": "", "retain": "",
"respTopic": "", "respTopic": "",
@ -1133,7 +1133,7 @@
"correl": "", "correl": "",
"expiry": "", "expiry": "",
"broker": "f6f673e95e75873d", "broker": "f6f673e95e75873d",
"x": 1450, "x": 1470,
"y": 2260, "y": 2260,
"wires": [] "wires": []
}, },
@ -1173,7 +1173,7 @@
"type": "mqtt out", "type": "mqtt out",
"z": "8e9c7f123e3fa72b", "z": "8e9c7f123e3fa72b",
"name": "", "name": "",
"topic": "my_apps/gfw/dirk/remote/RAS5/CD", "topic": "my_apps/gfw/dirk/remote_ctrl/RAS5/CD",
"qos": "", "qos": "",
"retain": "", "retain": "",
"respTopic": "", "respTopic": "",
@ -1182,7 +1182,7 @@
"correl": "", "correl": "",
"expiry": "", "expiry": "",
"broker": "f6f673e95e75873d", "broker": "f6f673e95e75873d",
"x": 1440, "x": 1460,
"y": 2320, "y": 2320,
"wires": [] "wires": []
}, },
@ -1191,7 +1191,7 @@
"type": "mqtt out", "type": "mqtt out",
"z": "8e9c7f123e3fa72b", "z": "8e9c7f123e3fa72b",
"name": "", "name": "",
"topic": "my_apps/gfw/dirk/remote/RAS5/LINE3", "topic": "my_apps/gfw/dirk/remote_ctrl/RAS5/LINE3",
"qos": "", "qos": "",
"retain": "", "retain": "",
"respTopic": "", "respTopic": "",
@ -1200,7 +1200,7 @@
"correl": "", "correl": "",
"expiry": "", "expiry": "",
"broker": "f6f673e95e75873d", "broker": "f6f673e95e75873d",
"x": 1450, "x": 1470,
"y": 2380, "y": 2380,
"wires": [] "wires": []
}, },
@ -1295,7 +1295,7 @@
"type": "mqtt out", "type": "mqtt out",
"z": "8e9c7f123e3fa72b", "z": "8e9c7f123e3fa72b",
"name": "", "name": "",
"topic": "my_apps/gfw/dirk/remote/RAS5/MUTE", "topic": "my_apps/gfw/dirk/remote_ctrl/RAS5/MUTE",
"qos": "", "qos": "",
"retain": "", "retain": "",
"respTopic": "", "respTopic": "",
@ -1304,7 +1304,7 @@
"correl": "", "correl": "",
"expiry": "", "expiry": "",
"broker": "f6f673e95e75873d", "broker": "f6f673e95e75873d",
"x": 1450, "x": 1470,
"y": 2440, "y": 2440,
"wires": [] "wires": []
}, },
@ -1433,7 +1433,7 @@
"type": "mqtt out", "type": "mqtt out",
"z": "8e9c7f123e3fa72b", "z": "8e9c7f123e3fa72b",
"name": "", "name": "",
"topic": "my_apps/gfw/dirk/remote/EUR642100/STOP", "topic": "my_apps/gfw/dirk/remote_ctrl/EUR642100/STOP",
"qos": "", "qos": "",
"retain": "", "retain": "",
"respTopic": "", "respTopic": "",
@ -1442,7 +1442,7 @@
"correl": "", "correl": "",
"expiry": "", "expiry": "",
"broker": "f6f673e95e75873d", "broker": "f6f673e95e75873d",
"x": 1470, "x": 1490,
"y": 2900, "y": 2900,
"wires": [] "wires": []
}, },
@ -1479,7 +1479,7 @@
"type": "mqtt out", "type": "mqtt out",
"z": "8e9c7f123e3fa72b", "z": "8e9c7f123e3fa72b",
"name": "", "name": "",
"topic": "my_apps/gfw/dirk/remote/EUR642100/PAUSE", "topic": "my_apps/gfw/dirk/remote_ctrl/EUR642100/PAUSE",
"qos": "", "qos": "",
"retain": "", "retain": "",
"respTopic": "", "respTopic": "",
@ -1488,7 +1488,7 @@
"correl": "", "correl": "",
"expiry": "", "expiry": "",
"broker": "f6f673e95e75873d", "broker": "f6f673e95e75873d",
"x": 1480, "x": 1490,
"y": 2960, "y": 2960,
"wires": [] "wires": []
}, },
@ -1525,7 +1525,7 @@
"type": "mqtt out", "type": "mqtt out",
"z": "8e9c7f123e3fa72b", "z": "8e9c7f123e3fa72b",
"name": "", "name": "",
"topic": "my_apps/gfw/dirk/remote/EUR642100/PLAY", "topic": "my_apps/gfw/dirk/remote_ctrl/EUR642100/PLAY",
"qos": "", "qos": "",
"retain": "", "retain": "",
"respTopic": "", "respTopic": "",
@ -1534,7 +1534,7 @@
"correl": "", "correl": "",
"expiry": "", "expiry": "",
"broker": "f6f673e95e75873d", "broker": "f6f673e95e75873d",
"x": 1470, "x": 1480,
"y": 3020, "y": 3020,
"wires": [] "wires": []
}, },
@ -1571,7 +1571,7 @@
"type": "mqtt out", "type": "mqtt out",
"z": "8e9c7f123e3fa72b", "z": "8e9c7f123e3fa72b",
"name": "", "name": "",
"topic": "my_apps/gfw/dirk/remote/EUR642100/TRACK_PREV", "topic": "my_apps/gfw/dirk/remote_ctrl/EUR642100/TRACK_PREV",
"qos": "", "qos": "",
"retain": "", "retain": "",
"respTopic": "", "respTopic": "",
@ -1580,7 +1580,7 @@
"correl": "", "correl": "",
"expiry": "", "expiry": "",
"broker": "f6f673e95e75873d", "broker": "f6f673e95e75873d",
"x": 1500, "x": 1510,
"y": 2840, "y": 2840,
"wires": [] "wires": []
}, },
@ -1617,7 +1617,7 @@
"type": "mqtt out", "type": "mqtt out",
"z": "8e9c7f123e3fa72b", "z": "8e9c7f123e3fa72b",
"name": "", "name": "",
"topic": "my_apps/gfw/dirk/remote/EUR642100/TRACK_NEXT", "topic": "my_apps/gfw/dirk/remote_ctrl/EUR642100/TRACK_NEXT",
"qos": "", "qos": "",
"retain": "", "retain": "",
"respTopic": "", "respTopic": "",
@ -1626,7 +1626,7 @@
"correl": "", "correl": "",
"expiry": "", "expiry": "",
"broker": "f6f673e95e75873d", "broker": "f6f673e95e75873d",
"x": 1500, "x": 1510,
"y": 3080, "y": 3080,
"wires": [] "wires": []
}, },
@ -1663,7 +1663,7 @@
"type": "mqtt out", "type": "mqtt out",
"z": "8e9c7f123e3fa72b", "z": "8e9c7f123e3fa72b",
"name": "", "name": "",
"topic": "my_apps/gfw/dirk/remote/EUR642100/OPEN_CLOSE", "topic": "my_apps/gfw/dirk/remote_ctrl/EUR642100/OPEN_CLOSE",
"qos": "", "qos": "",
"retain": "", "retain": "",
"respTopic": "", "respTopic": "",
@ -1672,7 +1672,7 @@
"correl": "", "correl": "",
"expiry": "", "expiry": "",
"broker": "f6f673e95e75873d", "broker": "f6f673e95e75873d",
"x": 1500, "x": 1510,
"y": 2780, "y": 2780,
"wires": [] "wires": []
}, },
@ -1732,7 +1732,7 @@
"type": "mqtt out", "type": "mqtt out",
"z": "8e9c7f123e3fa72b", "z": "8e9c7f123e3fa72b",
"name": "", "name": "",
"topic": "my_apps/gfw/dirk/remote/RAS5/VOLUP", "topic": "my_apps/gfw/dirk/remote_ctrl/RAS5/VOLUP",
"qos": "", "qos": "",
"retain": "", "retain": "",
"respTopic": "", "respTopic": "",
@ -1741,7 +1741,7 @@
"correl": "", "correl": "",
"expiry": "", "expiry": "",
"broker": "f6f673e95e75873d", "broker": "f6f673e95e75873d",
"x": 1460, "x": 1470,
"y": 2500, "y": 2500,
"wires": [] "wires": []
}, },
@ -1773,7 +1773,25 @@
"type": "mqtt out", "type": "mqtt out",
"z": "8e9c7f123e3fa72b", "z": "8e9c7f123e3fa72b",
"name": "", "name": "",
"topic": "my_apps/gfw/dirk/remote/RAS5/VOLDOWN", "topic": "my_apps/gfw/dirk/remote_ctrl/RAS5/VOLDOWN",
"qos": "",
"retain": "",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "f6f673e95e75873d",
"x": 1480,
"y": 2560,
"wires": []
},
{
"id": "084e729f2517cc93",
"type": "mqtt out",
"z": "8e9c7f123e3fa72b",
"name": "",
"topic": "my_apps/gfw/dirk/remote_ctrl/RAS5/POWER",
"qos": "", "qos": "",
"retain": "", "retain": "",
"respTopic": "", "respTopic": "",
@ -1783,24 +1801,6 @@
"expiry": "", "expiry": "",
"broker": "f6f673e95e75873d", "broker": "f6f673e95e75873d",
"x": 1470, "x": 1470,
"y": 2560,
"wires": []
},
{
"id": "084e729f2517cc93",
"type": "mqtt out",
"z": "8e9c7f123e3fa72b",
"name": "",
"topic": "my_apps/gfw/dirk/remote/RAS5/POWER",
"qos": "",
"retain": "",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "f6f673e95e75873d",
"x": 1460,
"y": 2620, "y": 2620,
"wires": [] "wires": []
}, },
@ -2797,335 +2797,6 @@
"y": 1780, "y": 1780,
"wires": [] "wires": []
}, },
{
"id": "03ae3793c0b0406b",
"type": "comment",
"z": "8e9c7f123e3fa72b",
"name": "Control BT CD",
"info": "",
"x": 110,
"y": 3120,
"wires": []
},
{
"id": "3152800d6bb75a91",
"type": "mqtt in",
"z": "8e9c7f123e3fa72b",
"name": "",
"topic": "videv/gfw/dirk/active_brightness_device/state_2",
"qos": "2",
"datatype": "json",
"broker": "f6f673e95e75873d",
"nl": false,
"rap": true,
"rh": 0,
"inputs": 0,
"x": 220,
"y": 3260,
"wires": [
[
"6df433b81ad85d7d"
]
]
},
{
"id": "c122c00c6dd3d9e3",
"type": "delay",
"z": "8e9c7f123e3fa72b",
"name": "",
"pauseType": "delay",
"timeout": "1",
"timeoutUnits": "seconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 840,
"y": 3180,
"wires": [
[
"151bae93d6a91c42",
"9a0c376521bcc4a3",
"f3740bd03907325d",
"18b41684e95bd2fb"
]
]
},
{
"id": "d21e7fedb3d28b23",
"type": "mqtt out",
"z": "8e9c7f123e3fa72b",
"name": "",
"topic": "my_apps/gfw/dirk/hifi/btaudio/PAUSE",
"qos": "",
"retain": "",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "f6f673e95e75873d",
"x": 1450,
"y": 3360,
"wires": []
},
{
"id": "151bae93d6a91c42",
"type": "ui_button",
"z": "8e9c7f123e3fa72b",
"name": "",
"group": "936f87c326e33511",
"order": 2,
"width": "1",
"height": "1",
"passthru": false,
"label": "",
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "pause",
"payload": "",
"payloadType": "str",
"topic": "topic",
"topicType": "msg",
"x": 1070,
"y": 3360,
"wires": [
[
"d21e7fedb3d28b23"
]
]
},
{
"id": "0eafa6611b9e1d16",
"type": "mqtt out",
"z": "8e9c7f123e3fa72b",
"name": "",
"topic": "my_apps/gfw/dirk/hifi/btaudio/PLAY",
"qos": "",
"retain": "",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "f6f673e95e75873d",
"x": 1440,
"y": 3420,
"wires": []
},
{
"id": "9a0c376521bcc4a3",
"type": "ui_button",
"z": "8e9c7f123e3fa72b",
"name": "",
"group": "936f87c326e33511",
"order": 3,
"width": "2",
"height": "1",
"passthru": false,
"label": "",
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "play_arrow",
"payload": "",
"payloadType": "str",
"topic": "topic",
"topicType": "msg",
"x": 1070,
"y": 3420,
"wires": [
[
"0eafa6611b9e1d16"
]
]
},
{
"id": "1dfdb02677980a7e",
"type": "mqtt out",
"z": "8e9c7f123e3fa72b",
"name": "",
"topic": "my_apps/gfw/dirk/hifi/btaudio/TRACK_PREV",
"qos": "",
"retain": "",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "f6f673e95e75873d",
"x": 1470,
"y": 3240,
"wires": []
},
{
"id": "f3740bd03907325d",
"type": "ui_button",
"z": "8e9c7f123e3fa72b",
"name": "",
"group": "936f87c326e33511",
"order": 1,
"width": "1",
"height": "1",
"passthru": false,
"label": "",
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "skip_previous",
"payload": "",
"payloadType": "str",
"topic": "topic",
"topicType": "msg",
"x": 1070,
"y": 3240,
"wires": [
[
"1dfdb02677980a7e"
]
]
},
{
"id": "c93a9c4dda4db3b1",
"type": "mqtt out",
"z": "8e9c7f123e3fa72b",
"name": "",
"topic": "my_apps/gfw/dirk/hifi/btaudio/TRACK_NEXT",
"qos": "",
"retain": "",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "f6f673e95e75873d",
"x": 1470,
"y": 3480,
"wires": []
},
{
"id": "18b41684e95bd2fb",
"type": "ui_button",
"z": "8e9c7f123e3fa72b",
"name": "",
"group": "936f87c326e33511",
"order": 4,
"width": "1",
"height": "1",
"passthru": false,
"label": "",
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "skip_next",
"payload": "",
"payloadType": "str",
"topic": "topic",
"topicType": "msg",
"x": 1070,
"y": 3480,
"wires": [
[
"c93a9c4dda4db3b1"
]
]
},
{
"id": "6df433b81ad85d7d",
"type": "change",
"z": "8e9c7f123e3fa72b",
"name": "enable",
"rules": [
{
"t": "move",
"p": "payload",
"pt": "msg",
"to": "enabled",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 470,
"y": 3260,
"wires": [
[
"f9669c6c5090d8b5"
]
]
},
{
"id": "f9669c6c5090d8b5",
"type": "switch",
"z": "8e9c7f123e3fa72b",
"name": "true_false",
"property": "enabled",
"propertyType": "msg",
"rules": [
{
"t": "true"
},
{
"t": "false"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 620,
"y": 3260,
"wires": [
[
"c122c00c6dd3d9e3"
],
[
"f3740bd03907325d",
"151bae93d6a91c42",
"18b41684e95bd2fb",
"789d92293ea33285"
]
]
},
{
"id": "789d92293ea33285",
"type": "change",
"z": "8e9c7f123e3fa72b",
"name": "reset",
"rules": [
{
"t": "set",
"p": "reset",
"pt": "msg",
"to": "true",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 630,
"y": 3180,
"wires": [
[
"c122c00c6dd3d9e3"
]
]
},
{ {
"id": "c1c3f4ed8532fb41", "id": "c1c3f4ed8532fb41",
"type": "ui_switch", "type": "ui_switch",