Переглянути джерело

Mode Switch for garden light added

dashboard2
Dirk Alders 7 місяці тому
джерело
коміт
bdcb1ba537
4 змінених файлів з 247 додано та 15 видалено
  1. 1
    1
      .config.nodes.json
  2. 1
    1
      .config.nodes.json.backup
  3. 161
    12
      .flows.json.backup
  4. 84
    1
      flows.json

+ 1
- 1
.config.nodes.json Переглянути файл

@@ -1,7 +1,7 @@
1 1
 {
2 2
     "node-red": {
3 3
         "name": "node-red",
4
-        "version": "3.1.7",
4
+        "version": "3.1.9",
5 5
         "local": false,
6 6
         "user": false,
7 7
         "nodes": {

+ 1
- 1
.config.nodes.json.backup Переглянути файл

@@ -1,7 +1,7 @@
1 1
 {
2 2
     "node-red": {
3 3
         "name": "node-red",
4
-        "version": "3.1.6",
4
+        "version": "3.1.7",
5 5
         "local": false,
6 6
         "user": false,
7 7
         "nodes": {

+ 161
- 12
.flows.json.backup Переглянути файл

@@ -8914,11 +8914,12 @@
8914 8914
         "id": "befa6f216015ec28",
8915 8915
         "type": "ui_switch",
8916 8916
         "z": "4526d61e20635824",
8917
+        "d": true,
8917 8918
         "name": "",
8918 8919
         "label": "Sommermodus",
8919 8920
         "tooltip": "",
8920 8921
         "group": "f44c10be6990386a",
8921
-        "order": 11,
8922
+        "order": 12,
8922 8923
         "width": 0,
8923 8924
         "height": 0,
8924 8925
         "passthru": false,
@@ -9016,7 +9017,8 @@
9016 9017
         "y": 4800,
9017 9018
         "wires": [
9018 9019
             [
9019
-                "befa6f216015ec28"
9020
+                "befa6f216015ec28",
9021
+                "98e10cf2790cc2f0"
9020 9022
             ]
9021 9023
         ]
9022 9024
     },
@@ -9824,7 +9826,7 @@
9824 9826
         "d": true,
9825 9827
         "name": "",
9826 9828
         "group": "b5812a591e37c885",
9827
-        "order": 5,
9829
+        "order": 3,
9828 9830
         "width": 0,
9829 9831
         "height": 0,
9830 9832
         "passthru": false,
@@ -9894,7 +9896,7 @@
9894 9896
         "d": true,
9895 9897
         "name": "",
9896 9898
         "group": "b5812a591e37c885",
9897
-        "order": 7,
9899
+        "order": 4,
9898 9900
         "width": 0,
9899 9901
         "height": 0,
9900 9902
         "passthru": false,
@@ -9941,7 +9943,7 @@
9941 9943
         "d": true,
9942 9944
         "name": "",
9943 9945
         "group": "b5812a591e37c885",
9944
-        "order": 9,
9946
+        "order": 5,
9945 9947
         "width": 0,
9946 9948
         "height": 0,
9947 9949
         "gtype": "gage",
@@ -9966,11 +9968,12 @@
9966 9968
         "id": "c9818ea3615d857a",
9967 9969
         "type": "ui_switch",
9968 9970
         "z": "4526d61e20635824",
9971
+        "d": true,
9969 9972
         "name": "",
9970 9973
         "label": "Sommermodus",
9971 9974
         "tooltip": "",
9972 9975
         "group": "b5812a591e37c885",
9973
-        "order": 11,
9976
+        "order": 8,
9974 9977
         "width": 0,
9975 9978
         "height": 0,
9976 9979
         "passthru": false,
@@ -10004,7 +10007,7 @@
10004 10007
         "label": "Abwesenheistmodus",
10005 10008
         "tooltip": "",
10006 10009
         "group": "b5812a591e37c885",
10007
-        "order": 10,
10010
+        "order": 6,
10008 10011
         "width": 0,
10009 10012
         "height": 0,
10010 10013
         "passthru": false,
@@ -10068,7 +10071,8 @@
10068 10071
         "y": 5340,
10069 10072
         "wires": [
10070 10073
             [
10071
-                "c9818ea3615d857a"
10074
+                "c9818ea3615d857a",
10075
+                "42685fb99fabc971"
10072 10076
             ]
10073 10077
         ]
10074 10078
     },
@@ -10472,6 +10476,68 @@
10472 10476
         "y": 4260,
10473 10477
         "wires": []
10474 10478
     },
10479
+    {
10480
+        "id": "98e10cf2790cc2f0",
10481
+        "type": "ui_led",
10482
+        "z": "4526d61e20635824",
10483
+        "order": 11,
10484
+        "group": "f44c10be6990386a",
10485
+        "width": 0,
10486
+        "height": 0,
10487
+        "label": "Sommermodus",
10488
+        "labelPlacement": "left",
10489
+        "labelAlignment": "left",
10490
+        "colorForValue": [
10491
+            {
10492
+                "color": "#5e5c64",
10493
+                "value": "false",
10494
+                "valueType": "bool"
10495
+            },
10496
+            {
10497
+                "color": "#007b6d",
10498
+                "value": "true",
10499
+                "valueType": "bool"
10500
+            }
10501
+        ],
10502
+        "allowColorForValueInMessage": false,
10503
+        "shape": "circle",
10504
+        "showGlow": true,
10505
+        "name": "",
10506
+        "x": 930,
10507
+        "y": 4760,
10508
+        "wires": []
10509
+    },
10510
+    {
10511
+        "id": "42685fb99fabc971",
10512
+        "type": "ui_led",
10513
+        "z": "4526d61e20635824",
10514
+        "order": 7,
10515
+        "group": "b5812a591e37c885",
10516
+        "width": 0,
10517
+        "height": 0,
10518
+        "label": "Sommermodus",
10519
+        "labelPlacement": "left",
10520
+        "labelAlignment": "left",
10521
+        "colorForValue": [
10522
+            {
10523
+                "color": "#5e5c64",
10524
+                "value": "false",
10525
+                "valueType": "bool"
10526
+            },
10527
+            {
10528
+                "color": "#007b6d",
10529
+                "value": "true",
10530
+                "valueType": "bool"
10531
+            }
10532
+        ],
10533
+        "allowColorForValueInMessage": false,
10534
+        "shape": "circle",
10535
+        "showGlow": true,
10536
+        "name": "",
10537
+        "x": 930,
10538
+        "y": 5300,
10539
+        "wires": []
10540
+    },
10475 10541
     {
10476 10542
         "id": "1fa39d26389dad2c",
10477 10543
         "type": "comment",
@@ -11037,7 +11103,7 @@
11037 11103
         "op1type": "nul",
11038 11104
         "op2type": "str",
11039 11105
         "duration": "5",
11040
-        "extend": false,
11106
+        "extend": true,
11041 11107
         "overrideDelay": false,
11042 11108
         "units": "min",
11043 11109
         "reset": "",
@@ -11062,7 +11128,7 @@
11062 11128
         "op1type": "nul",
11063 11129
         "op2type": "str",
11064 11130
         "duration": "5",
11065
-        "extend": false,
11131
+        "extend": true,
11066 11132
         "overrideDelay": false,
11067 11133
         "units": "min",
11068 11134
         "reset": "",
@@ -11294,7 +11360,7 @@
11294 11360
         "op1type": "nul",
11295 11361
         "op2type": "str",
11296 11362
         "duration": "5",
11297
-        "extend": false,
11363
+        "extend": true,
11298 11364
         "overrideDelay": false,
11299 11365
         "units": "min",
11300 11366
         "reset": "",
@@ -11319,7 +11385,7 @@
11319 11385
         "op1type": "nul",
11320 11386
         "op2type": "str",
11321 11387
         "duration": "5",
11322
-        "extend": false,
11388
+        "extend": true,
11323 11389
         "overrideDelay": false,
11324 11390
         "units": "min",
11325 11391
         "reset": "",
@@ -13410,5 +13476,88 @@
13410 13476
         "x": 100,
13411 13477
         "y": 40,
13412 13478
         "wires": []
13479
+    },
13480
+    {
13481
+        "id": "2f2062a7a9468e57",
13482
+        "type": "ui_switch",
13483
+        "z": "628e09f79c8ce28e",
13484
+        "name": "",
13485
+        "label": "Automatic Mode",
13486
+        "tooltip": "",
13487
+        "group": "221d261c8ef4127b",
13488
+        "order": 4,
13489
+        "width": 0,
13490
+        "height": 0,
13491
+        "passthru": false,
13492
+        "decouple": "true",
13493
+        "topic": "topic",
13494
+        "topicType": "msg",
13495
+        "style": "",
13496
+        "onvalue": "true",
13497
+        "onvalueType": "bool",
13498
+        "onicon": "",
13499
+        "oncolor": "",
13500
+        "offvalue": "false",
13501
+        "offvalueType": "bool",
13502
+        "officon": "",
13503
+        "offcolor": "",
13504
+        "animate": false,
13505
+        "className": "",
13506
+        "x": 680,
13507
+        "y": 260,
13508
+        "wires": [
13509
+            [
13510
+                "6dc8bd6f62df9f9c"
13511
+            ]
13512
+        ]
13513
+    },
13514
+    {
13515
+        "id": "a850bfd17c595779",
13516
+        "type": "mqtt in",
13517
+        "z": "628e09f79c8ce28e",
13518
+        "name": "",
13519
+        "topic": "videv/gar/garden/mode/state",
13520
+        "qos": "2",
13521
+        "datatype": "auto-detect",
13522
+        "broker": "f6f673e95e75873d",
13523
+        "nl": false,
13524
+        "rap": true,
13525
+        "rh": 0,
13526
+        "inputs": 0,
13527
+        "x": 160,
13528
+        "y": 260,
13529
+        "wires": [
13530
+            [
13531
+                "2f2062a7a9468e57"
13532
+            ]
13533
+        ]
13534
+    },
13535
+    {
13536
+        "id": "6dc8bd6f62df9f9c",
13537
+        "type": "mqtt out",
13538
+        "z": "628e09f79c8ce28e",
13539
+        "name": "",
13540
+        "topic": "videv/gar/garden/mode/state/set",
13541
+        "qos": "",
13542
+        "retain": "",
13543
+        "respTopic": "",
13544
+        "contentType": "",
13545
+        "userProps": "",
13546
+        "correl": "",
13547
+        "expiry": "",
13548
+        "broker": "f6f673e95e75873d",
13549
+        "x": 950,
13550
+        "y": 260,
13551
+        "wires": []
13552
+    },
13553
+    {
13554
+        "id": "8daf30610a4a3bc1",
13555
+        "type": "comment",
13556
+        "z": "628e09f79c8ce28e",
13557
+        "name": "Mode",
13558
+        "info": "",
13559
+        "x": 90,
13560
+        "y": 200,
13561
+        "wires": []
13413 13562
     }
13414 13563
 ]

+ 84
- 1
flows.json Переглянути файл

@@ -13402,7 +13402,7 @@
13402 13402
         "label": "Licht",
13403 13403
         "tooltip": "",
13404 13404
         "group": "221d261c8ef4127b",
13405
-        "order": 4,
13405
+        "order": 2,
13406 13406
         "width": 0,
13407 13407
         "height": 0,
13408 13408
         "passthru": false,
@@ -13476,5 +13476,88 @@
13476 13476
         "x": 100,
13477 13477
         "y": 40,
13478 13478
         "wires": []
13479
+    },
13480
+    {
13481
+        "id": "2f2062a7a9468e57",
13482
+        "type": "ui_switch",
13483
+        "z": "628e09f79c8ce28e",
13484
+        "name": "",
13485
+        "label": "Automatic Mode",
13486
+        "tooltip": "",
13487
+        "group": "221d261c8ef4127b",
13488
+        "order": 1,
13489
+        "width": 0,
13490
+        "height": 0,
13491
+        "passthru": false,
13492
+        "decouple": "true",
13493
+        "topic": "topic",
13494
+        "topicType": "msg",
13495
+        "style": "",
13496
+        "onvalue": "true",
13497
+        "onvalueType": "bool",
13498
+        "onicon": "",
13499
+        "oncolor": "",
13500
+        "offvalue": "false",
13501
+        "offvalueType": "bool",
13502
+        "officon": "",
13503
+        "offcolor": "",
13504
+        "animate": false,
13505
+        "className": "",
13506
+        "x": 680,
13507
+        "y": 260,
13508
+        "wires": [
13509
+            [
13510
+                "6dc8bd6f62df9f9c"
13511
+            ]
13512
+        ]
13513
+    },
13514
+    {
13515
+        "id": "a850bfd17c595779",
13516
+        "type": "mqtt in",
13517
+        "z": "628e09f79c8ce28e",
13518
+        "name": "",
13519
+        "topic": "videv/gar/garden/mode/state",
13520
+        "qos": "2",
13521
+        "datatype": "auto-detect",
13522
+        "broker": "f6f673e95e75873d",
13523
+        "nl": false,
13524
+        "rap": true,
13525
+        "rh": 0,
13526
+        "inputs": 0,
13527
+        "x": 160,
13528
+        "y": 260,
13529
+        "wires": [
13530
+            [
13531
+                "2f2062a7a9468e57"
13532
+            ]
13533
+        ]
13534
+    },
13535
+    {
13536
+        "id": "6dc8bd6f62df9f9c",
13537
+        "type": "mqtt out",
13538
+        "z": "628e09f79c8ce28e",
13539
+        "name": "",
13540
+        "topic": "videv/gar/garden/mode/state/set",
13541
+        "qos": "",
13542
+        "retain": "",
13543
+        "respTopic": "",
13544
+        "contentType": "",
13545
+        "userProps": "",
13546
+        "correl": "",
13547
+        "expiry": "",
13548
+        "broker": "f6f673e95e75873d",
13549
+        "x": 950,
13550
+        "y": 260,
13551
+        "wires": []
13552
+    },
13553
+    {
13554
+        "id": "8daf30610a4a3bc1",
13555
+        "type": "comment",
13556
+        "z": "628e09f79c8ce28e",
13557
+        "name": "Mode",
13558
+        "info": "",
13559
+        "x": 90,
13560
+        "y": 200,
13561
+        "wires": []
13479 13562
     }
13480 13563
 ]

Завантаження…
Відмінити
Зберегти