Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [gelöst] HM-RPC bringt Fehler und pumpt den Duty cycle voll

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    1.7k

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    10
    1
    711

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    1.2k

[gelöst] HM-RPC bringt Fehler und pumpt den Duty cycle voll

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
11 Beiträge 3 Kommentatoren 845 Aufrufe 2 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • R Offline
    R Offline
    Renegade 0
    schrieb am zuletzt editiert von Renegade 0
    #1

    Moin,

    habe ein Problem. Habe einen Homematic IP Schalter eingerichtet, dass dieser ein node-Red Script ausführt, welches dann eine Homematic IP Steckdose schaltet.
    Dies funktioniert soweit auch, nur schreibt der HM-RPC dann folgenden Fehler:

    hm-rpc.0 2022-11-11 09:18:26.185 error xmlrpc -> setValue ["0034DF2991CE15:3","STATE",true] BOOL
    hm-rpc.0 2022-11-11 09:18:26.142 error Cannot call setValue: Unexpected endLine: 0Column: 0Char:

    Das Problem ist dies läuft dann endlos durch, bis ich den Adapter oder die CCU neu starte.
    Woran kann das liegen?

    mfG

    CodierknechtC 1 Antwort Letzte Antwort
    0
    • R Renegade 0

      Moin,

      habe ein Problem. Habe einen Homematic IP Schalter eingerichtet, dass dieser ein node-Red Script ausführt, welches dann eine Homematic IP Steckdose schaltet.
      Dies funktioniert soweit auch, nur schreibt der HM-RPC dann folgenden Fehler:

      hm-rpc.0 2022-11-11 09:18:26.185 error xmlrpc -> setValue ["0034DF2991CE15:3","STATE",true] BOOL
      hm-rpc.0 2022-11-11 09:18:26.142 error Cannot call setValue: Unexpected endLine: 0Column: 0Char:

      Das Problem ist dies läuft dann endlos durch, bis ich den Adapter oder die CCU neu starte.
      Woran kann das liegen?

      mfG

      CodierknechtC Offline
      CodierknechtC Offline
      Codierknecht
      Developer Most Active
      schrieb am zuletzt editiert von
      #2

      @renegade-0
      Bist Du sicher dass "HM-RPC" hier den Fehler verursacht und nicht das Script?
      Das Script auch zu zeigen wäre hilfreich. Dann könnte es sein, dass der Post in eine andere Kategorie gehört.

      "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

      Proxmox 9.1.1 LXC|8 GB|Core i7-6700
      HmIP|ZigBee|Tasmota|Unifi
      Zabbix Certified Specialist
      Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

      R 1 Antwort Letzte Antwort
      0
      • CodierknechtC Codierknecht

        @renegade-0
        Bist Du sicher dass "HM-RPC" hier den Fehler verursacht und nicht das Script?
        Das Script auch zu zeigen wäre hilfreich. Dann könnte es sein, dass der Post in eine andere Kategorie gehört.

        R Offline
        R Offline
        Renegade 0
        schrieb am zuletzt editiert von Renegade 0
        #3

        @codierknecht

        ein gutes Argument ;)

        [
            {
                "id": "7405dde45b8a1baf",
                "type": "tab",
                "label": "shutdown-Windows",
                "disabled": false,
                "info": "",
                "env": []
            },
            {
                "id": "1f0e7cfb8ccfd9a8",
                "type": "ping",
                "z": "7405dde45b8a1baf",
                "protocol": "IPv4",
                "mode": "triggered",
                "name": "PC-Buero",
                "host": "",
                "timer": "20",
                "inputs": 1,
                "x": 960,
                "y": 200,
                "wires": [
                    [
                        "dcb2753b0a38f02d"
                    ]
                ]
            },
            {
                "id": "fda15bb4a1a5d1d3",
                "type": "ioBroker in",
                "z": "7405dde45b8a1baf",
                "name": "pc_state",
                "topic": "0_userdata.0.shutdown.windows.pc_state",
                "payloadType": "value",
                "onlyack": "",
                "func": "all",
                "gap": "",
                "fireOnStart": "false",
                "outFormat": "MQTT",
                "x": 120,
                "y": 120,
                "wires": [
                    [
                        "5faa03897caa5247"
                    ]
                ]
            },
            {
                "id": "dcb2753b0a38f02d",
                "type": "switch",
                "z": "7405dde45b8a1baf",
                "name": "is-pc-on",
                "property": "payload",
                "propertyType": "msg",
                "rules": [
                    {
                        "t": "false"
                    },
                    {
                        "t": "nnull"
                    }
                ],
                "checkall": "false",
                "repair": false,
                "outputs": 2,
                "x": 1140,
                "y": 200,
                "wires": [
                    [
                        "04d376ce62f36aea"
                    ],
                    [
                        "353cdefa1a183806"
                    ]
                ]
            },
            {
                "id": "353cdefa1a183806",
                "type": "change",
                "z": "7405dde45b8a1baf",
                "name": "yes",
                "rules": [
                    {
                        "t": "set",
                        "p": "payload",
                        "pt": "msg",
                        "to": "true",
                        "tot": "bool"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 1290,
                "y": 340,
                "wires": [
                    [
                        "4edb96add39a3c2a"
                    ]
                ]
            },
            {
                "id": "8e2f12ed7439c505",
                "type": "ioBroker out",
                "z": "7405dde45b8a1baf",
                "name": "pc-off",
                "topic": "hm-rpc.0.0034DF2991CE15.3.STATE",
                "ack": "false",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 1610,
                "y": 140,
                "wires": []
            },
            {
                "id": "b21688fd381ea941",
                "type": "delay",
                "z": "7405dde45b8a1baf",
                "name": "delay",
                "pauseType": "delay",
                "timeout": "10",
                "timeoutUnits": "seconds",
                "rate": "1",
                "nbRateUnits": "1",
                "rateUnits": "second",
                "randomFirst": "1",
                "randomLast": "5",
                "randomUnits": "seconds",
                "drop": false,
                "allowrate": false,
                "outputs": 1,
                "x": 1450,
                "y": 140,
                "wires": [
                    [
                        "8e2f12ed7439c505"
                    ]
                ]
            },
            {
                "id": "04d376ce62f36aea",
                "type": "change",
                "z": "7405dde45b8a1baf",
                "name": "no",
                "rules": [
                    {
                        "t": "set",
                        "p": "payload",
                        "pt": "msg",
                        "to": "false",
                        "tot": "bool"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 1290,
                "y": 140,
                "wires": [
                    [
                        "b21688fd381ea941"
                    ]
                ]
            },
            {
                "id": "5faa03897caa5247",
                "type": "switch",
                "z": "7405dde45b8a1baf",
                "name": "on-off",
                "property": "payload",
                "propertyType": "msg",
                "rules": [
                    {
                        "t": "true"
                    },
                    {
                        "t": "false"
                    }
                ],
                "checkall": "true",
                "repair": false,
                "outputs": 2,
                "x": 270,
                "y": 120,
                "wires": [
                    [
                        "3b5e80eb69d52b52",
                        "0c411ad641d64975"
                    ],
                    [
                        "9b8a6a01ec5fda3f"
                    ]
                ]
            },
            {
                "id": "3b5e80eb69d52b52",
                "type": "ioBroker out",
                "z": "7405dde45b8a1baf",
                "name": "pc-on",
                "topic": "hm-rpc.0.0034DF2991CE15.3.STATE",
                "ack": "false",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 1610,
                "y": 80,
                "wires": []
            },
            {
                "id": "86c938764ad86d76",
                "type": "exec",
                "z": "7405dde45b8a1baf",
                "command": "net rpc shutdown -f -C \"Der Rechner wird neu gestartet\" -I ",
                "addpay": "ip",
                "append": " -U Eisenfelden66/root%Riddick03",
                "useSpawn": "false",
                "timer": "",
                "winHide": false,
                "oldrc": false,
                "name": "shutdown",
                "x": 1280,
                "y": 440,
                "wires": [
                    [],
                    [
                        "9791ef665c9d9b2c"
                    ],
                    [
                        "be37520033410705"
                    ]
                ]
            },
            {
                "id": "9791ef665c9d9b2c",
                "type": "debug",
                "z": "7405dde45b8a1baf",
                "name": "err",
                "active": true,
                "tosidebar": true,
                "console": false,
                "tostatus": false,
                "complete": "payload",
                "targetType": "msg",
                "statusVal": "",
                "statusType": "auto",
                "x": 1790,
                "y": 420,
                "wires": []
            },
            {
                "id": "f566a55d1e8155c8",
                "type": "switch",
                "z": "7405dde45b8a1baf",
                "name": "",
                "property": "payload",
                "propertyType": "msg",
                "rules": [
                    {
                        "t": "neq",
                        "v": "0",
                        "vt": "num"
                    },
                    {
                        "t": "eq",
                        "v": "0",
                        "vt": "num"
                    }
                ],
                "checkall": "false",
                "repair": false,
                "outputs": 2,
                "x": 1450,
                "y": 520,
                "wires": [
                    [
                        "9871aa51e057573f"
                    ],
                    [
                        "6e8918e7057c6f1b"
                    ]
                ]
            },
            {
                "id": "be37520033410705",
                "type": "split",
                "z": "7405dde45b8a1baf",
                "name": "",
                "splt": "\\n",
                "spltType": "str",
                "arraySplt": 1,
                "arraySpltType": "len",
                "stream": false,
                "addname": "",
                "x": 1130,
                "y": 520,
                "wires": [
                    [
                        "db6db1049870597e"
                    ]
                ]
            },
            {
                "id": "0f9fde6441dd16ac",
                "type": "delay",
                "z": "7405dde45b8a1baf",
                "name": "delay",
                "pauseType": "delay",
                "timeout": "30",
                "timeoutUnits": "seconds",
                "rate": "1",
                "nbRateUnits": "1",
                "rateUnits": "second",
                "randomFirst": "1",
                "randomLast": "5",
                "randomUnits": "seconds",
                "drop": false,
                "allowrate": false,
                "outputs": 1,
                "x": 310,
                "y": 260,
                "wires": [
                    [
                        "7be17cedad88fe38"
                    ]
                ]
            },
            {
                "id": "6e8918e7057c6f1b",
                "type": "change",
                "z": "7405dde45b8a1baf",
                "name": "shutdown OK",
                "rules": [
                    {
                        "t": "set",
                        "p": "payload",
                        "pt": "msg",
                        "to": "true",
                        "tot": "bool"
                    },
                    {
                        "t": "set",
                        "p": "execute",
                        "pt": "msg",
                        "to": "true",
                        "tot": "bool"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 120,
                "y": 580,
                "wires": [
                    [
                        "0f9fde6441dd16ac",
                        "4c9a73c251e333e8"
                    ]
                ]
            },
            {
                "id": "9871aa51e057573f",
                "type": "change",
                "z": "7405dde45b8a1baf",
                "name": "shutdown fail",
                "rules": [
                    {
                        "t": "set",
                        "p": "payload",
                        "pt": "msg",
                        "to": "false",
                        "tot": "bool"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 1610,
                "y": 480,
                "wires": [
                    [
                        "9791ef665c9d9b2c"
                    ]
                ]
            },
            {
                "id": "db6db1049870597e",
                "type": "switch",
                "z": "7405dde45b8a1baf",
                "name": "",
                "property": "payload",
                "propertyType": "msg",
                "rules": [
                    {
                        "t": "istype",
                        "v": "number",
                        "vt": "number"
                    }
                ],
                "checkall": "true",
                "repair": false,
                "outputs": 1,
                "x": 1290,
                "y": 520,
                "wires": [
                    [
                        "f566a55d1e8155c8"
                    ]
                ]
            },
            {
                "id": "4edb96add39a3c2a",
                "type": "switch",
                "z": "7405dde45b8a1baf",
                "name": "executed",
                "property": "execute",
                "propertyType": "msg",
                "rules": [
                    {
                        "t": "true"
                    },
                    {
                        "t": "false"
                    }
                ],
                "checkall": "false",
                "repair": false,
                "outputs": 2,
                "x": 1460,
                "y": 340,
                "wires": [
                    [
                        "0f9fde6441dd16ac"
                    ],
                    [
                        "86c938764ad86d76"
                    ]
                ]
            },
            {
                "id": "9b8a6a01ec5fda3f",
                "type": "change",
                "z": "7405dde45b8a1baf",
                "name": "execute",
                "rules": [
                    {
                        "t": "set",
                        "p": "execute",
                        "pt": "msg",
                        "to": "false",
                        "tot": "bool"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 440,
                "y": 140,
                "wires": [
                    [
                        "7be17cedad88fe38"
                    ]
                ]
            },
            {
                "id": "4c9a73c251e333e8",
                "type": "debug",
                "z": "7405dde45b8a1baf",
                "name": "shutdown",
                "active": true,
                "tosidebar": true,
                "console": false,
                "tostatus": false,
                "complete": "payload",
                "targetType": "msg",
                "statusVal": "",
                "statusType": "auto",
                "x": 320,
                "y": 580,
                "wires": []
            },
            {
                "id": "7be17cedad88fe38",
                "type": "ioBroker get",
                "z": "7405dde45b8a1baf",
                "name": "ip_adress",
                "topic": "0_userdata.0.shutdown.windows.ip_adress",
                "attrname": "payload",
                "payloadType": "value",
                "errOnInvalidState": "nothing",
                "x": 620,
                "y": 200,
                "wires": [
                    [
                        "a2b1edef2bb209f9"
                    ]
                ]
            },
            {
                "id": "0c411ad641d64975",
                "type": "ioBroker out",
                "z": "7405dde45b8a1baf",
                "name": "pc_state",
                "topic": "0_userdata.0.shutdown.windows.pc_state",
                "ack": "false",
                "autoCreate": "false",
                "stateName": "",
                "role": "",
                "payloadType": "",
                "readonly": "",
                "stateUnit": "",
                "stateMin": "",
                "stateMax": "",
                "x": 460,
                "y": 40,
                "wires": []
            },
            {
                "id": "a2b1edef2bb209f9",
                "type": "change",
                "z": "7405dde45b8a1baf",
                "name": "ip",
                "rules": [
                    {
                        "t": "set",
                        "p": "ip",
                        "pt": "msg",
                        "to": "payload",
                        "tot": "msg"
                    }
                ],
                "action": "",
                "property": "",
                "from": "",
                "to": "",
                "reg": false,
                "x": 790,
                "y": 200,
                "wires": [
                    [
                        "1f0e7cfb8ccfd9a8"
                    ]
                ]
            }
        ]
        

        Wobei laut Protokoll ja der rpc einen Fehler beim schreiben auswirft.

        CodierknechtC HomoranH 2 Antworten Letzte Antwort
        0
        • R Renegade 0

          @codierknecht

          ein gutes Argument ;)

          [
              {
                  "id": "7405dde45b8a1baf",
                  "type": "tab",
                  "label": "shutdown-Windows",
                  "disabled": false,
                  "info": "",
                  "env": []
              },
              {
                  "id": "1f0e7cfb8ccfd9a8",
                  "type": "ping",
                  "z": "7405dde45b8a1baf",
                  "protocol": "IPv4",
                  "mode": "triggered",
                  "name": "PC-Buero",
                  "host": "",
                  "timer": "20",
                  "inputs": 1,
                  "x": 960,
                  "y": 200,
                  "wires": [
                      [
                          "dcb2753b0a38f02d"
                      ]
                  ]
              },
              {
                  "id": "fda15bb4a1a5d1d3",
                  "type": "ioBroker in",
                  "z": "7405dde45b8a1baf",
                  "name": "pc_state",
                  "topic": "0_userdata.0.shutdown.windows.pc_state",
                  "payloadType": "value",
                  "onlyack": "",
                  "func": "all",
                  "gap": "",
                  "fireOnStart": "false",
                  "outFormat": "MQTT",
                  "x": 120,
                  "y": 120,
                  "wires": [
                      [
                          "5faa03897caa5247"
                      ]
                  ]
              },
              {
                  "id": "dcb2753b0a38f02d",
                  "type": "switch",
                  "z": "7405dde45b8a1baf",
                  "name": "is-pc-on",
                  "property": "payload",
                  "propertyType": "msg",
                  "rules": [
                      {
                          "t": "false"
                      },
                      {
                          "t": "nnull"
                      }
                  ],
                  "checkall": "false",
                  "repair": false,
                  "outputs": 2,
                  "x": 1140,
                  "y": 200,
                  "wires": [
                      [
                          "04d376ce62f36aea"
                      ],
                      [
                          "353cdefa1a183806"
                      ]
                  ]
              },
              {
                  "id": "353cdefa1a183806",
                  "type": "change",
                  "z": "7405dde45b8a1baf",
                  "name": "yes",
                  "rules": [
                      {
                          "t": "set",
                          "p": "payload",
                          "pt": "msg",
                          "to": "true",
                          "tot": "bool"
                      }
                  ],
                  "action": "",
                  "property": "",
                  "from": "",
                  "to": "",
                  "reg": false,
                  "x": 1290,
                  "y": 340,
                  "wires": [
                      [
                          "4edb96add39a3c2a"
                      ]
                  ]
              },
              {
                  "id": "8e2f12ed7439c505",
                  "type": "ioBroker out",
                  "z": "7405dde45b8a1baf",
                  "name": "pc-off",
                  "topic": "hm-rpc.0.0034DF2991CE15.3.STATE",
                  "ack": "false",
                  "autoCreate": "false",
                  "stateName": "",
                  "role": "",
                  "payloadType": "",
                  "readonly": "",
                  "stateUnit": "",
                  "stateMin": "",
                  "stateMax": "",
                  "x": 1610,
                  "y": 140,
                  "wires": []
              },
              {
                  "id": "b21688fd381ea941",
                  "type": "delay",
                  "z": "7405dde45b8a1baf",
                  "name": "delay",
                  "pauseType": "delay",
                  "timeout": "10",
                  "timeoutUnits": "seconds",
                  "rate": "1",
                  "nbRateUnits": "1",
                  "rateUnits": "second",
                  "randomFirst": "1",
                  "randomLast": "5",
                  "randomUnits": "seconds",
                  "drop": false,
                  "allowrate": false,
                  "outputs": 1,
                  "x": 1450,
                  "y": 140,
                  "wires": [
                      [
                          "8e2f12ed7439c505"
                      ]
                  ]
              },
              {
                  "id": "04d376ce62f36aea",
                  "type": "change",
                  "z": "7405dde45b8a1baf",
                  "name": "no",
                  "rules": [
                      {
                          "t": "set",
                          "p": "payload",
                          "pt": "msg",
                          "to": "false",
                          "tot": "bool"
                      }
                  ],
                  "action": "",
                  "property": "",
                  "from": "",
                  "to": "",
                  "reg": false,
                  "x": 1290,
                  "y": 140,
                  "wires": [
                      [
                          "b21688fd381ea941"
                      ]
                  ]
              },
              {
                  "id": "5faa03897caa5247",
                  "type": "switch",
                  "z": "7405dde45b8a1baf",
                  "name": "on-off",
                  "property": "payload",
                  "propertyType": "msg",
                  "rules": [
                      {
                          "t": "true"
                      },
                      {
                          "t": "false"
                      }
                  ],
                  "checkall": "true",
                  "repair": false,
                  "outputs": 2,
                  "x": 270,
                  "y": 120,
                  "wires": [
                      [
                          "3b5e80eb69d52b52",
                          "0c411ad641d64975"
                      ],
                      [
                          "9b8a6a01ec5fda3f"
                      ]
                  ]
              },
              {
                  "id": "3b5e80eb69d52b52",
                  "type": "ioBroker out",
                  "z": "7405dde45b8a1baf",
                  "name": "pc-on",
                  "topic": "hm-rpc.0.0034DF2991CE15.3.STATE",
                  "ack": "false",
                  "autoCreate": "false",
                  "stateName": "",
                  "role": "",
                  "payloadType": "",
                  "readonly": "",
                  "stateUnit": "",
                  "stateMin": "",
                  "stateMax": "",
                  "x": 1610,
                  "y": 80,
                  "wires": []
              },
              {
                  "id": "86c938764ad86d76",
                  "type": "exec",
                  "z": "7405dde45b8a1baf",
                  "command": "net rpc shutdown -f -C \"Der Rechner wird neu gestartet\" -I ",
                  "addpay": "ip",
                  "append": " -U Eisenfelden66/root%Riddick03",
                  "useSpawn": "false",
                  "timer": "",
                  "winHide": false,
                  "oldrc": false,
                  "name": "shutdown",
                  "x": 1280,
                  "y": 440,
                  "wires": [
                      [],
                      [
                          "9791ef665c9d9b2c"
                      ],
                      [
                          "be37520033410705"
                      ]
                  ]
              },
              {
                  "id": "9791ef665c9d9b2c",
                  "type": "debug",
                  "z": "7405dde45b8a1baf",
                  "name": "err",
                  "active": true,
                  "tosidebar": true,
                  "console": false,
                  "tostatus": false,
                  "complete": "payload",
                  "targetType": "msg",
                  "statusVal": "",
                  "statusType": "auto",
                  "x": 1790,
                  "y": 420,
                  "wires": []
              },
              {
                  "id": "f566a55d1e8155c8",
                  "type": "switch",
                  "z": "7405dde45b8a1baf",
                  "name": "",
                  "property": "payload",
                  "propertyType": "msg",
                  "rules": [
                      {
                          "t": "neq",
                          "v": "0",
                          "vt": "num"
                      },
                      {
                          "t": "eq",
                          "v": "0",
                          "vt": "num"
                      }
                  ],
                  "checkall": "false",
                  "repair": false,
                  "outputs": 2,
                  "x": 1450,
                  "y": 520,
                  "wires": [
                      [
                          "9871aa51e057573f"
                      ],
                      [
                          "6e8918e7057c6f1b"
                      ]
                  ]
              },
              {
                  "id": "be37520033410705",
                  "type": "split",
                  "z": "7405dde45b8a1baf",
                  "name": "",
                  "splt": "\\n",
                  "spltType": "str",
                  "arraySplt": 1,
                  "arraySpltType": "len",
                  "stream": false,
                  "addname": "",
                  "x": 1130,
                  "y": 520,
                  "wires": [
                      [
                          "db6db1049870597e"
                      ]
                  ]
              },
              {
                  "id": "0f9fde6441dd16ac",
                  "type": "delay",
                  "z": "7405dde45b8a1baf",
                  "name": "delay",
                  "pauseType": "delay",
                  "timeout": "30",
                  "timeoutUnits": "seconds",
                  "rate": "1",
                  "nbRateUnits": "1",
                  "rateUnits": "second",
                  "randomFirst": "1",
                  "randomLast": "5",
                  "randomUnits": "seconds",
                  "drop": false,
                  "allowrate": false,
                  "outputs": 1,
                  "x": 310,
                  "y": 260,
                  "wires": [
                      [
                          "7be17cedad88fe38"
                      ]
                  ]
              },
              {
                  "id": "6e8918e7057c6f1b",
                  "type": "change",
                  "z": "7405dde45b8a1baf",
                  "name": "shutdown OK",
                  "rules": [
                      {
                          "t": "set",
                          "p": "payload",
                          "pt": "msg",
                          "to": "true",
                          "tot": "bool"
                      },
                      {
                          "t": "set",
                          "p": "execute",
                          "pt": "msg",
                          "to": "true",
                          "tot": "bool"
                      }
                  ],
                  "action": "",
                  "property": "",
                  "from": "",
                  "to": "",
                  "reg": false,
                  "x": 120,
                  "y": 580,
                  "wires": [
                      [
                          "0f9fde6441dd16ac",
                          "4c9a73c251e333e8"
                      ]
                  ]
              },
              {
                  "id": "9871aa51e057573f",
                  "type": "change",
                  "z": "7405dde45b8a1baf",
                  "name": "shutdown fail",
                  "rules": [
                      {
                          "t": "set",
                          "p": "payload",
                          "pt": "msg",
                          "to": "false",
                          "tot": "bool"
                      }
                  ],
                  "action": "",
                  "property": "",
                  "from": "",
                  "to": "",
                  "reg": false,
                  "x": 1610,
                  "y": 480,
                  "wires": [
                      [
                          "9791ef665c9d9b2c"
                      ]
                  ]
              },
              {
                  "id": "db6db1049870597e",
                  "type": "switch",
                  "z": "7405dde45b8a1baf",
                  "name": "",
                  "property": "payload",
                  "propertyType": "msg",
                  "rules": [
                      {
                          "t": "istype",
                          "v": "number",
                          "vt": "number"
                      }
                  ],
                  "checkall": "true",
                  "repair": false,
                  "outputs": 1,
                  "x": 1290,
                  "y": 520,
                  "wires": [
                      [
                          "f566a55d1e8155c8"
                      ]
                  ]
              },
              {
                  "id": "4edb96add39a3c2a",
                  "type": "switch",
                  "z": "7405dde45b8a1baf",
                  "name": "executed",
                  "property": "execute",
                  "propertyType": "msg",
                  "rules": [
                      {
                          "t": "true"
                      },
                      {
                          "t": "false"
                      }
                  ],
                  "checkall": "false",
                  "repair": false,
                  "outputs": 2,
                  "x": 1460,
                  "y": 340,
                  "wires": [
                      [
                          "0f9fde6441dd16ac"
                      ],
                      [
                          "86c938764ad86d76"
                      ]
                  ]
              },
              {
                  "id": "9b8a6a01ec5fda3f",
                  "type": "change",
                  "z": "7405dde45b8a1baf",
                  "name": "execute",
                  "rules": [
                      {
                          "t": "set",
                          "p": "execute",
                          "pt": "msg",
                          "to": "false",
                          "tot": "bool"
                      }
                  ],
                  "action": "",
                  "property": "",
                  "from": "",
                  "to": "",
                  "reg": false,
                  "x": 440,
                  "y": 140,
                  "wires": [
                      [
                          "7be17cedad88fe38"
                      ]
                  ]
              },
              {
                  "id": "4c9a73c251e333e8",
                  "type": "debug",
                  "z": "7405dde45b8a1baf",
                  "name": "shutdown",
                  "active": true,
                  "tosidebar": true,
                  "console": false,
                  "tostatus": false,
                  "complete": "payload",
                  "targetType": "msg",
                  "statusVal": "",
                  "statusType": "auto",
                  "x": 320,
                  "y": 580,
                  "wires": []
              },
              {
                  "id": "7be17cedad88fe38",
                  "type": "ioBroker get",
                  "z": "7405dde45b8a1baf",
                  "name": "ip_adress",
                  "topic": "0_userdata.0.shutdown.windows.ip_adress",
                  "attrname": "payload",
                  "payloadType": "value",
                  "errOnInvalidState": "nothing",
                  "x": 620,
                  "y": 200,
                  "wires": [
                      [
                          "a2b1edef2bb209f9"
                      ]
                  ]
              },
              {
                  "id": "0c411ad641d64975",
                  "type": "ioBroker out",
                  "z": "7405dde45b8a1baf",
                  "name": "pc_state",
                  "topic": "0_userdata.0.shutdown.windows.pc_state",
                  "ack": "false",
                  "autoCreate": "false",
                  "stateName": "",
                  "role": "",
                  "payloadType": "",
                  "readonly": "",
                  "stateUnit": "",
                  "stateMin": "",
                  "stateMax": "",
                  "x": 460,
                  "y": 40,
                  "wires": []
              },
              {
                  "id": "a2b1edef2bb209f9",
                  "type": "change",
                  "z": "7405dde45b8a1baf",
                  "name": "ip",
                  "rules": [
                      {
                          "t": "set",
                          "p": "ip",
                          "pt": "msg",
                          "to": "payload",
                          "tot": "msg"
                      }
                  ],
                  "action": "",
                  "property": "",
                  "from": "",
                  "to": "",
                  "reg": false,
                  "x": 790,
                  "y": 200,
                  "wires": [
                      [
                          "1f0e7cfb8ccfd9a8"
                      ]
                  ]
              }
          ]
          

          Wobei laut Protokoll ja der rpc einen Fehler beim schreiben auswirft.

          CodierknechtC Offline
          CodierknechtC Offline
          Codierknecht
          Developer Most Active
          schrieb am zuletzt editiert von
          #4

          @renegade-0
          Naja, ein Unexpected endLine klingt eher nach 'nem Problem mit dem Script.
          Da ich Node-Red nicht kenne und das auch nicht installiert habe, kann ich persönlich mit dem Code wenig anfangen - dafür vielleicht Andere.

          Hast Du mal versucht, das Ganze alternativ z.B. mit Blockly oder JS zu steuern?
          Nur so als Überprüfung, ob andere "Scripte" das Problem auch produzieren.

          "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

          Proxmox 9.1.1 LXC|8 GB|Core i7-6700
          HmIP|ZigBee|Tasmota|Unifi
          Zabbix Certified Specialist
          Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

          R 1 Antwort Letzte Antwort
          0
          • CodierknechtC Codierknecht

            @renegade-0
            Naja, ein Unexpected endLine klingt eher nach 'nem Problem mit dem Script.
            Da ich Node-Red nicht kenne und das auch nicht installiert habe, kann ich persönlich mit dem Code wenig anfangen - dafür vielleicht Andere.

            Hast Du mal versucht, das Ganze alternativ z.B. mit Blockly oder JS zu steuern?
            Nur so als Überprüfung, ob andere "Scripte" das Problem auch produzieren.

            R Offline
            R Offline
            Renegade 0
            schrieb am zuletzt editiert von
            #5

            @codierknecht

            Damit kenn ich mich jetzt leider nicht aus, darum noch keine Überprüfung gemacht. Aber im Endeffekt schreibt ja node-Red nur ein true oder false bei diesem Script. Bei anderen haut es super hin.
            Hoffentlich findet sich einer, der den Fehler sieht. Ich suche seid 2 Tagen und finde nichts. :/

            Evtl. ist auch die Steckdose hin. Denn es gibt nur bei der Probleme. Ist eine HmIP-PSM-2. Die anderen sind alle normale PSM.

            CodierknechtC 1 Antwort Letzte Antwort
            0
            • R Renegade 0

              @codierknecht

              ein gutes Argument ;)

              [
                  {
                      "id": "7405dde45b8a1baf",
                      "type": "tab",
                      "label": "shutdown-Windows",
                      "disabled": false,
                      "info": "",
                      "env": []
                  },
                  {
                      "id": "1f0e7cfb8ccfd9a8",
                      "type": "ping",
                      "z": "7405dde45b8a1baf",
                      "protocol": "IPv4",
                      "mode": "triggered",
                      "name": "PC-Buero",
                      "host": "",
                      "timer": "20",
                      "inputs": 1,
                      "x": 960,
                      "y": 200,
                      "wires": [
                          [
                              "dcb2753b0a38f02d"
                          ]
                      ]
                  },
                  {
                      "id": "fda15bb4a1a5d1d3",
                      "type": "ioBroker in",
                      "z": "7405dde45b8a1baf",
                      "name": "pc_state",
                      "topic": "0_userdata.0.shutdown.windows.pc_state",
                      "payloadType": "value",
                      "onlyack": "",
                      "func": "all",
                      "gap": "",
                      "fireOnStart": "false",
                      "outFormat": "MQTT",
                      "x": 120,
                      "y": 120,
                      "wires": [
                          [
                              "5faa03897caa5247"
                          ]
                      ]
                  },
                  {
                      "id": "dcb2753b0a38f02d",
                      "type": "switch",
                      "z": "7405dde45b8a1baf",
                      "name": "is-pc-on",
                      "property": "payload",
                      "propertyType": "msg",
                      "rules": [
                          {
                              "t": "false"
                          },
                          {
                              "t": "nnull"
                          }
                      ],
                      "checkall": "false",
                      "repair": false,
                      "outputs": 2,
                      "x": 1140,
                      "y": 200,
                      "wires": [
                          [
                              "04d376ce62f36aea"
                          ],
                          [
                              "353cdefa1a183806"
                          ]
                      ]
                  },
                  {
                      "id": "353cdefa1a183806",
                      "type": "change",
                      "z": "7405dde45b8a1baf",
                      "name": "yes",
                      "rules": [
                          {
                              "t": "set",
                              "p": "payload",
                              "pt": "msg",
                              "to": "true",
                              "tot": "bool"
                          }
                      ],
                      "action": "",
                      "property": "",
                      "from": "",
                      "to": "",
                      "reg": false,
                      "x": 1290,
                      "y": 340,
                      "wires": [
                          [
                              "4edb96add39a3c2a"
                          ]
                      ]
                  },
                  {
                      "id": "8e2f12ed7439c505",
                      "type": "ioBroker out",
                      "z": "7405dde45b8a1baf",
                      "name": "pc-off",
                      "topic": "hm-rpc.0.0034DF2991CE15.3.STATE",
                      "ack": "false",
                      "autoCreate": "false",
                      "stateName": "",
                      "role": "",
                      "payloadType": "",
                      "readonly": "",
                      "stateUnit": "",
                      "stateMin": "",
                      "stateMax": "",
                      "x": 1610,
                      "y": 140,
                      "wires": []
                  },
                  {
                      "id": "b21688fd381ea941",
                      "type": "delay",
                      "z": "7405dde45b8a1baf",
                      "name": "delay",
                      "pauseType": "delay",
                      "timeout": "10",
                      "timeoutUnits": "seconds",
                      "rate": "1",
                      "nbRateUnits": "1",
                      "rateUnits": "second",
                      "randomFirst": "1",
                      "randomLast": "5",
                      "randomUnits": "seconds",
                      "drop": false,
                      "allowrate": false,
                      "outputs": 1,
                      "x": 1450,
                      "y": 140,
                      "wires": [
                          [
                              "8e2f12ed7439c505"
                          ]
                      ]
                  },
                  {
                      "id": "04d376ce62f36aea",
                      "type": "change",
                      "z": "7405dde45b8a1baf",
                      "name": "no",
                      "rules": [
                          {
                              "t": "set",
                              "p": "payload",
                              "pt": "msg",
                              "to": "false",
                              "tot": "bool"
                          }
                      ],
                      "action": "",
                      "property": "",
                      "from": "",
                      "to": "",
                      "reg": false,
                      "x": 1290,
                      "y": 140,
                      "wires": [
                          [
                              "b21688fd381ea941"
                          ]
                      ]
                  },
                  {
                      "id": "5faa03897caa5247",
                      "type": "switch",
                      "z": "7405dde45b8a1baf",
                      "name": "on-off",
                      "property": "payload",
                      "propertyType": "msg",
                      "rules": [
                          {
                              "t": "true"
                          },
                          {
                              "t": "false"
                          }
                      ],
                      "checkall": "true",
                      "repair": false,
                      "outputs": 2,
                      "x": 270,
                      "y": 120,
                      "wires": [
                          [
                              "3b5e80eb69d52b52",
                              "0c411ad641d64975"
                          ],
                          [
                              "9b8a6a01ec5fda3f"
                          ]
                      ]
                  },
                  {
                      "id": "3b5e80eb69d52b52",
                      "type": "ioBroker out",
                      "z": "7405dde45b8a1baf",
                      "name": "pc-on",
                      "topic": "hm-rpc.0.0034DF2991CE15.3.STATE",
                      "ack": "false",
                      "autoCreate": "false",
                      "stateName": "",
                      "role": "",
                      "payloadType": "",
                      "readonly": "",
                      "stateUnit": "",
                      "stateMin": "",
                      "stateMax": "",
                      "x": 1610,
                      "y": 80,
                      "wires": []
                  },
                  {
                      "id": "86c938764ad86d76",
                      "type": "exec",
                      "z": "7405dde45b8a1baf",
                      "command": "net rpc shutdown -f -C \"Der Rechner wird neu gestartet\" -I ",
                      "addpay": "ip",
                      "append": " -U Eisenfelden66/root%Riddick03",
                      "useSpawn": "false",
                      "timer": "",
                      "winHide": false,
                      "oldrc": false,
                      "name": "shutdown",
                      "x": 1280,
                      "y": 440,
                      "wires": [
                          [],
                          [
                              "9791ef665c9d9b2c"
                          ],
                          [
                              "be37520033410705"
                          ]
                      ]
                  },
                  {
                      "id": "9791ef665c9d9b2c",
                      "type": "debug",
                      "z": "7405dde45b8a1baf",
                      "name": "err",
                      "active": true,
                      "tosidebar": true,
                      "console": false,
                      "tostatus": false,
                      "complete": "payload",
                      "targetType": "msg",
                      "statusVal": "",
                      "statusType": "auto",
                      "x": 1790,
                      "y": 420,
                      "wires": []
                  },
                  {
                      "id": "f566a55d1e8155c8",
                      "type": "switch",
                      "z": "7405dde45b8a1baf",
                      "name": "",
                      "property": "payload",
                      "propertyType": "msg",
                      "rules": [
                          {
                              "t": "neq",
                              "v": "0",
                              "vt": "num"
                          },
                          {
                              "t": "eq",
                              "v": "0",
                              "vt": "num"
                          }
                      ],
                      "checkall": "false",
                      "repair": false,
                      "outputs": 2,
                      "x": 1450,
                      "y": 520,
                      "wires": [
                          [
                              "9871aa51e057573f"
                          ],
                          [
                              "6e8918e7057c6f1b"
                          ]
                      ]
                  },
                  {
                      "id": "be37520033410705",
                      "type": "split",
                      "z": "7405dde45b8a1baf",
                      "name": "",
                      "splt": "\\n",
                      "spltType": "str",
                      "arraySplt": 1,
                      "arraySpltType": "len",
                      "stream": false,
                      "addname": "",
                      "x": 1130,
                      "y": 520,
                      "wires": [
                          [
                              "db6db1049870597e"
                          ]
                      ]
                  },
                  {
                      "id": "0f9fde6441dd16ac",
                      "type": "delay",
                      "z": "7405dde45b8a1baf",
                      "name": "delay",
                      "pauseType": "delay",
                      "timeout": "30",
                      "timeoutUnits": "seconds",
                      "rate": "1",
                      "nbRateUnits": "1",
                      "rateUnits": "second",
                      "randomFirst": "1",
                      "randomLast": "5",
                      "randomUnits": "seconds",
                      "drop": false,
                      "allowrate": false,
                      "outputs": 1,
                      "x": 310,
                      "y": 260,
                      "wires": [
                          [
                              "7be17cedad88fe38"
                          ]
                      ]
                  },
                  {
                      "id": "6e8918e7057c6f1b",
                      "type": "change",
                      "z": "7405dde45b8a1baf",
                      "name": "shutdown OK",
                      "rules": [
                          {
                              "t": "set",
                              "p": "payload",
                              "pt": "msg",
                              "to": "true",
                              "tot": "bool"
                          },
                          {
                              "t": "set",
                              "p": "execute",
                              "pt": "msg",
                              "to": "true",
                              "tot": "bool"
                          }
                      ],
                      "action": "",
                      "property": "",
                      "from": "",
                      "to": "",
                      "reg": false,
                      "x": 120,
                      "y": 580,
                      "wires": [
                          [
                              "0f9fde6441dd16ac",
                              "4c9a73c251e333e8"
                          ]
                      ]
                  },
                  {
                      "id": "9871aa51e057573f",
                      "type": "change",
                      "z": "7405dde45b8a1baf",
                      "name": "shutdown fail",
                      "rules": [
                          {
                              "t": "set",
                              "p": "payload",
                              "pt": "msg",
                              "to": "false",
                              "tot": "bool"
                          }
                      ],
                      "action": "",
                      "property": "",
                      "from": "",
                      "to": "",
                      "reg": false,
                      "x": 1610,
                      "y": 480,
                      "wires": [
                          [
                              "9791ef665c9d9b2c"
                          ]
                      ]
                  },
                  {
                      "id": "db6db1049870597e",
                      "type": "switch",
                      "z": "7405dde45b8a1baf",
                      "name": "",
                      "property": "payload",
                      "propertyType": "msg",
                      "rules": [
                          {
                              "t": "istype",
                              "v": "number",
                              "vt": "number"
                          }
                      ],
                      "checkall": "true",
                      "repair": false,
                      "outputs": 1,
                      "x": 1290,
                      "y": 520,
                      "wires": [
                          [
                              "f566a55d1e8155c8"
                          ]
                      ]
                  },
                  {
                      "id": "4edb96add39a3c2a",
                      "type": "switch",
                      "z": "7405dde45b8a1baf",
                      "name": "executed",
                      "property": "execute",
                      "propertyType": "msg",
                      "rules": [
                          {
                              "t": "true"
                          },
                          {
                              "t": "false"
                          }
                      ],
                      "checkall": "false",
                      "repair": false,
                      "outputs": 2,
                      "x": 1460,
                      "y": 340,
                      "wires": [
                          [
                              "0f9fde6441dd16ac"
                          ],
                          [
                              "86c938764ad86d76"
                          ]
                      ]
                  },
                  {
                      "id": "9b8a6a01ec5fda3f",
                      "type": "change",
                      "z": "7405dde45b8a1baf",
                      "name": "execute",
                      "rules": [
                          {
                              "t": "set",
                              "p": "execute",
                              "pt": "msg",
                              "to": "false",
                              "tot": "bool"
                          }
                      ],
                      "action": "",
                      "property": "",
                      "from": "",
                      "to": "",
                      "reg": false,
                      "x": 440,
                      "y": 140,
                      "wires": [
                          [
                              "7be17cedad88fe38"
                          ]
                      ]
                  },
                  {
                      "id": "4c9a73c251e333e8",
                      "type": "debug",
                      "z": "7405dde45b8a1baf",
                      "name": "shutdown",
                      "active": true,
                      "tosidebar": true,
                      "console": false,
                      "tostatus": false,
                      "complete": "payload",
                      "targetType": "msg",
                      "statusVal": "",
                      "statusType": "auto",
                      "x": 320,
                      "y": 580,
                      "wires": []
                  },
                  {
                      "id": "7be17cedad88fe38",
                      "type": "ioBroker get",
                      "z": "7405dde45b8a1baf",
                      "name": "ip_adress",
                      "topic": "0_userdata.0.shutdown.windows.ip_adress",
                      "attrname": "payload",
                      "payloadType": "value",
                      "errOnInvalidState": "nothing",
                      "x": 620,
                      "y": 200,
                      "wires": [
                          [
                              "a2b1edef2bb209f9"
                          ]
                      ]
                  },
                  {
                      "id": "0c411ad641d64975",
                      "type": "ioBroker out",
                      "z": "7405dde45b8a1baf",
                      "name": "pc_state",
                      "topic": "0_userdata.0.shutdown.windows.pc_state",
                      "ack": "false",
                      "autoCreate": "false",
                      "stateName": "",
                      "role": "",
                      "payloadType": "",
                      "readonly": "",
                      "stateUnit": "",
                      "stateMin": "",
                      "stateMax": "",
                      "x": 460,
                      "y": 40,
                      "wires": []
                  },
                  {
                      "id": "a2b1edef2bb209f9",
                      "type": "change",
                      "z": "7405dde45b8a1baf",
                      "name": "ip",
                      "rules": [
                          {
                              "t": "set",
                              "p": "ip",
                              "pt": "msg",
                              "to": "payload",
                              "tot": "msg"
                          }
                      ],
                      "action": "",
                      "property": "",
                      "from": "",
                      "to": "",
                      "reg": false,
                      "x": 790,
                      "y": 200,
                      "wires": [
                          [
                              "1f0e7cfb8ccfd9a8"
                          ]
                      ]
                  }
              ]
              

              Wobei laut Protokoll ja der rpc einen Fehler beim schreiben auswirft.

              HomoranH Nicht stören
              HomoranH Nicht stören
              Homoran
              Global Moderator Administrators
              schrieb am zuletzt editiert von
              #6

              @renegade-0 sagte in HM-RPC bringt Fehler und pumpt den Duty cycle voll:

              Wobei laut Protokoll ja der rpc einen Fehler beim schreiben auswirft.

              natürlich!
              hm-rpc kann mit dem unvollständigen Befehl deines Skripts nichts anfangen!

              was ist denn mit:

              @codierknecht sagte in HM-RPC bringt Fehler und pumpt den Duty cycle voll:

              Das Script auch zu zeigen wäre hilfreich.

              https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1

              kein Support per PN! - Fragen im Forum stellen -
              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
              Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

              R 1 Antwort Letzte Antwort
              0
              • R Renegade 0

                @codierknecht

                Damit kenn ich mich jetzt leider nicht aus, darum noch keine Überprüfung gemacht. Aber im Endeffekt schreibt ja node-Red nur ein true oder false bei diesem Script. Bei anderen haut es super hin.
                Hoffentlich findet sich einer, der den Fehler sieht. Ich suche seid 2 Tagen und finde nichts. :/

                Evtl. ist auch die Steckdose hin. Denn es gibt nur bei der Probleme. Ist eine HmIP-PSM-2. Die anderen sind alle normale PSM.

                CodierknechtC Offline
                CodierknechtC Offline
                Codierknecht
                Developer Most Active
                schrieb am zuletzt editiert von
                #7

                @renegade-0 sagte in HM-RPC bringt Fehler und pumpt den Duty cycle voll:

                Damit kenn ich mich jetzt leider nicht aus

                Blockly hast Du installiert?
                Ist für so eine kleine Überprüfung ja recht simpel:
                90df5a47-19af-458d-8cd3-6fcdf2f8584b-image.png
                Vorausgesetzt, im DP für den Schalter wird irgendwo true/false geliefert, um damit die Dose auf true/false zu setzen.

                Du kannst auch das folgende nehmen und in Blockly importieren.
                3baee831-e73f-43dc-b521-affeddf45461-image.png
                Dann musst Du das nur entsprechend anpassen:

                <xml xmlns="https://developers.google.com/blockly/xml">
                 <block type="on" id="|V+SYF83w3TyHB$uChFg" x="-337" y="188">
                   <field name="OID">Object ID</field>
                   <field name="CONDITION">ne</field>
                   <field name="ACK_CONDITION"></field>
                   <statement name="STATEMENT">
                     <block type="control" id=":X/JFoF6@,hKk*7D{qVS">
                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                       <field name="OID">Object ID</field>
                       <field name="WITH_DELAY">FALSE</field>
                       <value name="VALUE">
                         <block type="on_source" id="@|sN6w,kH=I!IM`/Yc2|">
                           <field name="ATTR">state.val</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                 </block>
                </xml>
                

                "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

                Proxmox 9.1.1 LXC|8 GB|Core i7-6700
                HmIP|ZigBee|Tasmota|Unifi
                Zabbix Certified Specialist
                Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

                1 Antwort Letzte Antwort
                0
                • HomoranH Homoran

                  @renegade-0 sagte in HM-RPC bringt Fehler und pumpt den Duty cycle voll:

                  Wobei laut Protokoll ja der rpc einen Fehler beim schreiben auswirft.

                  natürlich!
                  hm-rpc kann mit dem unvollständigen Befehl deines Skripts nichts anfangen!

                  was ist denn mit:

                  @codierknecht sagte in HM-RPC bringt Fehler und pumpt den Duty cycle voll:

                  Das Script auch zu zeigen wäre hilfreich.

                  https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1

                  R Offline
                  R Offline
                  Renegade 0
                  schrieb am zuletzt editiert von
                  #8

                  @homoran
                  Hio und guten Morgen.

                  Last login: Fri Nov 11 09:29:04 2022
                  pi@SmartBox:~$ node -v
                  v16.18.0
                  pi@SmartBox:~$
                  

                  Node-Red Adapter v 3.0.2
                  NPM v8.19.2
                  js-Controller v 4.0.23
                  ioAdmin v6.2.23
                  hm-rpc 1.15.15

                  und alle Adapter natürlich aktuell. So hoffe das waren alle fehlenden Infos.

                  R 1 Antwort Letzte Antwort
                  0
                  • R Renegade 0

                    @homoran
                    Hio und guten Morgen.

                    Last login: Fri Nov 11 09:29:04 2022
                    pi@SmartBox:~$ node -v
                    v16.18.0
                    pi@SmartBox:~$
                    

                    Node-Red Adapter v 3.0.2
                    NPM v8.19.2
                    js-Controller v 4.0.23
                    ioAdmin v6.2.23
                    hm-rpc 1.15.15

                    und alle Adapter natürlich aktuell. So hoffe das waren alle fehlenden Infos.

                    R Offline
                    R Offline
                    Renegade 0
                    schrieb am zuletzt editiert von
                    #9

                    EDIT:

                    Fehler gefunden. Es war noch eine Testnode drinnen, welche eine Endlosschleife verursacht hat und wenn der duty cycle voll war, konnte der rpc nicht mehr schreiben.

                    somit closed.

                    Danke für eure Zeit

                    CodierknechtC 1 Antwort Letzte Antwort
                    0
                    • R Renegade 0

                      EDIT:

                      Fehler gefunden. Es war noch eine Testnode drinnen, welche eine Endlosschleife verursacht hat und wenn der duty cycle voll war, konnte der rpc nicht mehr schreiben.

                      somit closed.

                      Danke für eure Zeit

                      CodierknechtC Offline
                      CodierknechtC Offline
                      Codierknecht
                      Developer Most Active
                      schrieb am zuletzt editiert von
                      #10

                      @renegade-0
                      Dann bearbeite bitte Deinen Eingangspost und setze ein "[gelöst] - " davor.

                      "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

                      Proxmox 9.1.1 LXC|8 GB|Core i7-6700
                      HmIP|ZigBee|Tasmota|Unifi
                      Zabbix Certified Specialist
                      Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

                      R 1 Antwort Letzte Antwort
                      0
                      • CodierknechtC Codierknecht

                        @renegade-0
                        Dann bearbeite bitte Deinen Eingangspost und setze ein "[gelöst] - " davor.

                        R Offline
                        R Offline
                        Renegade 0
                        schrieb am zuletzt editiert von
                        #11

                        @codierknecht
                        erledigt

                        1 Antwort Letzte Antwort
                        0

                        Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                        Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                        Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                        Registrieren Anmelden
                        Antworten
                        • In einem neuen Thema antworten
                        Anmelden zum Antworten
                        • Älteste zuerst
                        • Neuste zuerst
                        • Meiste Stimmen


                        Support us

                        ioBroker
                        Community Adapters
                        Donate
                        FAQ Cloud / IOT
                        HowTo: Node.js-Update
                        HowTo: Backup/Restore
                        Downloads
                        BLOG

                        545

                        Online

                        32.9k

                        Benutzer

                        83.0k

                        Themen

                        1.3m

                        Beiträge
                        Community
                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                        ioBroker Community 2014-2025
                        logo
                        • Anmelden

                        • Du hast noch kein Konto? Registrieren

                        • Anmelden oder registrieren, um zu suchen
                        • Erster Beitrag
                          Letzter Beitrag
                        0
                        • Home
                        • Aktuell
                        • Tags
                        • Ungelesen 0
                        • Kategorien
                        • Unreplied
                        • Beliebt
                        • GitHub
                        • Docu
                        • Hilfe