Files
n8n/flows/6.json

218 lines
5.0 KiB
JSON
Raw Normal View History

2022-05-26 20:57:30 +03:00
{
2022-10-27 21:01:19 +00:00
"createdAt": "2022-04-24T08:26:47.162Z",
2022-12-06 22:01:07 +00:00
"updatedAt": "2022-12-06T21:00:22.774Z",
2022-05-26 20:57:30 +03:00
"id": 6,
"name": "Погода в Microsoft to do",
"active": true,
"nodes": [
{
"parameters": {},
"name": "Start",
"type": "n8n-nodes-base.start",
"typeVersion": 1,
"position": [
240,
300
2022-08-03 21:00:21 +00:00
],
"id": "2ac945b3-cebf-4079-b130-e496af23d44b"
2022-05-26 20:57:30 +03:00
},
{
"parameters": {
"cityName": "chernihiv,ua",
"language": "ru"
},
"name": "OpenWeatherMap",
"type": "n8n-nodes-base.openWeatherMap",
"typeVersion": 1,
"position": [
540,
380
],
"credentials": {
"openWeatherMapApi": {
"id": "2",
"name": "OpenWeatherMap account"
}
2022-08-03 21:00:21 +00:00
},
"id": "e0274ab8-806f-43c3-a46a-fb7f322fc7c3"
2022-05-26 20:57:30 +03:00
},
{
"parameters": {
"triggerTimes": {
"item": [
{
"mode": "everyHour"
}
]
}
},
"name": "Cron",
"type": "n8n-nodes-base.cron",
"typeVersion": 1,
"position": [
300,
540
2022-08-03 21:00:21 +00:00
],
"id": "26e09211-a6ca-4a6c-b4a9-b5be35792c97"
2022-05-26 20:57:30 +03:00
},
{
"parameters": {
"operation": "update",
"taskListId": "AQMkADAwATNiZmYAZC05MzYzLWQ5YjYtMDACLTAwCgAuAAADIyRvDrjkMkCmTApWtV1lbAEAodXeAPq8WUqqkl0jol24wwAE9x75IQAAAA==",
"taskId": "AQMkADAwATNiZmYAZC05MzYzLWQ5YjYtMDACLTAwCgBGAAADIyRvDrjkMkCmTApWtV1lbAcAodXeAPq8WUqqkl0jol24wwAE9x75IQAAAKHV3gD6vFlKqpJdI6JduMMABTfY0mUAAAA=",
"updateFields": {
"content": "=Температура {{$json[\"main\"][\"temp\"]}}, но ощущается {{$json[\"main\"][\"feels_like\"]}},\nа в квартире {{$json[\"state\"]}}",
2022-05-30 21:01:02 +00:00
"dueDateTime": "={{$today.plus({days: 1}).toString()}}",
"importance": "low",
2022-05-26 20:57:30 +03:00
"status": "notStarted",
"title": "=Прямо сейчас {{$json[\"weather\"][0][\"description\"]}}"
}
},
"name": "Microsoft To Do1",
"type": "n8n-nodes-base.microsoftToDo",
"typeVersion": 1,
"position": [
1220,
240
],
"credentials": {
"microsoftToDoOAuth2Api": {
"id": "4",
"name": "Microsoft To Do account"
}
2022-08-03 21:00:21 +00:00
},
"id": "5da33f31-2928-4191-b4c8-ac39cf6faa94"
2022-05-26 20:57:30 +03:00
},
{
"parameters": {
"resource": "state",
"entityId": "sensor.lumi_lumi_weather_e9d0c902_temperature"
},
"name": "Home Assistant",
"type": "n8n-nodes-base.homeAssistant",
"typeVersion": 1,
"position": [
540,
200
],
"credentials": {
"homeAssistantApi": {
"id": "5",
"name": "ha.cynic.club"
}
2022-08-03 21:00:21 +00:00
},
"id": "e0826c32-4c12-4e1b-8e49-43bff40dca2e"
2022-05-26 20:57:30 +03:00
},
{
"parameters": {
"mode": "multiplex"
},
"name": "Merge",
"type": "n8n-nodes-base.merge",
"typeVersion": 1,
"position": [
980,
240
2022-08-03 21:00:21 +00:00
],
"id": "854474d3-dc0c-4b16-843c-bad994729c74"
2022-05-26 20:57:30 +03:00
},
{
"parameters": {
"operation": "create",
"docId": "4mmygEDcPEhS3ZLXbZGLQL",
"tableId": "Temperature",
"fieldsToSend": {
"properties": [
{
"fieldId": "date",
"fieldValue": "={{$now.toString()}}"
},
{
"fieldId": "living_room_temperature",
"fieldValue": "={{$json[\"state\"]}}"
},
{
"fieldId": "outdoor_temperaure",
"fieldValue": "={{$json[\"main\"][\"temp\"]}}"
}
]
}
},
"name": "Grist",
"type": "n8n-nodes-base.grist",
"typeVersion": 1,
"position": [
1280,
460
],
"credentials": {
"gristApi": {
"id": "21",
"name": "Grist account"
}
2022-08-03 21:00:21 +00:00
},
"id": "90588bbb-7449-4784-9278-b26f88fe7fc0"
2022-05-26 20:57:30 +03:00
}
],
"connections": {
"OpenWeatherMap": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 1
}
]
]
},
"Cron": {
"main": [
[
{
"node": "OpenWeatherMap",
"type": "main",
"index": 0
},
{
"node": "Home Assistant",
"type": "main",
"index": 0
}
]
]
},
"Home Assistant": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 0
}
]
]
},
"Merge": {
"main": [
[
{
"node": "Microsoft To Do1",
"type": "main",
"index": 0
},
{
"node": "Grist",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {},
2022-06-09 21:00:39 +00:00
"staticData": null,
2022-07-20 21:00:15 +00:00
"pinData": null,
2022-11-02 22:00:30 +00:00
"tags": [],
"hash": "7460b74987ba79ed8227dfc8f4b6d197"
2022-05-26 20:57:30 +03:00
}