Tylko pewnie odpowiednie nody musisz sobie dodać i dokonfigurować (np. kalendarz pod swój)
[
{
"id": "f1869f33439fe36e",
"type": "ical-events",
"z": "22b5f1e54bbfc1ae",
"confignode": "7c1d495e0982e2a2",
"timeout": "15",
"timeoutUnits": "minutes",
"cron": "",
"name": "Pobudka+Radio",
"offsettype": "num",
"offset": "",
"offsetUnitstype": "offsetUnits",
"offsetUnits": "seconds",
"eventtypes": "events",
"eventtypestype": "eventtypes",
"calendar": "",
"calendartype": "str",
"triggertype": "trigger",
"trigger": "match",
"timezone": "Europe/Warsaw",
"timezonetype": "timezone",
"dateformat": "{ \"timeStyle\": \"short\", \"dateStyle\": \"short\" }",
"dateformattype": "json",
"language": "pl",
"languagetype": "language",
"filterProperty": "summary",
"filterPropertytype": "filterProperty",
"filterOperator": "between",
"filterOperatortype": "filterOperator",
"filtertype": "str",
"filter2type": "str",
"filter2": "",
"filter": "PobudkaR",
"x": 320,
"y": 260,
"wires": [
[
"8c98800a1c508333"
],
[
"643d7e337ce72e64"
]
]
},
{
"id": "643d7e337ce72e64",
"type": "function",
"z": "22b5f1e54bbfc1ae",
"name": "",
"func": "return {\n payload: {\n app: \"DefaultMediaReceiver\",\n type: \"STOP\",\n ip: \"10.0.4.20\"\n }\n};",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 560,
"y": 340,
"wires": [
[
"a4015aba0a041cb6"
]
]
},
{
"id": "a4015aba0a041cb6",
"type": "castv2-sender",
"z": "22b5f1e54bbfc1ae",
"name": "Budzik-Biuro",
"connection": "3d89efb2affb3015",
"x": 810,
"y": 340,
"wires": [
[]
]
},
{
"id": "8c98800a1c508333",
"type": "api-call-service",
"z": "22b5f1e54bbfc1ae",
"name": "Roleta Duży 4%",
"server": "d6f35a2718089974",
"version": 5,
"debugenabled": false,
"domain": "input_number",
"service": "set_value",
"areaId": [],
"deviceId": [],
"entityId": [
"input_number.roletaduzy"
],
"data": "{\"value\":4}",
"dataType": "json",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "all",
"x": 640,
"y": 180,
"wires": [
[
"d1995fe36cb751cd"
]
]
},
{
"id": "d1995fe36cb751cd",
"type": "function",
"z": "22b5f1e54bbfc1ae",
"name": "",
"func": "return {\n payload: {\n app: \"DefaultMediaReceiver\",\n type: \"MEDIA\",\n media: {\n url: \"https://n16a-eu.rcs.revma.com/1nnezw8qz7zuv?rj-ttl=5&rj-tok=AAABd0O6QF4AYjLfOc8HC9JDgg\",\n contentType: \"audio/mp3\"\n },\n ip: \"10.0.4.20\"\n }\n};",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 820,
"y": 100,
"wires": [
[
"a045b8da3221aa8b"
]
]
},
{
"id": "a045b8da3221aa8b",
"type": "castv2-sender",
"z": "22b5f1e54bbfc1ae",
"name": "Budzik-Biuro",
"connection": "3d89efb2affb3015",
"x": 1010,
"y": 100,
"wires": [
[]
]
},
{
"id": "7c1d495e0982e2a2",
"type": "ical-config",
"url": "https://calendar.google.com/",
"caldav": "",
"caltype": "ical",
"name": "NodeRed",
"replacedates": false,
"usecache": false,
"username": "",
"password": "",
"calendar": "",
"pastWeeks": "0",
"futureWeeks": "4",
"credentials": {}
},
{
"id": "3d89efb2affb3015",
"type": "castv2-connection",
"name": "Biuro",
"target": "Biuro",
"host": "10.0.4.29",
"port": "8009"
},
{
"id": "d6f35a2718089974",
"type": "server",
"name": "Home Assistant",
"version": 5,
"addon": false,
"rejectUnauthorizedCerts": false,
"ha_boolean": "y|yes|true|on|home|open",
"connectionDelay": true,
"cacheJson": true,
"heartbeat": false,
"heartbeatInterval": "30",
"areaSelector": "friendlyName",
"deviceSelector": "friendlyName",
"entitySelector": "friendlyName",
"statusSeparator": "at: ",
"statusYear": "hidden",
"statusMonth": "short",
"statusDay": "numeric",
"statusHourCycle": "h23",
"statusTimeFormat": "h:m",
"enableGlobalContextStore": true
}
]