NEWS
Geofency auf Karte in Vis darstellen
-
@damrak2022 Nein den Ausgang der Switch Node mit dem Eingang der Change Node verbinden.
... und nenn sie auch einfach dummy - dann ist die Node kleiner und man weiß dass sie nichts tut.
-
@mickym Nächster Versuch
-
@damrak2022 Super - allerdings musst Du nun nicht nur die 1. Lokation sondern wieder mit allen verbinden. Du kannst ja Browserrefresh machen, da dürfte nur die 1. Lokation auftauchen.
-
-
@damrak2022 sagte in Geofency auf Karte in Vis darstellen:
Hervorragend - nun sollten die Punkte auch einen Browserrefresh überleben.
-
@mickym Ja, tun sie
Und was bewirkt nun der Dummy, zumal da ja nichts drin steht? -
@damrak2022 Gar nichts - es bündelt nur die Kabel - sonst hättest Du jeden iobroker GET Node mit dem Namen direkt mit dem Ausgang der switch Node verbinden müssen - im 3.0 Release gibts dafür nun Konjunktions.
-
@mickym Apropos. wie updatet man denn Node Red?
-
@damrak2022 Die neueste Version ist gerade im Beta Repository. Da müsstest Du kurzfristig umstellen und dann wieder zurück.
Aktuell ist das die Version 4.0.0 - du hast die 3.3.1
Also kurzfristig auf Beta Umstellen
und dann wieder zurück - die anderen Adapter würde ich nicht updaten- aber die 4.0.0 Version von Node Red habe ich nun seit 2-3 Wochen ohne Probleme im Einsatz.
-
@mickym Ich habe 2.2.3 und im Adapter wird mir 3.3.1 angeboten. Werde ich morgen mal den Adapter updaten
-
@damrak2022 Ich kann auch auf 2.2.3 bleiben, wennDu meinst das wäre besser
-
@damrak2022 sagte in Geofency auf Karte in Vis darstellen:
@mickym Ich habe 2.2.3 und im Adapter wird mir 3.3.1 angeboten. Werde ich morgen mal den Adapter updaten
Musst Du aber nicht - soviel Neues ist nicht hinzugekommen.
Ich mach Dir noch das Video wie Du mit dem Flow Fenster etwas hantierst - willst Du mir den Flow nochmal exportieren?
-
@damrak2022 sagte in Geofency auf Karte in Vis darstellen:
@damrak2022 Ich kann auch auf 2.2.3 bleiben, wennDu meinst das wäre besser
Ja bleib erst mal - rentiert sich im Moment nicht.
-
@mickym Okay
[ { "id": "2bbe99b34fc4bb8b", "type": "tab", "label": "", "disabled": false, "info": "", "env": [] }, { "id": "6166eb8642382a9a", "type": "worldmap", "z": "2bbe99b34fc4bb8b", "name": "", "lat": "50.0915584", "lon": "8.6735563", "zoom": "11", "layer": "OSMG", "cluster": "", "maxage": "", "usermenu": "show", "layers": "show", "panit": "false", "panlock": "false", "zoomlock": "false", "hiderightclick": "false", "coords": "none", "showgrid": "false", "allowFileDrop": "false", "path": "/worldmap", "overlist": "DR,CO,RA,DN,HM", "maplist": "OSMG,OSMC,OSMH,EsriC,EsriS,EsriT,EsriO,EsriDG,NatGeo,UKOS,OpTop", "mapname": "", "mapurl": "", "mapopt": "", "mapwms": false, "x": 2060, "y": 600, "wires": [] }, { "id": "bc225ef817b44d59", "type": "inject", "z": "2bbe99b34fc4bb8b", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "date", "x": 400, "y": 600, "wires": [ [ "c37e9a927c6b2d81", "5cf5d5738f8caf63", "34657bd3ae2d4cf8", "a8424a6b13742039", "26e44c80d08bfebd", "3646409110e6d3ef", "da4d9d8f23874b2a", "ae3d747a1a914986", "4e95b1f18481d50a", "7cc816ac147d0d6f" ] ] }, { "id": "c2d6a759332e675c", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Longitude", "topic": "geofency.0.andy.My_Home.currentLongitude", "attrname": "lon", "payloadType": "value", "errOnInvalidState": "nothing", "x": 940, "y": 360, "wires": [ [ "565b9a8df5cdd987" ] ] }, { "id": "565b9a8df5cdd987", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Latitude", "topic": "geofency.0.andy.My_Home.currentLatitude", "attrname": "lat", "payloadType": "value", "errOnInvalidState": "nothing", "x": 1220, "y": 360, "wires": [ [ "ece1893ee22522b0" ] ] }, { "id": "c8c44c680d778fc8", "type": "change", "z": "2bbe99b34fc4bb8b", "name": "", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "{ \"name\":name, \"lat\":lat, \"lon\":lon, \"color\":\"orange\", \"weight\":10, \"icon\":\"circle\", \"iconColor\":color }", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1890, "y": 600, "wires": [ [ "6166eb8642382a9a" ] ] }, { "id": "c37e9a927c6b2d81", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "My_Home", "topic": "geofency.0.andy.My_Home.name", "attrname": "name", "payloadType": "value", "errOnInvalidState": "nothing", "x": 650, "y": 360, "wires": [ [ "c2d6a759332e675c" ] ] }, { "id": "5cf5d5738f8caf63", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Tor_31", "topic": "geofency.0.andy.Airport__Tor_31.name", "attrname": "name", "payloadType": "value", "errOnInvalidState": "nothing", "x": 630, "y": 420, "wires": [ [ "9c587245e2a4f2f6" ] ] }, { "id": "9c587245e2a4f2f6", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Longitude", "topic": "geofency.0.andy.Airport__Tor_31.currentLongitude", "attrname": "lon", "payloadType": "value", "errOnInvalidState": "nothing", "x": 940, "y": 420, "wires": [ [ "1ce24e7b021a7ebc" ] ] }, { "id": "1ce24e7b021a7ebc", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Latitude", "topic": "geofency.0.andy.Airport__Tor_31.currentLatitude", "attrname": "lat", "payloadType": "value", "errOnInvalidState": "nothing", "x": 1220, "y": 420, "wires": [ [ "0796c95656a2d5ed" ] ] }, { "id": "34657bd3ae2d4cf8", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Anne_Reiner", "topic": "geofency.0.andy.Anne_&_Reiner.name", "attrname": "name", "payloadType": "value", "errOnInvalidState": "nothing", "x": 650, "y": 480, "wires": [ [ "581fb6f748569a52" ] ] }, { "id": "581fb6f748569a52", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Longitude", "topic": "geofency.0.andy.Anne_&_Reiner.currentLongitude", "attrname": "lon", "payloadType": "value", "errOnInvalidState": "nothing", "x": 940, "y": 480, "wires": [ [ "0bc593b993f604dd" ] ] }, { "id": "0bc593b993f604dd", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Latitude", "topic": "geofency.0.andy.Anne_&_Reiner.currentLatitude", "attrname": "lat", "payloadType": "value", "errOnInvalidState": "nothing", "x": 1220, "y": 480, "wires": [ [ "5180e004cddb9508" ] ] }, { "id": "a8424a6b13742039", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Auto_Algarve", "topic": "geofency.0.andy.Auto_Algarve.name", "attrname": "name", "payloadType": "value", "errOnInvalidState": "nothing", "x": 650, "y": 540, "wires": [ [ "83e7284b5a57e881" ] ] }, { "id": "83e7284b5a57e881", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Longitude", "topic": "geofency.0.andy.Auto_Algarve.currentLongitude", "attrname": "lon", "payloadType": "value", "errOnInvalidState": "nothing", "x": 940, "y": 540, "wires": [ [ "389b6955c68349ca" ] ] }, { "id": "389b6955c68349ca", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Latitude", "topic": "geofency.0.andy.Auto_Algarve.currentLatitude", "attrname": "lat", "payloadType": "value", "errOnInvalidState": "nothing", "x": 1220, "y": 540, "wires": [ [ "80bb20e4619ce9dd" ] ] }, { "id": "26e44c80d08bfebd", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Austadt_Wolfsburg", "topic": "geofency.0.andy.Autostadt_Wolfsburg.name", "attrname": "name", "payloadType": "value", "errOnInvalidState": "nothing", "x": 670, "y": 600, "wires": [ [ "b4dbc721485d95b7" ] ] }, { "id": "b4dbc721485d95b7", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Longitude", "topic": "geofency.0.andy.Autostadt_Wolfsburg.currentLongitude", "attrname": "lon", "payloadType": "value", "errOnInvalidState": "nothing", "x": 940, "y": 600, "wires": [ [ "6a429c8a364da01a" ] ] }, { "id": "6a429c8a364da01a", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Latitude", "topic": "geofency.0.andy.Autostadt_Wolfsburg.currentLatitude", "attrname": "lat", "payloadType": "value", "errOnInvalidState": "nothing", "x": 1220, "y": 600, "wires": [ [ "fb2d57b04a522f38" ] ] }, { "id": "3646409110e6d3ef", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Dr_Heddäus", "topic": "geofency.0.andy.Dr__Heddäus_.name", "attrname": "name", "payloadType": "value", "errOnInvalidState": "nothing", "x": 650, "y": 660, "wires": [ [ "6d023aff886d38d6" ] ] }, { "id": "6d023aff886d38d6", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Longitude", "topic": "geofency.0.andy.Dr__Heddäus_.currentLongitude", "attrname": "lon", "payloadType": "value", "errOnInvalidState": "nothing", "x": 940, "y": 660, "wires": [ [ "5d5638b734e0abef" ] ] }, { "id": "5d5638b734e0abef", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Latitude", "topic": "geofency.0.andy.Dr__Heddäus_.currentLatitude", "attrname": "lat", "payloadType": "value", "errOnInvalidState": "nothing", "x": 1220, "y": 660, "wires": [ [ "a8c7d0bd3831080d" ] ] }, { "id": "da4d9d8f23874b2a", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Marina", "topic": "geofency.0.andy.Marina.name", "attrname": "name", "payloadType": "value", "errOnInvalidState": "nothing", "x": 630, "y": 720, "wires": [ [ "11cb4f39353eeaa4" ] ] }, { "id": "11cb4f39353eeaa4", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Longitude", "topic": "geofency.0.andy.Marina.currentLongitude", "attrname": "lon", "payloadType": "value", "errOnInvalidState": "nothing", "x": 940, "y": 720, "wires": [ [ "28e2acc58f04bdfb" ] ] }, { "id": "28e2acc58f04bdfb", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Latitude", "topic": "geofency.0.andy.Marina.currentLatitude", "attrname": "lat", "payloadType": "value", "errOnInvalidState": "nothing", "x": 1220, "y": 720, "wires": [ [ "a0cdbe6f3c7880bb" ] ] }, { "id": "ae3d747a1a914986", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Penny_Mörfelden", "topic": "geofency.0.andy.Penny_Mörfelden_Walldorf.name", "attrname": "name", "payloadType": "value", "errOnInvalidState": "nothing", "x": 670, "y": 780, "wires": [ [ "06b9d2197f89e60e" ] ] }, { "id": "06b9d2197f89e60e", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Longitude", "topic": "geofency.0.andy.Penny_Mörfelden_Walldorf.currentLongitude", "attrname": "lon", "payloadType": "value", "errOnInvalidState": "nothing", "x": 940, "y": 780, "wires": [ [ "55683231f7af50cf" ] ] }, { "id": "55683231f7af50cf", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Latitude", "topic": "geofency.0.andy.Penny_Mörfelden_Walldorf.currentLatitude", "attrname": "lat", "payloadType": "value", "errOnInvalidState": "nothing", "x": 1220, "y": 780, "wires": [ [ "cf34a46ca147f1ed" ] ] }, { "id": "4e95b1f18481d50a", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Selgros", "topic": "geofency.0.andy.Selgros_.name", "attrname": "name", "payloadType": "value", "errOnInvalidState": "nothing", "x": 640, "y": 840, "wires": [ [ "07e49b62b800c46c" ] ] }, { "id": "07e49b62b800c46c", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Longitude", "topic": "geofency.0.andy.Selgros_.currentLongitude", "attrname": "lon", "payloadType": "value", "errOnInvalidState": "nothing", "x": 940, "y": 840, "wires": [ [ "bab85cc51dcbc7ba" ] ] }, { "id": "bab85cc51dcbc7ba", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Latitude", "topic": "geofency.0.andy.Selgros_.currentLatitude", "attrname": "lat", "payloadType": "value", "errOnInvalidState": "nothing", "x": 1220, "y": 840, "wires": [ [ "0dfcf8b0b86b77ef" ] ] }, { "id": "7cc816ac147d0d6f", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Waltraud", "topic": "geofency.0.andy.Waltraud_&_Heiner.name", "attrname": "name", "payloadType": "value", "errOnInvalidState": "nothing", "x": 640, "y": 900, "wires": [ [ "df485d3b6c66eb70" ] ] }, { "id": "df485d3b6c66eb70", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Longitude", "topic": "geofency.0.andy.Waltraud_&_Heiner.currentLongitude", "attrname": "lon", "payloadType": "value", "errOnInvalidState": "nothing", "x": 940, "y": 900, "wires": [ [ "94207ab4102e6987" ] ] }, { "id": "94207ab4102e6987", "type": "ioBroker get", "z": "2bbe99b34fc4bb8b", "name": "Latitude", "topic": "geofency.0.andy.Waltraud_&_Heiner.currentLatitude", "attrname": "lat", "payloadType": "value", "errOnInvalidState": "nothing", "x": 1220, "y": 900, "wires": [ [ "48237760a69ed43c" ] ] }, { "id": "ece1893ee22522b0", "type": "change", "z": "2bbe99b34fc4bb8b", "name": "Farbe setzen grün", "rules": [ { "t": "set", "p": "color", "pt": "msg", "to": "green", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1530, "y": 360, "wires": [ [ "c8c44c680d778fc8" ] ] }, { "id": "0796c95656a2d5ed", "type": "change", "z": "2bbe99b34fc4bb8b", "name": "Farbe setzen orange", "rules": [ { "t": "set", "p": "color", "pt": "msg", "to": "orange", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1540, "y": 420, "wires": [ [ "c8c44c680d778fc8" ] ] }, { "id": "5180e004cddb9508", "type": "change", "z": "2bbe99b34fc4bb8b", "name": "Farbe setzen yellow", "rules": [ { "t": "set", "p": "color", "pt": "msg", "to": "yellow", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1540, "y": 480, "wires": [ [ "c8c44c680d778fc8" ] ] }, { "id": "80bb20e4619ce9dd", "type": "change", "z": "2bbe99b34fc4bb8b", "name": "Farbe setzen FireBrick", "rules": [ { "t": "set", "p": "color", "pt": "msg", "to": "FireBrick", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1540, "y": 540, "wires": [ [ "c8c44c680d778fc8" ] ] }, { "id": "fb2d57b04a522f38", "type": "change", "z": "2bbe99b34fc4bb8b", "name": "Farbe setzen Aqua", "rules": [ { "t": "set", "p": "color", "pt": "msg", "to": "Aqua", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1530, "y": 600, "wires": [ [ "c8c44c680d778fc8" ] ] }, { "id": "a8c7d0bd3831080d", "type": "change", "z": "2bbe99b34fc4bb8b", "name": "Farbe setzen Red", "rules": [ { "t": "set", "p": "color", "pt": "msg", "to": "Red", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1530, "y": 660, "wires": [ [ "c8c44c680d778fc8" ] ] }, { "id": "a0cdbe6f3c7880bb", "type": "change", "z": "2bbe99b34fc4bb8b", "name": "Farbe setzen fuchsia", "rules": [ { "t": "set", "p": "color", "pt": "msg", "to": "fuchsia", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1540, "y": 720, "wires": [ [ "c8c44c680d778fc8" ] ] }, { "id": "cf34a46ca147f1ed", "type": "change", "z": "2bbe99b34fc4bb8b", "name": "Farbe setzen Crimson", "rules": [ { "t": "set", "p": "color", "pt": "msg", "to": "Crimson", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1540, "y": 780, "wires": [ [ "c8c44c680d778fc8" ] ] }, { "id": "0dfcf8b0b86b77ef", "type": "change", "z": "2bbe99b34fc4bb8b", "name": "Farbe setzen Tomato", "rules": [ { "t": "set", "p": "color", "pt": "msg", "to": "Tomato", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1540, "y": 840, "wires": [ [ "c8c44c680d778fc8" ] ] }, { "id": "48237760a69ed43c", "type": "change", "z": "2bbe99b34fc4bb8b", "name": "Farbe setzen Goldenrod", "rules": [ { "t": "set", "p": "color", "pt": "msg", "to": "Goldenrod", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1550, "y": 900, "wires": [ [ "c8c44c680d778fc8" ] ] }, { "id": "63f14d126100dbb4", "type": "worldmap in", "z": "2bbe99b34fc4bb8b", "name": "", "path": "/worldmap", "events": "connect,disconnect,point,layer,bounds,files,draw,other", "x": 420, "y": 1020, "wires": [ [ "88da8dd8f3c872e2" ] ] }, { "id": "88da8dd8f3c872e2", "type": "switch", "z": "2bbe99b34fc4bb8b", "name": "", "property": "payload.action", "propertyType": "msg", "rules": [ { "t": "eq", "v": "connected", "vt": "str" }, { "t": "eq", "v": "click", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 710, "y": 1020, "wires": [ [ "b513875ab3f861f0" ], [ "86f039c7a642cd3d" ] ] }, { "id": "86f039c7a642cd3d", "type": "change", "z": "2bbe99b34fc4bb8b", "name": "", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "payload.name", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 910, "y": 1020, "wires": [ [ "20fa37b19607c002" ] ] }, { "id": "20fa37b19607c002", "type": "ioBroker out", "z": "2bbe99b34fc4bb8b", "name": "", "topic": "0_userdata.0.Geofency", "ack": "true", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1170, "y": 1020, "wires": [] }, { "id": "b513875ab3f861f0", "type": "change", "z": "2bbe99b34fc4bb8b", "name": "Dummy", "rules": [], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 400, "y": 880, "wires": [ [ "c37e9a927c6b2d81", "5cf5d5738f8caf63", "34657bd3ae2d4cf8", "a8424a6b13742039", "26e44c80d08bfebd", "3646409110e6d3ef", "da4d9d8f23874b2a", "ae3d747a1a914986", "4e95b1f18481d50a", "7cc816ac147d0d6f" ] ] } ]
-
@damrak2022 Ok mach Dir gleich ein kleines Video
-
@mickym Wollen wir Schluss machen, ich schaue dann morgen nach , ob er mir unter Objekten die Datenpunkte geloggt hat, oder nicht
-
@damrak2022 Lass uns die Aktion noch machen - dauert nicht mehr lange.
-
@mickym Okay
-
@damrak2022
Schau Dir mal das Video an - wie Du mit dem Flow Fenster umgehen kannst.
NodeRed Flows neu ausrichten.mp4Und hier bekommst Deinen Flow wieder ohne Inject Node zurück:
-
@mickym Okay das ausrichten habe ich kapiert, auch mit dem markieren, verschieben etc.
Soll ich jetzt meinen Flow löschen, und den Code von Dir importieren?