ability to configure entities and scenes from UI

This commit is contained in:
JcDenis 2024-07-21 17:21:51 +02:00
parent 06ceec8403
commit 79c6283c41
41 changed files with 66358 additions and 60673 deletions

View file

@ -1,5 +1,5 @@
## ABOUT ## ABOUT
iotredloop v0.0.1 iotredloop v0.1.0
> Simple nodered home automation kernel > Simple nodered home automation kernel
This is a personnal project of home automation, it is highly limited to my needs. This is a personnal project of home automation, it is highly limited to my needs.
@ -9,14 +9,14 @@ Main flows.json was cut into multiple files by tabs using [node-red-contrib-flow
## REQUIREMENTS ## REQUIREMENTS
Flows are written under Node-red v3.1.9 with following nodes packages : Flows are written under Node-red v4.0.2 with following nodes packages :
* [node-red-contrib-flow-manager](https://flows.nodered.org/node/node-red-contrib-flow-manager) 0.7.4 * [node-red-contrib-flow-manager](https://flows.nodered.org/node/node-red-contrib-flow-manager) 0.7.4
* [node-red-contrib-msg-speed](https://flows.nodered.org/node/node-red-contrib-msg-speed) 2.1.0 * [node-red-contrib-msg-speed](https://flows.nodered.org/node/node-red-contrib-msg-speed) 2.1.0
* [node-red-contrib-queue-gate](https://flows.nodered.org/node/node-red-contrib-queue-gate) 1.5.5 * [node-red-contrib-queue-gate](https://flows.nodered.org/node/node-red-contrib-queue-gate) 1.5.5
* [node-red-contrib-simple-gate](https://flows.nodered.org/node/node-red-contrib-simple-gate) 0.5.2 * [node-red-contrib-simple-gate](https://flows.nodered.org/node/node-red-contrib-simple-gate) 0.5.2
* [node-red-contrib-stackhero-influxdb-v2](https://flows.nodered.org/node/node-red-contrib-stackhero-influxdb-v2) 1.0.4 * [node-red-contrib-stackhero-influxdb-v2](https://flows.nodered.org/node/node-red-contrib-stackhero-influxdb-v2) 1.0.4
* [@flowfuse/node-red-dashboard](https://flows.nodered.org/node/@flowfuse/node-red-dashboard) 1.9.1 (nodered dashboard 2) * [@flowfuse/node-red-dashboard](https://flows.nodered.org/node/@flowfuse/node-red-dashboard) 1.13.0 (nodered dashboard 2)
* [node-red-contrib-cpu](https://flows.nodered.org/node/node-red-contrib-cpu) 0.0.4 * [node-red-contrib-cpu](https://flows.nodered.org/node/node-red-contrib-cpu) 0.0.4
* [node-red-contrib-moment](https://flows.nodered.org/node/node-red-contrib-moment) 5.0.0 * [node-red-contrib-moment](https://flows.nodered.org/node/node-red-contrib-moment) 5.0.0
* [node-red-contrib-bigtimer](https://flows.nodered.org/node/node-red-contrib-bigtimer) 2.8.6 * [node-red-contrib-bigtimer](https://flows.nodered.org/node/node-red-contrib-bigtimer) 2.8.6
@ -28,12 +28,12 @@ Flows are written under Node-red v3.1.9 with following nodes packages :
It additionnaly uses some Telegram, Proxmox, Unifi, Nextcloud (agenda) and Amazon Alexa stuff. It additionnaly uses some Telegram, Proxmox, Unifi, Nextcloud (agenda) and Amazon Alexa stuff.
* [node-red-contrib-telegrambot](https://flows.nodered.org/node/node-red-contrib-telegrambot) 15.1.10 * [node-red-contrib-telegrambot](https://flows.nodered.org/node/node-red-contrib-telegrambot) 16.0.1
* [node-red-contrib-proxmox](https://flows.nodered.org/node/node-red-contrib-proxmox) 0.0.2 * [node-red-contrib-proxmox](https://flows.nodered.org/node/node-red-contrib-proxmox) 0.0.2
* [node-red-contrib-unifi](https://flows.nodered.org/node/node-red-contrib-unifi) 0.3.15 * [node-red-contrib-unifi](https://flows.nodered.org/node/node-red-contrib-unifi) 0.3.15
* [@kuehnelbs/node-red-contrib-nextcloud](https://flows.nodered.org/node/@kuehnelbs/node-red-contrib-nextcloud) 0.1.3 * [@kuehnelbs/node-red-contrib-nextcloud](https://flows.nodered.org/node/@kuehnelbs/node-red-contrib-nextcloud) 0.1.3
* [node-red-contrib-alexa-remote2-applestrudel](https://flows.nodered.org/node/node-red-contrib-alexa-remote2-applestrudel) 5.0.50 * [node-red-contrib-alexa-remote2-applestrudel](https://flows.nodered.org/node/node-red-contrib-alexa-remote2-applestrudel) 5.0.50
* [node-red-contrib-virtual-smart-home](https://flows.nodered.org/node/node-red-contrib-virtual-smart-home) 4.4.0 * [node-red-contrib-virtual-smart-home](https://flows.nodered.org/node/node-red-contrib-virtual-smart-home) 4.4.1
**Flows also required a working MQTT broker and a InfluxDB database.** **Flows also required a working MQTT broker and a InfluxDB database.**
@ -48,6 +48,7 @@ The better way is to :
Tabs starting with: Tabs starting with:
* K. Kernel tabs, required * K. Kernel tabs, required
* P. Protocols tabs, depending of your devices * P. Protocols tabs, depending of your devices
* A. API/Assistant tabs, depending of your needs
* U. Dashboard tabs,required * U. Dashboard tabs,required
* R. Rooms tabs, not required, some exemples of rooms taken from my house * R. Rooms tabs, not required, some exemples of rooms taken from my house

View file

@ -193,35 +193,6 @@
"userProps": "", "userProps": "",
"sessionExpiry": "" "sessionExpiry": ""
}, },
{
"id": "442ad702808e3c66",
"type": "mqtt-broker",
"name": "mqtt rhasspy",
"broker": "10.40.0.111",
"port": "1883",
"clientid": "iotredloop-rhasspy",
"autoConnect": true,
"usetls": false,
"protocolVersion": "4",
"keepalive": "60",
"cleansession": true,
"autoUnsubscribe": true,
"birthTopic": "domotique/status",
"birthQos": "1",
"birthRetain": "true",
"birthPayload": "online",
"birthMsg": {},
"closeTopic": "",
"closeQos": "0",
"closePayload": "",
"closeMsg": {},
"willTopic": "",
"willQos": "0",
"willPayload": "",
"willMsg": {},
"userProps": "",
"sessionExpiry": ""
},
{ {
"id": "fcf92ce9c73cd90d", "id": "fcf92ce9c73cd90d",
"type": "ui-page", "type": "ui-page",
@ -231,31 +202,18 @@
"icon": "door", "icon": "door",
"layout": "flex", "layout": "flex",
"theme": "0e53487482752cfe", "theme": "0e53487482752cfe",
"order": 2, "order": 1,
"className": "", "className": "",
"visible": true, "visible": true,
"disabled": "false" "disabled": "false"
}, },
{
"id": "d464a60fe4e4c421",
"type": "ui-group",
"name": "Tableau de bord",
"page": "90601eed5215748f",
"width": "6",
"height": "1",
"order": 1,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{ {
"id": "36396f5285df476c", "id": "36396f5285df476c",
"type": "ui-group", "type": "ui-group",
"name": "Pièce", "name": "Pièce",
"page": "fcf92ce9c73cd90d", "page": "fcf92ce9c73cd90d",
"width": "6", "width": "6",
"height": "5", "height": "1",
"order": 1, "order": 1,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
@ -291,7 +249,9 @@
"ui-control" "ui-control"
], ],
"showPathInSidebar": false, "showPathInSidebar": false,
"navigationStyle": "icon" "showPageTitle": true,
"navigationStyle": "icon",
"titleBarStyle": "default"
}, },
{ {
"id": "018c8ded1126b49a", "id": "018c8ded1126b49a",
@ -300,7 +260,7 @@
"page": "90601eed5215748f", "page": "90601eed5215748f",
"width": "6", "width": "6",
"height": "3", "height": "3",
"order": 7, "order": 3,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -313,7 +273,7 @@
"page": "90601eed5215748f", "page": "90601eed5215748f",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 6, "order": 2,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -341,7 +301,7 @@
"icon": "cog", "icon": "cog",
"layout": "flex", "layout": "flex",
"theme": "0e53487482752cfe", "theme": "0e53487482752cfe",
"order": 4, "order": 3,
"className": "", "className": "",
"visible": "true", "visible": "true",
"disabled": "false" "disabled": "false"
@ -359,19 +319,6 @@
"visible": "true", "visible": "true",
"disabled": "false" "disabled": "false"
}, },
{
"id": "b0bbfaa0e2f5be4a",
"type": "ui-group",
"name": "Moniteur",
"page": "103382107d295424",
"width": "6",
"height": "1",
"order": 4,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{ {
"id": "dc35508e5890fb69", "id": "dc35508e5890fb69",
"type": "ui-group", "type": "ui-group",
@ -379,7 +326,7 @@
"page": "103382107d295424", "page": "103382107d295424",
"width": "6", "width": "6",
"height": "5", "height": "5",
"order": 5, "order": 3,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -392,7 +339,7 @@
"page": "103382107d295424", "page": "103382107d295424",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 6, "order": 4,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -407,7 +354,7 @@
"icon": "tune", "icon": "tune",
"layout": "flex", "layout": "flex",
"theme": "0e53487482752cfe", "theme": "0e53487482752cfe",
"order": 5, "order": 4,
"className": "", "className": "",
"visible": "true", "visible": "true",
"disabled": "false" "disabled": "false"
@ -427,33 +374,6 @@
"timeout": "10", "timeout": "10",
"rejectUnauthorized": false "rejectUnauthorized": false
}, },
{
"id": "241fa70e798648e8",
"type": "ui-group",
"name": "Electricité",
"page": "8e909fed7a35e981",
"width": "6",
"height": "1",
"order": 3,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "8e909fed7a35e981",
"type": "ui-page",
"name": "Maison",
"ui": "2d75e4809d2a6fbf",
"path": "/",
"icon": "home",
"layout": "flex",
"theme": "0e53487482752cfe",
"order": 1,
"className": "",
"visible": true,
"disabled": "false"
},
{ {
"id": "75a98516fdcdf832", "id": "75a98516fdcdf832",
"type": "ui-group", "type": "ui-group",
@ -461,19 +381,6 @@
"page": "90601eed5215748f", "page": "90601eed5215748f",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 8,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "8bdaa1ba3eb700cc",
"type": "ui-group",
"name": "Température exterieur",
"page": "8e909fed7a35e981",
"width": "6",
"height": "1",
"order": 4, "order": 4,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
@ -481,13 +388,28 @@
"disabled": "false" "disabled": "false"
}, },
{ {
"id": "7f89503f8062898b", "id": "8bdaa1ba3eb700cc",
"type": "ui-group", "type": "ui-group",
"name": "Humidité exterieur", "d": true,
"page": "8e909fed7a35e981", "name": "Température exterieur",
"page": "fcf92ce9c73cd90d",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 5, "order": 3,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "7f89503f8062898b",
"type": "ui-group",
"d": true,
"name": "Humidité exterieur",
"page": "fcf92ce9c73cd90d",
"width": "6",
"height": "1",
"order": 2,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -500,7 +422,7 @@
"page": "fcf92ce9c73cd90d", "page": "fcf92ce9c73cd90d",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 11, "order": 15,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": false, "visible": false,
@ -513,7 +435,7 @@
"page": "fcf92ce9c73cd90d", "page": "fcf92ce9c73cd90d",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 5, "order": 9,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": true, "visible": true,
@ -526,7 +448,7 @@
"page": "fcf92ce9c73cd90d", "page": "fcf92ce9c73cd90d",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 6, "order": 10,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -539,7 +461,7 @@
"page": "fcf92ce9c73cd90d", "page": "fcf92ce9c73cd90d",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 13, "order": 17,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -552,7 +474,7 @@
"page": "fcf92ce9c73cd90d", "page": "fcf92ce9c73cd90d",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 14, "order": 18,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -565,10 +487,10 @@
"page": "fcf92ce9c73cd90d", "page": "fcf92ce9c73cd90d",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 7, "order": 11,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": true,
"disabled": "false" "disabled": "false"
}, },
{ {
@ -578,7 +500,7 @@
"page": "fcf92ce9c73cd90d", "page": "fcf92ce9c73cd90d",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 10, "order": 14,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -591,7 +513,7 @@
"page": "fcf92ce9c73cd90d", "page": "fcf92ce9c73cd90d",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 12, "order": 16,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -604,7 +526,7 @@
"page": "fcf92ce9c73cd90d", "page": "fcf92ce9c73cd90d",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 19, "order": 22,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -617,20 +539,7 @@
"page": "fcf92ce9c73cd90d", "page": "fcf92ce9c73cd90d",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 18, "order": 21,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "4deac0812bc789d5",
"type": "ui-group",
"name": "Eclairage",
"page": "fcf92ce9c73cd90d",
"width": "6",
"height": "1",
"order": 16,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -643,20 +552,7 @@
"page": "fcf92ce9c73cd90d", "page": "fcf92ce9c73cd90d",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 20, "order": 23,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "104179763815c332",
"type": "ui-group",
"name": "Ombrage",
"page": "fcf92ce9c73cd90d",
"width": "6",
"height": "1",
"order": 17,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -669,20 +565,7 @@
"page": "fcf92ce9c73cd90d", "page": "fcf92ce9c73cd90d",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 15, "order": 19,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "b7f2b376a6150162",
"type": "ui-group",
"name": "Jarvis",
"page": "fcf92ce9c73cd90d",
"width": "6",
"height": "1",
"order": 24,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -695,7 +578,7 @@
"page": "fcf92ce9c73cd90d", "page": "fcf92ce9c73cd90d",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 21, "order": 24,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -708,7 +591,7 @@
"page": "fcf92ce9c73cd90d", "page": "fcf92ce9c73cd90d",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 23, "order": 26,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -749,7 +632,7 @@
"page": "90601eed5215748f", "page": "90601eed5215748f",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 5, "order": 1,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -809,22 +692,9 @@
"icon": "calendar", "icon": "calendar",
"layout": "flex", "layout": "flex",
"theme": "0e53487482752cfe", "theme": "0e53487482752cfe",
"order": 3, "order": 2,
"className": "", "className": "",
"visible": "true", "visible": true,
"disabled": "false"
},
{
"id": "1745449446f285ef",
"type": "ui-group",
"name": "Anniversaire",
"page": "8e909fed7a35e981",
"width": "6",
"height": "1",
"order": 8,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false" "disabled": "false"
}, },
{ {
@ -840,19 +710,6 @@
"visible": "true", "visible": "true",
"disabled": "false" "disabled": "false"
}, },
{
"id": "55e6ecdf43b1e380",
"type": "ui-group",
"name": "Poubelles",
"page": "8e909fed7a35e981",
"width": "6",
"height": "1",
"order": 7,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{ {
"id": "0e7c66df5c84175b", "id": "0e7c66df5c84175b",
"type": "ui-group", "type": "ui-group",
@ -860,7 +717,7 @@
"page": "90601eed5215748f", "page": "90601eed5215748f",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 9, "order": 5,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -879,7 +736,7 @@
"page": "90601eed5215748f", "page": "90601eed5215748f",
"width": "6", "width": "6",
"height": "5", "height": "5",
"order": 10, "order": 6,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -902,7 +759,7 @@
"page": "fcf92ce9c73cd90d", "page": "fcf92ce9c73cd90d",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 3, "order": 7,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -915,7 +772,7 @@
"page": "fcf92ce9c73cd90d", "page": "fcf92ce9c73cd90d",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 4, "order": 8,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -924,15 +781,15 @@
{ {
"id": "a7cbb932c183a9ce", "id": "a7cbb932c183a9ce",
"type": "ui-page", "type": "ui-page",
"name": "Créateur", "name": "Entités",
"ui": "2d75e4809d2a6fbf", "ui": "2d75e4809d2a6fbf",
"path": "/creator", "path": "/entities",
"icon": "auto-fix", "icon": "auto-fix",
"layout": "flex", "layout": "flex",
"theme": "b9e3784065d1d1b2", "theme": "b9e3784065d1d1b2",
"order": 6, "order": 5,
"className": "", "className": "",
"visible": "true", "visible": true,
"disabled": "false" "disabled": "false"
}, },
{ {
@ -942,7 +799,7 @@
"page": "a7cbb932c183a9ce", "page": "a7cbb932c183a9ce",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 1, "order": 4,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -955,7 +812,7 @@
"page": "a7cbb932c183a9ce", "page": "a7cbb932c183a9ce",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 2, "order": 5,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -968,7 +825,7 @@
"page": "a7cbb932c183a9ce", "page": "a7cbb932c183a9ce",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 3, "order": 6,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -980,21 +837,8 @@
"name": "Puissance électrique", "name": "Puissance électrique",
"page": "fcf92ce9c73cd90d", "page": "fcf92ce9c73cd90d",
"width": "6", "width": "6",
"height": "1", "height": "8",
"order": 2, "order": 6,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "b3fa33201c5f1de7",
"type": "ui-group",
"name": "Délestage",
"page": "103382107d295424",
"width": "6",
"height": "1",
"order": 3,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -1007,7 +851,7 @@
"page": "a7cbb932c183a9ce", "page": "a7cbb932c183a9ce",
"width": "18", "width": "18",
"height": "1", "height": "1",
"order": 4, "order": 7,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -1020,7 +864,7 @@
"page": "fcf92ce9c73cd90d", "page": "fcf92ce9c73cd90d",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 22, "order": 25,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -1033,7 +877,7 @@
"page": "fcf92ce9c73cd90d", "page": "fcf92ce9c73cd90d",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 8, "order": 12,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -1046,7 +890,7 @@
"page": "fcf92ce9c73cd90d", "page": "fcf92ce9c73cd90d",
"width": "6", "width": "6",
"height": "1", "height": "1",
"order": 9, "order": 13,
"showTitle": true, "showTitle": true,
"className": "", "className": "",
"visible": "true", "visible": "true",
@ -1069,5 +913,201 @@
"groupBorderRadius": "12px", "groupBorderRadius": "12px",
"widgetGap": "4px" "widgetGap": "4px"
} }
},
{
"id": "732a8bfbf8ad27d9",
"type": "ui-page",
"name": "Scenes",
"ui": "2d75e4809d2a6fbf",
"path": "/scenes",
"icon": "puzzle",
"layout": "flex",
"theme": "b9e3784065d1d1b2",
"order": 6,
"className": "",
"visible": true,
"disabled": false
},
{
"id": "86da7af07264458b",
"type": "ui-group",
"name": "Ajouter ou modifier une scene",
"page": "732a8bfbf8ad27d9",
"width": "6",
"height": "1",
"order": 1,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "eeb78a0cec96cfe6",
"type": "ui-group",
"name": "Ajouter un déclencheur",
"page": "732a8bfbf8ad27d9",
"width": "6",
"height": "1",
"order": 5,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "8b3cd32ecb695d93",
"type": "ui-group",
"name": "Liste des scènes",
"page": "732a8bfbf8ad27d9",
"width": "18",
"height": "1",
"order": 4,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "b2b7b4212f316b5b",
"type": "ui-group",
"name": "Liste des déclencheurs",
"page": "732a8bfbf8ad27d9",
"width": "18",
"height": "1",
"order": 8,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "c32053913a6bb245",
"type": "ui-group",
"name": "Supprimer un déclencheur",
"page": "732a8bfbf8ad27d9",
"width": "6",
"height": "1",
"order": 6,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "1834253e93442bc8",
"type": "ui-group",
"name": "Supprimer une scène",
"page": "732a8bfbf8ad27d9",
"width": "6",
"height": "1",
"order": 2,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "a62fb8e0d132955e",
"type": "ui-group",
"name": "Importer / exporter des scènes",
"page": "732a8bfbf8ad27d9",
"width": "6",
"height": "1",
"order": 3,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "6deb4e8479d0818e",
"type": "ui-group",
"name": "Importer / exporter des déclencheurs",
"page": "732a8bfbf8ad27d9",
"width": "6",
"height": "1",
"order": 7,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "c1cd47eafbe36514",
"type": "ui-group",
"name": "Ajouter une pièce",
"page": "a7cbb932c183a9ce",
"width": "6",
"height": "1",
"order": 1,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "773eef4fbdd58da8",
"type": "ui-group",
"name": "Supprimer une pièce",
"page": "a7cbb932c183a9ce",
"width": "6",
"height": "1",
"order": 2,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "851105d76914a281",
"type": "ui-group",
"name": "Importer / exporter des pièces",
"page": "a7cbb932c183a9ce",
"width": "6",
"height": "1",
"order": 3,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "63f4993fe010ac66",
"type": "ui-group",
"name": "Photovoltaïque",
"page": "fcf92ce9c73cd90d",
"width": "6",
"height": "1",
"order": 5,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "cde58fe11ffae273",
"type": "ui-group",
"name": "Agenda",
"page": "fcf92ce9c73cd90d",
"width": "6",
"height": "1",
"order": 4,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "b044f13129d03761",
"type": "ui-group",
"name": "Surcharge",
"page": "fcf92ce9c73cd90d",
"width": "6",
"height": "1",
"order": 20,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false"
} }
] ]

File diff suppressed because one or more lines are too long

View file

@ -42,13 +42,12 @@
"31de927a663fcb1e", "31de927a663fcb1e",
"fb524b1a6da7faeb", "fb524b1a6da7faeb",
"5f7de2cef4af9bc6", "5f7de2cef4af9bc6",
"d241362d80c610fa",
"1bacdb8e148b7ef2" "1bacdb8e148b7ef2"
], ],
"x": 68, "x": 68,
"y": 293, "y": 293,
"w": 2694, "w": 2694,
"h": 2054 "h": 1754
}, },
{ {
"id": "97f32de0144908e5", "id": "97f32de0144908e5",
@ -64,13 +63,33 @@
"2d16095457052f90", "2d16095457052f90",
"99b5327a504595cb", "99b5327a504595cb",
"256d3616419c8f06", "256d3616419c8f06",
"ae7e12b3bdb36104",
"ab67b3da085ffcc5" "ab67b3da085ffcc5"
], ],
"x": 68, "x": 68,
"y": 2393, "y": 2393,
"w": 2674, "w": 2674,
"h": 1334 "h": 1154
},
{
"id": "b0534c6abe4baf15",
"type": "group",
"z": "b66c229035856438",
"name": "catch error",
"style": {
"fill": "#ff0000",
"fill-opacity": "0.05",
"label": true,
"stroke": "#ff0000"
},
"nodes": [
"51014181b4cbf1c9",
"62b15123b62762ae",
"a6e7e3de32ef63ca"
],
"x": 534,
"y": 19,
"w": 422,
"h": 82
}, },
{ {
"id": "31de927a663fcb1e", "id": "31de927a663fcb1e",
@ -194,39 +213,6 @@
"w": 1312, "w": 1312,
"h": 922 "h": 922
}, },
{
"id": "d241362d80c610fa",
"type": "group",
"z": "b66c229035856438",
"g": "b6b56adff82012bd",
"name": "agenda - birthday - ui - home",
"style": {
"fill": "#6f2fa0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"478f53010b92ba99",
"8ce706fd6d4bd4d5",
"9e139cf6623e6acc",
"4f058fbe85475a4d",
"91836ce167f9dd36",
"675ca802b93b6f93",
"1c148e0bd7c295b9",
"0ccf37e7e252a91a",
"6f6b271339633822",
"b73d50059c10103d",
"4b88f1437eef0992",
"f33d7419f0933e00",
"06330e136aa9e321",
"13f363b0eb629d75",
"f307fcb894d1057b"
],
"x": 94,
"y": 1879,
"w": 1172,
"h": 262
},
{ {
"id": "1bacdb8e148b7ef2", "id": "1bacdb8e148b7ef2",
"type": "group", "type": "group",
@ -246,7 +232,7 @@
"ea3455f4e7282a62" "ea3455f4e7282a62"
], ],
"x": 94, "x": 94,
"y": 2179, "y": 1879,
"w": 752, "w": 752,
"h": 142 "h": 142
}, },
@ -352,34 +338,6 @@
"w": 1332, "w": 1332,
"h": 502 "h": 502
}, },
{
"id": "ae7e12b3bdb36104",
"type": "group",
"z": "b66c229035856438",
"g": "97f32de0144908e5",
"name": "agenda - trash - ui - home",
"style": {
"fill": "#6f2fa0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"1d10bb53fca97cd8",
"ddf72c47cd5f8a9c",
"a305e77188345b92",
"0a53f27ca3a07d20",
"1ebe28f2d643100a",
"f1368a26b36b490a",
"19e1233262d33eae",
"c9f8f3d06381d3b2",
"10ffdb0a0239caed",
"d85a30d3c5d03339"
],
"x": 94,
"y": 3379,
"w": 1192,
"h": 142
},
{ {
"id": "ab67b3da085ffcc5", "id": "ab67b3da085ffcc5",
"type": "group", "type": "group",
@ -399,31 +357,10 @@
"1a18fcff73447981" "1a18fcff73447981"
], ],
"x": 94, "x": 94,
"y": 3559, "y": 3379,
"w": 752, "w": 752,
"h": 142 "h": 142
}, },
{
"id": "b0534c6abe4baf15",
"type": "group",
"z": "b66c229035856438",
"name": "catch error",
"style": {
"fill": "#ff0000",
"fill-opacity": "0.05",
"label": true,
"stroke": "#ff0000"
},
"nodes": [
"51014181b4cbf1c9",
"62b15123b62762ae",
"a6e7e3de32ef63ca"
],
"x": 534,
"y": 19,
"w": 422,
"h": 82
},
{ {
"id": "8d4b985ec87645f6", "id": "8d4b985ec87645f6",
"type": "comment", "type": "comment",
@ -1347,7 +1284,8 @@
"links": [ "links": [
"1c148e0bd7c295b9", "1c148e0bd7c295b9",
"206c1fb4a48067df", "206c1fb4a48067df",
"a9620e892125509b" "a9620e892125509b",
"99a002b04c9f0bd2"
], ],
"x": 2695, "x": 2695,
"y": 660, "y": 660,
@ -2032,7 +1970,7 @@
"z": "b66c229035856438", "z": "b66c229035856438",
"g": "5f7de2cef4af9bc6", "g": "5f7de2cef4af9bc6",
"group": "b526fa97ad265f91", "group": "b526fa97ad265f91",
"order": 3, "order": 4,
"width": "6", "width": "6",
"height": "1", "height": "1",
"name": "ev1", "name": "ev1",
@ -2104,7 +2042,7 @@
"z": "b66c229035856438", "z": "b66c229035856438",
"g": "5f7de2cef4af9bc6", "g": "5f7de2cef4af9bc6",
"group": "b526fa97ad265f91", "group": "b526fa97ad265f91",
"order": 4, "order": 5,
"width": "6", "width": "6",
"height": "1", "height": "1",
"name": "ev2", "name": "ev2",
@ -2126,7 +2064,7 @@
"z": "b66c229035856438", "z": "b66c229035856438",
"g": "5f7de2cef4af9bc6", "g": "5f7de2cef4af9bc6",
"group": "b526fa97ad265f91", "group": "b526fa97ad265f91",
"order": 5, "order": 6,
"width": "6", "width": "6",
"height": "1", "height": "1",
"name": "ev3", "name": "ev3",
@ -2148,7 +2086,7 @@
"z": "b66c229035856438", "z": "b66c229035856438",
"g": "5f7de2cef4af9bc6", "g": "5f7de2cef4af9bc6",
"group": "b526fa97ad265f91", "group": "b526fa97ad265f91",
"order": 6, "order": 7,
"width": "6", "width": "6",
"height": "1", "height": "1",
"name": "ev4", "name": "ev4",
@ -2170,7 +2108,7 @@
"z": "b66c229035856438", "z": "b66c229035856438",
"g": "5f7de2cef4af9bc6", "g": "5f7de2cef4af9bc6",
"group": "b526fa97ad265f91", "group": "b526fa97ad265f91",
"order": 7, "order": 8,
"width": "6", "width": "6",
"height": "1", "height": "1",
"name": "ev5", "name": "ev5",
@ -2192,7 +2130,7 @@
"z": "b66c229035856438", "z": "b66c229035856438",
"g": "5f7de2cef4af9bc6", "g": "5f7de2cef4af9bc6",
"group": "b526fa97ad265f91", "group": "b526fa97ad265f91",
"order": 8, "order": 9,
"width": "6", "width": "6",
"height": "1", "height": "1",
"name": "ev6", "name": "ev6",
@ -2214,7 +2152,7 @@
"z": "b66c229035856438", "z": "b66c229035856438",
"g": "5f7de2cef4af9bc6", "g": "5f7de2cef4af9bc6",
"group": "b526fa97ad265f91", "group": "b526fa97ad265f91",
"order": 9, "order": 10,
"width": "6", "width": "6",
"height": "1", "height": "1",
"name": "ev7", "name": "ev7",
@ -2236,7 +2174,7 @@
"z": "b66c229035856438", "z": "b66c229035856438",
"g": "5f7de2cef4af9bc6", "g": "5f7de2cef4af9bc6",
"group": "b526fa97ad265f91", "group": "b526fa97ad265f91",
"order": 10, "order": 11,
"width": "6", "width": "6",
"height": "1", "height": "1",
"name": "ev8", "name": "ev8",
@ -2258,7 +2196,7 @@
"z": "b66c229035856438", "z": "b66c229035856438",
"g": "5f7de2cef4af9bc6", "g": "5f7de2cef4af9bc6",
"group": "b526fa97ad265f91", "group": "b526fa97ad265f91",
"order": 11, "order": 12,
"width": "6", "width": "6",
"height": "1", "height": "1",
"name": "ev9", "name": "ev9",
@ -2280,7 +2218,7 @@
"z": "b66c229035856438", "z": "b66c229035856438",
"g": "5f7de2cef4af9bc6", "g": "5f7de2cef4af9bc6",
"group": "b526fa97ad265f91", "group": "b526fa97ad265f91",
"order": 2, "order": 3,
"width": "6", "width": "6",
"height": "1", "height": "1",
"name": "ev0", "name": "ev0",
@ -2377,7 +2315,7 @@
"z": "b66c229035856438", "z": "b66c229035856438",
"g": "5f7de2cef4af9bc6", "g": "5f7de2cef4af9bc6",
"group": "b526fa97ad265f91", "group": "b526fa97ad265f91",
"order": 1, "order": 2,
"width": "6", "width": "6",
"height": "1", "height": "1",
"name": "tomorrow", "name": "tomorrow",
@ -2447,390 +2385,6 @@
] ]
] ]
}, },
{
"id": "478f53010b92ba99",
"type": "change",
"z": "b66c229035856438",
"g": "d241362d80c610fa",
"name": "payload",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "Aucun anniversaire aujourd'hui",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1000,
"y": 1980,
"wires": [
[
"8ce706fd6d4bd4d5"
]
]
},
{
"id": "8ce706fd6d4bd4d5",
"type": "ui-text",
"z": "b66c229035856438",
"g": "d241362d80c610fa",
"group": "1745449446f285ef",
"order": 1,
"width": "6",
"height": "1",
"name": "today",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-left",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1170,
"y": 1920,
"wires": []
},
{
"id": "9e139cf6623e6acc",
"type": "switch",
"z": "b66c229035856438",
"g": "d241362d80c610fa",
"name": "field",
"property": "field",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "today",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 650,
"y": 1920,
"wires": [
[
"b73d50059c10103d"
]
]
},
{
"id": "4f058fbe85475a4d",
"type": "switch",
"z": "b66c229035856438",
"g": "d241362d80c610fa",
"name": "field",
"property": "field",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "tomorrow",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 650,
"y": 2100,
"wires": [
[
"4b88f1437eef0992"
]
]
},
{
"id": "91836ce167f9dd36",
"type": "ui-text",
"z": "b66c229035856438",
"g": "d241362d80c610fa",
"group": "1745449446f285ef",
"order": 1,
"width": "6",
"height": "1",
"name": "tomorrow",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-left",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1180,
"y": 2100,
"wires": []
},
{
"id": "675ca802b93b6f93",
"type": "change",
"z": "b66c229035856438",
"g": "d241362d80c610fa",
"name": "payload",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "Aucun anniversaire demain",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1000,
"y": 2040,
"wires": [
[
"91836ce167f9dd36"
]
]
},
{
"id": "1c148e0bd7c295b9",
"type": "link in",
"z": "b66c229035856438",
"g": "d241362d80c610fa",
"name": "agenda - birthday - ui - home - metric",
"links": [
"031a6afd8300356a",
"437fa0c2d577fbc9"
],
"x": 135,
"y": 1920,
"wires": [
[
"0ccf37e7e252a91a"
]
]
},
{
"id": "0ccf37e7e252a91a",
"type": "switch",
"z": "b66c229035856438",
"g": "d241362d80c610fa",
"name": "bucket",
"property": "bucket",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "agenda",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 270,
"y": 1920,
"wires": [
[
"6f6b271339633822"
]
]
},
{
"id": "6f6b271339633822",
"type": "switch",
"z": "b66c229035856438",
"g": "d241362d80c610fa",
"name": "measurement",
"property": "measurement",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "birthday",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 460,
"y": 1920,
"wires": [
[
"9e139cf6623e6acc",
"4f058fbe85475a4d"
]
]
},
{
"id": "b73d50059c10103d",
"type": "switch",
"z": "b66c229035856438",
"g": "d241362d80c610fa",
"name": "payload",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "nempty"
},
{
"t": "else"
}
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 820,
"y": 1920,
"wires": [
[
"8ce706fd6d4bd4d5"
],
[
"478f53010b92ba99"
]
]
},
{
"id": "4b88f1437eef0992",
"type": "switch",
"z": "b66c229035856438",
"g": "d241362d80c610fa",
"name": "payload",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "empty"
},
{
"t": "else"
}
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 820,
"y": 2100,
"wires": [
[
"675ca802b93b6f93"
],
[
"91836ce167f9dd36"
]
]
},
{
"id": "f33d7419f0933e00",
"type": "link in",
"z": "b66c229035856438",
"g": "d241362d80c610fa",
"name": "agenda - birthday - ui - home - load",
"links": [
"074a67bf0fcf09ad",
"94c79b8f52f0b6ba"
],
"x": 135,
"y": 1980,
"wires": [
[
"06330e136aa9e321"
]
]
},
{
"id": "06330e136aa9e321",
"type": "delay",
"z": "b66c229035856438",
"g": "d241362d80c610fa",
"name": "1 min",
"pauseType": "delay",
"timeout": "1",
"timeoutUnits": "minutes",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 270,
"y": 1980,
"wires": [
[
"13f363b0eb629d75",
"f307fcb894d1057b"
]
]
},
{
"id": "13f363b0eb629d75",
"type": "change",
"z": "b66c229035856438",
"g": "d241362d80c610fa",
"name": "from global",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "metrics.agenda.birthday.today",
"tot": "global"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 630,
"y": 1980,
"wires": [
[
"b73d50059c10103d"
]
]
},
{
"id": "f307fcb894d1057b",
"type": "change",
"z": "b66c229035856438",
"g": "d241362d80c610fa",
"name": "from global",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "metrics.agenda.birthday.tomorrow",
"tot": "global"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 630,
"y": 2040,
"wires": [
[
"4b88f1437eef0992"
]
]
},
{ {
"id": "62ac2376970d879c", "id": "62ac2376970d879c",
"type": "link in", "type": "link in",
@ -2839,7 +2393,7 @@
"name": "agenda - birthday - telegram report addon", "name": "agenda - birthday - telegram report addon",
"links": [], "links": [],
"x": 135, "x": 135,
"y": 2220, "y": 1920,
"wires": [ "wires": [
[ [
"3feb59f890b63a71" "3feb59f890b63a71"
@ -2855,7 +2409,7 @@
"mode": "link", "mode": "link",
"links": [], "links": [],
"x": 805, "x": 805,
"y": 2220, "y": 1920,
"wires": [] "wires": []
}, },
{ {
@ -2879,7 +2433,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 290, "x": 290,
"y": 2220, "y": 1920,
"wires": [ "wires": [
[ [
"daa2c7d2ba201c95" "daa2c7d2ba201c95"
@ -2906,7 +2460,7 @@
"repair": false, "repair": false,
"outputs": 2, "outputs": 2,
"x": 480, "x": 480,
"y": 2220, "y": 1920,
"wires": [ "wires": [
[ [
"65bebbc369c0e232" "65bebbc369c0e232"
@ -2937,7 +2491,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 660, "x": 660,
"y": 2280, "y": 1980,
"wires": [ "wires": [
[ [
"65bebbc369c0e232" "65bebbc369c0e232"
@ -3507,7 +3061,8 @@
"links": [ "links": [
"0a53f27ca3a07d20", "0a53f27ca3a07d20",
"206c1fb4a48067df", "206c1fb4a48067df",
"f9c15b253d5cfe9e" "f9c15b253d5cfe9e",
"959cdd09db6a54e5"
], ],
"x": 2675, "x": 2675,
"y": 2700, "y": 2700,
@ -4235,254 +3790,6 @@
] ]
] ]
}, },
{
"id": "1d10bb53fca97cd8",
"type": "change",
"z": "b66c229035856438",
"g": "ae7e12b3bdb36104",
"name": "payload",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "Aucune poubelle demain",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1000,
"y": 3480,
"wires": [
[
"ddf72c47cd5f8a9c"
]
]
},
{
"id": "ddf72c47cd5f8a9c",
"type": "ui-text",
"z": "b66c229035856438",
"g": "ae7e12b3bdb36104",
"group": "55e6ecdf43b1e380",
"order": 1,
"width": "6",
"height": "1",
"name": "tomorrow pb",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-left",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"className": "",
"x": 1190,
"y": 3420,
"wires": []
},
{
"id": "a305e77188345b92",
"type": "switch",
"z": "b66c229035856438",
"g": "ae7e12b3bdb36104",
"name": "field",
"property": "field",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "tomorrow",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 650,
"y": 3420,
"wires": [
[
"19e1233262d33eae"
]
]
},
{
"id": "0a53f27ca3a07d20",
"type": "link in",
"z": "b66c229035856438",
"g": "ae7e12b3bdb36104",
"name": "agenda - trash - ui - home - metric",
"links": [
"031a6afd8300356a",
"954579d4fb332d8c"
],
"x": 135,
"y": 3420,
"wires": [
[
"1ebe28f2d643100a"
]
]
},
{
"id": "1ebe28f2d643100a",
"type": "switch",
"z": "b66c229035856438",
"g": "ae7e12b3bdb36104",
"name": "bucket",
"property": "bucket",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "agenda",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 270,
"y": 3420,
"wires": [
[
"f1368a26b36b490a"
]
]
},
{
"id": "f1368a26b36b490a",
"type": "switch",
"z": "b66c229035856438",
"g": "ae7e12b3bdb36104",
"name": "measurement",
"property": "measurement",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "trash",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 460,
"y": 3420,
"wires": [
[
"a305e77188345b92"
]
]
},
{
"id": "19e1233262d33eae",
"type": "switch",
"z": "b66c229035856438",
"g": "ae7e12b3bdb36104",
"name": "payload",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "nempty"
},
{
"t": "else"
}
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 820,
"y": 3420,
"wires": [
[
"ddf72c47cd5f8a9c"
],
[
"1d10bb53fca97cd8"
]
]
},
{
"id": "c9f8f3d06381d3b2",
"type": "link in",
"z": "b66c229035856438",
"g": "ae7e12b3bdb36104",
"name": "agenda - trash - ui - home - load",
"links": [
"074a67bf0fcf09ad",
"94c79b8f52f0b6ba"
],
"x": 135,
"y": 3480,
"wires": [
[
"10ffdb0a0239caed"
]
]
},
{
"id": "10ffdb0a0239caed",
"type": "delay",
"z": "b66c229035856438",
"g": "ae7e12b3bdb36104",
"name": "1 min",
"pauseType": "delay",
"timeout": "1",
"timeoutUnits": "minutes",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 270,
"y": 3480,
"wires": [
[
"d85a30d3c5d03339"
]
]
},
{
"id": "d85a30d3c5d03339",
"type": "change",
"z": "b66c229035856438",
"g": "ae7e12b3bdb36104",
"name": "from global",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "metrics.agenda.trash.tomorrow",
"tot": "global"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 630,
"y": 3480,
"wires": [
[
"19e1233262d33eae"
]
]
},
{ {
"id": "8ba30d16ad4c4e3d", "id": "8ba30d16ad4c4e3d",
"type": "link in", "type": "link in",
@ -4491,7 +3798,7 @@
"name": "agenda - trash - telegram report addon", "name": "agenda - trash - telegram report addon",
"links": [], "links": [],
"x": 135, "x": 135,
"y": 3600, "y": 3420,
"wires": [ "wires": [
[ [
"6bba536727ceb249" "6bba536727ceb249"
@ -4507,7 +3814,7 @@
"mode": "link", "mode": "link",
"links": [], "links": [],
"x": 805, "x": 805,
"y": 3600, "y": 3420,
"wires": [] "wires": []
}, },
{ {
@ -4531,7 +3838,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 290, "x": 290,
"y": 3600, "y": 3420,
"wires": [ "wires": [
[ [
"e1b3491d3edd75e0" "e1b3491d3edd75e0"
@ -4558,7 +3865,7 @@
"repair": false, "repair": false,
"outputs": 2, "outputs": 2,
"x": 480, "x": 480,
"y": 3600, "y": 3420,
"wires": [ "wires": [
[ [
"b57d452ff1e8d06f" "b57d452ff1e8d06f"
@ -4589,7 +3896,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 660, "x": 660,
"y": 3660, "y": 3480,
"wires": [ "wires": [
[ [
"b57d452ff1e8d06f" "b57d452ff1e8d06f"

File diff suppressed because it is too large Load diff

View file

@ -117,14 +117,15 @@
"eddef41fac28be72", "eddef41fac28be72",
"284f816c5e8bbfec", "284f816c5e8bbfec",
"ed43589ee9e39cd5", "ed43589ee9e39cd5",
"6f3f8af06908f533",
"5def5c4c2f2f242a", "5def5c4c2f2f242a",
"f6aaeec4c6fdfabe", "f6aaeec4c6fdfabe",
"522b6c161afcb47e" "522b6c161afcb47e",
"6957810565336218",
"d82d93f92871f901"
], ],
"x": 94, "x": 94,
"y": 1099, "y": 1099,
"w": 3072, "w": 3212,
"h": 562 "h": 562
}, },
{ {
@ -174,7 +175,7 @@
"page": "", "page": "",
"ui": "", "ui": "",
"name": "", "name": "",
"order": 1, "order": 2,
"width": "3", "width": "3",
"height": "1", "height": "1",
"head": "", "head": "",
@ -199,7 +200,7 @@
"page": "", "page": "",
"ui": "", "ui": "",
"name": "", "name": "",
"order": 3, "order": 4,
"width": "3", "width": "3",
"height": "1", "height": "1",
"head": "", "head": "",
@ -224,7 +225,7 @@
"page": "", "page": "",
"ui": "", "ui": "",
"name": "", "name": "",
"order": 4, "order": 5,
"width": "3", "width": "3",
"height": "1", "height": "1",
"head": "", "head": "",
@ -249,7 +250,7 @@
"page": "", "page": "",
"ui": "", "ui": "",
"name": "", "name": "",
"order": 5, "order": 6,
"width": "3", "width": "3",
"height": "1", "height": "1",
"head": "", "head": "",
@ -274,7 +275,7 @@
"page": "", "page": "",
"ui": "", "ui": "",
"name": "", "name": "",
"order": 6, "order": 7,
"width": "3", "width": "3",
"height": "1", "height": "1",
"head": "", "head": "",
@ -299,7 +300,7 @@
"page": "", "page": "",
"ui": "", "ui": "",
"name": "", "name": "",
"order": 7, "order": 8,
"width": "3", "width": "3",
"height": "1", "height": "1",
"head": "", "head": "",
@ -324,7 +325,7 @@
"page": "", "page": "",
"ui": "", "ui": "",
"name": "", "name": "",
"order": 8, "order": 15,
"width": "3", "width": "3",
"height": "1", "height": "1",
"head": "", "head": "",
@ -349,7 +350,7 @@
"page": "", "page": "",
"ui": "", "ui": "",
"name": "", "name": "",
"order": 9, "order": 10,
"width": "3", "width": "3",
"height": "1", "height": "1",
"head": "", "head": "",
@ -374,7 +375,7 @@
"page": "", "page": "",
"ui": "", "ui": "",
"name": "", "name": "",
"order": 10, "order": 14,
"width": "3", "width": "3",
"height": "1", "height": "1",
"head": "", "head": "",
@ -399,7 +400,7 @@
"page": "", "page": "",
"ui": "", "ui": "",
"name": "", "name": "",
"order": 2, "order": 3,
"width": "3", "width": "3",
"height": "1", "height": "1",
"head": "", "head": "",
@ -424,7 +425,7 @@
"page": "", "page": "",
"ui": "", "ui": "",
"name": "", "name": "",
"order": 10, "order": 13,
"width": "3", "width": "3",
"height": "1", "height": "1",
"head": "", "head": "",
@ -449,7 +450,7 @@
"page": "", "page": "",
"ui": "", "ui": "",
"name": "", "name": "",
"order": 10, "order": 12,
"width": "3", "width": "3",
"height": "1", "height": "1",
"head": "", "head": "",
@ -549,7 +550,7 @@
"group": "0e7c66df5c84175b", "group": "0e7c66df5c84175b",
"name": "", "name": "",
"label": "Recharger", "label": "Recharger",
"order": 0, "order": 1,
"width": "6", "width": "6",
"height": "1", "height": "1",
"tooltip": "", "tooltip": "",
@ -622,7 +623,7 @@
"page": "", "page": "",
"ui": "", "ui": "",
"name": "", "name": "",
"order": 10, "order": 11,
"width": "3", "width": "3",
"height": "1", "height": "1",
"head": "", "head": "",
@ -647,7 +648,7 @@
"page": "", "page": "",
"ui": "", "ui": "",
"name": "", "name": "",
"order": 8, "order": 9,
"width": "3", "width": "3",
"height": "1", "height": "1",
"head": "", "head": "",
@ -677,7 +678,8 @@
"y": 1340, "y": 1340,
"wires": [ "wires": [
[ [
"10eef034696319a1" "10eef034696319a1",
"939a9569896f434a"
] ]
] ]
}, },
@ -695,7 +697,8 @@
"y": 1400, "y": 1400,
"wires": [ "wires": [
[ [
"0c26626f4e3adf41" "0c26626f4e3adf41",
"939a9569896f434a"
] ]
] ]
}, },
@ -852,7 +855,7 @@
"method": "GET", "method": "GET",
"payload": "", "payload": "",
"server": "b2b86208a514c8a7", "server": "b2b86208a514c8a7",
"x": 2210, "x": 2350,
"y": 1500, "y": 1500,
"wires": [ "wires": [
[ [
@ -910,7 +913,7 @@
"from": "", "from": "",
"to": "", "to": "",
"reg": false, "reg": false,
"x": 1630, "x": 1770,
"y": 1400, "y": 1400,
"wires": [ "wires": [
[ [
@ -945,7 +948,7 @@
"from": "", "from": "",
"to": "", "to": "",
"reg": false, "reg": false,
"x": 2370, "x": 2510,
"y": 1380, "y": 1380,
"wires": [ "wires": [
[ [
@ -995,7 +998,7 @@
"from": "", "from": "",
"to": "", "to": "",
"reg": false, "reg": false,
"x": 2530, "x": 2670,
"y": 1500, "y": 1500,
"wires": [ "wires": [
[ [
@ -1015,7 +1018,7 @@
"initialize": "", "initialize": "",
"finalize": "", "finalize": "",
"libs": [], "libs": [],
"x": 2720, "x": 2860,
"y": 1560, "y": 1560,
"wires": [ "wires": [
[ [
@ -1050,7 +1053,7 @@
"from": "", "from": "",
"to": "", "to": "",
"reg": false, "reg": false,
"x": 2540, "x": 2680,
"y": 1560, "y": 1560,
"wires": [ "wires": [
[ [
@ -1085,7 +1088,7 @@
"from": "", "from": "",
"to": "", "to": "",
"reg": false, "reg": false,
"x": 2530, "x": 2670,
"y": 1440, "y": 1440,
"wires": [ "wires": [
[ [
@ -1100,7 +1103,7 @@
"g": "7df081d38de8d887", "g": "7df081d38de8d887",
"name": "", "name": "",
"input": "", "input": "",
"x": 2710, "x": 2850,
"y": 1440, "y": 1440,
"wires": [ "wires": [
[ [
@ -1149,7 +1152,7 @@
"from": "", "from": "",
"to": "", "to": "",
"reg": false, "reg": false,
"x": 1630, "x": 1770,
"y": 1280, "y": 1280,
"wires": [ "wires": [
[ [
@ -1194,7 +1197,7 @@
"from": "", "from": "",
"to": "", "to": "",
"reg": false, "reg": false,
"x": 1630, "x": 1770,
"y": 1220, "y": 1220,
"wires": [ "wires": [
[ [
@ -1224,7 +1227,7 @@
"checkall": "false", "checkall": "false",
"repair": false, "repair": false,
"outputs": 1, "outputs": 1,
"x": 2370, "x": 2510,
"y": 1440, "y": 1440,
"wires": [ "wires": [
[ [
@ -1250,7 +1253,7 @@
"checkall": "false", "checkall": "false",
"repair": false, "repair": false,
"outputs": 1, "outputs": 1,
"x": 2370, "x": 2510,
"y": 1560, "y": 1560,
"wires": [ "wires": [
[ [
@ -1276,7 +1279,7 @@
"checkall": "false", "checkall": "false",
"repair": false, "repair": false,
"outputs": 1, "outputs": 1,
"x": 2370, "x": 2510,
"y": 1500, "y": 1500,
"wires": [ "wires": [
[ [
@ -1473,7 +1476,7 @@
"from": "", "from": "",
"to": "", "to": "",
"reg": false, "reg": false,
"x": 1630, "x": 1770,
"y": 1340, "y": 1340,
"wires": [ "wires": [
[ [
@ -1500,7 +1503,7 @@
"checkall": "false", "checkall": "false",
"repair": false, "repair": false,
"outputs": 2, "outputs": 2,
"x": 2530, "x": 2670,
"y": 1320, "y": 1320,
"wires": [ "wires": [
[ [
@ -1556,7 +1559,7 @@
"method": "POST", "method": "POST",
"payload": "", "payload": "",
"server": "b2b86208a514c8a7", "server": "b2b86208a514c8a7",
"x": 3040, "x": 3180,
"y": 1140, "y": 1140,
"wires": [ "wires": [
[] []
@ -1610,7 +1613,7 @@
"from": "", "from": "",
"to": "", "to": "",
"reg": false, "reg": false,
"x": 2870, "x": 3010,
"y": 1140, "y": 1140,
"wires": [ "wires": [
[ [
@ -1638,7 +1641,7 @@
"from": "", "from": "",
"to": "", "to": "",
"reg": false, "reg": false,
"x": 2530, "x": 2670,
"y": 1380, "y": 1380,
"wires": [ "wires": [
[ [
@ -1671,7 +1674,7 @@
"from": "", "from": "",
"to": "", "to": "",
"reg": false, "reg": false,
"x": 2370, "x": 2510,
"y": 1620, "y": 1620,
"wires": [ "wires": [
[ [
@ -1697,7 +1700,7 @@
"bytopic": "all", "bytopic": "all",
"topic": "topic", "topic": "topic",
"outputs": 1, "outputs": 1,
"x": 2020, "x": 2160,
"y": 1500, "y": 1500,
"wires": [ "wires": [
[ [
@ -1719,7 +1722,13 @@
"height": "1", "height": "1",
"passthru": false, "passthru": false,
"multiple": false, "multiple": false,
"options": [], "options": [
{
"label": "» recharger",
"value": "",
"type": "str"
}
],
"payload": "", "payload": "",
"topic": "topic", "topic": "topic",
"topicType": "msg", "topicType": "msg",
@ -1728,9 +1737,7 @@
"y": 1400, "y": 1400,
"wires": [ "wires": [
[ [
"17e5368c34dd3491", "d82d93f92871f901"
"e4bf0709d1045f3a",
"e463ecf298cb67dd"
] ]
] ]
}, },
@ -1748,7 +1755,13 @@
"height": "1", "height": "1",
"passthru": false, "passthru": false,
"multiple": false, "multiple": false,
"options": [], "options": [
{
"label": "» recharger",
"value": "",
"type": "str"
}
],
"payload": "", "payload": "",
"topic": "topic", "topic": "topic",
"topicType": "msg", "topicType": "msg",
@ -1757,9 +1770,7 @@
"y": 1340, "y": 1340,
"wires": [ "wires": [
[ [
"e4bf0709d1045f3a", "6957810565336218"
"17e5368c34dd3491",
"87c78a11cf031035"
] ]
] ]
}, },
@ -1770,20 +1781,22 @@
"g": "7df081d38de8d887", "g": "7df081d38de8d887",
"group": "c758b19593f570d4", "group": "c758b19593f570d4",
"name": "start", "name": "start",
"label": "start", "label": "",
"order": 4, "order": 3,
"width": "2", "width": "1",
"height": "1", "height": "1",
"emulateClick": false,
"tooltip": "", "tooltip": "",
"color": "", "color": "",
"bgcolor": "", "bgcolor": "",
"className": "", "className": "",
"icon": "", "icon": "play",
"iconPosition": "left",
"payload": "start", "payload": "start",
"payloadType": "str", "payloadType": "str",
"topic": "topic", "topic": "topic",
"topicType": "msg", "topicType": "msg",
"x": 2690, "x": 2830,
"y": 1140, "y": 1140,
"wires": [ "wires": [
[ [
@ -1799,21 +1812,23 @@
"g": "7df081d38de8d887", "g": "7df081d38de8d887",
"group": "c758b19593f570d4", "group": "c758b19593f570d4",
"name": "shutdown", "name": "shutdown",
"label": "shutdown", "label": "",
"order": 5, "order": 5,
"width": "2", "width": "1",
"height": "1", "height": "1",
"emulateClick": false,
"tooltip": "", "tooltip": "",
"color": "", "color": "",
"bgcolor": "", "bgcolor": "",
"className": "", "className": "",
"icon": "", "icon": "power",
"iconPosition": "left",
"payload": "shutdown", "payload": "shutdown",
"payloadType": "str", "payloadType": "str",
"topic": "topic", "topic": "topic",
"topicType": "msg", "topicType": "msg",
"x": 2700, "x": 2840,
"y": 1200, "y": 1260,
"wires": [ "wires": [
[ [
"9b1c118db9a99b9e", "9b1c118db9a99b9e",
@ -1828,21 +1843,23 @@
"g": "7df081d38de8d887", "g": "7df081d38de8d887",
"group": "c758b19593f570d4", "group": "c758b19593f570d4",
"name": "stop", "name": "stop",
"label": "stop", "label": "",
"order": 6, "order": 4,
"width": "2", "width": "1",
"height": "1", "height": "1",
"emulateClick": false,
"tooltip": "", "tooltip": "",
"color": "", "color": "",
"bgcolor": "", "bgcolor": "",
"className": "", "className": "",
"icon": "", "icon": "stop",
"iconPosition": "left",
"payload": "stop", "payload": "stop",
"payloadType": "str", "payloadType": "str",
"topic": "topic", "topic": "topic",
"topicType": "msg", "topicType": "msg",
"x": 2690, "x": 2830,
"y": 1260, "y": 1200,
"wires": [ "wires": [
[ [
"9b1c118db9a99b9e", "9b1c118db9a99b9e",
@ -1857,20 +1874,22 @@
"g": "7df081d38de8d887", "g": "7df081d38de8d887",
"group": "c758b19593f570d4", "group": "c758b19593f570d4",
"name": "reboot", "name": "reboot",
"label": "reboot", "label": "",
"order": 7, "order": 6,
"width": "2", "width": "1",
"height": "1", "height": "1",
"emulateClick": false,
"tooltip": "", "tooltip": "",
"color": "", "color": "",
"bgcolor": "", "bgcolor": "",
"className": "", "className": "",
"icon": "", "icon": "reload",
"iconPosition": "left",
"payload": "reboot", "payload": "reboot",
"payloadType": "str", "payloadType": "str",
"topic": "topic", "topic": "topic",
"topicType": "msg", "topicType": "msg",
"x": 2690, "x": 2830,
"y": 1320, "y": 1320,
"wires": [ "wires": [
[ [
@ -1885,7 +1904,7 @@
"z": "422511c2793ff288", "z": "422511c2793ff288",
"g": "7df081d38de8d887", "g": "7df081d38de8d887",
"group": "c758b19593f570d4", "group": "c758b19593f570d4",
"order": 8, "order": 7,
"width": "3", "width": "3",
"height": "1", "height": "1",
"name": "uptime", "name": "uptime",
@ -1897,7 +1916,7 @@
"fontSize": 16, "fontSize": 16,
"color": "#717171", "color": "#717171",
"className": "", "className": "",
"x": 3070, "x": 3210,
"y": 1440, "y": 1440,
"wires": [] "wires": []
}, },
@ -1907,7 +1926,7 @@
"z": "422511c2793ff288", "z": "422511c2793ff288",
"g": "7df081d38de8d887", "g": "7df081d38de8d887",
"group": "c758b19593f570d4", "group": "c758b19593f570d4",
"order": 9, "order": 8,
"width": "3", "width": "3",
"height": "1", "height": "1",
"name": "state", "name": "state",
@ -1919,7 +1938,7 @@
"fontSize": 16, "fontSize": 16,
"color": "#717171", "color": "#717171",
"className": "", "className": "",
"x": 3070, "x": 3210,
"y": 1380, "y": 1380,
"wires": [] "wires": []
}, },
@ -1929,7 +1948,7 @@
"z": "422511c2793ff288", "z": "422511c2793ff288",
"g": "7df081d38de8d887", "g": "7df081d38de8d887",
"group": "c758b19593f570d4", "group": "c758b19593f570d4",
"order": 10, "order": 9,
"width": "3", "width": "3",
"height": "1", "height": "1",
"name": "cpu", "name": "cpu",
@ -1941,7 +1960,7 @@
"fontSize": 16, "fontSize": 16,
"color": "#717171", "color": "#717171",
"className": "", "className": "",
"x": 3070, "x": 3210,
"y": 1500, "y": 1500,
"wires": [] "wires": []
}, },
@ -1951,7 +1970,7 @@
"z": "422511c2793ff288", "z": "422511c2793ff288",
"g": "7df081d38de8d887", "g": "7df081d38de8d887",
"group": "c758b19593f570d4", "group": "c758b19593f570d4",
"order": 11, "order": 10,
"width": "3", "width": "3",
"height": "1", "height": "1",
"name": "memory", "name": "memory",
@ -1963,7 +1982,7 @@
"fontSize": 16, "fontSize": 16,
"color": "#717171", "color": "#717171",
"className": "", "className": "",
"x": 3080, "x": 3220,
"y": 1560, "y": 1560,
"wires": [] "wires": []
}, },
@ -1987,7 +2006,7 @@
"from": "", "from": "",
"to": "", "to": "",
"reg": false, "reg": false,
"x": 2900, "x": 3040,
"y": 1440, "y": 1440,
"wires": [ "wires": [
[ [
@ -2036,7 +2055,6 @@
"wires": [ "wires": [
[ [
"eddef41fac28be72", "eddef41fac28be72",
"ed43589ee9e39cd5",
"17e5368c34dd3491", "17e5368c34dd3491",
"e4bf0709d1045f3a", "e4bf0709d1045f3a",
"939a9569896f434a" "939a9569896f434a"
@ -2072,37 +2090,6 @@
] ]
] ]
}, },
{
"id": "6f3f8af06908f533",
"type": "ui-button",
"z": "422511c2793ff288",
"g": "7df081d38de8d887",
"group": "c758b19593f570d4",
"name": "",
"label": "Recharger les listes",
"order": 3,
"width": "4",
"height": "1",
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "",
"iconPosition": "left",
"payload": "",
"payloadType": "str",
"topic": "",
"topicType": "str",
"x": 250,
"y": 1400,
"wires": [
[
"939a9569896f434a",
"a3768ce65939db54",
"23929da1a8dc3ab1"
]
]
},
{ {
"id": "5def5c4c2f2f242a", "id": "5def5c4c2f2f242a",
"type": "delay", "type": "delay",
@ -2121,7 +2108,7 @@
"drop": false, "drop": false,
"allowrate": false, "allowrate": false,
"outputs": 1, "outputs": 1,
"x": 1810, "x": 1950,
"y": 1500, "y": 1500,
"wires": [ "wires": [
[ [
@ -2163,6 +2150,13 @@
"pt": "msg", "pt": "msg",
"to": "'Commande '&msg.payload&' envoyée'", "to": "'Commande '&msg.payload&' envoyée'",
"tot": "jsonata" "tot": "jsonata"
},
{
"t": "set",
"p": "repeat",
"pt": "msg",
"to": "true",
"tot": "bool"
} }
], ],
"action": "", "action": "",
@ -2170,7 +2164,7 @@
"from": "", "from": "",
"to": "", "to": "",
"reg": false, "reg": false,
"x": 2920, "x": 3060,
"y": 1220, "y": 1220,
"wires": [ "wires": [
[ [
@ -2188,7 +2182,7 @@
"links": [ "links": [
"206c1fb4a48067df" "206c1fb4a48067df"
], ],
"x": 3095, "x": 3235,
"y": 1220, "y": 1220,
"wires": [] "wires": []
}, },
@ -2585,5 +2579,73 @@
"x": 915, "x": 915,
"y": 60, "y": 60,
"wires": [] "wires": []
},
{
"id": "6957810565336218",
"type": "switch",
"z": "422511c2793ff288",
"g": "7df081d38de8d887",
"name": "reload",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "",
"vt": "str"
},
{
"t": "else"
}
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 1610,
"y": 1340,
"wires": [
[
"a3768ce65939db54"
],
[
"17e5368c34dd3491",
"e4bf0709d1045f3a",
"87c78a11cf031035"
]
]
},
{
"id": "d82d93f92871f901",
"type": "switch",
"z": "422511c2793ff288",
"g": "7df081d38de8d887",
"name": "reload",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "",
"vt": "str"
},
{
"t": "else"
}
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 1610,
"y": 1400,
"wires": [
[
"23929da1a8dc3ab1"
],
[
"17e5368c34dd3491",
"e4bf0709d1045f3a",
"e463ecf298cb67dd"
]
]
} }
] ]

File diff suppressed because it is too large Load diff

View file

@ -68,7 +68,7 @@
], ],
"x": 68, "x": 68,
"y": 233, "y": 233,
"w": 3964, "w": 3984,
"h": 314 "h": 314
}, },
{ {
@ -255,7 +255,7 @@
], ],
"x": 1514, "x": 1514,
"y": 259, "y": 259,
"w": 2492, "w": 2512,
"h": 149.5 "h": 149.5
}, },
{ {
@ -2959,7 +2959,7 @@
"from": "", "from": "",
"to": "", "to": "",
"reg": false, "reg": false,
"x": 3440, "x": 3460,
"y": 360, "y": 360,
"wires": [ "wires": [
[ [
@ -2985,7 +2985,7 @@
"checkall": "false", "checkall": "false",
"repair": false, "repair": false,
"outputs": 1, "outputs": 1,
"x": 2790, "x": 2810,
"y": 360, "y": 360,
"wires": [ "wires": [
[ [
@ -3011,7 +3011,7 @@
"checkall": "false", "checkall": "false",
"repair": false, "repair": false,
"outputs": 1, "outputs": 1,
"x": 3000, "x": 3020,
"y": 360, "y": 360,
"wires": [ "wires": [
[ [
@ -3037,7 +3037,7 @@
"checkall": "false", "checkall": "false",
"repair": false, "repair": false,
"outputs": 1, "outputs": 1,
"x": 3230, "x": 3250,
"y": 360, "y": 360,
"wires": [ "wires": [
[ [
@ -3061,7 +3061,7 @@
"checkall": "false", "checkall": "false",
"repair": false, "repair": false,
"outputs": 1, "outputs": 1,
"x": 3620, "x": 3640,
"y": 360, "y": 360,
"wires": [ "wires": [
[ [
@ -3119,7 +3119,7 @@
"targetType": "full", "targetType": "full",
"statusVal": "", "statusVal": "",
"statusType": "auto", "statusType": "auto",
"x": 3850, "x": 3870,
"y": 300, "y": 300,
"wires": [] "wires": []
}, },
@ -3166,7 +3166,7 @@
"links": [ "links": [
"3433733d6b9a8736" "3433733d6b9a8736"
], ],
"x": 3755, "x": 3775,
"y": 360, "y": 360,
"wires": [] "wires": []
}, },
@ -3480,14 +3480,15 @@
"type": "split", "type": "split",
"z": "52347795767acd3f", "z": "52347795767acd3f",
"g": "bdd2440c99f0d065", "g": "bdd2440c99f0d065",
"name": "", "name": "buckets",
"splt": "\\n", "splt": "\\n",
"spltType": "str", "spltType": "str",
"arraySplt": 1, "arraySplt": 1,
"arraySpltType": "len", "arraySpltType": "len",
"stream": false, "stream": false,
"addname": "bucket", "addname": "bucket",
"x": 2450, "property": "payload",
"x": 2460,
"y": 360, "y": 360,
"wires": [ "wires": [
[ [
@ -3511,7 +3512,7 @@
"checkall": "false", "checkall": "false",
"repair": false, "repair": false,
"outputs": 1, "outputs": 1,
"x": 2610, "x": 2630,
"y": 360, "y": 360,
"wires": [ "wires": [
[ [

View file

@ -409,7 +409,7 @@
"name": "", "name": "",
"server": "535a857c71583573", "server": "535a857c71583573",
"command": "20", "command": "20",
"debug": false, "debug": true,
"x": 1680, "x": 1680,
"y": 960, "y": 960,
"wires": [ "wires": [
@ -444,7 +444,7 @@
"name": "", "name": "",
"label": "Led Unifi", "label": "Led Unifi",
"group": "3cfaa12a351bab8e", "group": "3cfaa12a351bab8e",
"order": 0, "order": 1,
"width": 0, "width": 0,
"height": 0, "height": 0,
"passthru": false, "passthru": false,

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -157,7 +157,8 @@
"6e120320180e5cfd", "6e120320180e5cfd",
"d237415ac7c1b47b", "d237415ac7c1b47b",
"808426e9258cd024", "808426e9258cd024",
"3b539d9347f6bb28" "3b539d9347f6bb28",
"f6875e4f57839bc7"
], ],
"x": 94, "x": 94,
"y": 4519, "y": 4519,
@ -6085,5 +6086,16 @@
"x": 1290, "x": 1290,
"y": 4200, "y": 4200,
"wires": [] "wires": []
},
{
"id": "f6875e4f57839bc7",
"type": "comment",
"z": "80f2ffd4953c67e9",
"g": "6f1f772c23d57e24",
"name": "à modifier",
"info": "",
"x": 280,
"y": 4560,
"wires": []
} }
] ]

View file

@ -436,7 +436,7 @@
"t": "set", "t": "set",
"p": "tmp", "p": "tmp",
"pt": "msg", "pt": "msg",
"to": "{\t 'url':'url',\t 'detector':'detector',\t 'sensor':'sensor',\t 'probe':'probe',\t 'ceiling':'ceiling',\t 'lamp':'lamp',\t 'leds':'leds',\t 'spots':'spots',\t 'socket':'socket',\t 'left socket':'left socket',\t 'right socket':'right socket',\t 'door':'door',\t 'window':'window',\t 'bay':'bay',\t 'left bay':'left bay',\t 'right bay':'right bay',\t 'balloon':'balloon',\t 'speaker':'speaker',\t 'desk':'desk',\t 'mirror':'mirror',\t 'fire':'fire',\t 'remote':'remote',\t 'left remote':'left remote',\t 'right remote':'right remote',\t 'button':'button',\t 'shutter':'shutter',\t 'pilot':'pilot',\t 'bedside':'bedside',\t 'left bedside':'left bedside',\t 'right bedside':'right bedside',\t 'heat pump':'heat pump',\t 'cmv':'cmv',\t 'torus':'torus',\t 'relay':'relay',\t 'electric meter':'electric meter',\t 'solar panels':'solar panels',\t 'rack':'rack',\t 'actif':'actif',\t 'snapshot':'snapshot',\t 'assistant':'assistant',\t 'message':'message'\t}", "to": "{\t 'url':'url',\t 'detector':'detector',\t 'sensor':'sensor',\t 'probe':'probe',\t 'ceiling':'ceiling',\t 'lamp':'lamp',\t 'leds':'leds',\t 'left leds':'left leds',\t 'right leds':'right leds',\t 'spots':'spots',\t 'socket':'socket',\t 'left socket':'left socket',\t 'right socket':'right socket',\t 'door':'door',\t 'window':'window',\t 'bay':'bay',\t 'left bay':'left bay',\t 'right bay':'right bay',\t 'balloon':'balloon',\t 'speaker':'speaker',\t 'desk':'desk',\t 'mirror':'mirror',\t 'fire':'fire',\t 'remote':'remote',\t 'left remote':'left remote',\t 'right remote':'right remote',\t 'button':'button',\t 'shutter':'shutter',\t 'pilot':'pilot',\t 'bedside':'bedside',\t 'left bedside':'left bedside',\t 'right bedside':'right bedside',\t 'heat pump':'heat pump',\t 'cmv':'cmv',\t 'torus':'torus',\t 'relay':'relay',\t 'electric meter':'electric meter',\t 'solar panels':'solar panels',\t 'rack':'rack',\t 'actif':'actif',\t 'snapshot':'snapshot',\t 'assistant':'assistant',\t 'message':'message',\t 'alexa':'alexa',\t 'server':'server'\t}",
"tot": "jsonata" "tot": "jsonata"
}, },
{ {
@ -503,7 +503,7 @@
"t": "set", "t": "set",
"p": "tmp", "p": "tmp",
"pt": "msg", "pt": "msg",
"to": "{\t 'temperature':'temperature',\t 'humidity':'humidity',\t 'luminosity':'luminosity',\t 'power':'power',\t 'current':'current',\t 'outlet':'outlet',\t 'light':'light',\t 'battery':'battery',\t 'motion':'motion',\t 'aperture':'aperture',\t 'airflow':'airflow',\t 'command':'command',\t 'photovoltaic':'photovoltaic',\t 'camera':'camera',\t 'cumulus':'cumulus',\t 'air conditioner':'air conditioner',\t 'thermostat':'thermostat',\t 'tariff':'tariff',\t 'peak hours counter':'peak hours counter',\t 'off-peak hours counter':'off-peak hours counter',\t 'total hours counter':'total hours counter',\t 'smoke':'smoke',\t 'heat':'heat',\t 'alexa':'alexa',\t 'telegram':'telegram',\t 'color':'color',\t 'brightness':'brightness'\t}", "to": "{\t 'temperature':'temperature',\t 'humidity':'humidity',\t 'luminosity':'luminosity',\t 'power':'power',\t 'current':'current',\t 'outlet':'outlet',\t 'light':'light',\t 'battery':'battery',\t 'motion':'motion',\t 'aperture':'aperture',\t 'airflow':'airflow',\t 'command':'command',\t 'photovoltaic':'photovoltaic',\t 'camera':'camera',\t 'cumulus':'cumulus',\t 'air conditioner':'air conditioner',\t 'thermostat':'thermostat',\t 'tariff':'tariff',\t 'peak hours counter':'peak hours counter',\t 'off-peak hours counter':'off-peak hours counter',\t 'total hours counter':'total hours counter',\t 'smoke':'smoke',\t 'heat':'heat',\t 'volume':'volume',\t 'telegram':'telegram',\t 'color':'color',\t 'brightness':'brightness',\t 'cpu usage':'cpu usage',\t 'overload':'overload'\t}",
"tot": "jsonata" "tot": "jsonata"
}, },
{ {
@ -903,7 +903,7 @@
"t": "set", "t": "set",
"p": "tmp", "p": "tmp",
"pt": "msg", "pt": "msg",
"to": "{\t 'url':'url',\t 'detector':'détecteur',\t 'sensor':'capteur',\t 'probe':'sonde',\t 'ceiling':'plafonnier',\t 'lamp':'lampe',\t 'leds':'leds',\t 'spots':'spots',\t 'socket':'sortie',\t 'left socket':'sortie gauche',\t 'right socket':'sortie droite',\t 'door':'porte',\t 'window':'fenêtre',\t 'bay':'baie',\t 'left bay':'baie gauche',\t 'right bay':'baie droite',\t 'balloon':'ballon',\t 'speaker':'haut parleur',\t 'desk':'bureau',\t 'mirror':'miroir',\t 'fire':'incendie',\t 'remote':'télécommande',\t 'left remote':'télécommande gauche',\t 'right remote':'télécommande droite',\t 'button':'button',\t 'shutter':'volet',\t 'pilot':'pilote',\t 'bedside':'chevet',\t 'left bedside':'chevet gauche',\t 'right bedside':'chevet droite',\t 'heat pump':'pompe à chaleur',\t 'cmv':'vmc',\t 'torus':'tore',\t 'relay':'relais',\t 'power production':\"production d'énergie\",\t 'electric meter':'compteur électrique',\t 'solar panels':'panneaux solaires',\t 'rack':'rack',\t 'actif':'actif',\t 'snapshot':\"capture d'image\",\t 'assistant':'assistant',\t 'message':'message'\t}", "to": "{\t 'url':'url',\t 'detector':'détecteur',\t 'sensor':'capteur',\t 'probe':'sonde',\t 'ceiling':'plafonnier',\t 'lamp':'lampe',\t 'leds':'leds',\t 'left leds':'leds gauche',\t 'right leds':'leds droite',\t 'spots':'spots',\t 'socket':'sortie',\t 'left socket':'sortie gauche',\t 'right socket':'sortie droite',\t 'door':'porte',\t 'window':'fenêtre',\t 'bay':'baie',\t 'left bay':'baie gauche',\t 'right bay':'baie droite',\t 'balloon':'ballon',\t 'speaker':'haut parleur',\t 'desk':'bureau',\t 'mirror':'miroir',\t 'fire':'incendie',\t 'remote':'télécommande',\t 'left remote':'télécommande gauche',\t 'right remote':'télécommande droite',\t 'button':'button',\t 'shutter':'volet',\t 'pilot':'pilote',\t 'bedside':'chevet',\t 'left bedside':'chevet gauche',\t 'right bedside':'chevet droite',\t 'heat pump':'pompe à chaleur',\t 'cmv':'vmc',\t 'torus':'tore',\t 'relay':'relais',\t 'power production':\"production d'énergie\",\t 'electric meter':'compteur électrique',\t 'solar panels':'panneaux solaires',\t 'rack':'rack',\t 'actif':'actif',\t 'snapshot':\"capture d'image\",\t 'assistant':'assistant',\t 'message':'message',\t 'alexa':'alexa',\t 'server':'serveur'\t}",
"tot": "jsonata" "tot": "jsonata"
}, },
{ {
@ -970,7 +970,7 @@
"t": "set", "t": "set",
"p": "tmp", "p": "tmp",
"pt": "msg", "pt": "msg",
"to": "{\t 'temperature':'température',\t 'humidity':'humidité',\t 'luminosity':'luminosité',\t 'power':'puissance',\t 'current':'courant',\t 'outlet':'prise',\t 'light':'lumière',\t 'battery':'batterie',\t 'motion':'mouvement',\t 'aperture':'ouverture',\t 'airflow':'ventilation',\t 'command':'commande',\t 'photovoltaic':'photovoltaîque',\t 'camera':'camera',\t 'cumulus':'cumulus',\t 'air conditioner':'climatisation',\t 'thermostat':'thermostat',\t 'tariff':'tarif',\t 'peak hours counter':'compteur heaures pleines',\t 'off-peak hours counter':'compteur heures creuses',\t 'total hours counter':'compteur heures total',\t 'smoke':'fumée',\t 'heat':'chaleur',\t 'alexa':'alexa',\t 'telegram':'telegram',\t 'color':'couleur',\t 'brightness':'luminosité'\t}", "to": "{\t 'temperature':'température',\t 'humidity':'humidité',\t 'luminosity':'luminosité',\t 'power':'puissance',\t 'current':'courant',\t 'outlet':'prise',\t 'light':'lumière',\t 'battery':'batterie',\t 'motion':'mouvement',\t 'aperture':'ouverture',\t 'airflow':'ventilation',\t 'command':'commande',\t 'photovoltaic':'photovoltaîque',\t 'camera':'camera',\t 'cumulus':'cumulus',\t 'air conditioner':'climatisation',\t 'thermostat':'thermostat',\t 'tariff':'tarif',\t 'peak hours counter':'compteur heaures pleines',\t 'off-peak hours counter':'compteur heures creuses',\t 'total hours counter':'compteur heures total',\t 'smoke':'fumée',\t 'heat':'chaleur',\t 'volume':'volume',\t 'telegram':'telegram',\t 'color':'couleur',\t 'brightness':'luminosité',\t 'cpu usage':'utilisation cpu',\t 'overload':'surcharge'\t}",
"tot": "jsonata" "tot": "jsonata"
}, },
{ {
@ -1451,5 +1451,339 @@
"bdcd4dd80dcbe2b9" "bdcd4dd80dcbe2b9"
] ]
] ]
},
{
"id": "025e219749a67439",
"type": "link in",
"z": "bac2b08cd7c2e421",
"name": "translate - metric",
"links": [],
"x": 135,
"y": 1740,
"wires": [
[
"34429d11d196843d"
]
]
},
{
"id": "34429d11d196843d",
"type": "switch",
"z": "bac2b08cd7c2e421",
"name": "check metric",
"property": "metric",
"propertyType": "msg",
"rules": [
{
"t": "istype",
"v": "string",
"vt": "string"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 290,
"y": 1740,
"wires": [
[
"8132d29defa08323"
]
]
},
{
"id": "8132d29defa08323",
"type": "change",
"z": "bac2b08cd7c2e421",
"name": "split metric",
"rules": [
{
"t": "set",
"p": "tmp",
"pt": "msg",
"to": "$split(msg.metric,'/')",
"tot": "jsonata"
},
{
"t": "set",
"p": "trans",
"pt": "msg",
"to": "{}",
"tot": "jsonata"
},
{
"t": "set",
"p": "trans.bucket",
"pt": "msg",
"to": "tmp[0]",
"tot": "msg"
},
{
"t": "set",
"p": "trans.measurement",
"pt": "msg",
"to": "tmp[1]",
"tot": "msg"
},
{
"t": "set",
"p": "trans.field",
"pt": "msg",
"to": "tmp[2]",
"tot": "msg"
},
{
"t": "delete",
"p": "dictionnary",
"pt": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 490,
"y": 1740,
"wires": [
[
"97fc1790a2645359"
]
]
},
{
"id": "97fc1790a2645359",
"type": "link call",
"z": "bac2b08cd7c2e421",
"name": "",
"links": [
"27183008d41a13ed"
],
"linkType": "static",
"timeout": "30",
"x": 770,
"y": 1740,
"wires": [
[
"8bcefb815fc8435c"
]
]
},
{
"id": "978da5d0e2dd6cd6",
"type": "link call",
"z": "bac2b08cd7c2e421",
"name": "",
"links": [
"aeb0d3b6747c9280"
],
"linkType": "static",
"timeout": "30",
"x": 1630,
"y": 1740,
"wires": [
[
"ded3021e1648bbc7"
]
]
},
{
"id": "8bcefb815fc8435c",
"type": "change",
"z": "bac2b08cd7c2e421",
"name": "trans measurement",
"rules": [
{
"t": "set",
"p": "tmp",
"pt": "msg",
"to": "dictionnary[msg.trans.measurement]",
"tot": "msg"
},
{
"t": "set",
"p": "trans.measurement",
"pt": "msg",
"to": "msg.tmp?msg.tmp:msg.trans.measurement",
"tot": "jsonata"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "trans.field",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1070,
"y": 1740,
"wires": [
[
"088a7d890760254f"
]
]
},
{
"id": "088a7d890760254f",
"type": "link call",
"z": "bac2b08cd7c2e421",
"name": "",
"links": [
"0ac217c2ced7927a"
],
"linkType": "static",
"timeout": "30",
"x": 1340,
"y": 1740,
"wires": [
[
"978da5d0e2dd6cd6"
]
]
},
{
"id": "ded3021e1648bbc7",
"type": "switch",
"z": "bac2b08cd7c2e421",
"name": "",
"property": "dictionnary",
"propertyType": "msg",
"rules": [
{
"t": "hask",
"v": "short_field",
"vt": "msg"
},
{
"t": "else"
}
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 1860,
"y": 1740,
"wires": [
[
"252c4251489738e4"
],
[
"047190c9d2c62ebe"
]
]
},
{
"id": "252c4251489738e4",
"type": "change",
"z": "bac2b08cd7c2e421",
"name": "translate",
"rules": [
{
"t": "set",
"p": "trans.field",
"pt": "msg",
"to": "dictionnary[msg.short_field]",
"tot": "msg"
},
{
"t": "set",
"p": "trans.field",
"pt": "msg",
"to": "msg.trans.field&msg.end_field",
"tot": "jsonata"
},
{
"t": "delete",
"p": "split_field",
"pt": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2040,
"y": 1680,
"wires": [
[
"e25ebb310bbeb26b"
]
]
},
{
"id": "047190c9d2c62ebe",
"type": "change",
"z": "bac2b08cd7c2e421",
"name": "original",
"rules": [
{
"t": "set",
"p": "trans.field",
"pt": "msg",
"to": "msg.short_field&msg.end_field",
"tot": "jsonata"
},
{
"t": "delete",
"p": "split_field",
"pt": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2040,
"y": 1740,
"wires": [
[
"e25ebb310bbeb26b"
]
]
},
{
"id": "1519fd79c475d95a",
"type": "link out",
"z": "bac2b08cd7c2e421",
"name": "translate - metric",
"mode": "return",
"links": [],
"x": 2335,
"y": 1740,
"wires": []
},
{
"id": "e25ebb310bbeb26b",
"type": "change",
"z": "bac2b08cd7c2e421",
"name": "path",
"rules": [
{
"t": "set",
"p": "trans.path",
"pt": "msg",
"to": "msg.trans.bucket&' / '&msg.trans.measurement&' / '&msg.trans.field",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2210,
"y": 1740,
"wires": [
[
"1519fd79c475d95a"
]
]
} }
] ]

File diff suppressed because it is too large Load diff

View file

@ -88,7 +88,7 @@
], ],
"x": 2908, "x": 2908,
"y": 653, "y": 653,
"w": 3154, "w": 3554,
"h": 314 "h": 314
}, },
{ {
@ -339,11 +339,13 @@
"fd7c381284fe78b5", "fd7c381284fe78b5",
"db5251d07949a8c0", "db5251d07949a8c0",
"67a3679a821559e1", "67a3679a821559e1",
"6d3f4589b84a4ae0" "6d3f4589b84a4ae0",
"46c2ddc6460d5706",
"5e2137ccda0c95ec"
], ],
"x": 4334, "x": 4334,
"y": 679, "y": 679,
"w": 1702, "w": 2102,
"h": 262 "h": 262
}, },
{ {
@ -1893,7 +1895,7 @@
"y": 840, "y": 840,
"wires": [ "wires": [
[ [
"6d3f4589b84a4ae0" "46c2ddc6460d5706"
] ]
] ]
}, },
@ -2333,7 +2335,7 @@
"links": [ "links": [
"14a0a0839924964f" "14a0a0839924964f"
], ],
"x": 5995, "x": 6395,
"y": 840, "y": 840,
"wires": [] "wires": []
}, },
@ -3305,5 +3307,62 @@
"be033ed2f9099d29" "be033ed2f9099d29"
] ]
] ]
},
{
"id": "46c2ddc6460d5706",
"type": "trigger",
"z": "b984eb4415408ed9",
"g": "32b0e7dfab2726d5",
"name": "",
"op1": "",
"op2": "",
"op1type": "pay",
"op2type": "pay",
"duration": "1",
"extend": true,
"overrideDelay": false,
"units": "s",
"reset": "",
"bytopic": "all",
"topic": "topic",
"outputs": 2,
"x": 6060,
"y": 840,
"wires": [
[
"6d3f4589b84a4ae0"
],
[
"5e2137ccda0c95ec"
]
]
},
{
"id": "5e2137ccda0c95ec",
"type": "change",
"z": "b984eb4415408ed9",
"g": "32b0e7dfab2726d5",
"name": "raz",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 6270,
"y": 900,
"wires": [
[
"6d3f4589b84a4ae0"
]
]
} }
] ]

View file

@ -46,7 +46,7 @@
"d0f7ea2cfc4571a3" "d0f7ea2cfc4571a3"
], ],
"x": 68, "x": 68,
"y": 953, "y": 1013,
"w": 1574, "w": 1574,
"h": 2174 "h": 2174
}, },
@ -110,7 +110,7 @@
"x": 68, "x": 68,
"y": 413, "y": 413,
"w": 2534, "w": 2534,
"h": 494 "h": 554
}, },
{ {
"id": "f65dfdda10900ffc", "id": "f65dfdda10900ffc",
@ -151,7 +151,7 @@
"06b7f0862564450a" "06b7f0862564450a"
], ],
"x": 94, "x": 94,
"y": 979, "y": 1039,
"w": 1192, "w": 1192,
"h": 502 "h": 502
}, },
@ -174,7 +174,7 @@
"b20175d86ac76169" "b20175d86ac76169"
], ],
"x": 94, "x": 94,
"y": 2899, "y": 2959,
"w": 492, "w": 492,
"h": 202 "h": 202
}, },
@ -204,7 +204,7 @@
"fd73f58e64fd7772" "fd73f58e64fd7772"
], ],
"x": 94, "x": 94,
"y": 1519, "y": 1579,
"w": 1522, "w": 1522,
"h": 142 "h": 142
}, },
@ -235,7 +235,7 @@
"1cde90641d601c65" "1cde90641d601c65"
], ],
"x": 94, "x": 94,
"y": 1699, "y": 1759,
"w": 892, "w": 892,
"h": 562 "h": 562
}, },
@ -265,7 +265,7 @@
"7a20b1c05a7278f5" "7a20b1c05a7278f5"
], ],
"x": 94, "x": 94,
"y": 2299, "y": 2359,
"w": 802, "w": 802,
"h": 562 "h": 562
}, },
@ -337,12 +337,13 @@
"4b7ee33aecb98a13", "4b7ee33aecb98a13",
"23093777025257b9", "23093777025257b9",
"136467c932bcd5c7", "136467c932bcd5c7",
"74c0ed863d1f8308" "74c0ed863d1f8308",
"07ae64e387aaded3"
], ],
"x": 534, "x": 534,
"y": 439, "y": 439,
"w": 962, "w": 962,
"h": 442 "h": 502
}, },
{ {
"id": "23cddca4f42fed09", "id": "23cddca4f42fed09",
@ -530,7 +531,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 270, "x": 270,
"y": 1020, "y": 1080,
"wires": [ "wires": [
[ [
"539176543f03340e", "539176543f03340e",
@ -549,7 +550,7 @@
"b21521b6cbd2de78" "b21521b6cbd2de78"
], ],
"x": 135, "x": 135,
"y": 1020, "y": 1080,
"wires": [ "wires": [
[ [
"8546ac1e37b1b1fc" "8546ac1e37b1b1fc"
@ -568,7 +569,7 @@
"inout": "out", "inout": "out",
"property": "payload", "property": "payload",
"x": 930, "x": 930,
"y": 1140, "y": 1200,
"wires": [ "wires": [
[ [
"9846cd104deb4095", "9846cd104deb4095",
@ -588,7 +589,7 @@
"inout": "out", "inout": "out",
"property": "payload", "property": "payload",
"x": 930, "x": 930,
"y": 1080, "y": 1140,
"wires": [ "wires": [
[ [
"80713009a92b1fb1" "80713009a92b1fb1"
@ -609,7 +610,7 @@
"property": "payload", "property": "payload",
"topi": "topic", "topi": "topic",
"x": 930, "x": 930,
"y": 1380, "y": 1440,
"wires": [ "wires": [
[ [
"80713009a92b1fb1" "80713009a92b1fb1"
@ -628,7 +629,7 @@
"inout": "out", "inout": "out",
"property": "payload", "property": "payload",
"x": 930, "x": 930,
"y": 1200, "y": 1260,
"wires": [ "wires": [
[ [
"cad9f0d374763a50", "cad9f0d374763a50",
@ -648,7 +649,7 @@
"inout": "out", "inout": "out",
"property": "payload", "property": "payload",
"x": 930, "x": 930,
"y": 1260, "y": 1320,
"wires": [ "wires": [
[ [
"c40a25fa809f3f3f", "c40a25fa809f3f3f",
@ -668,7 +669,7 @@
"inout": "out", "inout": "out",
"property": "payload", "property": "payload",
"x": 930, "x": 930,
"y": 1440, "y": 1500,
"wires": [ "wires": [
[ [
"80713009a92b1fb1" "80713009a92b1fb1"
@ -693,7 +694,7 @@
"drop": true, "drop": true,
"outputs": 1, "outputs": 1,
"x": 440, "x": 440,
"y": 1380, "y": 1440,
"wires": [ "wires": [
[ [
"528d193f3ad76c04", "528d193f3ad76c04",
@ -736,7 +737,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 610, "x": 610,
"y": 1440, "y": 1500,
"wires": [ "wires": [
[ [
"06b7f0862564450a" "06b7f0862564450a"
@ -778,7 +779,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 610, "x": 610,
"y": 1380, "y": 1440,
"wires": [ "wires": [
[ [
"1c6a5f6cf7a4171a" "1c6a5f6cf7a4171a"
@ -820,7 +821,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 640, "x": 640,
"y": 1260, "y": 1320,
"wires": [ "wires": [
[ [
"2235915bcd1a9228" "2235915bcd1a9228"
@ -862,7 +863,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 640, "x": 640,
"y": 1200, "y": 1260,
"wires": [ "wires": [
[ [
"e3ec96cdb6ecec1d" "e3ec96cdb6ecec1d"
@ -904,7 +905,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 640, "x": 640,
"y": 1080, "y": 1140,
"wires": [ "wires": [
[ [
"6b5f520afcf9e941" "6b5f520afcf9e941"
@ -946,7 +947,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 640, "x": 640,
"y": 1140, "y": 1200,
"wires": [ "wires": [
[ [
"df67aa8c4eb08c4b" "df67aa8c4eb08c4b"
@ -971,7 +972,7 @@
"drop": true, "drop": true,
"outputs": 1, "outputs": 1,
"x": 440, "x": 440,
"y": 1080, "y": 1140,
"wires": [ "wires": [
[ [
"4f66f48da30fbb41", "4f66f48da30fbb41",
@ -1003,7 +1004,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 1150, "x": 1150,
"y": 1260, "y": 1320,
"wires": [ "wires": [
[] []
] ]
@ -1029,7 +1030,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 1150, "x": 1150,
"y": 1200, "y": 1260,
"wires": [ "wires": [
[] []
] ]
@ -1055,7 +1056,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 1150, "x": 1150,
"y": 1140, "y": 1200,
"wires": [ "wires": [
[] []
] ]
@ -1098,7 +1099,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 1090, "x": 1090,
"y": 1020, "y": 1080,
"wires": [ "wires": [
[ [
"25b8f66cb5486055" "25b8f66cb5486055"
@ -1115,7 +1116,7 @@
"e340056f7c0ff7e6" "e340056f7c0ff7e6"
], ],
"x": 1215, "x": 1215,
"y": 1020, "y": 1080,
"wires": [] "wires": []
}, },
{ {
@ -1153,7 +1154,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 610, "x": 610,
"y": 1320, "y": 1380,
"wires": [ "wires": [
[ [
"10352a4c8044bff8" "10352a4c8044bff8"
@ -1173,7 +1174,7 @@
"finalize": "", "finalize": "",
"libs": [], "libs": [],
"x": 770, "x": 770,
"y": 1320, "y": 1380,
"wires": [ "wires": [
[ [
"d1f398881a976c8c" "d1f398881a976c8c"
@ -1192,7 +1193,7 @@
"inout": "out", "inout": "out",
"property": "payload", "property": "payload",
"x": 930, "x": 930,
"y": 1320, "y": 1380,
"wires": [ "wires": [
[ [
"80713009a92b1fb1" "80713009a92b1fb1"
@ -1211,7 +1212,7 @@
"f2de43c0a6cb7bf1" "f2de43c0a6cb7bf1"
], ],
"x": 135, "x": 135,
"y": 3000, "y": 3060,
"wires": [ "wires": [
[ [
"4f2f651b305df0d8" "4f2f651b305df0d8"
@ -1236,7 +1237,7 @@
"drop": false, "drop": false,
"outputs": 1, "outputs": 1,
"x": 270, "x": 270,
"y": 3000, "y": 3060,
"wires": [ "wires": [
[ [
"c2bbb4adbb91e2eb", "c2bbb4adbb91e2eb",
@ -1260,7 +1261,7 @@
"statusVal": "", "statusVal": "",
"statusType": "auto", "statusType": "auto",
"x": 460, "x": 460,
"y": 2940, "y": 3000,
"wires": [] "wires": []
}, },
{ {
@ -1274,7 +1275,7 @@
"b4dcaf3216134966" "b4dcaf3216134966"
], ],
"x": 395, "x": 395,
"y": 3000, "y": 3060,
"wires": [] "wires": []
}, },
{ {
@ -1299,7 +1300,7 @@
"reduceInitType": "", "reduceInitType": "",
"reduceFixup": "", "reduceFixup": "",
"x": 780, "x": 780,
"y": 1560, "y": 1620,
"wires": [ "wires": [
[ [
"9a0a261261c064da" "9a0a261261c064da"
@ -1320,7 +1321,7 @@
"finalize": "", "finalize": "",
"libs": [], "libs": [],
"x": 1280, "x": 1280,
"y": 1560, "y": 1620,
"wires": [ "wires": [
[ [
"eaf239f4e4fd9d20" "eaf239f4e4fd9d20"
@ -1350,7 +1351,7 @@
"payload": "", "payload": "",
"payloadType": "date", "payloadType": "date",
"x": 210, "x": 210,
"y": 1560, "y": 1620,
"wires": [ "wires": [
[ [
"2c63586ece8ae18a", "2c63586ece8ae18a",
@ -1407,7 +1408,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 610, "x": 610,
"y": 1560, "y": 1620,
"wires": [ "wires": [
[ [
"06e4c17b8ac467e1" "06e4c17b8ac467e1"
@ -1463,7 +1464,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 610, "x": 610,
"y": 1620, "y": 1680,
"wires": [ "wires": [
[ [
"06e4c17b8ac467e1" "06e4c17b8ac467e1"
@ -1480,7 +1481,7 @@
"e340056f7c0ff7e6" "e340056f7c0ff7e6"
], ],
"x": 1575, "x": 1575,
"y": 1560, "y": 1620,
"wires": [] "wires": []
}, },
{ {
@ -1523,7 +1524,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 1450, "x": 1450,
"y": 1560, "y": 1620,
"wires": [ "wires": [
[ [
"1d84aac6c8e2a838" "1d84aac6c8e2a838"
@ -1551,7 +1552,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 790, "x": 790,
"y": 1740, "y": 1800,
"wires": [ "wires": [
[] []
] ]
@ -1577,7 +1578,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 800, "x": 800,
"y": 1800, "y": 1860,
"wires": [ "wires": [
[] []
] ]
@ -1603,7 +1604,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 790, "x": 790,
"y": 1860, "y": 1920,
"wires": [ "wires": [
[] []
] ]
@ -1637,7 +1638,7 @@
"repair": false, "repair": false,
"outputs": 3, "outputs": 3,
"x": 510, "x": 510,
"y": 1800, "y": 1860,
"wires": [ "wires": [
[ [
"c84ad49be11b1bd9", "c84ad49be11b1bd9",
@ -1679,7 +1680,7 @@
"payload": "", "payload": "",
"payloadType": "date", "payloadType": "date",
"x": 360, "x": 360,
"y": 2220, "y": 2280,
"wires": [ "wires": [
[ [
"c84ad49be11b1bd9", "c84ad49be11b1bd9",
@ -1715,7 +1716,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 780, "x": 780,
"y": 1920, "y": 1980,
"wires": [ "wires": [
[] []
] ]
@ -1741,7 +1742,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 790, "x": 790,
"y": 1980, "y": 2040,
"wires": [ "wires": [
[] []
] ]
@ -1767,7 +1768,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 780, "x": 780,
"y": 2040, "y": 2100,
"wires": [ "wires": [
[] []
] ]
@ -1793,7 +1794,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 780, "x": 780,
"y": 2220, "y": 2280,
"wires": [ "wires": [
[] []
] ]
@ -1819,7 +1820,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 790, "x": 790,
"y": 2160, "y": 2220,
"wires": [ "wires": [
[] []
] ]
@ -1845,7 +1846,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 780, "x": 780,
"y": 2100, "y": 2160,
"wires": [ "wires": [
[] []
] ]
@ -1899,7 +1900,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 450, "x": 450,
"y": 2340, "y": 2400,
"wires": [ "wires": [
[ [
"9a2254b818f75188" "9a2254b818f75188"
@ -1929,7 +1930,7 @@
"payload": "", "payload": "",
"payloadType": "date", "payloadType": "date",
"x": 210, "x": 210,
"y": 2340, "y": 2400,
"wires": [ "wires": [
[ [
"82ef8057da8c77aa", "82ef8057da8c77aa",
@ -1954,7 +1955,7 @@
"e340056f7c0ff7e6" "e340056f7c0ff7e6"
], ],
"x": 855, "x": 855,
"y": 2340, "y": 2400,
"wires": [] "wires": []
}, },
{ {
@ -1997,7 +1998,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 730, "x": 730,
"y": 2340, "y": 2400,
"wires": [ "wires": [
[ [
"f2de43c0a6cb7bf1" "f2de43c0a6cb7bf1"
@ -2053,7 +2054,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 460, "x": 460,
"y": 2400, "y": 2460,
"wires": [ "wires": [
[ [
"9a2254b818f75188" "9a2254b818f75188"
@ -2109,7 +2110,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 450, "x": 450,
"y": 2460, "y": 2520,
"wires": [ "wires": [
[ [
"9a2254b818f75188" "9a2254b818f75188"
@ -2165,7 +2166,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 450, "x": 450,
"y": 2520, "y": 2580,
"wires": [ "wires": [
[ [
"9a2254b818f75188" "9a2254b818f75188"
@ -2221,7 +2222,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 450, "x": 450,
"y": 2580, "y": 2640,
"wires": [ "wires": [
[ [
"9a2254b818f75188" "9a2254b818f75188"
@ -2277,7 +2278,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 450, "x": 450,
"y": 2640, "y": 2700,
"wires": [ "wires": [
[ [
"9a2254b818f75188" "9a2254b818f75188"
@ -2333,7 +2334,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 440, "x": 440,
"y": 2700, "y": 2760,
"wires": [ "wires": [
[ [
"9a2254b818f75188" "9a2254b818f75188"
@ -2389,7 +2390,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 450, "x": 450,
"y": 2760, "y": 2820,
"wires": [ "wires": [
[ [
"9a2254b818f75188" "9a2254b818f75188"
@ -2445,7 +2446,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 450, "x": 450,
"y": 2820, "y": 2880,
"wires": [ "wires": [
[ [
"9a2254b818f75188" "9a2254b818f75188"
@ -2468,7 +2469,7 @@
"org": "iotredloop", "org": "iotredloop",
"bucket": "linky", "bucket": "linky",
"x": 430, "x": 430,
"y": 3060, "y": 3120,
"wires": [] "wires": []
}, },
{ {
@ -2484,7 +2485,7 @@
"retentionPolicy": "", "retentionPolicy": "",
"org": "iotredloop", "org": "iotredloop",
"x": 420, "x": 420,
"y": 1560, "y": 1620,
"wires": [ "wires": [
[ [
"905240083e6bd5a2" "905240083e6bd5a2"
@ -2504,7 +2505,7 @@
"retentionPolicy": "", "retentionPolicy": "",
"org": "iotredloop", "org": "iotredloop",
"x": 400, "x": 400,
"y": 1620, "y": 1680,
"wires": [ "wires": [
[ [
"e57340f8784de737" "e57340f8784de737"
@ -2563,7 +2564,7 @@
} }
], ],
"x": 210, "x": 210,
"y": 1800, "y": 1860,
"wires": [ "wires": [
[ [
"7e164b153068131f" "7e164b153068131f"
@ -2870,7 +2871,7 @@
"repair": false, "repair": false,
"outputs": 2, "outputs": 2,
"x": 770, "x": 770,
"y": 1440, "y": 1500,
"wires": [ "wires": [
[ [
"80713009a92b1fb1" "80713009a92b1fb1"
@ -2897,7 +2898,7 @@
"repair": false, "repair": false,
"outputs": 1, "outputs": 1,
"x": 950, "x": 950,
"y": 1560, "y": 1620,
"wires": [ "wires": [
[ [
"ffd6cc9a833578f9" "ffd6cc9a833578f9"
@ -2921,7 +2922,7 @@
"repair": false, "repair": false,
"outputs": 1, "outputs": 1,
"x": 1110, "x": 1110,
"y": 1560, "y": 1620,
"wires": [ "wires": [
[ [
"af3687a9f899e8da" "af3687a9f899e8da"
@ -2936,7 +2937,7 @@
"name": "", "name": "",
"info": "", "info": "",
"x": 790, "x": 790,
"y": 1620, "y": 1680,
"wires": [] "wires": []
}, },
{ {
@ -3427,6 +3428,13 @@
"pt": "msg", "pt": "msg",
"to": "payload.PTEC.value", "to": "payload.PTEC.value",
"tot": "msg" "tot": "msg"
},
{
"t": "set",
"p": "repeat",
"pt": "msg",
"to": "false",
"tot": "bool"
} }
], ],
"action": "", "action": "",
@ -3655,7 +3663,8 @@
"dfed6c0bfa8e23dd", "dfed6c0bfa8e23dd",
"3ef21f331dbced82", "3ef21f331dbced82",
"f91f5e0c6aa9acbb", "f91f5e0c6aa9acbb",
"74c0ed863d1f8308" "74c0ed863d1f8308",
"07ae64e387aaded3"
] ]
] ]
}, },
@ -3915,5 +3924,54 @@
"x": 220, "x": 220,
"y": 560, "y": 560,
"wires": [] "wires": []
},
{
"id": "07ae64e387aaded3",
"type": "change",
"z": "a1e22fa468f03c15",
"g": "1585907d4d4bfa10",
"name": "overload / electric meter* / boolean / false",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "overload",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'electric meter'",
"tot": "jsonata"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "boolean",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "false",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 980,
"y": 900,
"wires": [
[
"23093777025257b9"
]
]
} }
] ]

View file

@ -282,6 +282,27 @@
"w": 2934, "w": 2934,
"h": 381.5 "h": 381.5
}, },
{
"id": "616054c1e71be9b5",
"type": "group",
"z": "0cd436e03cba5cb6",
"name": "Tuya - TS0044",
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"bf3eb49f6340b632",
"60ffb41c372ca788",
"d95368da0fc1acec",
"04fc27259c1f44bf"
],
"x": 68,
"y": 2393,
"w": 2554,
"h": 614
},
{ {
"id": "66948514053cd7ef", "id": "66948514053cd7ef",
"type": "group", "type": "group",
@ -1134,27 +1155,6 @@
"w": 722, "w": 722,
"h": 97 "h": 97
}, },
{
"id": "616054c1e71be9b5",
"type": "group",
"z": "0cd436e03cba5cb6",
"name": "Tuya - TS0044",
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"bf3eb49f6340b632",
"60ffb41c372ca788",
"d95368da0fc1acec",
"04fc27259c1f44bf"
],
"x": 68,
"y": 2393,
"w": 2554,
"h": 614
},
{ {
"id": "bf3eb49f6340b632", "id": "bf3eb49f6340b632",
"type": "group", "type": "group",
@ -1234,6 +1234,97 @@
"w": 342, "w": 342,
"h": 82 "h": 82
}, },
{
"id": "6785647c31ba1f13",
"type": "group",
"z": "0cd436e03cba5cb6",
"name": "sonoff - SNZB-04",
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"b207e6938438fab3",
"93e889d3cd4867e3",
"59756c1861505dd2",
"8870d998a44837b0"
],
"x": 3128,
"y": 1733,
"w": 2114,
"h": 254
},
{
"id": "b207e6938438fab3",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "6785647c31ba1f13",
"name": "zigbee - SNZB-04 - source",
"style": {
"fill": "#0070c0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"ee32a0f1c1e7e347",
"d1093d7665412d0d",
"85217d0a7ee82761",
"23d5a67c28493de7",
"bd25515e42e5e7c6",
"25e179d817dc6640"
],
"x": 4534,
"y": 1759,
"w": 682,
"h": 142
},
{
"id": "93e889d3cd4867e3",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "6785647c31ba1f13",
"name": "zigbee - SNZB-04 - device",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"e32d8e7d0147fa21",
"9c5b207416ce0b67",
"70bae9fd74cf303e",
"174d3fd440189377",
"88f385dcb120d9da",
"060aa5a9c74c5787",
"63ae92bf6c0df942"
],
"x": 3594,
"y": 1759,
"w": 842,
"h": 202
},
{
"id": "59756c1861505dd2",
"type": "group",
"z": "0cd436e03cba5cb6",
"g": "6785647c31ba1f13",
"name": "zigbee - SNZB-04 - model",
"style": {
"fill": "#001f60",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"8e1684ab2141ec67",
"f34a2f252fd409da",
"582711f64841c886"
],
"x": 3154,
"y": 1759,
"w": 342,
"h": 82
},
{ {
"id": "19b13887fb6925d7", "id": "19b13887fb6925d7",
"type": "switch", "type": "switch",
@ -8266,5 +8357,491 @@
"dd58c47d1106a4bf" "dd58c47d1106a4bf"
] ]
] ]
},
{
"id": "ee32a0f1c1e7e347",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "b207e6938438fab3",
"name": "battery",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "battery",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.battery",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 5030,
"y": 1860,
"wires": [
[
"bd25515e42e5e7c6"
]
]
},
{
"id": "d1093d7665412d0d",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "b207e6938438fab3",
"name": "aperture",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "$boolean(msg.payload.contact)=false",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 5040,
"y": 1800,
"wires": [
[
"bd25515e42e5e7c6"
]
]
},
{
"id": "85217d0a7ee82761",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "b207e6938438fab3",
"name": "zigbee - SNZB-04 - source",
"links": [
"24058eec92534b27"
],
"x": 4575,
"y": 1800,
"wires": [
[
"23d5a67c28493de7"
]
]
},
{
"id": "23d5a67c28493de7",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "b207e6938438fab3",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "SNZB-04",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 4710,
"y": 1800,
"wires": [
[
"25e179d817dc6640"
]
]
},
{
"id": "bd25515e42e5e7c6",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "b207e6938438fab3",
"name": "zigbee - SNZB-04 - source",
"mode": "link",
"links": [
"14a0a0839924964f"
],
"x": 5175,
"y": 1800,
"wires": []
},
{
"id": "25e179d817dc6640",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "b207e6938438fab3",
"name": "topic",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "prefix",
"vt": "msg"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 4870,
"y": 1800,
"wires": [
[
"d1093d7665412d0d",
"ee32a0f1c1e7e347"
]
]
},
{
"id": "e32d8e7d0147fa21",
"type": "switch",
"z": "0cd436e03cba5cb6",
"g": "93e889d3cd4867e3",
"name": "model",
"property": "model",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "SNZB-04",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 3770,
"y": 1800,
"wires": [
[
"9c5b207416ce0b67",
"70bae9fd74cf303e",
"63ae92bf6c0df942"
]
]
},
{
"id": "9c5b207416ce0b67",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "93e889d3cd4867e3",
"name": "aperture / door* / boolean / false",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "aperture",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'door'",
"tot": "jsonata"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "boolean",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "false",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 4010,
"y": 1860,
"wires": [
[
"060aa5a9c74c5787"
]
]
},
{
"id": "70bae9fd74cf303e",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "93e889d3cd4867e3",
"name": "battery / door* / percent / 99",
"rules": [
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "battery",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'door'",
"tot": "jsonata"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "percent",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "99",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 4000,
"y": 1920,
"wires": [
[
"060aa5a9c74c5787"
]
]
},
{
"id": "174d3fd440189377",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "93e889d3cd4867e3",
"name": "zigbee - SNZB-04 - device",
"links": [
"546f190f3ec0c90d"
],
"x": 3635,
"y": 1800,
"wires": [
[
"e32d8e7d0147fa21"
]
]
},
{
"id": "88f385dcb120d9da",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "93e889d3cd4867e3",
"name": "zigbee - MCCGQ11LM - device",
"mode": "link",
"links": [
"3e1b4213132404be"
],
"x": 4395,
"y": 1800,
"wires": []
},
{
"id": "060aa5a9c74c5787",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "93e889d3cd4867e3",
"name": "protocol",
"rules": [
{
"t": "set",
"p": "protocol",
"pt": "msg",
"to": "zigbee",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 4260,
"y": 1800,
"wires": [
[
"88f385dcb120d9da"
]
]
},
{
"id": "63ae92bf6c0df942",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "93e889d3cd4867e3",
"name": "brand: sonoff / aperture / door*",
"rules": [
{
"t": "set",
"p": "brand",
"pt": "msg",
"to": "sonoff",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "aperture",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "msg.field?msg.field:'door'",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 4010,
"y": 1800,
"wires": [
[
"060aa5a9c74c5787"
]
]
},
{
"id": "8e1684ab2141ec67",
"type": "link in",
"z": "0cd436e03cba5cb6",
"g": "59756c1861505dd2",
"name": "zigbee - SNZB-04 - model",
"links": [
"9cb906bf8066d37e"
],
"x": 3195,
"y": 1800,
"wires": [
[
"f34a2f252fd409da"
]
]
},
{
"id": "f34a2f252fd409da",
"type": "change",
"z": "0cd436e03cba5cb6",
"g": "59756c1861505dd2",
"name": "model",
"rules": [
{
"t": "set",
"p": "brand",
"pt": "msg",
"to": "sonoff",
"tot": "str"
},
{
"t": "set",
"p": "model",
"pt": "msg",
"to": "SNZB-04",
"tot": "str"
},
{
"t": "set",
"p": "protocol",
"pt": "msg",
"to": "zigbee",
"tot": "str"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "aperture",
"tot": "str"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "door",
"tot": "str"
},
{
"t": "set",
"p": "format",
"pt": "msg",
"to": "boolean",
"tot": "str"
},
{
"t": "set",
"p": "default",
"pt": "msg",
"to": "false",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 3330,
"y": 1800,
"wires": [
[
"582711f64841c886"
]
]
},
{
"id": "582711f64841c886",
"type": "link out",
"z": "0cd436e03cba5cb6",
"g": "59756c1861505dd2",
"name": "zigbee - SNZB-04 - model",
"mode": "link",
"links": [
"94aa726ce8973d2c"
],
"x": 3455,
"y": 1800,
"wires": []
},
{
"id": "8870d998a44837b0",
"type": "comment",
"z": "0cd436e03cba5cb6",
"g": "6785647c31ba1f13",
"name": "aperture / door",
"info": "",
"x": 3260,
"y": 1880,
"wires": []
} }
] ]

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,297 +0,0 @@
[
{
"id": "5771bd732671238b",
"type": "tab",
"label": "R.Combles",
"disabled": false,
"info": "",
"env": []
},
{
"id": "193537e1be29b7bc",
"type": "group",
"z": "5771bd732671238b",
"name": "combles - bucket",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true,
"stroke": "#ffC000"
},
"nodes": [
"18401f448b0bd35f",
"1961ac6e5cc5b6de",
"95b38fc6b2a4af14"
],
"x": 94,
"y": 19,
"w": 342,
"h": 82
},
{
"id": "3531a5b2fe7f7472",
"type": "group",
"z": "5771bd732671238b",
"name": "combles - ui select room",
"style": {
"fill": "#6f2fa0",
"fill-opacity": "0.05",
"label": true,
"stroke": "#6f2fa0"
},
"nodes": [
"4526a823900a3869",
"337f1fd20587c947",
"f3292a2299ec19e0",
"e23aea66f45514ec"
],
"x": 1054,
"y": 19,
"w": 582,
"h": 82
},
{
"id": "3ccaa4a7f8feaec3",
"type": "group",
"z": "5771bd732671238b",
"name": "catch error",
"style": {
"fill": "#ff0000",
"fill-opacity": "0.05",
"label": true,
"stroke": "#ff0000"
},
"nodes": [
"df117909ca6f83c1",
"5dbdc36616507f47",
"73cb90b1dfb06aa9"
],
"x": 534,
"y": 19,
"w": 422,
"h": 82
},
{
"id": "18401f448b0bd35f",
"type": "change",
"z": "5771bd732671238b",
"g": "193537e1be29b7bc",
"name": "bucket",
"rules": [
{
"t": "set",
"p": "bucket",
"pt": "msg",
"to": "combles",
"tot": "str"
},
{
"t": "set",
"p": "bucket",
"pt": "flow",
"to": "bucket",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 270,
"y": 60,
"wires": [
[
"95b38fc6b2a4af14"
]
]
},
{
"id": "1961ac6e5cc5b6de",
"type": "link in",
"z": "5771bd732671238b",
"g": "193537e1be29b7bc",
"name": "combles - bucket",
"links": [
"25445f5a9b787a0a"
],
"x": 135,
"y": 60,
"wires": [
[
"18401f448b0bd35f"
]
]
},
{
"id": "95b38fc6b2a4af14",
"type": "link out",
"z": "5771bd732671238b",
"g": "193537e1be29b7bc",
"name": "combles - bucket",
"mode": "link",
"links": [
"18bf3df549328c13",
"2e7bb0e6e6079d56",
"96ad68746204ca2f",
"668589ced855b77f",
"4985a59bb6bea902"
],
"x": 395,
"y": 60,
"wires": []
},
{
"id": "4526a823900a3869",
"type": "link out",
"z": "5771bd732671238b",
"g": "3531a5b2fe7f7472",
"name": "combles - ui select room",
"mode": "link",
"links": [
"1be6ca3c2b8615a2"
],
"x": 1595,
"y": 60,
"wires": []
},
{
"id": "337f1fd20587c947",
"type": "link in",
"z": "5771bd732671238b",
"g": "3531a5b2fe7f7472",
"name": "combles - ui select room",
"links": [
"74172837e07ab80d"
],
"x": 1095,
"y": 60,
"wires": [
[
"f3292a2299ec19e0"
]
]
},
{
"id": "f3292a2299ec19e0",
"type": "change",
"z": "5771bd732671238b",
"g": "3531a5b2fe7f7472",
"name": "enabled button",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "bucket",
"tot": "flow"
},
{
"t": "set",
"p": "enabled",
"pt": "msg",
"to": "msg.payload != msg.room",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1260,
"y": 60,
"wires": [
[
"e23aea66f45514ec"
]
]
},
{
"id": "e23aea66f45514ec",
"type": "ui-button",
"z": "5771bd732671238b",
"g": "3531a5b2fe7f7472",
"group": "36396f5285df476c",
"name": "",
"label": "Combles",
"order": 7,
"width": "2",
"height": "1",
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "",
"iconPosition": "left",
"payload": "bucket",
"payloadType": "flow",
"topic": "topic",
"topicType": "msg",
"x": 1460,
"y": 60,
"wires": [
[
"4526a823900a3869"
]
]
},
{
"id": "df117909ca6f83c1",
"type": "catch",
"z": "5771bd732671238b",
"g": "3ccaa4a7f8feaec3",
"name": "catch error",
"scope": null,
"uncaught": false,
"x": 620,
"y": 60,
"wires": [
[
"5dbdc36616507f47"
]
]
},
{
"id": "5dbdc36616507f47",
"type": "change",
"z": "5771bd732671238b",
"g": "3ccaa4a7f8feaec3",
"name": "topic",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "combles",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 790,
"y": 60,
"wires": [
[
"73cb90b1dfb06aa9"
]
]
},
{
"id": "73cb90b1dfb06aa9",
"type": "link out",
"z": "5771bd732671238b",
"g": "3ccaa4a7f8feaec3",
"name": "catch error",
"mode": "link",
"links": [
"a52f0e788cd4dca3"
],
"x": 915,
"y": 60,
"wires": []
}
]

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

21395
flows/R.Rooms.json Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -67,12 +67,14 @@
"90eddf07569aadc0", "90eddf07569aadc0",
"5b6c97eb42f7b833", "5b6c97eb42f7b833",
"2302782a6ca41102", "2302782a6ca41102",
"a69d70a155c21ef3" "a69d70a155c21ef3",
"27a767a07e780b79",
"cc58fa2dc61acc60"
], ],
"x": 94, "x": 94,
"y": 319, "y": 319,
"w": 362, "w": 362,
"h": 382 "h": 442
}, },
{ {
"id": "dd003c121420d45a", "id": "dd003c121420d45a",
@ -85,7 +87,6 @@
"label": true "label": true
}, },
"nodes": [ "nodes": [
"417badba7b8593d3",
"cfd1c312affb0a45", "cfd1c312affb0a45",
"aaba9cf674e8cfe0", "aaba9cf674e8cfe0",
"4eb13f33c92436a9", "4eb13f33c92436a9",
@ -115,11 +116,15 @@
"7a76fc8d520b5b9e", "7a76fc8d520b5b9e",
"772791bd8b527740", "772791bd8b527740",
"34f9df4fdd3bd8df", "34f9df4fdd3bd8df",
"8b6c9751b1c7cc20" "8b6c9751b1c7cc20",
"d7987f4bac2a1be7",
"06183d3762a605b4",
"6c0c33d1effc0c8d",
"648265bba2a83bd7"
], ],
"x": 94, "x": 94,
"y": 739, "y": 799,
"w": 1252, "w": 2042,
"h": 322 "h": 322
}, },
{ {
@ -260,7 +265,7 @@
"7c98833082d48029" "7c98833082d48029"
], ],
"x": 415, "x": 415,
"y": 360, "y": 420,
"wires": [] "wires": []
}, },
{ {
@ -271,7 +276,7 @@
"group": "018c8ded1126b49a", "group": "018c8ded1126b49a",
"name": "reload devices definitions", "name": "reload devices definitions",
"label": "Recharger les définitions d'équipements", "label": "Recharger les définitions d'équipements",
"order": 1, "order": 2,
"width": "6", "width": "6",
"height": "1", "height": "1",
"emulateClick": false, "emulateClick": false,
@ -286,7 +291,7 @@
"topic": "topic", "topic": "topic",
"topicType": "msg", "topicType": "msg",
"x": 230, "x": 230,
"y": 360, "y": 420,
"wires": [ "wires": [
[ [
"68a233d0b60bf782" "68a233d0b60bf782"
@ -301,7 +306,7 @@
"group": "018c8ded1126b49a", "group": "018c8ded1126b49a",
"name": "freeze kernel", "name": "freeze kernel",
"label": "Congeler le noyau", "label": "Congeler le noyau",
"order": 3, "order": 4,
"width": "6", "width": "6",
"height": "1", "height": "1",
"tooltip": "", "tooltip": "",
@ -315,7 +320,7 @@
"topic": "gate", "topic": "gate",
"topicType": "str", "topicType": "str",
"x": 190, "x": 190,
"y": 540, "y": 600,
"wires": [ "wires": [
[ [
"aa2c3406c988ef4b" "aa2c3406c988ef4b"
@ -333,7 +338,7 @@
"baaac9a301ef150a" "baaac9a301ef150a"
], ],
"x": 415, "x": 415,
"y": 540, "y": 600,
"wires": [] "wires": []
}, },
{ {
@ -344,7 +349,7 @@
"group": "018c8ded1126b49a", "group": "018c8ded1126b49a",
"name": "load context file", "name": "load context file",
"label": "Recharger le fichier de context", "label": "Recharger le fichier de context",
"order": 2, "order": 7,
"width": "6", "width": "6",
"height": "1", "height": "1",
"emulateClick": false, "emulateClick": false,
@ -359,7 +364,7 @@
"topic": "topic", "topic": "topic",
"topicType": "msg", "topicType": "msg",
"x": 200, "x": 200,
"y": 420, "y": 480,
"wires": [ "wires": [
[ [
"8820bdb5b422a686" "8820bdb5b422a686"
@ -377,7 +382,7 @@
"dfb4b5350a9383c9" "dfb4b5350a9383c9"
], ],
"x": 415, "x": 415,
"y": 420, "y": 480,
"wires": [] "wires": []
}, },
{ {
@ -388,7 +393,7 @@
"group": "018c8ded1126b49a", "group": "018c8ded1126b49a",
"name": "close kernel", "name": "close kernel",
"label": "Fermer le noyau", "label": "Fermer le noyau",
"order": 4, "order": 5,
"width": "6", "width": "6",
"height": "1", "height": "1",
"tooltip": "", "tooltip": "",
@ -402,7 +407,7 @@
"topic": "gate", "topic": "gate",
"topicType": "str", "topicType": "str",
"x": 190, "x": 190,
"y": 600, "y": 660,
"wires": [ "wires": [
[ [
"aa2c3406c988ef4b" "aa2c3406c988ef4b"
@ -417,7 +422,7 @@
"group": "018c8ded1126b49a", "group": "018c8ded1126b49a",
"name": "open kernel", "name": "open kernel",
"label": "Ouvrir le noyau", "label": "Ouvrir le noyau",
"order": 5, "order": 6,
"width": "6", "width": "6",
"height": "1", "height": "1",
"tooltip": "", "tooltip": "",
@ -431,43 +436,13 @@
"topic": "gate", "topic": "gate",
"topicType": "str", "topicType": "str",
"x": 190, "x": 190,
"y": 660, "y": 720,
"wires": [ "wires": [
[ [
"aa2c3406c988ef4b" "aa2c3406c988ef4b"
] ]
] ]
}, },
{
"id": "417badba7b8593d3",
"type": "ui-button",
"z": "c2bfa0fea66ef080",
"g": "dd003c121420d45a",
"group": "88a7ce8d8fd7e72b",
"name": "reload",
"label": "Recharger",
"order": 1,
"width": "6",
"height": "1",
"emulateClick": false,
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "",
"iconPosition": "left",
"payload": "",
"payloadType": "str",
"topic": "topic",
"topicType": "msg",
"x": 1210,
"y": 780,
"wires": [
[
"e9341386035b1f2c"
]
]
},
{ {
"id": "cfd1c312affb0a45", "id": "cfd1c312affb0a45",
"type": "change", "type": "change",
@ -496,7 +471,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 380, "x": 380,
"y": 840, "y": 900,
"wires": [ "wires": [
[ [
"aaba9cf674e8cfe0" "aaba9cf674e8cfe0"
@ -516,7 +491,7 @@
"stream": false, "stream": false,
"addname": "bucket", "addname": "bucket",
"x": 550, "x": 550,
"y": 840, "y": 900,
"wires": [ "wires": [
[ [
"4eb13f33c92436a9" "4eb13f33c92436a9"
@ -544,7 +519,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 710, "x": 710,
"y": 840, "y": 900,
"wires": [ "wires": [
[ [
"a103f8cc78fc5ad7" "a103f8cc78fc5ad7"
@ -573,7 +548,7 @@
"reduceInitType": "", "reduceInitType": "",
"reduceFixup": "", "reduceFixup": "",
"x": 870, "x": 870,
"y": 840, "y": 900,
"wires": [ "wires": [
[ [
"9cd19202a5858a27" "9cd19202a5858a27"
@ -589,21 +564,29 @@
"name": "buckets", "name": "buckets",
"label": "Bucket", "label": "Bucket",
"tooltip": "", "tooltip": "",
"order": 2, "order": 1,
"width": "6", "width": "6",
"height": "1", "height": "1",
"passthru": false, "passthru": false,
"multiple": false, "multiple": false,
"options": [], "chips": false,
"clearable": false,
"options": [
{
"label": "» recharger",
"value": "",
"type": "str"
}
],
"payload": "", "payload": "",
"topic": "topic", "topic": "topic",
"topicType": "msg", "topicType": "msg",
"className": "", "className": "",
"x": 1220, "x": 1220,
"y": 840, "y": 900,
"wires": [ "wires": [
[ [
"d4e3490de6550eea" "d7987f4bac2a1be7"
] ]
] ]
}, },
@ -628,6 +611,20 @@
"to": "data.buckets", "to": "data.buckets",
"tot": "flow" "tot": "flow"
}, },
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})",
"tot": "jsonata"
},
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "$append(msg.options,[{'label':'» recharger','value':''}])",
"tot": "jsonata"
},
{ {
"t": "set", "t": "set",
"p": "class", "p": "class",
@ -642,7 +639,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 1040, "x": 1040,
"y": 840, "y": 900,
"wires": [ "wires": [
[ [
"61464b0778183fdb" "61464b0778183fdb"
@ -684,7 +681,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 380, "x": 380,
"y": 900, "y": 960,
"wires": [ "wires": [
[ [
"f59d0b8138fa7525" "f59d0b8138fa7525"
@ -704,7 +701,7 @@
"stream": false, "stream": false,
"addname": "measurement", "addname": "measurement",
"x": 550, "x": 550,
"y": 900, "y": 960,
"wires": [ "wires": [
[ [
"43b5266fef6d73b9" "43b5266fef6d73b9"
@ -732,7 +729,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 710, "x": 710,
"y": 900, "y": 960,
"wires": [ "wires": [
[ [
"55366488e4c7e9c3" "55366488e4c7e9c3"
@ -761,7 +758,7 @@
"reduceInitType": "", "reduceInitType": "",
"reduceFixup": "", "reduceFixup": "",
"x": 870, "x": 870,
"y": 900, "y": 960,
"wires": [ "wires": [
[ [
"5c6b98d2f2d16291" "5c6b98d2f2d16291"
@ -777,21 +774,29 @@
"name": "measurements", "name": "measurements",
"label": "Measurement", "label": "Measurement",
"tooltip": "", "tooltip": "",
"order": 3, "order": 2,
"width": "6", "width": "6",
"height": "1", "height": "1",
"passthru": false, "passthru": false,
"multiple": false, "multiple": false,
"options": [], "chips": false,
"clearable": false,
"options": [
{
"label": "__",
"value": "",
"type": "str"
}
],
"payload": "", "payload": "",
"topic": "topic", "topic": "topic",
"topicType": "msg", "topicType": "msg",
"className": "", "className": "",
"x": 1240, "x": 1240,
"y": 900, "y": 960,
"wires": [ "wires": [
[ [
"b15ee9861786845f" "06183d3762a605b4"
] ]
] ]
}, },
@ -816,6 +821,13 @@
"to": "data.measurements", "to": "data.measurements",
"tot": "flow" "tot": "flow"
}, },
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})",
"tot": "jsonata"
},
{ {
"t": "set", "t": "set",
"p": "class", "p": "class",
@ -830,7 +842,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 1040, "x": 1040,
"y": 900, "y": 960,
"wires": [ "wires": [
[ [
"649a5ab3d32438c5" "649a5ab3d32438c5"
@ -887,7 +899,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 1050, "x": 1050,
"y": 780, "y": 840,
"wires": [ "wires": [
[ [
"61464b0778183fdb", "61464b0778183fdb",
@ -933,7 +945,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 380, "x": 380,
"y": 960, "y": 1020,
"wires": [ "wires": [
[ [
"41f5791b1f5773f4" "41f5791b1f5773f4"
@ -953,7 +965,7 @@
"stream": false, "stream": false,
"addname": "field", "addname": "field",
"x": 550, "x": 550,
"y": 960, "y": 1020,
"wires": [ "wires": [
[ [
"d5741bb4d825808f" "d5741bb4d825808f"
@ -981,7 +993,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 710, "x": 710,
"y": 960, "y": 1020,
"wires": [ "wires": [
[ [
"608c1dd85cfe7947" "608c1dd85cfe7947"
@ -1010,7 +1022,7 @@
"reduceInitType": "", "reduceInitType": "",
"reduceFixup": "", "reduceFixup": "",
"x": 870, "x": 870,
"y": 960, "y": 1020,
"wires": [ "wires": [
[ [
"3737a5a641de4ed0" "3737a5a641de4ed0"
@ -1026,18 +1038,26 @@
"name": "fields", "name": "fields",
"label": "Field", "label": "Field",
"tooltip": "", "tooltip": "",
"order": 4, "order": 3,
"width": "6", "width": "6",
"height": "1", "height": "1",
"passthru": false, "passthru": false,
"multiple": false, "multiple": false,
"options": [], "chips": false,
"clearable": false,
"options": [
{
"label": "__",
"value": "",
"type": "str"
}
],
"payload": "", "payload": "",
"topic": "topic", "topic": "topic",
"topicType": "msg", "topicType": "msg",
"className": "", "className": "",
"x": 1210, "x": 1210,
"y": 960, "y": 1020,
"wires": [ "wires": [
[ [
"5a86c32a699d6a2e" "5a86c32a699d6a2e"
@ -1065,6 +1085,20 @@
"to": "data.fields", "to": "data.fields",
"tot": "flow" "tot": "flow"
}, },
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "$sort(msg.options, function($l, $r) {\t $l[0].label > $r[0].label\t})",
"tot": "jsonata"
},
{
"t": "set",
"p": "options",
"pt": "msg",
"to": "$append(msg.options,[{'label':'» TOUT','':''}])",
"tot": "jsonata"
},
{ {
"t": "set", "t": "set",
"p": "class", "p": "class",
@ -1079,7 +1113,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 1040, "x": 1040,
"y": 960, "y": 1020,
"wires": [ "wires": [
[ [
"385e81d9be142966" "385e81d9be142966"
@ -1105,7 +1139,7 @@
"allowrate": false, "allowrate": false,
"outputs": 1, "outputs": 1,
"x": 190, "x": 190,
"y": 840, "y": 900,
"wires": [ "wires": [
[ [
"cfd1c312affb0a45" "cfd1c312affb0a45"
@ -1131,7 +1165,7 @@
"allowrate": false, "allowrate": false,
"outputs": 1, "outputs": 1,
"x": 190, "x": 190,
"y": 900, "y": 960,
"wires": [ "wires": [
[ [
"9401ba1506c0d201" "9401ba1506c0d201"
@ -1157,7 +1191,7 @@
"allowrate": false, "allowrate": false,
"outputs": 1, "outputs": 1,
"x": 190, "x": 190,
"y": 960, "y": 1020,
"wires": [ "wires": [
[ [
"d274c198b7d6186e" "d274c198b7d6186e"
@ -1172,7 +1206,7 @@
"group": "88a7ce8d8fd7e72b", "group": "88a7ce8d8fd7e72b",
"name": "delete", "name": "delete",
"label": "Effacer", "label": "Effacer",
"order": 5, "order": 4,
"width": "6", "width": "6",
"height": "1", "height": "1",
"emulateClick": false, "emulateClick": false,
@ -1186,11 +1220,11 @@
"payloadType": "str", "payloadType": "str",
"topic": "topic", "topic": "topic",
"topicType": "msg", "topicType": "msg",
"x": 550, "x": 1210,
"y": 1020, "y": 1080,
"wires": [ "wires": [
[ [
"2a90b9bd2e0a777c" "6c0c33d1effc0c8d"
] ]
] ]
}, },
@ -1213,7 +1247,7 @@
"allowrate": false, "allowrate": false,
"outputs": 1, "outputs": 1,
"x": 190, "x": 190,
"y": 1020, "y": 1080,
"wires": [ "wires": [
[ [
"772791bd8b527740" "772791bd8b527740"
@ -1231,8 +1265,8 @@
"206c1fb4a48067df", "206c1fb4a48067df",
"34f9df4fdd3bd8df" "34f9df4fdd3bd8df"
], ],
"x": 1255, "x": 2095,
"y": 1020, "y": 1080,
"wires": [] "wires": []
}, },
{ {
@ -1256,16 +1290,9 @@
"to": "delete.measurement", "to": "delete.measurement",
"tot": "flow" "tot": "flow"
}, },
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "delete.field",
"tot": "flow"
},
{ {
"t": "delete", "t": "delete",
"p": "metrics[msg.bucket][msg.measurement][msg.field]", "p": "metrics[msg.bucket][msg.measurement]",
"pt": "global" "pt": "global"
}, },
{ {
@ -1284,7 +1311,7 @@
"from": "", "from": "",
"to": "", "to": "",
"reg": false, "reg": false,
"x": 710, "x": 1550,
"y": 1020, "y": 1020,
"wires": [ "wires": [
[ [
@ -1310,8 +1337,8 @@
"drop": false, "drop": false,
"allowrate": false, "allowrate": false,
"outputs": 1, "outputs": 1,
"x": 880, "x": 1720,
"y": 1020, "y": 1080,
"wires": [ "wires": [
[ [
"8b6c9751b1c7cc20" "8b6c9751b1c7cc20"
@ -1346,7 +1373,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 380, "x": 380,
"y": 1020, "y": 1080,
"wires": [ "wires": [
[ [
"eeff7c0a47ecf9ee" "eeff7c0a47ecf9ee"
@ -1364,7 +1391,7 @@
"1ff5fd68e1799ae5" "1ff5fd68e1799ae5"
], ],
"x": 915, "x": 915,
"y": 780, "y": 840,
"wires": [ "wires": [
[ [
"e9341386035b1f2c" "e9341386035b1f2c"
@ -1379,7 +1406,7 @@
"group": "018c8ded1126b49a", "group": "018c8ded1126b49a",
"name": "write context file", "name": "write context file",
"label": "Sauvegarder le fichier de context", "label": "Sauvegarder le fichier de context",
"order": 2, "order": 3,
"width": "6", "width": "6",
"height": "1", "height": "1",
"emulateClick": false, "emulateClick": false,
@ -1394,7 +1421,7 @@
"topic": "topic", "topic": "topic",
"topicType": "msg", "topicType": "msg",
"x": 200, "x": 200,
"y": 480, "y": 540,
"wires": [ "wires": [
[ [
"a69d70a155c21ef3" "a69d70a155c21ef3"
@ -1412,7 +1439,7 @@
"432e8063fae7039e" "432e8063fae7039e"
], ],
"x": 415, "x": 415,
"y": 480, "y": 540,
"wires": [] "wires": []
}, },
{ {
@ -1507,6 +1534,13 @@
"pt": "msg", "pt": "msg",
"to": "Variable effacé", "to": "Variable effacé",
"tot": "str" "tot": "str"
},
{
"t": "set",
"p": "repeat",
"pt": "msg",
"to": "true",
"tot": "bool"
} }
], ],
"action": "", "action": "",
@ -1514,12 +1548,201 @@
"from": "", "from": "",
"to": "", "to": "",
"reg": false, "reg": false,
"x": 1080, "x": 1920,
"y": 1020, "y": 1080,
"wires": [ "wires": [
[ [
"1ff5fd68e1799ae5" "1ff5fd68e1799ae5"
] ]
] ]
},
{
"id": "27a767a07e780b79",
"type": "ui-button",
"z": "c2bfa0fea66ef080",
"g": "dad2ac027d4f9f24",
"group": "018c8ded1126b49a",
"name": "reboot system",
"label": "Redémarrer le serveur Node-red",
"order": 1,
"width": "6",
"height": "1",
"emulateClick": false,
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "",
"iconPosition": "left",
"payload": "",
"payloadType": "str",
"topic": "topic",
"topicType": "msg",
"x": 200,
"y": 360,
"wires": [
[
"cc58fa2dc61acc60"
]
]
},
{
"id": "cc58fa2dc61acc60",
"type": "link out",
"z": "c2bfa0fea66ef080",
"g": "dad2ac027d4f9f24",
"name": "config - ui - kernel reboot system",
"mode": "link",
"links": [
"083e2e406bc15eb5"
],
"x": 415,
"y": 360,
"wires": []
},
{
"id": "d7987f4bac2a1be7",
"type": "switch",
"z": "c2bfa0fea66ef080",
"g": "dd003c121420d45a",
"name": "reload",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "",
"vt": "str"
},
{
"t": "else"
}
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 1390,
"y": 900,
"wires": [
[
"e9341386035b1f2c"
],
[
"d4e3490de6550eea"
]
]
},
{
"id": "06183d3762a605b4",
"type": "switch",
"z": "c2bfa0fea66ef080",
"g": "dd003c121420d45a",
"name": "empty",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "neq",
"v": "",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 1430,
"y": 960,
"wires": [
[
"b15ee9861786845f"
]
]
},
{
"id": "6c0c33d1effc0c8d",
"type": "switch",
"z": "c2bfa0fea66ef080",
"g": "dd003c121420d45a",
"name": "all fields",
"property": "delete.field",
"propertyType": "flow",
"rules": [
{
"t": "empty"
},
{
"t": "else"
}
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 1380,
"y": 1080,
"wires": [
[
"2a90b9bd2e0a777c"
],
[
"648265bba2a83bd7"
]
]
},
{
"id": "648265bba2a83bd7",
"type": "change",
"z": "c2bfa0fea66ef080",
"g": "dd003c121420d45a",
"name": "global",
"rules": [
{
"t": "set",
"p": "bucket",
"pt": "msg",
"to": "delete.bucket",
"tot": "flow"
},
{
"t": "set",
"p": "measurement",
"pt": "msg",
"to": "delete.measurement",
"tot": "flow"
},
{
"t": "set",
"p": "field",
"pt": "msg",
"to": "delete.field",
"tot": "flow"
},
{
"t": "delete",
"p": "metrics[msg.bucket][msg.measurement][msg.field]",
"pt": "global"
},
{
"t": "delete",
"p": "options",
"pt": "msg"
},
{
"t": "delete",
"p": "topic",
"pt": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1550,
"y": 1080,
"wires": [
[
"7a76fc8d520b5b9e"
]
]
} }
] ]

File diff suppressed because it is too large Load diff

View file

@ -1,528 +0,0 @@
[
{
"id": "e19f53e3dc7ab928",
"type": "tab",
"label": "U.Home",
"disabled": false,
"info": "",
"env": []
},
{
"id": "e6f586ce062979fb",
"type": "group",
"z": "e19f53e3dc7ab928",
"name": "home - bucket",
"style": {
"fill": "#ffC000",
"fill-opacity": "0.05",
"label": true,
"stroke": "#ffC000"
},
"nodes": [
"d210ac6cc3e866c0",
"ef0d3b8996ec469c",
"fb0afb89fb191395"
],
"x": 94,
"y": 19,
"w": 342,
"h": 82
},
{
"id": "df46e2504e16fc3e",
"type": "group",
"z": "e19f53e3dc7ab928",
"name": "home - ui - chart (customized to my needs)",
"style": {
"fill": "#777777",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"04de52a5f5237233",
"84416ebc7a349dd4"
],
"x": 68,
"y": 353,
"w": 644,
"h": 254
},
{
"id": "c520bebe00c3589e",
"type": "group",
"z": "e19f53e3dc7ab928",
"name": "catch error",
"style": {
"fill": "#ff0000",
"fill-opacity": "0.05",
"label": true,
"stroke": "#ff0000"
},
"nodes": [
"e01f4a19b0701f2c",
"61d20690dde8a991",
"bc345ebb0941581d"
],
"x": 534,
"y": 19,
"w": 422,
"h": 82
},
{
"id": "2a1bd2a4837e01f7",
"type": "group",
"z": "e19f53e3dc7ab928",
"name": "home - ui select room",
"style": {
"fill": "#6f2fa0",
"fill-opacity": "0.05",
"label": true,
"stroke": "#6f2fa0"
},
"nodes": [
"601b5a75c014b306",
"29f190c009d9bd2b",
"6877b109cf50132e",
"fc901a06715c2d2a"
],
"x": 1054,
"y": 19,
"w": 562,
"h": 82
},
{
"id": "04de52a5f5237233",
"type": "group",
"z": "e19f53e3dc7ab928",
"g": "df46e2504e16fc3e",
"name": "home - ui - chart outdoor temperature",
"style": {
"fill": "#6f2fa0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"3bd22b1740d9d8b2",
"43e68c058a7661d6",
"b3f5b970a9b03119"
],
"x": 94,
"y": 379,
"w": 592,
"h": 82
},
{
"id": "84416ebc7a349dd4",
"type": "group",
"z": "e19f53e3dc7ab928",
"g": "df46e2504e16fc3e",
"name": "home - ui - chart outdoor humidity",
"style": {
"fill": "#6f2fa0",
"fill-opacity": "0.05",
"label": true
},
"nodes": [
"53e61734d5875604",
"f9ae231f709aa135",
"50bc182c3569008c"
],
"x": 94,
"y": 499,
"w": 572,
"h": 82
},
{
"id": "d210ac6cc3e866c0",
"type": "change",
"z": "e19f53e3dc7ab928",
"g": "e6f586ce062979fb",
"name": "bucket",
"rules": [
{
"t": "set",
"p": "bucket",
"pt": "msg",
"to": "home",
"tot": "str"
},
{
"t": "set",
"p": "bucket",
"pt": "flow",
"to": "bucket",
"tot": "msg"
},
{
"t": "set",
"p": "telegram_message",
"pt": "flow",
"to": "",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 270,
"y": 60,
"wires": [
[
"fb0afb89fb191395"
]
]
},
{
"id": "ef0d3b8996ec469c",
"type": "link in",
"z": "e19f53e3dc7ab928",
"g": "e6f586ce062979fb",
"name": "home - bucket",
"links": [
"25445f5a9b787a0a"
],
"x": 135,
"y": 60,
"wires": [
[
"d210ac6cc3e866c0"
]
]
},
{
"id": "fb0afb89fb191395",
"type": "link out",
"z": "e19f53e3dc7ab928",
"g": "e6f586ce062979fb",
"name": "home - bucket",
"mode": "link",
"links": [
"2e7bb0e6e6079d56",
"ab6d3d1be0d9ea74",
"ce3cbb4ae72bbc14"
],
"x": 395,
"y": 60,
"wires": []
},
{
"id": "3bd22b1740d9d8b2",
"type": "ui-chart",
"z": "e19f53e3dc7ab928",
"g": "04de52a5f5237233",
"group": "8bdaa1ba3eb700cc",
"name": "chart outdoor temperature",
"label": "",
"order": 9007199254740991,
"chartType": "line",
"category": "_field",
"categoryType": "property",
"xAxisProperty": "_time",
"xAxisPropertyType": "msg",
"xAxisType": "time",
"yAxisProperty": "_value",
"ymin": "",
"ymax": "",
"action": "replace",
"pointShape": "false",
"pointRadius": "2",
"showLegend": false,
"removeOlder": 1,
"removeOlderUnit": "86400",
"removeOlderPoints": "100",
"colors": [
"#1f77b4",
"#aec7e8",
"#ff7f0e",
"#2ca02c",
"#98df8a",
"#d62728",
"#ff9896",
"#9467bd",
"#c5b0d5"
],
"width": 6,
"height": "6",
"className": "",
"x": 550,
"y": 420,
"wires": [
[]
]
},
{
"id": "43e68c058a7661d6",
"type": "influxdb in",
"z": "e19f53e3dc7ab928",
"g": "04de52a5f5237233",
"influxdb": "e408b55d1dc6870d",
"name": "",
"query": "from(bucket: \"resume\")\n |> range(start: -1d, stop: now())\n |> aggregateWindow(every: 30m, fn: last, createEmpty: false)\n |> filter(fn: (r) =>\n r._measurement == \"temperature\" and (r._field == \"parking probe\" or r._field == \"jardin probe\")\n )",
"rawOutput": false,
"precision": "",
"retentionPolicy": "",
"org": "iotredloop",
"x": 300,
"y": 420,
"wires": [
[
"3bd22b1740d9d8b2"
]
]
},
{
"id": "b3f5b970a9b03119",
"type": "link in",
"z": "e19f53e3dc7ab928",
"g": "04de52a5f5237233",
"name": "home - ui - chart outdoor temperature",
"links": [
"004bb30c27c94fb4"
],
"x": 135,
"y": 420,
"wires": [
[
"43e68c058a7661d6"
]
]
},
{
"id": "53e61734d5875604",
"type": "ui-chart",
"z": "e19f53e3dc7ab928",
"g": "84416ebc7a349dd4",
"group": "7f89503f8062898b",
"name": "chart outdoor humidity",
"label": "",
"order": 9007199254740991,
"chartType": "line",
"category": "_field",
"categoryType": "property",
"xAxisProperty": "_time",
"xAxisPropertyType": "msg",
"xAxisType": "time",
"yAxisProperty": "_value",
"ymin": "",
"ymax": "",
"action": "replace",
"pointShape": "false",
"pointRadius": "2",
"showLegend": false,
"removeOlder": 1,
"removeOlderUnit": "86400",
"removeOlderPoints": "100",
"colors": [
"#1f77b4",
"#aec7e8",
"#ff7f0e",
"#2ca02c",
"#98df8a",
"#d62728",
"#ff9896",
"#9467bd",
"#c5b0d5"
],
"width": 6,
"height": "6",
"className": "",
"x": 540,
"y": 540,
"wires": [
[]
]
},
{
"id": "f9ae231f709aa135",
"type": "influxdb in",
"z": "e19f53e3dc7ab928",
"g": "84416ebc7a349dd4",
"influxdb": "e408b55d1dc6870d",
"name": "",
"query": "from(bucket: \"resume\")\n |> range(start: -1d, stop: now())\n |> aggregateWindow(every: 30m, fn: last, createEmpty: false)\n |> filter(fn: (r) =>\n r._measurement == \"humidity\" and (r._field == \"parking probe\" or r._field == \"jardin probe\")\n )",
"rawOutput": false,
"precision": "",
"retentionPolicy": "",
"org": "iotredloop",
"x": 300,
"y": 540,
"wires": [
[
"53e61734d5875604"
]
]
},
{
"id": "50bc182c3569008c",
"type": "link in",
"z": "e19f53e3dc7ab928",
"g": "84416ebc7a349dd4",
"name": "home - ui - chart outdoor humidity",
"links": [
"004bb30c27c94fb4"
],
"x": 135,
"y": 540,
"wires": [
[
"f9ae231f709aa135"
]
]
},
{
"id": "e01f4a19b0701f2c",
"type": "catch",
"z": "e19f53e3dc7ab928",
"g": "c520bebe00c3589e",
"name": "catch error",
"scope": null,
"uncaught": false,
"x": 620,
"y": 60,
"wires": [
[
"61d20690dde8a991"
]
]
},
{
"id": "61d20690dde8a991",
"type": "change",
"z": "e19f53e3dc7ab928",
"g": "c520bebe00c3589e",
"name": "topic",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "home",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 790,
"y": 60,
"wires": [
[
"bc345ebb0941581d"
]
]
},
{
"id": "bc345ebb0941581d",
"type": "link out",
"z": "e19f53e3dc7ab928",
"g": "c520bebe00c3589e",
"name": "catch error",
"mode": "link",
"links": [
"a52f0e788cd4dca3"
],
"x": 915,
"y": 60,
"wires": []
},
{
"id": "601b5a75c014b306",
"type": "link out",
"z": "e19f53e3dc7ab928",
"g": "2a1bd2a4837e01f7",
"name": "home - ui select room",
"mode": "link",
"links": [
"1be6ca3c2b8615a2"
],
"x": 1575,
"y": 60,
"wires": []
},
{
"id": "29f190c009d9bd2b",
"type": "link in",
"z": "e19f53e3dc7ab928",
"g": "2a1bd2a4837e01f7",
"name": "home - ui select room",
"links": [
"74172837e07ab80d"
],
"x": 1095,
"y": 60,
"wires": [
[
"6877b109cf50132e"
]
]
},
{
"id": "6877b109cf50132e",
"type": "change",
"z": "e19f53e3dc7ab928",
"g": "2a1bd2a4837e01f7",
"name": "enabled button",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "bucket",
"tot": "flow"
},
{
"t": "set",
"p": "enabled",
"pt": "msg",
"to": "msg.payload != msg.room",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1260,
"y": 60,
"wires": [
[
"fc901a06715c2d2a"
]
]
},
{
"id": "fc901a06715c2d2a",
"type": "ui-button",
"z": "e19f53e3dc7ab928",
"g": "2a1bd2a4837e01f7",
"group": "36396f5285df476c",
"name": "",
"label": "Maison",
"order": 2,
"width": "2",
"height": "1",
"emulateClick": false,
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "",
"iconPosition": "left",
"payload": "bucket",
"payloadType": "flow",
"topic": "topic",
"topicType": "msg",
"x": 1460,
"y": 60,
"wires": [
[
"601b5a75c014b306"
]
]
}
]

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

13508
flows/U.Scenes.json Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,14 +1,14 @@
{ {
"name": "iotredloop", "name": "iotredloop",
"description": "Simple nodered home automation manager", "description": "Simple nodered home automation manager",
"version": "0.0.1", "version": "0.1.0",
"dependencies": { "dependencies": {
"node-red-contrib-flow-manager": "0.7.4", "node-red-contrib-flow-manager": "0.7.4",
"node-red-contrib-msg-speed": "2.1.0", "node-red-contrib-msg-speed": "2.1.0",
"node-red-contrib-queue-gate": "1.5.5", "node-red-contrib-queue-gate": "1.5.5",
"node-red-contrib-simple-gate": "0.5.2", "node-red-contrib-simple-gate": "0.5.2",
"node-red-contrib-stackhero-influxdb-v2": "1.0.4", "node-red-contrib-stackhero-influxdb-v2": "1.0.4",
"@flowfuse/node-red-dashboard": "1.10.0", "@flowfuse/node-red-dashboard": "1.12.2",
"node-red-contrib-cpu": "0.0.4", "node-red-contrib-cpu": "0.0.4",
"node-red-contrib-moment": "5.0.0", "node-red-contrib-moment": "5.0.0",
"node-red-contrib-bigtimer": "2.8.6", "node-red-contrib-bigtimer": "2.8.6",
@ -18,10 +18,10 @@
"node-red-node-base64": "0.3.0", "node-red-node-base64": "0.3.0",
"node-red-contrib-alexa-remote2-applestrudel": "5.0.50", "node-red-contrib-alexa-remote2-applestrudel": "5.0.50",
"node-red-contrib-unifi": "0.3.15", "node-red-contrib-unifi": "0.3.15",
"node-red-contrib-telegrambot": "15.1.10", "node-red-contrib-telegrambot": "16.0.1",
"@kuehnelbs/node-red-contrib-nextcloud": "0.1.3", "@kuehnelbs/node-red-contrib-nextcloud": "0.1.3",
"node-red-contrib-proxmox": "0.0.2", "node-red-contrib-proxmox": "0.0.2",
"node-red-contrib-virtual-smart-home": "4.4.0", "node-red-contrib-virtual-smart-home": "4.4.1",
"node-red-contrib-md5": "1.0.4" "node-red-contrib-md5": "1.0.4"
}, },
"node-red": { "node-red": {