Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Bambu lab 3d Drucker MQTT Integration

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Bambu lab 3d Drucker MQTT Integration

    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      djalexz @mickym last edited by

      @mickym Ach so. Ne das war für die anderen Out Nodes gemeint Steckdose und Co.
      Daher auch der Name: Schalter im Dashboard

      mickym 1 Reply Last reply Reply Quote 0
      • D
        dadonali @mickym last edited by

        @mickym

        Ja das hatte ich fälschlicherweise geändert 😄 , aber ist wieder rückgängig gemacht.

        Ihr seid die geilsten! Es läuft 🙂

        Bildschirm­foto 2023-02-14 um 19.00.38.png

        mickym 1 Reply Last reply Reply Quote 0
        • mickym
          mickym Most Active @djalexz last edited by

          @djalexz sagte in Bambu lab 3d Drucker MQTT Integration:

          @mickym Ach so. Ne das war für die anderen Out Nodes gemeint Steckdose und Co.
          Daher auch der Name: Schalter im Dashboard

          Ok - ich glaub ich halt besser meinen Mund. 😉 - So verwirre ich hier nur. 😉

          1 Reply Last reply Reply Quote 0
          • mickym
            mickym Most Active @dadonali last edited by

            @dadonali sagte in Bambu lab 3d Drucker MQTT Integration:

            @mickym

            Ja das hatte ich fälschlicherweise geändert 😄 , aber ist wieder rückgängig gemacht.

            Ihr seid die geilsten! Es läuft 🙂

            Bildschirm­foto 2023-02-14 um 19.00.38.png

            Und ist Node-Red nun genial und warum sträubt sich jeder am Anfang immer so? - Irgendwann wirst Du deine Blocklies auch mit NodeRed machen - wenn Du mal die Genialität dieses Systems durchblickst. 😉

            D 1 Reply Last reply Reply Quote 0
            • D
              dadonali @mickym last edited by

              @mickym
              Ja ich hab schon soo viele Blocklies 😄 das alles umzustellen, da graut es mir vor.

              Aber das Thema werde ich mir wirklich mal genauer ansehen, man kann ja immer nach und nach ändern. Aber fürs Erste hab ich ja Datenpunkte die ich soweit verarbeiten kann.

              D mickym 2 Replies Last reply Reply Quote 0
              • D
                DarkDevil @dadonali last edited by

                @dadonali aktualisieren sich denn deine datenpunkte wenn du den slicer und die App geschlossen hast?

                D 1 Reply Last reply Reply Quote 0
                • mickym
                  mickym Most Active @dadonali last edited by

                  @dadonali sagte in Bambu lab 3d Drucker MQTT Integration:

                  Aber das Thema werde ich mir wirklich mal genauer ansehen, man kann ja immer nach und nach ändern. Aber fürs Erste hab ich ja Datenpunkte die ich soweit verarbeiten kann.

                  Na das geniale am iobroker ist ja - dass er eine Vielzahl von Systemen unter einer Haube vereint. Das heißt Du kannst ja jetzt bei den Datenpunkten von Fall zu Fall entscheiden, was einfacher ist. 😉

                  1 Reply Last reply Reply Quote 0
                  • D
                    dadonali @DarkDevil last edited by

                    @darkdevil leider nein 😞 nur wenn app aufm handy oder aufm pc offen ist

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      dadonali @djalexz last edited by

                      Hier nochmal meine Settings und JSON für den P1P ,vielleicht will @djalexz es ja zu seiner Anleitung von oben hinzufügen 🙂 Ich hab diese Steckdose Sache unten drunter erstmal raus gelassen.

                      Bin ja auch ein Fan davon dann das Wissen zu teilen wenn es läuft. Natürlich unter Vorbehalt falls der P1P auch bald ein Update erhält und dann die Logins benötigt werden + Port Wechsel

                      [
                          {
                              "id": "6e802f1553b18149",
                              "type": "subflow",
                              "name": "JSON or Obj to IOBroker",
                              "info": "# Creates an IOBroker tree\n\nThis node creates an IOBroker tree out of an Java-Object or JSON String.\n\nThe object tree will be created under 0_userdata.0\nIn addition to the JSON-String or Java Object as `msg.payload` it is necessary to specify a `msg.top` properity in addition to the msg-Object.\n\nThe object tree will be created under 0_userdata.0\n\nExisting `msg.topic` entries will be deleted.\nAn iobroker-out node has to be appended to this subflow node. It is not part of the subflow itself. No topic should be specified in the iobroker out node.\n\nIs `msg.top` property isn't defined, the `top` property of the subflow-node is used. \n\nIn the properties of the subflow node a new property `keepTopic` has been added. Default is _false_ to keep the current behaviour. If set to _true_ then the originial topic will be placed between the `top` property of the subflow node and the property of the analyzed JSON object.\n\n**Attention:**\nIf msg.top and top is empty, all msg.topics (msg.topic) will be directly prefixed with 0_userdata.0. . \n\n**Update 13.09.2022:**\nSpaces in topics of objects are no longer replaced with underscores in objects. No differences between all data types.\n\n# Erstellt einen Objektbaum im ioBroker\n\nDiese Node erstellt einen Objektbaum im ioBroker aus einem JAVA Objekt bzw. einem JSON String. \n\nDer Baum wird in jedem Fall unter 0_userdata.0 erstellt und zwar unter dem Topic der in` msg.top` mitgegeben wurde. In der `msg.payload` befindet sich dann der JSON String oder das entsprechende Objekt.\n\nExistierende `msg.topic `Einträge werden gelöscht.\nEin entsprechende iobroker-out Node muss an den Flow angehängt werden. Sie ist nicht Bestandteil des Subflows. In dieser iobroker-out Node darf kein Topic angegeben werden. \n\nFalls msg.top nicht definiert wurde, wird der `top`-Wert der Subflow-Node verwendet.\n\nIn den Eigenschaften der Subflow-Node wurde ein neuer Parameter `keepTopic` hinzugefügt. Standardwert ist _false_, um das bisherige Verhalten beizubehalten. Setzt man die Eigenschaft auf _true_, dann wird das originale Topic zwischen der `top` Eigenschaft der Subflow-Node und Eigenschaft des analysierten JSON Objektes eingefügt.\n\n**Achtung:**\nWenn top und msg.top leer ist, werden alle msg.topics (msg.topic) direkt unter dem Präfix 0_userdata.0., angelegt bzw. ausgegeben. \n\n**Update 13.09.2022:**\nLeerzeichen werden in Topics von Objekten nicht mehr durch Unterstriche ersetzt. Es gibt keine Unterschiede mehr zwischen den Datentypen.",
                              "category": "",
                              "in": [
                                  {
                                      "x": 60,
                                      "y": 160,
                                      "wires": [
                                          {
                                              "id": "554b8c663bcb46c2"
                                          }
                                      ]
                                  }
                              ],
                              "out": [
                                  {
                                      "x": 2620,
                                      "y": 280,
                                      "wires": [
                                          {
                                              "id": "0962842ebd23e0d7",
                                              "port": 0
                                          }
                                      ]
                                  }
                              ],
                              "env": [
                                  {
                                      "name": "top",
                                      "type": "str",
                                      "value": "objRoot"
                                  },
                                  {
                                      "name": "keepTopic",
                                      "type": "bool",
                                      "value": "false"
                                  }
                              ],
                              "meta": {},
                              "color": "#E2D96E",
                              "icon": "node-red/batch.svg"
                          },
                          {
                              "id": "3e11e8338f694832",
                              "type": "split",
                              "z": "6e802f1553b18149",
                              "name": "split object",
                              "splt": "\\n",
                              "spltType": "str",
                              "arraySplt": 1,
                              "arraySpltType": "len",
                              "stream": false,
                              "addname": "key",
                              "x": 1370,
                              "y": 160,
                              "wires": [
                                  [
                                      "0562a4249c8b856b"
                                  ]
                              ]
                          },
                          {
                              "id": "0562a4249c8b856b",
                              "type": "change",
                              "z": "6e802f1553b18149",
                              "name": "add key to topic",
                              "rules": [
                                  {
                                      "t": "set",
                                      "p": "stateName",
                                      "pt": "msg",
                                      "to": "key",
                                      "tot": "msg"
                                  },
                                  {
                                      "t": "set",
                                      "p": "topic",
                                      "pt": "msg",
                                      "to": "topic  & '.' & key",
                                      "tot": "jsonata"
                                  }
                              ],
                              "action": "",
                              "property": "",
                              "from": "",
                              "to": "",
                              "reg": false,
                              "x": 1560,
                              "y": 160,
                              "wires": [
                                  [
                                      "ddc90985bef0fafa"
                                  ]
                              ]
                          },
                          {
                              "id": "ddc90985bef0fafa",
                              "type": "switch",
                              "z": "6e802f1553b18149",
                              "name": "is type?",
                              "property": "payload",
                              "propertyType": "msg",
                              "rules": [
                                  {
                                      "t": "istype",
                                      "v": "array",
                                      "vt": "array"
                                  },
                                  {
                                      "t": "istype",
                                      "v": "object",
                                      "vt": "object"
                                  },
                                  {
                                      "t": "else"
                                  }
                              ],
                              "checkall": "true",
                              "repair": false,
                              "outputs": 3,
                              "x": 1740,
                              "y": 160,
                              "wires": [
                                  [
                                      "bfce19b206660fbe"
                                  ],
                                  [
                                      "3e11e8338f694832"
                                  ],
                                  [
                                      "1a8c03d866b85b12"
                                  ]
                              ]
                          },
                          {
                              "id": "bfce19b206660fbe",
                              "type": "split",
                              "z": "6e802f1553b18149",
                              "name": "split array",
                              "splt": "\\n",
                              "spltType": "str",
                              "arraySplt": 1,
                              "arraySpltType": "len",
                              "stream": false,
                              "addname": "",
                              "x": 780,
                              "y": 280,
                              "wires": [
                                  [
                                      "e89927810c6d75ec"
                                  ]
                              ]
                          },
                          {
                              "id": "e89927810c6d75ec",
                              "type": "change",
                              "z": "6e802f1553b18149",
                              "name": "add index to topic",
                              "rules": [
                                  {
                                      "t": "set",
                                      "p": "topic",
                                      "pt": "msg",
                                      "to": "topic  & '.' & parts.index",
                                      "tot": "jsonata"
                                  }
                              ],
                              "action": "",
                              "property": "",
                              "from": "",
                              "to": "",
                              "reg": false,
                              "x": 970,
                              "y": 280,
                              "wires": [
                                  [
                                      "a4d1a5d04564dc77"
                                  ]
                              ]
                          },
                          {
                              "id": "f5d52c6a57d08904",
                              "type": "change",
                              "z": "6e802f1553b18149",
                              "name": "finalize msg.topic",
                              "rules": [
                                  {
                                      "t": "set",
                                      "p": "top",
                                      "pt": "msg",
                                      "to": "'0_userdata.0.' & top",
                                      "tot": "jsonata"
                                  },
                                  {
                                      "t": "set",
                                      "p": "topic",
                                      "pt": "msg",
                                      "to": "top & '.' & topic",
                                      "tot": "jsonata"
                                  }
                              ],
                              "action": "",
                              "property": "",
                              "from": "",
                              "to": "",
                              "reg": false,
                              "x": 2170,
                              "y": 240,
                              "wires": [
                                  [
                                      "0962842ebd23e0d7"
                                  ]
                              ]
                          },
                          {
                              "id": "1a8c03d866b85b12",
                              "type": "switch",
                              "z": "6e802f1553b18149",
                              "name": "is msg.top != null",
                              "property": "top",
                              "propertyType": "msg",
                              "rules": [
                                  {
                                      "t": "nnull"
                                  },
                                  {
                                      "t": "null"
                                  }
                              ],
                              "checkall": "true",
                              "repair": false,
                              "outputs": 2,
                              "x": 1950,
                              "y": 280,
                              "wires": [
                                  [
                                      "f5d52c6a57d08904"
                                  ],
                                  [
                                      "74c895ce724750de"
                                  ]
                              ]
                          },
                          {
                              "id": "e023fe88445ce43e",
                              "type": "change",
                              "z": "6e802f1553b18149",
                              "name": "",
                              "rules": [
                                  {
                                      "t": "delete",
                                      "p": "topic",
                                      "pt": "msg"
                                  }
                              ],
                              "action": "",
                              "property": "",
                              "from": "",
                              "to": "",
                              "reg": false,
                              "x": 350,
                              "y": 200,
                              "wires": [
                                  [
                                      "3649300b4c233b10"
                                  ]
                              ]
                          },
                          {
                              "id": "3649300b4c233b10",
                              "type": "switch",
                              "z": "6e802f1553b18149",
                              "name": "is type?",
                              "property": "payload",
                              "propertyType": "msg",
                              "rules": [
                                  {
                                      "t": "istype",
                                      "v": "json",
                                      "vt": "json"
                                  },
                                  {
                                      "t": "istype",
                                      "v": "array",
                                      "vt": "array"
                                  },
                                  {
                                      "t": "istype",
                                      "v": "object",
                                      "vt": "object"
                                  },
                                  {
                                      "t": "else"
                                  }
                              ],
                              "checkall": "true",
                              "repair": false,
                              "outputs": 4,
                              "x": 600,
                              "y": 160,
                              "wires": [
                                  [
                                      "fc7913a8524badb7"
                                  ],
                                  [
                                      "bfce19b206660fbe"
                                  ],
                                  [
                                      "3e11e8338f694832"
                                  ],
                                  [
                                      "9ac3cc3681e8b6c6"
                                  ]
                              ]
                          },
                          {
                              "id": "1b8480cd2df7ba3f",
                              "type": "comment",
                              "z": "6e802f1553b18149",
                              "name": "Array",
                              "info": "",
                              "x": 600,
                              "y": 280,
                              "wires": []
                          },
                          {
                              "id": "b3541807672be040",
                              "type": "comment",
                              "z": "6e802f1553b18149",
                              "name": "object",
                              "info": "",
                              "x": 1340,
                              "y": 100,
                              "wires": []
                          },
                          {
                              "id": "a4d1a5d04564dc77",
                              "type": "switch",
                              "z": "6e802f1553b18149",
                              "name": "is type?",
                              "property": "payload",
                              "propertyType": "msg",
                              "rules": [
                                  {
                                      "t": "istype",
                                      "v": "object",
                                      "vt": "object"
                                  },
                                  {
                                      "t": "istype",
                                      "v": "array",
                                      "vt": "array"
                                  },
                                  {
                                      "t": "else"
                                  }
                              ],
                              "checkall": "true",
                              "repair": false,
                              "outputs": 3,
                              "x": 1160,
                              "y": 280,
                              "wires": [
                                  [
                                      "3e11e8338f694832"
                                  ],
                                  [
                                      "bfce19b206660fbe"
                                  ],
                                  [
                                      "a096a93bb82b7a93"
                                  ]
                              ]
                          },
                          {
                              "id": "74c895ce724750de",
                              "type": "change",
                              "z": "6e802f1553b18149",
                              "name": "finalize msg.topic",
                              "rules": [
                                  {
                                      "t": "set",
                                      "p": "top",
                                      "pt": "msg",
                                      "to": "top",
                                      "tot": "env"
                                  },
                                  {
                                      "t": "set",
                                      "p": "top",
                                      "pt": "msg",
                                      "to": "'0_userdata.0.' & top",
                                      "tot": "jsonata"
                                  },
                                  {
                                      "t": "set",
                                      "p": "topic",
                                      "pt": "msg",
                                      "to": "top & '.' & topic",
                                      "tot": "jsonata"
                                  }
                              ],
                              "action": "",
                              "property": "",
                              "from": "",
                              "to": "",
                              "reg": false,
                              "x": 2170,
                              "y": 320,
                              "wires": [
                                  [
                                      "0962842ebd23e0d7"
                                  ]
                              ]
                          },
                          {
                              "id": "554b8c663bcb46c2",
                              "type": "switch",
                              "z": "6e802f1553b18149",
                              "name": "",
                              "property": "keepTopic",
                              "propertyType": "env",
                              "rules": [
                                  {
                                      "t": "true"
                                  },
                                  {
                                      "t": "false"
                                  }
                              ],
                              "checkall": "true",
                              "repair": false,
                              "outputs": 2,
                              "x": 170,
                              "y": 160,
                              "wires": [
                                  [
                                      "e30ba9f0483285e4"
                                  ],
                                  [
                                      "e023fe88445ce43e"
                                  ]
                              ]
                          },
                          {
                              "id": "e30ba9f0483285e4",
                              "type": "change",
                              "z": "6e802f1553b18149",
                              "name": "",
                              "rules": [
                                  {
                                      "t": "change",
                                      "p": "topic",
                                      "pt": "msg",
                                      "from": "/",
                                      "fromt": "str",
                                      "to": ".",
                                      "tot": "str"
                                  }
                              ],
                              "action": "",
                              "property": "",
                              "from": "",
                              "to": "",
                              "reg": false,
                              "x": 350,
                              "y": 120,
                              "wires": [
                                  [
                                      "3649300b4c233b10"
                                  ]
                              ]
                          },
                          {
                              "id": "0962842ebd23e0d7",
                              "type": "change",
                              "z": "6e802f1553b18149",
                              "name": "translate invalid chars in topic",
                              "rules": [
                                  {
                                      "t": "change",
                                      "p": "topic",
                                      "pt": "msg",
                                      "from": "..",
                                      "fromt": "str",
                                      "to": ".",
                                      "tot": "str"
                                  },
                                  {
                                      "t": "change",
                                      "p": "topic",
                                      "pt": "msg",
                                      "from": "€",
                                      "fromt": "str",
                                      "to": "EUR",
                                      "tot": "str"
                                  }
                              ],
                              "action": "",
                              "property": "",
                              "from": "",
                              "to": "",
                              "reg": false,
                              "x": 2430,
                              "y": 280,
                              "wires": [
                                  []
                              ]
                          },
                          {
                              "id": "9ac3cc3681e8b6c6",
                              "type": "change",
                              "z": "6e802f1553b18149",
                              "name": "set topic, if empty",
                              "rules": [
                                  {
                                      "t": "set",
                                      "p": "topic",
                                      "pt": "msg",
                                      "to": "topic ? topic : $type(payload)\t",
                                      "tot": "jsonata"
                                  }
                              ],
                              "action": "",
                              "property": "",
                              "from": "",
                              "to": "",
                              "reg": false,
                              "x": 950,
                              "y": 200,
                              "wires": [
                                  [
                                      "a096a93bb82b7a93"
                                  ]
                              ]
                          },
                          {
                              "id": "fc7913a8524badb7",
                              "type": "json",
                              "z": "6e802f1553b18149",
                              "name": "",
                              "property": "payload",
                              "action": "obj",
                              "pretty": false,
                              "x": 750,
                              "y": 100,
                              "wires": [
                                  [
                                      "d9e7bdd4c48a8aa1"
                                  ]
                              ]
                          },
                          {
                              "id": "d9e7bdd4c48a8aa1",
                              "type": "switch",
                              "z": "6e802f1553b18149",
                              "name": "is type?",
                              "property": "payload",
                              "propertyType": "msg",
                              "rules": [
                                  {
                                      "t": "istype",
                                      "v": "array",
                                      "vt": "array"
                                  },
                                  {
                                      "t": "istype",
                                      "v": "object",
                                      "vt": "object"
                                  },
                                  {
                                      "t": "else"
                                  }
                              ],
                              "checkall": "true",
                              "repair": false,
                              "outputs": 3,
                              "x": 900,
                              "y": 100,
                              "wires": [
                                  [
                                      "1520be42bcc2145e"
                                  ],
                                  [
                                      "1520be42bcc2145e"
                                  ],
                                  [
                                      "9ac3cc3681e8b6c6"
                                  ]
                              ]
                          },
                          {
                              "id": "a096a93bb82b7a93",
                              "type": "junction",
                              "z": "6e802f1553b18149",
                              "x": 1380,
                              "y": 280,
                              "wires": [
                                  [
                                      "1a8c03d866b85b12"
                                  ]
                              ]
                          },
                          {
                              "id": "1520be42bcc2145e",
                              "type": "junction",
                              "z": "6e802f1553b18149",
                              "x": 480,
                              "y": 20,
                              "wires": [
                                  [
                                      "3649300b4c233b10"
                                  ]
                              ]
                          },
                          {
                              "id": "9582121ff81174a6",
                              "type": "tab",
                              "label": "Flow 15",
                              "disabled": false,
                              "info": "",
                              "env": []
                          },
                          {
                              "id": "4380d7035264bead",
                              "type": "group",
                              "z": "9582121ff81174a6",
                              "name": "Online/Offline Anzeige",
                              "style": {
                                  "label": true,
                                  "color": "#000000",
                                  "fill": "#addb7b",
                                  "fill-opacity": "0.38"
                              },
                              "nodes": [
                                  "d2a5ed4e2b8c8674",
                                  "b5c862f5d50c56cb",
                                  "2e71b198fe06ccdb",
                                  "144c29803a38e2a4",
                                  "3a131237a7bdec9d"
                              ],
                              "x": 1294,
                              "y": 59,
                              "w": 412,
                              "h": 242
                          },
                          {
                              "id": "19ede36faf38f69b",
                              "type": "group",
                              "z": "9582121ff81174a6",
                              "name": "X1C Datenpunkt Umwandlung",
                              "style": {
                                  "fill": "#ffff00",
                                  "label": true,
                                  "fill-opacity": "0.36",
                                  "color": "#000000"
                              },
                              "nodes": [
                                  "e2852c3101736fc9",
                                  "477ecaa1b9913815",
                                  "9fadcc36a22ec38b",
                                  "44d9370861f0a79a",
                                  "33a162f31f850a9e",
                                  "f6c8fbdf638c04e8",
                                  "ce27f3362985a4d3",
                                  "89074ea56277b288",
                                  "01c35b9bb3921713",
                                  "3eb26b7322587c6b",
                                  "21081e6a23dc83a1"
                              ],
                              "x": 74,
                              "y": 39,
                              "w": 1032,
                              "h": 322
                          },
                          {
                              "id": "e2852c3101736fc9",
                              "type": "subflow:6e802f1553b18149",
                              "z": "9582121ff81174a6",
                              "g": "19ede36faf38f69b",
                              "name": "",
                              "env": [
                                  {
                                      "name": "top",
                                      "value": "P1P",
                                      "type": "str"
                                  }
                              ],
                              "x": 230,
                              "y": 160,
                              "wires": [
                                  [
                                      "ce27f3362985a4d3"
                                  ]
                              ]
                          },
                          {
                              "id": "477ecaa1b9913815",
                              "type": "mqtt in",
                              "z": "9582121ff81174a6",
                              "g": "19ede36faf38f69b",
                              "name": "P1P",
                              "topic": "device/01S00A2C0501216/report",
                              "qos": "2",
                              "datatype": "auto-detect",
                              "broker": "84f61d394ba2ab34",
                              "nl": false,
                              "rap": true,
                              "rh": 0,
                              "inputs": 0,
                              "x": 150,
                              "y": 100,
                              "wires": [
                                  [
                                      "e2852c3101736fc9"
                                  ]
                              ]
                          },
                          {
                              "id": "9fadcc36a22ec38b",
                              "type": "ioBroker out",
                              "z": "9582121ff81174a6",
                              "g": "19ede36faf38f69b",
                              "name": "schreibe Datenpunkte in ioBroker",
                              "topic": "",
                              "ack": "true",
                              "autoCreate": "true",
                              "stateName": "",
                              "role": "",
                              "payloadType": "",
                              "readonly": "",
                              "stateUnit": "",
                              "stateMin": "",
                              "stateMax": "",
                              "x": 940,
                              "y": 200,
                              "wires": []
                          },
                          {
                              "id": "44d9370861f0a79a",
                              "type": "function",
                              "z": "9582121ff81174a6",
                              "g": "19ede36faf38f69b",
                              "name": "heatbreak_fan_speed",
                              "func": "var percentages = {\n    \"0\": 0,\n    \"1\": 10,\n    \"2\": 20,\n    \"4\": 30,\n    \"5\": 40,\n    \"7\": 50,\n    \"9\": 60,\n    \"10\": 70,\n    \"12\": 80,\n    \"13\": 90,\n    \"15\": 100\n}\n\n    msg.payload = percentages[msg.payload]\n\n    return [msg];\n\n\n\n\n//msg.payload.print.big_fan1_speed_pct = percentages[msg.payload.print.big_fan1_speed]\n//msg.payload.print.big_fan2_speed_pct = percentages[msg.payload.print.big_fan2_speed]\n//msg.payload.print.heatbreak_fan_speed_pct = percentages[msg.payload.print.heatbreak_fan_speed]\n//msg.payload.print.cooling_fan_speed_pct = percentages[msg.payload.print.cooling_fan_speed]\n\n// Overwrite\n//msg.payload.print.big_fan1_speed = percentages[msg.payload.print.big_fan1_speed]\n//msg.payload.print.big_fan2_speed = percentages[msg.payload.print.big_fan2_speed]\n//msg.payload.print.heatbreak_fan_speed = percentages[msg.payload.print.heatbreak_fan_speed]\n//msg.payload.print.cooling_fan_speed = percentages[msg.payload.print.cooling_fan_speed]\n\n\n//node.send(msg)",
                              "outputs": 1,
                              "noerr": 0,
                              "initialize": "",
                              "finalize": "",
                              "libs": [],
                              "x": 620,
                              "y": 120,
                              "wires": [
                                  [
                                      "9fadcc36a22ec38b"
                                  ]
                              ]
                          },
                          {
                              "id": "33a162f31f850a9e",
                              "type": "function",
                              "z": "9582121ff81174a6",
                              "g": "19ede36faf38f69b",
                              "name": "Stage Parser",
                              "func": "\nfunction parseAction(actionId) {\n    if(actionId === undefined) {\n        return \"\";\n    }\n    switch (actionId) {\n        case -2:\n            return \"Offline\";\n        case -1:\n            return \"Idle\";\n        case 0:\n            return \"Printing\";  // idle or printing\n        case 1:\n            return \"Auto bed leveling\";\n        case 2:\n            return \"Heatbed preheating\";\n        case 3:\n            return \"Sweeping XY mech mode\";\n        case 4:\n            return \"Changing filament\";\n        case 5:\n            return \"M400 pause\";\n        case 6:\n            return \"Paused due to filament runout\";\n        case 7:\n            return \"Heating hotend\";\n        case 8:\n            return \"Calibrating extrusion\";\n        case 9:\n            return \"Scanning bed surface\";\n        case 10:\n            return \"Inspecting first layer\";\n        case 11:\n            return \"Identifying build plate type\";\n        case 12:\n            return \"Calibrating Micro Lidar\";\n        case 13:\n            return \"Homing toolhead\";\n        case 14:\n            return \"Cleaning nozzle tip\";\n        case 15:\n            return \"Checking extruder temperature\";\n        case 16:\n            return \"Printing was paused by the user\";\n        case 17:\n            return \"Pause of front cover falling\";\n        case 18:\n            return \"Calibrating the micro lidar\";\n        case 19:\n            return \"Calibrating extrusion flow\";\n        case 20:\n            return \"Paused due to nozzle temperature malfunction\";\n        case 21:\n            return \"Paused due to heat bed temperature malfunction\";\n        default:\n            return actionId.toString()\n    }\n}\n\n\n\n    \nvar current_action = parseAction(msg.payload);\n\n\n\n    msg.payload = current_action;\n\n\n\n    return [msg];\n",
                              "outputs": 1,
                              "noerr": 0,
                              "initialize": "",
                              "finalize": "",
                              "libs": [],
                              "x": 590,
                              "y": 160,
                              "wires": [
                                  [
                                      "9fadcc36a22ec38b"
                                  ]
                              ]
                          },
                          {
                              "id": "f6c8fbdf638c04e8",
                              "type": "function",
                              "z": "9582121ff81174a6",
                              "g": "19ede36faf38f69b",
                              "name": "Translate X1C Speed Profile",
                              "func": "function parseAction(SpeedProfile) {\n    if (SpeedProfile === undefined) {\n        return \"\";\n    }\n    switch (SpeedProfile) {\n        case 1:\n            return \"Silent\";\n           \n        case 2:\n            return \"Standard\";\n            \n        case 3:\n            return \"Sport\";\n           \n        case 4:\n            return \"Ludicrous\";\n           \n        default:\n            return \"Undefined\";\n          \n\n   \n    }\n\n}\n\n\n\n    var SpeedProfile = parseAction(msg.payload);\n    msg.payload = SpeedProfile;\n\n\n    return [msg];\n\n\n",
                              "outputs": 1,
                              "noerr": 0,
                              "initialize": "",
                              "finalize": "",
                              "libs": [],
                              "x": 640,
                              "y": 200,
                              "wires": [
                                  [
                                      "9fadcc36a22ec38b"
                                  ]
                              ]
                          },
                          {
                              "id": "ce27f3362985a4d3",
                              "type": "switch",
                              "z": "9582121ff81174a6",
                              "g": "19ede36faf38f69b",
                              "name": "Verteiler",
                              "property": "topic",
                              "propertyType": "msg",
                              "rules": [
                                  {
                                      "t": "eq",
                                      "v": "0_userdata.0.X1C.print.cooling_fan_speed",
                                      "vt": "str"
                                  },
                                  {
                                      "t": "eq",
                                      "v": "0_userdata.0.X1C.print.heatbreak_fan_speed",
                                      "vt": "str"
                                  },
                                  {
                                      "t": "eq",
                                      "v": "0_userdata.0.X1C.print.stg_cur",
                                      "vt": "str"
                                  },
                                  {
                                      "t": "eq",
                                      "v": "0_userdata.0.X1C.print.spd_lvl",
                                      "vt": "str"
                                  },
                                  {
                                      "t": "eq",
                                      "v": "0_userdata.0.X1C.print.big_fan1_speed",
                                      "vt": "str"
                                  },
                                  {
                                      "t": "eq",
                                      "v": "0_userdata.0.X1C.print.big_fan2_speed",
                                      "vt": "str"
                                  },
                                  {
                                      "t": "eq",
                                      "v": "0_userdata.0.X1C.print.mc_remaining_time",
                                      "vt": "str"
                                  },
                                  {
                                      "t": "else"
                                  }
                              ],
                              "checkall": "true",
                              "repair": false,
                              "outputs": 8,
                              "x": 420,
                              "y": 140,
                              "wires": [
                                  [
                                      "89074ea56277b288"
                                  ],
                                  [
                                      "44d9370861f0a79a"
                                  ],
                                  [
                                      "33a162f31f850a9e"
                                  ],
                                  [
                                      "f6c8fbdf638c04e8"
                                  ],
                                  [
                                      "3eb26b7322587c6b"
                                  ],
                                  [
                                      "01c35b9bb3921713"
                                  ],
                                  [
                                      "21081e6a23dc83a1"
                                  ],
                                  [
                                      "9fadcc36a22ec38b"
                                  ]
                              ],
                              "outputLabels": [
                                  "Cooling Fan Speed",
                                  "Heatbreak Fan Speed",
                                  "Stage Parser",
                                  "Speed Profile",
                                  "AUX Fan Speed",
                                  "Chamber Fan Speed",
                                  "remaining_time",
                                  ""
                              ]
                          },
                          {
                              "id": "89074ea56277b288",
                              "type": "function",
                              "z": "9582121ff81174a6",
                              "g": "19ede36faf38f69b",
                              "name": "cooling_fan_speed",
                              "func": "var percentages = {\n    \"0\": 0,\n    \"1\": 10,\n    \"2\": 20,\n    \"4\": 30,\n    \"5\": 40,\n    \"7\": 50,\n    \"9\": 60,\n    \"10\": 70,\n    \"12\": 80,\n    \"13\": 90,\n    \"15\": 100\n}\n\n    msg.payload = percentages[msg.payload]\n\n    return [msg];\n\n\n\n\n//msg.payload.print.big_fan1_speed_pct = percentages[msg.payload.print.big_fan1_speed]\n//msg.payload.print.big_fan2_speed_pct = percentages[msg.payload.print.big_fan2_speed]\n//msg.payload.print.heatbreak_fan_speed_pct = percentages[msg.payload.print.heatbreak_fan_speed]\n//msg.payload.print.cooling_fan_speed_pct = percentages[msg.payload.print.cooling_fan_speed]\n\n// Overwrite\n//msg.payload.print.big_fan1_speed = percentages[msg.payload.print.big_fan1_speed]\n//msg.payload.print.big_fan2_speed = percentages[msg.payload.print.big_fan2_speed]\n//msg.payload.print.heatbreak_fan_speed = percentages[msg.payload.print.heatbreak_fan_speed]\n//msg.payload.print.cooling_fan_speed = percentages[msg.payload.print.cooling_fan_speed]\n\n\n//node.send(msg)",
                              "outputs": 1,
                              "noerr": 0,
                              "initialize": "",
                              "finalize": "",
                              "libs": [],
                              "x": 610,
                              "y": 80,
                              "wires": [
                                  [
                                      "9fadcc36a22ec38b"
                                  ]
                              ]
                          },
                          {
                              "id": "01c35b9bb3921713",
                              "type": "function",
                              "z": "9582121ff81174a6",
                              "g": "19ede36faf38f69b",
                              "name": "big_fan2_speed (Chamber)",
                              "func": "var percentages = {\n    \"0\": 0,\n    \"1\": 10,\n    \"2\": 20,\n    \"4\": 30,\n    \"5\": 40,\n    \"7\": 50,\n    \"9\": 60,\n    \"10\": 70,\n    \"12\": 80,\n    \"13\": 90,\n    \"15\": 100\n}\n\n    msg.payload = percentages[msg.payload]\n\n    return [msg];\n\n\n\n\n//msg.payload.print.big_fan1_speed_pct = percentages[msg.payload.print.big_fan1_speed]\n//msg.payload.print.big_fan2_speed_pct = percentages[msg.payload.print.big_fan2_speed]\n//msg.payload.print.heatbreak_fan_speed_pct = percentages[msg.payload.print.heatbreak_fan_speed]\n//msg.payload.print.cooling_fan_speed_pct = percentages[msg.payload.print.cooling_fan_speed]\n\n// Overwrite\n//msg.payload.print.big_fan1_speed = percentages[msg.payload.print.big_fan1_speed]\n//msg.payload.print.big_fan2_speed = percentages[msg.payload.print.big_fan2_speed]\n//msg.payload.print.heatbreak_fan_speed = percentages[msg.payload.print.heatbreak_fan_speed]\n//msg.payload.print.cooling_fan_speed = percentages[msg.payload.print.cooling_fan_speed]\n\n\n//node.send(msg)",
                              "outputs": 1,
                              "noerr": 0,
                              "initialize": "",
                              "finalize": "",
                              "libs": [],
                              "x": 640,
                              "y": 280,
                              "wires": [
                                  [
                                      "9fadcc36a22ec38b"
                                  ]
                              ]
                          },
                          {
                              "id": "3eb26b7322587c6b",
                              "type": "function",
                              "z": "9582121ff81174a6",
                              "g": "19ede36faf38f69b",
                              "name": "big_fan1_speed (AUX)",
                              "func": "var percentages = {\n    \"0\": 0,\n    \"1\": 10,\n    \"2\": 20,\n    \"4\": 30,\n    \"5\": 40,\n    \"7\": 50,\n    \"9\": 60,\n    \"10\": 70,\n    \"12\": 80,\n    \"13\": 90,\n    \"15\": 100\n}\n\n    msg.payload = percentages[msg.payload]\n\n    return [msg];\n\n\n\n\n//msg.payload.print.big_fan1_speed_pct = percentages[msg.payload.print.big_fan1_speed]\n//msg.payload.print.big_fan2_speed_pct = percentages[msg.payload.print.big_fan2_speed]\n//msg.payload.print.heatbreak_fan_speed_pct = percentages[msg.payload.print.heatbreak_fan_speed]\n//msg.payload.print.cooling_fan_speed_pct = percentages[msg.payload.print.cooling_fan_speed]\n\n// Overwrite\n//msg.payload.print.big_fan1_speed = percentages[msg.payload.print.big_fan1_speed]\n//msg.payload.print.big_fan2_speed = percentages[msg.payload.print.big_fan2_speed]\n//msg.payload.print.heatbreak_fan_speed = percentages[msg.payload.print.heatbreak_fan_speed]\n//msg.payload.print.cooling_fan_speed = percentages[msg.payload.print.cooling_fan_speed]\n\n\n//node.send(msg)",
                              "outputs": 1,
                              "noerr": 0,
                              "initialize": "",
                              "finalize": "",
                              "libs": [],
                              "x": 620,
                              "y": 240,
                              "wires": [
                                  [
                                      "9fadcc36a22ec38b"
                                  ]
                              ]
                          },
                          {
                              "id": "21081e6a23dc83a1",
                              "type": "function",
                              "z": "9582121ff81174a6",
                              "g": "19ede36faf38f69b",
                              "name": "remaining_time",
                              "func": "//var timeleft = 3727; //1h:2m:7s\n//Umrechnung in Stunden, Minuten, Sekunden\n\nvar hour = Math.floor((msg.payload % 3600) / 60);\nvar minute = Math.floor(msg.payload % 60);\n\n//Den String von Stunden, Minuten und Sekunden auf 2 Stellen ändern\nif (hour < 10) {\nhour = \"0\" + hour;\n}\n\nif (minute < 10) {\nminute = \"0\" + minute;\n}\n\n\nmsg.payload = hour + \":\" + minute;\n\n\n\n\nreturn msg;\n\n",
                              "outputs": 1,
                              "noerr": 0,
                              "initialize": "",
                              "finalize": "",
                              "libs": [],
                              "x": 600,
                              "y": 320,
                              "wires": [
                                  [
                                      "9fadcc36a22ec38b"
                                  ]
                              ]
                          },
                          {
                              "id": "b5c862f5d50c56cb",
                              "type": "switch",
                              "z": "9582121ff81174a6",
                              "g": "4380d7035264bead",
                              "name": "FALSE oder nicht?",
                              "property": "payload",
                              "propertyType": "msg",
                              "rules": [
                                  {
                                      "t": "false"
                                  },
                                  {
                                      "t": "else"
                                  }
                              ],
                              "checkall": "true",
                              "repair": false,
                              "outputs": 2,
                              "x": 1450,
                              "y": 140,
                              "wires": [
                                  [
                                      "144c29803a38e2a4"
                                  ],
                                  [
                                      "2e71b198fe06ccdb"
                                  ]
                              ]
                          },
                          {
                              "id": "2e71b198fe06ccdb",
                              "type": "change",
                              "z": "9582121ff81174a6",
                              "g": "4380d7035264bead",
                              "name": "setze msg.payload auf online",
                              "rules": [
                                  {
                                      "t": "set",
                                      "p": "payload",
                                      "pt": "msg",
                                      "to": "online",
                                      "tot": "str"
                                  }
                              ],
                              "action": "",
                              "property": "",
                              "from": "",
                              "to": "",
                              "reg": false,
                              "x": 1480,
                              "y": 220,
                              "wires": [
                                  [
                                      "3a131237a7bdec9d"
                                  ]
                              ]
                          },
                          {
                              "id": "144c29803a38e2a4",
                              "type": "change",
                              "z": "9582121ff81174a6",
                              "g": "4380d7035264bead",
                              "name": "setze msg.payload auf offline",
                              "rules": [
                                  {
                                      "t": "set",
                                      "p": "payload",
                                      "pt": "msg",
                                      "to": "offline",
                                      "tot": "str"
                                  }
                              ],
                              "action": "",
                              "property": "",
                              "from": "",
                              "to": "",
                              "reg": false,
                              "x": 1480,
                              "y": 180,
                              "wires": [
                                  [
                                      "3a131237a7bdec9d"
                                  ]
                              ]
                          },
                          {
                              "id": "3a131237a7bdec9d",
                              "type": "ioBroker out",
                              "z": "9582121ff81174a6",
                              "g": "4380d7035264bead",
                              "name": "Datenpunkt Verbindungsstatus des Druckers",
                              "topic": "0_userdata.0.P1P_Status.Verbindungsstatus",
                              "ack": "false",
                              "autoCreate": "true",
                              "stateName": "",
                              "role": "",
                              "payloadType": "string",
                              "readonly": "false",
                              "stateUnit": "",
                              "stateMin": "",
                              "stateMax": "",
                              "x": 1510,
                              "y": 260,
                              "wires": []
                          },
                          {
                              "id": "d2a5ed4e2b8c8674",
                              "type": "ping",
                              "z": "9582121ff81174a6",
                              "g": "4380d7035264bead",
                              "protocol": "IPv4",
                              "mode": "timed",
                              "name": "Ping IP des Druckers",
                              "host": "192.168.178.200",
                              "timer": "60",
                              "inputs": 0,
                              "x": 1420,
                              "y": 100,
                              "wires": [
                                  [
                                      "b5c862f5d50c56cb"
                                  ]
                              ]
                          },
                          {
                              "id": "84f61d394ba2ab34",
                              "type": "mqtt-broker",
                              "name": "P1P",
                              "broker": "192.168.178.200",
                              "port": "1883",
                              "tls": "",
                              "clientid": "",
                              "autoConnect": true,
                              "usetls": false,
                              "protocolVersion": "4",
                              "keepalive": "60",
                              "cleansession": true,
                              "birthTopic": "",
                              "birthQos": "0",
                              "birthPayload": "",
                              "birthMsg": {},
                              "closeTopic": "",
                              "closeQos": "0",
                              "closePayload": "",
                              "closeMsg": {},
                              "willTopic": "",
                              "willQos": "0",
                              "willPayload": "",
                              "willMsg": {},
                              "userProps": "",
                              "sessionExpiry": "",
                              "credentials": {}
                          }
                      ]
                      

                      Bildschirm­foto 2023-02-14 um 19.16.14.png Bildschirm­foto 2023-02-14 um 19.15.54.png Bildschirm­foto 2023-02-14 um 19.15.30.png Bildschirm­foto 2023-02-14 um 19.15.24.png

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        dadonali @dadonali last edited by

                        Nicht hübsch, aber fürs Erste praktikabel 🙂

                        Bildschirm­foto 2023-02-14 um 20.00.38.png

                        1 Reply Last reply Reply Quote 1
                        • D
                          djalexz @dadonali last edited by

                          @dadonali Echt nicht?
                          Kommt dann auch im Node-Red in der Debug Node nichts mehr an, wenn App und PC Software geschlossen sind?

                          Das verstehe ich einfach nicht.
                          Bei mir muss nur der Drucker an sein und gut ist.
                          Es rasen sekündlich Nachrichten durch die Debug Node.

                          D 1 Reply Last reply Reply Quote 0
                          • D
                            dadonali @djalexz last edited by

                            @djalexz Ich revidiere meine Aussage es kommen doch Daten rein 😄 habs gerade nochmal getestet ohne APP auf dem Macbook und auf dem Handy auf

                            D D 2 Replies Last reply Reply Quote 0
                            • D
                              djalexz @dadonali last edited by

                              @dadonali Perfekt.
                              Dann bleibt nur noch die Frage was es bei @DarkDevil für ein Problem gibt.

                              1 Reply Last reply Reply Quote 0
                              • D
                                DarkDevil @dadonali last edited by

                                @dadonali in der debug Node oder den datenpunkten?

                                D 1 Reply Last reply Reply Quote 0
                                • D
                                  dadonali @DarkDevil last edited by

                                  @darkdevil bei beidem, im Debug rasselt es durch und in den datenpunkten auch

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    djalexz last edited by djalexz

                                    Für alle zur Information:
                                    Laut einem anderen Forum ist es wohl so, dass der P1P nicht alle Daten sekündlich über MQTT schickt, wie der X1C es macht.
                                    Es gibt einen Request Befehl beim P1P:

                                    { “pushing”: { “sequence_id”: “1”, “command”: “pushall” }, “user_id”: “1234567890” }
                                    

                                    Hier zum Testen und zum Importieren in euer Node-Red:

                                    [
                                        {
                                            "id": "e4deb3c0f6038918",
                                            "type": "function",
                                            "z": "9582121ff81174a6",
                                            "name": "P1P Push",
                                            "func": "var P1P_Push = {\n    \"pushing\": {\n        \"sequence_id\": \"1\",\n        \"command\": \"pushall\"\n    },\n    \"user_id\": \"1234567890\"\n}\n\nmsg.payload=P1P_Push;\n\nreturn msg;",
                                            "outputs": 1,
                                            "noerr": 0,
                                            "initialize": "",
                                            "finalize": "",
                                            "libs": [],
                                            "x": 480,
                                            "y": 1040,
                                            "wires": [
                                                [
                                                    "e042764ca5dc4c86",
                                                    "da8e98a7bcfc4791"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "d719c311cd5fe8ec",
                                            "type": "inject",
                                            "z": "9582121ff81174a6",
                                            "name": "True",
                                            "props": [
                                                {
                                                    "p": "payload"
                                                },
                                                {
                                                    "p": "topic",
                                                    "vt": "str"
                                                }
                                            ],
                                            "repeat": "",
                                            "crontab": "",
                                            "once": false,
                                            "onceDelay": 0.1,
                                            "topic": "",
                                            "payload": "true",
                                            "payloadType": "bool",
                                            "x": 250,
                                            "y": 1040,
                                            "wires": [
                                                [
                                                    "e4deb3c0f6038918"
                                                ]
                                            ]
                                        },
                                        {
                                            "id": "e042764ca5dc4c86",
                                            "type": "debug",
                                            "z": "9582121ff81174a6",
                                            "name": "debug 10",
                                            "active": true,
                                            "tosidebar": true,
                                            "console": false,
                                            "tostatus": false,
                                            "complete": "false",
                                            "statusVal": "",
                                            "statusType": "auto",
                                            "x": 760,
                                            "y": 940,
                                            "wires": []
                                        },
                                        {
                                            "id": "da8e98a7bcfc4791",
                                            "type": "mqtt out",
                                            "z": "9582121ff81174a6",
                                            "name": "bambu-mqtt-out x1c",
                                            "topic": "device/DeineSeriennummer/request",
                                            "qos": "1",
                                            "retain": "false",
                                            "respTopic": "",
                                            "contentType": "",
                                            "userProps": "",
                                            "correl": "",
                                            "expiry": "",
                                            "broker": "84f61d394ba2ab34",
                                            "x": 760,
                                            "y": 1040,
                                            "wires": []
                                        },
                                        {
                                            "id": "84f61d394ba2ab34",
                                            "type": "mqtt-broker",
                                            "name": "Bambu X1C MQTT Bambu_X1C",
                                            "broker": "192.168.0.111",
                                            "port": "8883",
                                            "tls": "",
                                            "clientid": "",
                                            "autoConnect": true,
                                            "usetls": true,
                                            "protocolVersion": "4",
                                            "keepalive": "60",
                                            "cleansession": true,
                                            "birthTopic": "",
                                            "birthQos": "0",
                                            "birthPayload": "",
                                            "birthMsg": {},
                                            "closeTopic": "",
                                            "closeQos": "0",
                                            "closePayload": "",
                                            "closeMsg": {},
                                            "willTopic": "",
                                            "willQos": "0",
                                            "willPayload": "",
                                            "willMsg": {},
                                            "userProps": "",
                                            "sessionExpiry": "",
                                            "credentials": {}
                                        }
                                    ]
                                    

                                    Mit dem Klick auf die Inject Node sollte eine Anfrage an euren P1P gesendet werden.
                                    86afdb39-efe0-4b2e-8fe8-5c0e3237e657-image.png
                                    Dieser sollte dann mit Werten antworten.

                                    Ungetestet da kein P1P vorhanden.

                                    1 Reply Last reply Reply Quote 0
                                    • mickym
                                      mickym Most Active @kmxak last edited by mickym

                                      @kmxak sagte in Bambu lab 3d Drucker MQTT Integration:

                                      https://forum.iobroker.net/topic/61585/bambu-lab-3d-drucker-mqtt-integration/69

                                      Diese relativen Links kannst Du nicht verwenden - da je nach Sortierung im Thread ein ganz falscher Eintrag referenziert wird . Falls es um diesen Beitrag geht:

                                      c7556d83-1201-457b-84be-cc02dc4a703d-image.png

                                      diesen Link verwenden: https://forum.iobroker.net/post/946651

                                      1 Reply Last reply Reply Quote 0
                                      • B
                                        baeri last edited by

                                        Hallo zusammen,

                                        danke für die tolle Anleitung von @djalexz !!
                                        Damit hab ich es sogar geschafft, als absoluter NodeRed DAU den X1C-Status in den ioBroker zu bekommen.

                                        Ein "Problem" habe ich noch. Der Drucker wird bei mir immer als offline angezeigt. Hat jemand eine Idee, woran das liegen könnte?

                                        Ich habe auch mal einen Adapter-Request gemacht, vielleicht findet sich ja jemand, der das ganze in einen Adapter adaptieren kann (schöner Satz 😄 ) - vielleicht hilft ja ein Like von dem ein oder anderen, dass sich jemand findet: https://github.com/ioBroker/AdapterRequests/issues/829

                                        baeriwiliwonka created this issue in ioBroker/AdapterRequests

                                        closed BambuLab adapter #829

                                        Dutchman 1 Reply Last reply Reply Quote 0
                                        • D
                                          dadonali last edited by

                                          Mal eine Frage zu diesem Github Eintrag:

                                          https://github.com/greghesp/ha-bambulab

                                          Bildschirm­foto 2023-03-27 um 18.30.40.png

                                          Hat sich hier schon mal mit dem Thema Buttons beschäftigt? Wenn ich das richtig verstehe sollten zumindest Start, Pause und Cancel realisierbar sein? Das wäre natürlich nice wenn man zumindest den Druck übers VIS im iobroker abbrechen könnte ohne immer das scheiß Bambu Studio öffnen zu müssen.

                                          Allerdings finde ich nicht wirklich was in meinen Datenpunkten, welche mir NodeRed auswirft.

                                          D Dutchman 2 Replies Last reply Reply Quote 0
                                          • D
                                            djalexz last edited by djalexz

                                            Hallo zusammen,

                                            ich hab nochmal bisschen was gebastelt.
                                            Hiermit könnt ihr den Drucker steuern.
                                            Verwendung auf eigene Gefahr

                                            20659510-8484-4418-b2f8-ec9d704f4f7e-image.png

                                            Die MQTT Node muss entsprechend angepasst werden.

                                            [
                                                {
                                                    "id": "e4deb3c0f6038918",
                                                    "type": "function",
                                                    "z": "9582121ff81174a6",
                                                    "name": "Druck stoppen",
                                                    "func": "var P1P_Push = {\n    \"print\": {\n        \"sequence_id\": \"1\",\n        \"command\": \"stop\"\n    },\n    \"user_id\": \"1234567890\"\n}\n\nmsg.payload=P1P_Push;\n\nreturn msg;",
                                                    "outputs": 1,
                                                    "noerr": 0,
                                                    "initialize": "",
                                                    "finalize": "",
                                                    "libs": [],
                                                    "x": 460,
                                                    "y": 1000,
                                                    "wires": [
                                                        [
                                                            "896709af54cf95f3"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "d719c311cd5fe8ec",
                                                    "type": "inject",
                                                    "z": "9582121ff81174a6",
                                                    "name": "True",
                                                    "props": [
                                                        {
                                                            "p": "payload"
                                                        },
                                                        {
                                                            "p": "topic",
                                                            "vt": "str"
                                                        }
                                                    ],
                                                    "repeat": "",
                                                    "crontab": "",
                                                    "once": false,
                                                    "onceDelay": 0.1,
                                                    "topic": "",
                                                    "payload": "true",
                                                    "payloadType": "bool",
                                                    "x": 210,
                                                    "y": 1000,
                                                    "wires": [
                                                        [
                                                            "e4deb3c0f6038918"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "da8e98a7bcfc4791",
                                                    "type": "mqtt out",
                                                    "z": "9582121ff81174a6",
                                                    "name": "bambu-mqtt-out x1c",
                                                    "topic": "device/Deine-Seriennummer/request",
                                                    "qos": "1",
                                                    "retain": "false",
                                                    "respTopic": "",
                                                    "contentType": "",
                                                    "userProps": "",
                                                    "correl": "",
                                                    "expiry": "",
                                                    "broker": "84f61d394ba2ab34",
                                                    "x": 360,
                                                    "y": 1520,
                                                    "wires": []
                                                },
                                                {
                                                    "id": "c23cf05567e62a0d",
                                                    "type": "function",
                                                    "z": "9582121ff81174a6",
                                                    "name": "Druck pausieren",
                                                    "func": "var P1P_Push = {\n    \"print\": {\n        \"sequence_id\": \"1\",\n        \"command\": \"pause\"\n    },\n    \"user_id\": \"1234567890\"\n}\n\nmsg.payload=P1P_Push;\n\nreturn msg;",
                                                    "outputs": 1,
                                                    "noerr": 0,
                                                    "initialize": "",
                                                    "finalize": "",
                                                    "libs": [],
                                                    "x": 460,
                                                    "y": 1080,
                                                    "wires": [
                                                        [
                                                            "896709af54cf95f3"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "698ef4715c618988",
                                                    "type": "inject",
                                                    "z": "9582121ff81174a6",
                                                    "name": "True",
                                                    "props": [
                                                        {
                                                            "p": "payload"
                                                        },
                                                        {
                                                            "p": "topic",
                                                            "vt": "str"
                                                        }
                                                    ],
                                                    "repeat": "",
                                                    "crontab": "",
                                                    "once": false,
                                                    "onceDelay": 0.1,
                                                    "topic": "",
                                                    "payload": "true",
                                                    "payloadType": "bool",
                                                    "x": 210,
                                                    "y": 1080,
                                                    "wires": [
                                                        [
                                                            "c23cf05567e62a0d"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "da3ebb8e9395ace1",
                                                    "type": "function",
                                                    "z": "9582121ff81174a6",
                                                    "name": "Kammerlicht einschalten",
                                                    "func": "var P1P_Push = {\n    \"system\": {\n        \"sequence_id\": \"0\",\n        \"command\": \"ledctrl\",\n        \"led_node\": \"chamber_light\",\n        \"led_mode\": \"on\",\n        \"led_on_time\": 500,\n        \"led_off_time\": 500,\n        \"loop_times\": 0,\n        \"interval_time\": 0\n    }\n}\n\nmsg.payload=P1P_Push;\n\nreturn msg;",
                                                    "outputs": 1,
                                                    "noerr": 0,
                                                    "initialize": "",
                                                    "finalize": "",
                                                    "libs": [],
                                                    "x": 1150,
                                                    "y": 1000,
                                                    "wires": [
                                                        [
                                                            "1bde76ee31c86b7b"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "9d65a19652402ab5",
                                                    "type": "inject",
                                                    "z": "9582121ff81174a6",
                                                    "name": "True",
                                                    "props": [
                                                        {
                                                            "p": "payload"
                                                        },
                                                        {
                                                            "p": "topic",
                                                            "vt": "str"
                                                        }
                                                    ],
                                                    "repeat": "",
                                                    "crontab": "",
                                                    "once": false,
                                                    "onceDelay": 0.1,
                                                    "topic": "",
                                                    "payload": "true",
                                                    "payloadType": "bool",
                                                    "x": 870,
                                                    "y": 1000,
                                                    "wires": [
                                                        [
                                                            "da3ebb8e9395ace1"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "1f169dd6fc7f6387",
                                                    "type": "function",
                                                    "z": "9582121ff81174a6",
                                                    "name": "Kammerlicht ausschalten",
                                                    "func": "var P1P_Push = \n{\"system\": { \"sequence_id\": \"0\",\n    \"command\": \"ledctrl\",\n    \"led_node\": \"chamber_light\",\n    \"led_mode\": \"off\",\n    \"led_on_time\": 500,\n    \"led_off_time\": 500,\n    \"loop_times\": 0,\n    \"interval_time\": 0\n    }  }\n\n\nmsg.payload=P1P_Push;\n\nreturn msg;",
                                                    "outputs": 1,
                                                    "noerr": 0,
                                                    "initialize": "",
                                                    "finalize": "",
                                                    "libs": [],
                                                    "x": 1150,
                                                    "y": 1060,
                                                    "wires": [
                                                        [
                                                            "1bde76ee31c86b7b"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "02dfb1cf089be4e9",
                                                    "type": "inject",
                                                    "z": "9582121ff81174a6",
                                                    "name": "True",
                                                    "props": [
                                                        {
                                                            "p": "payload"
                                                        },
                                                        {
                                                            "p": "topic",
                                                            "vt": "str"
                                                        }
                                                    ],
                                                    "repeat": "",
                                                    "crontab": "",
                                                    "once": false,
                                                    "onceDelay": 0.1,
                                                    "topic": "",
                                                    "payload": "true",
                                                    "payloadType": "bool",
                                                    "x": 870,
                                                    "y": 1060,
                                                    "wires": [
                                                        [
                                                            "1f169dd6fc7f6387"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "6b016ea02facbdd4",
                                                    "type": "function",
                                                    "z": "9582121ff81174a6",
                                                    "name": "Druck fortsetzen",
                                                    "func": "var P1P_Push = {\n    \"print\": {\n        \"sequence_id\": \"1\",\n        \"command\": \"resume\"\n    },\n    \"user_id\": \"1234567890\"\n}\n\nmsg.payload=P1P_Push;\n\nreturn msg;",
                                                    "outputs": 1,
                                                    "noerr": 0,
                                                    "initialize": "",
                                                    "finalize": "",
                                                    "libs": [],
                                                    "x": 460,
                                                    "y": 1040,
                                                    "wires": [
                                                        [
                                                            "896709af54cf95f3"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "b1cee73a8525cbd6",
                                                    "type": "inject",
                                                    "z": "9582121ff81174a6",
                                                    "name": "True",
                                                    "props": [
                                                        {
                                                            "p": "payload"
                                                        },
                                                        {
                                                            "p": "topic",
                                                            "vt": "str"
                                                        }
                                                    ],
                                                    "repeat": "",
                                                    "crontab": "",
                                                    "once": false,
                                                    "onceDelay": 0.1,
                                                    "topic": "",
                                                    "payload": "true",
                                                    "payloadType": "bool",
                                                    "x": 210,
                                                    "y": 1040,
                                                    "wires": [
                                                        [
                                                            "6b016ea02facbdd4"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "4644dad9484e5ebd",
                                                    "type": "function",
                                                    "z": "9582121ff81174a6",
                                                    "name": "Geschwindigkeitsmodus",
                                                    "func": "var P1P_Push = { \"print\": \n{ \"sequence_id\": \"0\",\n \"command\": \"print_speed\",\n  \"param\": msg.payload } }\n\nmsg.payload=P1P_Push;\n\nreturn msg;",
                                                    "outputs": 1,
                                                    "noerr": 0,
                                                    "initialize": "",
                                                    "finalize": "",
                                                    "libs": [],
                                                    "x": 490,
                                                    "y": 1200,
                                                    "wires": [
                                                        [
                                                            "896709af54cf95f3"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "6f7b98709d756f1f",
                                                    "type": "inject",
                                                    "z": "9582121ff81174a6",
                                                    "name": "Leise",
                                                    "props": [
                                                        {
                                                            "p": "payload"
                                                        }
                                                    ],
                                                    "repeat": "",
                                                    "crontab": "",
                                                    "once": false,
                                                    "onceDelay": 0.1,
                                                    "topic": "",
                                                    "payload": "1",
                                                    "payloadType": "str",
                                                    "x": 210,
                                                    "y": 1140,
                                                    "wires": [
                                                        [
                                                            "4644dad9484e5ebd"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "5f530bccf798a5a0",
                                                    "type": "function",
                                                    "z": "9582121ff81174a6",
                                                    "name": "Homing",
                                                    "func": "var P1P_Push = {\n    \"print\": {\n        \"command\": \"gcode_line\",\n        \"param\": \"G28 \\n\",\n        \"reason\": \"SUCCESS\",\n        \"result\": \"SUCCESS\",\n        \"sequence_id\": \"20086\",\n        \"user_id\": \"1767420324\"\n    }\n}\n\nmsg.payload=P1P_Push;\n\nreturn msg;",
                                                    "outputs": 1,
                                                    "noerr": 0,
                                                    "initialize": "",
                                                    "finalize": "",
                                                    "libs": [],
                                                    "x": 440,
                                                    "y": 1340,
                                                    "wires": [
                                                        [
                                                            "896709af54cf95f3"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "170ca7b1e2747db8",
                                                    "type": "inject",
                                                    "z": "9582121ff81174a6",
                                                    "name": "True",
                                                    "props": [
                                                        {
                                                            "p": "payload"
                                                        },
                                                        {
                                                            "p": "topic",
                                                            "vt": "str"
                                                        }
                                                    ],
                                                    "repeat": "",
                                                    "crontab": "",
                                                    "once": false,
                                                    "onceDelay": 0.1,
                                                    "topic": "",
                                                    "payload": "true",
                                                    "payloadType": "bool",
                                                    "x": 210,
                                                    "y": 1340,
                                                    "wires": [
                                                        [
                                                            "5f530bccf798a5a0"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "70adf86313f86654",
                                                    "type": "function",
                                                    "z": "9582121ff81174a6",
                                                    "name": "x10 (Druckkopf nach rechts)",
                                                    "func": "var P1P_Push = {\n    \"print\": {\n        \"command\": \"gcode_line\",\n        \"param\": \"M211 S \\nM211 X1 Y1 Z1\\nM1002 push_ref_mode\\nG91 \\nG1 X10,0 F3000\\nM1002 pop_ref_mode\\nM211 R\\n\",\n        \"reason\": \"SUCCESS\",\n        \"result\": \"SUCCESS\",\n        \"sequence_id\": \"20014\",\n        \"user_id\": \"1767420324\"\n    }\n}\n\nmsg.payload=P1P_Push;\n\nreturn msg;",
                                                    "outputs": 1,
                                                    "noerr": 0,
                                                    "initialize": "",
                                                    "finalize": "",
                                                    "libs": [],
                                                    "x": 1160,
                                                    "y": 1160,
                                                    "wires": [
                                                        [
                                                            "f0a3aa20cb7b1ec7"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "015cd820c30ac3c1",
                                                    "type": "inject",
                                                    "z": "9582121ff81174a6",
                                                    "name": "True",
                                                    "props": [
                                                        {
                                                            "p": "payload"
                                                        },
                                                        {
                                                            "p": "topic",
                                                            "vt": "str"
                                                        }
                                                    ],
                                                    "repeat": "",
                                                    "crontab": "",
                                                    "once": false,
                                                    "onceDelay": 0.1,
                                                    "topic": "",
                                                    "payload": "true",
                                                    "payloadType": "bool",
                                                    "x": 870,
                                                    "y": 1160,
                                                    "wires": [
                                                        [
                                                            "70adf86313f86654"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "3c2d33e74b34ba3a",
                                                    "type": "function",
                                                    "z": "9582121ff81174a6",
                                                    "name": "x-10 (Druckkopf nach links)",
                                                    "func": "var P1P_Push = {\n    \"print\": {\n        \"command\": \"gcode_line\",\n        \"param\": \"M211 S \\nM211 X1 Y1 Z1\\nM1002 push_ref_mode\\nG91 \\nG1 X-10,0 F3000\\nM1002 pop_ref_mode\\nM211 R\\n\",\n        \"reason\": \"SUCCESS\",\n        \"result\": \"SUCCESS\",\n        \"sequence_id\": \"20014\",\n        \"user_id\": \"1767420324\"\n    }\n}\n\nmsg.payload=P1P_Push;\n\nreturn msg;",
                                                    "outputs": 1,
                                                    "noerr": 0,
                                                    "initialize": "",
                                                    "finalize": "",
                                                    "libs": [],
                                                    "x": 1160,
                                                    "y": 1220,
                                                    "wires": [
                                                        [
                                                            "f0a3aa20cb7b1ec7"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "0741e0b4170ed242",
                                                    "type": "inject",
                                                    "z": "9582121ff81174a6",
                                                    "name": "True",
                                                    "props": [
                                                        {
                                                            "p": "payload"
                                                        },
                                                        {
                                                            "p": "topic",
                                                            "vt": "str"
                                                        }
                                                    ],
                                                    "repeat": "",
                                                    "crontab": "",
                                                    "once": false,
                                                    "onceDelay": 0.1,
                                                    "topic": "",
                                                    "payload": "true",
                                                    "payloadType": "bool",
                                                    "x": 870,
                                                    "y": 1220,
                                                    "wires": [
                                                        [
                                                            "3c2d33e74b34ba3a"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "4896f4921f935873",
                                                    "type": "function",
                                                    "z": "9582121ff81174a6",
                                                    "name": "y10 (Druckkopf nach hinten)",
                                                    "func": "var P1P_Push = {\n    \"print\": {\n        \"command\": \"gcode_line\",\n        \"param\": \"M211 S \\nM211 X1 Y1 Z1\\nM1002 push_ref_mode\\nG91 \\nG1 Y10,0 F3000\\nM1002 pop_ref_mode\\nM211 R\\n\",\n        \"reason\": \"SUCCESS\",\n        \"result\": \"SUCCESS\",\n        \"sequence_id\": \"20014\",\n        \"user_id\": \"1767420324\"\n    }\n}\n\nmsg.payload=P1P_Push;\n\nreturn msg;",
                                                    "outputs": 1,
                                                    "noerr": 0,
                                                    "initialize": "",
                                                    "finalize": "",
                                                    "libs": [],
                                                    "x": 1160,
                                                    "y": 1320,
                                                    "wires": [
                                                        [
                                                            "f0a3aa20cb7b1ec7"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "e0894718eaf714d6",
                                                    "type": "inject",
                                                    "z": "9582121ff81174a6",
                                                    "name": "True",
                                                    "props": [
                                                        {
                                                            "p": "payload"
                                                        },
                                                        {
                                                            "p": "topic",
                                                            "vt": "str"
                                                        }
                                                    ],
                                                    "repeat": "",
                                                    "crontab": "",
                                                    "once": false,
                                                    "onceDelay": 0.1,
                                                    "topic": "",
                                                    "payload": "true",
                                                    "payloadType": "bool",
                                                    "x": 870,
                                                    "y": 1320,
                                                    "wires": [
                                                        [
                                                            "4896f4921f935873"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "8d19b57b1b50a939",
                                                    "type": "function",
                                                    "z": "9582121ff81174a6",
                                                    "name": "y-10 (Druckkopf nach vorne)",
                                                    "func": "var P1P_Push = {\n    \"print\": {\n        \"command\": \"gcode_line\",\n        \"param\": \"M211 S \\nM211 X1 Y1 Z1\\nM1002 push_ref_mode\\nG91 \\nG1 Y-10,0 F3000\\nM1002 pop_ref_mode\\nM211 R\\n\",\n        \"reason\": \"SUCCESS\",\n        \"result\": \"SUCCESS\",\n        \"sequence_id\": \"20014\",\n        \"user_id\": \"1767420324\"\n    }\n}\n\nmsg.payload=P1P_Push;\n\nreturn msg;",
                                                    "outputs": 1,
                                                    "noerr": 0,
                                                    "initialize": "",
                                                    "finalize": "",
                                                    "libs": [],
                                                    "x": 1160,
                                                    "y": 1380,
                                                    "wires": [
                                                        [
                                                            "f0a3aa20cb7b1ec7"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "ec7ef6667698c77b",
                                                    "type": "inject",
                                                    "z": "9582121ff81174a6",
                                                    "name": "True",
                                                    "props": [
                                                        {
                                                            "p": "payload"
                                                        },
                                                        {
                                                            "p": "topic",
                                                            "vt": "str"
                                                        }
                                                    ],
                                                    "repeat": "",
                                                    "crontab": "",
                                                    "once": false,
                                                    "onceDelay": 0.1,
                                                    "topic": "",
                                                    "payload": "true",
                                                    "payloadType": "bool",
                                                    "x": 870,
                                                    "y": 1380,
                                                    "wires": [
                                                        [
                                                            "8d19b57b1b50a939"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "5666441b74594399",
                                                    "type": "function",
                                                    "z": "9582121ff81174a6",
                                                    "name": "z10 (Druckbett nach unten)",
                                                    "func": "var P1P_Push = {\n    \"print\": {\n        \"command\": \"gcode_line\",\n        \"param\": \"M211 S \\nM211 X1 Y1 Z1\\nM1002 push_ref_mode\\nG91 \\nG1 Z10,0 F3000\\nM1002 pop_ref_mode\\nM211 R\\n\",\n        \"reason\": \"SUCCESS\",\n        \"result\": \"SUCCESS\",\n        \"sequence_id\": \"20014\",\n        \"user_id\": \"1767420324\"\n    }\n}\n\nmsg.payload=P1P_Push;\n\nreturn msg;",
                                                    "outputs": 1,
                                                    "noerr": 0,
                                                    "initialize": "",
                                                    "finalize": "",
                                                    "libs": [],
                                                    "x": 1160,
                                                    "y": 1480,
                                                    "wires": [
                                                        [
                                                            "f0a3aa20cb7b1ec7"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "19077e4a51bf2443",
                                                    "type": "inject",
                                                    "z": "9582121ff81174a6",
                                                    "name": "True",
                                                    "props": [
                                                        {
                                                            "p": "payload"
                                                        },
                                                        {
                                                            "p": "topic",
                                                            "vt": "str"
                                                        }
                                                    ],
                                                    "repeat": "",
                                                    "crontab": "",
                                                    "once": false,
                                                    "onceDelay": 0.1,
                                                    "topic": "",
                                                    "payload": "true",
                                                    "payloadType": "bool",
                                                    "x": 870,
                                                    "y": 1480,
                                                    "wires": [
                                                        [
                                                            "5666441b74594399"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "2e3395031ac16968",
                                                    "type": "function",
                                                    "z": "9582121ff81174a6",
                                                    "name": "z-10 z10 (Druckbett nach oben)",
                                                    "func": "var P1P_Push = {\n    \"print\": {\n        \"command\": \"gcode_line\",\n        \"param\": \"M211 S \\nM211 X1 Y1 Z1\\nM1002 push_ref_mode\\nG91 \\nG1 Z-10,0 F3000\\nM1002 pop_ref_mode\\nM211 R\\n\",\n        \"reason\": \"SUCCESS\",\n        \"result\": \"SUCCESS\",\n        \"sequence_id\": \"20014\",\n        \"user_id\": \"1767420324\"\n    }\n}\n\nmsg.payload=P1P_Push;\n\nreturn msg;",
                                                    "outputs": 1,
                                                    "noerr": 0,
                                                    "initialize": "",
                                                    "finalize": "",
                                                    "libs": [],
                                                    "x": 1170,
                                                    "y": 1540,
                                                    "wires": [
                                                        [
                                                            "f0a3aa20cb7b1ec7"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "68696ed4c9c24eef",
                                                    "type": "inject",
                                                    "z": "9582121ff81174a6",
                                                    "name": "True",
                                                    "props": [
                                                        {
                                                            "p": "payload"
                                                        },
                                                        {
                                                            "p": "topic",
                                                            "vt": "str"
                                                        }
                                                    ],
                                                    "repeat": "",
                                                    "crontab": "",
                                                    "once": false,
                                                    "onceDelay": 0.1,
                                                    "topic": "",
                                                    "payload": "true",
                                                    "payloadType": "bool",
                                                    "x": 870,
                                                    "y": 1540,
                                                    "wires": [
                                                        [
                                                            "2e3395031ac16968"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "22d040578162e373",
                                                    "type": "inject",
                                                    "z": "9582121ff81174a6",
                                                    "name": "Standard",
                                                    "props": [
                                                        {
                                                            "p": "payload"
                                                        }
                                                    ],
                                                    "repeat": "",
                                                    "crontab": "",
                                                    "once": false,
                                                    "onceDelay": 0.1,
                                                    "topic": "",
                                                    "payload": "2",
                                                    "payloadType": "str",
                                                    "x": 220,
                                                    "y": 1180,
                                                    "wires": [
                                                        [
                                                            "4644dad9484e5ebd"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "6143cca7c358a854",
                                                    "type": "inject",
                                                    "z": "9582121ff81174a6",
                                                    "name": "Sport",
                                                    "props": [
                                                        {
                                                            "p": "payload"
                                                        }
                                                    ],
                                                    "repeat": "",
                                                    "crontab": "",
                                                    "once": false,
                                                    "onceDelay": 0.1,
                                                    "topic": "",
                                                    "payload": "3",
                                                    "payloadType": "str",
                                                    "x": 210,
                                                    "y": 1220,
                                                    "wires": [
                                                        [
                                                            "4644dad9484e5ebd"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "e8e4bbd46511a0ea",
                                                    "type": "inject",
                                                    "z": "9582121ff81174a6",
                                                    "name": "Verrückt",
                                                    "props": [
                                                        {
                                                            "p": "payload"
                                                        }
                                                    ],
                                                    "repeat": "",
                                                    "crontab": "",
                                                    "once": false,
                                                    "onceDelay": 0.1,
                                                    "topic": "",
                                                    "payload": "4",
                                                    "payloadType": "str",
                                                    "x": 220,
                                                    "y": 1260,
                                                    "wires": [
                                                        [
                                                            "4644dad9484e5ebd"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "896709af54cf95f3",
                                                    "type": "link out",
                                                    "z": "9582121ff81174a6",
                                                    "name": "link out 1",
                                                    "mode": "link",
                                                    "links": [
                                                        "d7996921de135b61"
                                                    ],
                                                    "x": 685,
                                                    "y": 1100,
                                                    "wires": []
                                                },
                                                {
                                                    "id": "f0a3aa20cb7b1ec7",
                                                    "type": "link out",
                                                    "z": "9582121ff81174a6",
                                                    "name": "link out 2",
                                                    "mode": "link",
                                                    "links": [
                                                        "d7996921de135b61"
                                                    ],
                                                    "x": 1365,
                                                    "y": 1380,
                                                    "wires": []
                                                },
                                                {
                                                    "id": "d7996921de135b61",
                                                    "type": "link in",
                                                    "z": "9582121ff81174a6",
                                                    "name": "link in 1",
                                                    "links": [
                                                        "f0a3aa20cb7b1ec7",
                                                        "896709af54cf95f3",
                                                        "1bde76ee31c86b7b",
                                                        "d1dbc9388bfe6774"
                                                    ],
                                                    "x": 175,
                                                    "y": 1520,
                                                    "wires": [
                                                        [
                                                            "da8e98a7bcfc4791"
                                                        ]
                                                    ]
                                                },
                                                {
                                                    "id": "1bde76ee31c86b7b",
                                                    "type": "link out",
                                                    "z": "9582121ff81174a6",
                                                    "name": "link out 3",
                                                    "mode": "link",
                                                    "links": [
                                                        "d7996921de135b61"
                                                    ],
                                                    "x": 1335,
                                                    "y": 1080,
                                                    "wires": []
                                                },
                                                {
                                                    "id": "84f61d394ba2ab34",
                                                    "type": "mqtt-broker",
                                                    "name": "Bambu X1C MQTT Bambu_X1C",
                                                    "broker": "IP-Deines-Druckers",
                                                    "port": "8883",
                                                    "tls": "",
                                                    "clientid": "",
                                                    "autoConnect": true,
                                                    "usetls": true,
                                                    "protocolVersion": "4",
                                                    "keepalive": "60",
                                                    "cleansession": true,
                                                    "birthTopic": "",
                                                    "birthQos": "0",
                                                    "birthPayload": "",
                                                    "birthMsg": {},
                                                    "closeTopic": "",
                                                    "closeQos": "0",
                                                    "closePayload": "",
                                                    "closeMsg": {},
                                                    "willTopic": "",
                                                    "willQos": "0",
                                                    "willPayload": "",
                                                    "willMsg": {},
                                                    "userProps": "",
                                                    "sessionExpiry": ""
                                                }
                                            ]
                                            


                                            Das ist natürlich nur ein Beispiel-Flow wie es gehen kann.
                                            Es geht ja hauptsächlich um die Befehle.
                                            Damit könnt ihr dann weiterbasteln 🙂

                                            LG Alex

                                            D 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            494
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            9
                                            121
                                            17552
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo