Nodered

Aus Hackerspace Bielefeld Wiki
Version vom 22. April 2023, 16:10 Uhr von Hartmut (Diskussion | Beiträge) (json in <nowiki> Umgebung und beatified)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

Ansprechpartner

Joen stellv.: electronicfreak

Backup

CLIPtoHSBOT

[
  {
    "id":"22f6709c.a116d",
    "type":"template",
    "z":"54d77af6.f1ceb4",
    "name":"Incoming",
    "field":"payload",
    "fieldType":"msg",
    "format":"handlebars",
    "syntax":"mustache",
    "template":"Incoming call from: {{payload.col4}}",
    "x":491.99998474121094,
    "y":321.0909118652344,
    "wires":[
      [
        "9632934f.6bc0f"
      ]
    ]
  },
  {
    "id":"4ea1bdba.433054",
    "type":"switch",
    "z":"54d77af6.f1ceb4",
    "name":"",
    "property":"payload.col2",
    "propertyType":"msg",
    "rules":[
      {
        "t":"eq",
        "v":"RING",
        "vt":"str"
      },
      {
        "t":"eq",
        "v":"DISCONNECT",
        "vt":"str"
      }
    ],
    "checkall":"true",
    "outputs":2,
    "x":375,
    "y":394.0909118652344,
    "wires":[
      [
        "22f6709c.a116d"
      ],
      [
        
      ]
    ]
  },
  {
    "id":"8a0d40c4.ab226",
    "type":"csv",
    "z":"54d77af6.f1ceb4",
    "name":"",
    "sep":";",
    "hdrin":"",
    "hdrout":"",
    "multi":"one",
    "ret":"\\n",
    "temp":"",
    "x":274.99998474121094,
    "y":317.0909118652344,
    "wires":[
      [
        "4ea1bdba.433054"
      ]
    ]
  },
  {
    "id":"79bae9b.579f618",
    "type":"tcp in",
    "z":"54d77af6.f1ceb4",
    "name":"",
    "server":"client",
    "host":"172.23.45.30",
    "port":"1012",
    "datamode":"stream",
    "datatype":"utf8",
    "newline":"",
    "topic":"",
    "base64":false,
    "x":105,
    "y":394.0909118652344,
    "wires":[
      [
        "8a0d40c4.ab226"
      ]
    ]
  },
  {
    "id":"9632934f.6bc0f",
    "type":"mqtt out",
    "z":"54d77af6.f1ceb4",
    "name":"",
    "topic":"hsbot/chat",
    "qos":"",
    "retain":"",
    "broker":"e1912356.cfe26",
    "x":728.8299102783203,
    "y":323.7430725097656,
    "wires":[
      
    ]
  },
  {
    "id":"e1912356.cfe26",
    "type":"mqtt-broker",
    "z":"",
    "broker":"localhost",
    "port":"1883",
    "clientid":"nodered",
    "usetls":false,
    "compatmode":true,
    "keepalive":"60",
    "cleansession":true,
    "willTopic":"",
    "willQos":"0",
    "willPayload":"",
    "birthTopic":"",
    "birthQos":"0",
    "birthPayload":""
  }
]