[
    {
        "id": "41a465e71ba0cb4e",
        "type": "group",
        "z": "07631b920c07d557",
        "name": "App: Netease Cloud Music Listen Songs",
        "style": {
            "label": true
        },
        "nodes": [
            "ec4e43d7d73b59f2",
            "cd1120adecd45cb8",
            "4679a388a4df8acb",
            "d85ddeb247506a92",
            "09368d6805de1fd4"
        ],
        "x": 74,
        "y": 479,
        "w": 872,
        "h": 122
    },
    {
        "id": "ec4e43d7d73b59f2",
        "type": "inject",
        "z": "07631b920c07d557",
        "d": true,
        "g": "41a465e71ba0cb4e",
        "name": "",
        "props": [],
        "repeat": "600",
        "crontab": "",
        "once": true,
        "onceDelay": "1",
        "topic": "",
        "x": 170,
        "y": 560,
        "wires": [
            [
                "cd1120adecd45cb8"
            ]
        ]
    },
    {
        "id": "cd1120adecd45cb8",
        "type": "http request",
        "z": "07631b920c07d557",
        "g": "41a465e71ba0cb4e",
        "name": "",
        "method": "GET",
        "ret": "obj",
        "paytoqs": "query",
        "url": "https://music.163.com/api/v1/user/detail/UID",
        "tls": "",
        "persist": false,
        "proxy": "",
        "insecureHTTPParser": false,
        "authType": "",
        "senderr": false,
        "headers": [
            {
                "keyType": "other",
                "keyValue": "User-Agent",
                "valueType": "other",
                "valueValue": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36"
            }
        ],
        "x": 340,
        "y": 560,
        "wires": [
            [
                "4679a388a4df8acb"
            ]
        ]
    },
    {
        "id": "4679a388a4df8acb",
        "type": "function",
        "z": "07631b920c07d557",
        "g": "41a465e71ba0cb4e",
        "name": "parser",
        "func": "const json = msg.payload;\nconst listenSongs = json.listenSongs;\nmsg.payload = {\n    text: listenSongs,\n    icon: \"70046\",\n};\n\nreturn msg;",
        "outputs": 1,
        "timeout": "",
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 530,
        "y": 560,
        "wires": [
            [
                "d85ddeb247506a92"
            ]
        ]
    },
    {
        "id": "d85ddeb247506a92",
        "type": "mqtt out",
        "z": "07631b920c07d557",
        "g": "41a465e71ba0cb4e",
        "name": "",
        "topic": "awtrix/custom/netease-cloud-music",
        "qos": "",
        "retain": "",
        "respTopic": "",
        "contentType": "",
        "userProps": "",
        "correl": "",
        "expiry": "",
        "broker": "mqtt_broker",
        "x": 780,
        "y": 560,
        "wires": []
    },
    {
        "id": "09368d6805de1fd4",
        "type": "comment",
        "z": "07631b920c07d557",
        "g": "41a465e71ba0cb4e",
        "name": "Netease Cloud Music Listen Songs",
        "info": "Go to https://music.163.com/ and login\nFind your UID in URL like https://music.163.com/#/user/home?id=yourUID\nModify your UID in http-request node",
        "x": 240,
        "y": 520,
        "wires": []
    },
    {
        "id": "mqtt_broker",
        "type": "mqtt-broker",
        "name": "MQTT Broker",
        "broker": "nas.uniqueding.xyz",
        "port": "1883",
        "clientid": "",
        "autoConnect": true,
        "usetls": false,
        "protocolVersion": "4",
        "keepalive": 15,
        "cleansession": true,
        "autoUnsubscribe": true,
        "birthTopic": "",
        "birthQos": "0",
        "birthPayload": "",
        "birthMsg": {},
        "closeTopic": "",
        "closePayload": "",
        "closeMsg": {},
        "willTopic": "",
        "willQos": "0",
        "willPayload": "",
        "willMsg": {},
        "userProps": "",
        "sessionExpiry": ""
    }
]