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. Einsteigerfragen
  4. Einbindung von Geräten
  5. MQTT Topics ignorieren

NEWS

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

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    18
    1
    6.1k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.5k

MQTT Topics ignorieren

Geplant Angeheftet Gesperrt Verschoben Einbindung von Geräten
mqtttopicignorieren
7 Beiträge 2 Kommentatoren 712 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
    Rushmed
    Most Active
    schrieb am zuletzt editiert von
    #1

    Hallo,

    ich habe hier drei MQTT Clients die extrem viele Topics senden.
    Davon würde ich gerne welche über diese Funktion abbestellen:
    f626cecc-b3df-4a42-82be-6c5f68b793e7-grafik.png
    Ich hoffe das ist so gedacht!?
    Die MQTT Instanz ist der Server.

    Ignorieren möchte ich alles unter:
    mqtt.0.instar.all.alarm.*
    mqtt.0.instar.cam_10.alarm.*
    und
    mqtt.0.instar.cam_11.alarm.*

    Lösche ich nun alle Objekte und gebe ich im Feld ".alarm.*" ein werden diese trotzdem wieder erstellt.

    Was mache ich falsch?

    Marc BergM 1 Antwort Letzte Antwort
    0
    • R Rushmed

      Hallo,

      ich habe hier drei MQTT Clients die extrem viele Topics senden.
      Davon würde ich gerne welche über diese Funktion abbestellen:
      f626cecc-b3df-4a42-82be-6c5f68b793e7-grafik.png
      Ich hoffe das ist so gedacht!?
      Die MQTT Instanz ist der Server.

      Ignorieren möchte ich alles unter:
      mqtt.0.instar.all.alarm.*
      mqtt.0.instar.cam_10.alarm.*
      und
      mqtt.0.instar.cam_11.alarm.*

      Lösche ich nun alle Objekte und gebe ich im Feld ".alarm.*" ein werden diese trotzdem wieder erstellt.

      Was mache ich falsch?

      Marc BergM Offline
      Marc BergM Offline
      Marc Berg
      Most Active
      schrieb am zuletzt editiert von
      #2

      @rushmed sagte in MQTT Topics ignorieren:

      ".alarm.*"

      hast du mal

      *.alarm.*
      

      probiert?

      NUC10I3+Ubuntu+Docker+ioBroker+influxDB2+Node Red+EMQX+Grafana

      Pi-hole, Traefik, Checkmk, Conbee II+Zigbee2MQTT, ESPSomfy-RTS, LoRaWAN, Arduino, KiCad

      Benutzt das Voting im Beitrag, wenn er euch geholfen hat.

      R 1 Antwort Letzte Antwort
      0
      • Marc BergM Marc Berg

        @rushmed sagte in MQTT Topics ignorieren:

        ".alarm.*"

        hast du mal

        *.alarm.*
        

        probiert?

        R Offline
        R Offline
        Rushmed
        Most Active
        schrieb am zuletzt editiert von
        #3

        @marc-berg sagte in MQTT Topics ignorieren:

        .alarm.

        Ja, das bringt den Adapter in einen Bootloop.

        host.Smartazamba
        2024-02-14 20:13:51.443	info	Restart adapter system.adapter.mqtt.0 because enabled
        host.Smartazamba
        2024-02-14 20:13:51.443	error	instance system.adapter.mqtt.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
        host.Smartazamba
        2024-02-14 20:13:51.442	error	Caught by controller[0]: at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:11905:26
        host.Smartazamba
        2024-02-14 20:13:51.442	error	Caught by controller[0]: at MQTT._callReadyHandler (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:11928:18)
        host.Smartazamba
        2024-02-14 20:13:51.442	error	Caught by controller[0]: at MQTT.emit (node:domain:489:12)
        host.Smartazamba
        2024-02-14 20:13:51.442	error	Caught by controller[0]: at MQTT.emit (node:events:517:28)
        host.Smartazamba
        2024-02-14 20:13:51.442	error	Caught by controller[0]: at MQTT.onReady (/opt/iobroker/node_modules/iobroker.mqtt/main.js:38:24)
        host.Smartazamba
        2024-02-14 20:13:51.442	error	Caught by controller[0]: at MQTT.main (/opt/iobroker/node_modules/iobroker.mqtt/main.js:99:54)
        host.Smartazamba
        2024-02-14 20:13:51.442	error	Caught by controller[0]: at MQTTServer (/opt/iobroker/node_modules/iobroker.mqtt/lib/server.js:17:16)
        host.Smartazamba
        2024-02-14 20:13:51.442	error	Caught by controller[0]: at new MQTTServer (/opt/iobroker/node_modules/iobroker.mqtt/lib/server.js:49:35)
        host.Smartazamba
        2024-02-14 20:13:51.442	error	Caught by controller[0]: at new RegExp (<anonymous>)
        host.Smartazamba
        2024-02-14 20:13:51.441	error	Caught by controller[0]: SyntaxError: Invalid regular expression: /*\.alarm\..*/: Nothing to repeat
        host.Smartazamba
        2024-02-14 20:13:51.441	error	Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
        
        mqtt.0
        2024-02-14 20:13:51.240	info	terminating
        
        mqtt.0
        2024-02-14 20:13:50.737	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
        
        mqtt.0
        2024-02-14 20:13:50.734	info	terminating
        
        mqtt.0
        2024-02-14 20:13:50.674	error	Invalid regular expression: /*\.alarm\..*/: Nothing to repeat
        
        mqtt.0
        2024-02-14 20:13:50.673	error	SyntaxError: Invalid regular expression: /*\.alarm\..*/: Nothing to repeat at new RegExp (<anonymous>) at new MQTTServer (/opt/iobroker/node_modules/iobroker.mqtt/lib/server.js:49:35) at MQTTServer (/opt/iobroker/node_modules/iobroker.mqtt/lib/server.js:17:16) at MQTT.main (/opt/iobroker/node_modules/iobroker.mqtt/main.js:99:54) at MQTT.onReady (/opt/iobroker/node_modules/iobroker.mqtt/main.js:38:24) at MQTT.emit (node:events:517:28) at MQTT.emit (node:domain:489:12) at MQTT._callReadyHandler (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:11928:18) at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:11905:26
        
        mqtt.0
        2024-02-14 20:13:50.358	error	unhandled promise rejection: Invalid regular expression: /*\.alarm\..*/: Nothing to repeat
        
        mqtt.0
        2024-02-14 20:13:50.356	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
        
        mqtt.0
        2024-02-14 20:13:50.353	info	Ignoring topic with pattern: *.alarm.* (RegExp: *\.alarm\..* und ^mqtt\.0\..*\.alarm\..*)
        
        mqtt.0
        2024-02-14 20:13:50.173	warn	No ioBroker changes will be published to the clients. Set the "publish" option in the adapter settings to subscribe for relevant changes.
        
        mqtt.0
        2024-02-14 20:13:50.131	info	starting. Version 5.2.0 in /opt/iobroker/node_modules/iobroker.mqtt, node: v18.19.0, js-controller: 5.0.17
        
        Marc BergM 1 Antwort Letzte Antwort
        0
        • R Rushmed

          @marc-berg sagte in MQTT Topics ignorieren:

          .alarm.

          Ja, das bringt den Adapter in einen Bootloop.

          host.Smartazamba
          2024-02-14 20:13:51.443	info	Restart adapter system.adapter.mqtt.0 because enabled
          host.Smartazamba
          2024-02-14 20:13:51.443	error	instance system.adapter.mqtt.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
          host.Smartazamba
          2024-02-14 20:13:51.442	error	Caught by controller[0]: at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:11905:26
          host.Smartazamba
          2024-02-14 20:13:51.442	error	Caught by controller[0]: at MQTT._callReadyHandler (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:11928:18)
          host.Smartazamba
          2024-02-14 20:13:51.442	error	Caught by controller[0]: at MQTT.emit (node:domain:489:12)
          host.Smartazamba
          2024-02-14 20:13:51.442	error	Caught by controller[0]: at MQTT.emit (node:events:517:28)
          host.Smartazamba
          2024-02-14 20:13:51.442	error	Caught by controller[0]: at MQTT.onReady (/opt/iobroker/node_modules/iobroker.mqtt/main.js:38:24)
          host.Smartazamba
          2024-02-14 20:13:51.442	error	Caught by controller[0]: at MQTT.main (/opt/iobroker/node_modules/iobroker.mqtt/main.js:99:54)
          host.Smartazamba
          2024-02-14 20:13:51.442	error	Caught by controller[0]: at MQTTServer (/opt/iobroker/node_modules/iobroker.mqtt/lib/server.js:17:16)
          host.Smartazamba
          2024-02-14 20:13:51.442	error	Caught by controller[0]: at new MQTTServer (/opt/iobroker/node_modules/iobroker.mqtt/lib/server.js:49:35)
          host.Smartazamba
          2024-02-14 20:13:51.442	error	Caught by controller[0]: at new RegExp (<anonymous>)
          host.Smartazamba
          2024-02-14 20:13:51.441	error	Caught by controller[0]: SyntaxError: Invalid regular expression: /*\.alarm\..*/: Nothing to repeat
          host.Smartazamba
          2024-02-14 20:13:51.441	error	Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
          
          mqtt.0
          2024-02-14 20:13:51.240	info	terminating
          
          mqtt.0
          2024-02-14 20:13:50.737	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
          
          mqtt.0
          2024-02-14 20:13:50.734	info	terminating
          
          mqtt.0
          2024-02-14 20:13:50.674	error	Invalid regular expression: /*\.alarm\..*/: Nothing to repeat
          
          mqtt.0
          2024-02-14 20:13:50.673	error	SyntaxError: Invalid regular expression: /*\.alarm\..*/: Nothing to repeat at new RegExp (<anonymous>) at new MQTTServer (/opt/iobroker/node_modules/iobroker.mqtt/lib/server.js:49:35) at MQTTServer (/opt/iobroker/node_modules/iobroker.mqtt/lib/server.js:17:16) at MQTT.main (/opt/iobroker/node_modules/iobroker.mqtt/main.js:99:54) at MQTT.onReady (/opt/iobroker/node_modules/iobroker.mqtt/main.js:38:24) at MQTT.emit (node:events:517:28) at MQTT.emit (node:domain:489:12) at MQTT._callReadyHandler (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:11928:18) at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:11905:26
          
          mqtt.0
          2024-02-14 20:13:50.358	error	unhandled promise rejection: Invalid regular expression: /*\.alarm\..*/: Nothing to repeat
          
          mqtt.0
          2024-02-14 20:13:50.356	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
          
          mqtt.0
          2024-02-14 20:13:50.353	info	Ignoring topic with pattern: *.alarm.* (RegExp: *\.alarm\..* und ^mqtt\.0\..*\.alarm\..*)
          
          mqtt.0
          2024-02-14 20:13:50.173	warn	No ioBroker changes will be published to the clients. Set the "publish" option in the adapter settings to subscribe for relevant changes.
          
          mqtt.0
          2024-02-14 20:13:50.131	info	starting. Version 5.2.0 in /opt/iobroker/node_modules/iobroker.mqtt, node: v18.19.0, js-controller: 5.0.17
          
          Marc BergM Offline
          Marc BergM Offline
          Marc Berg
          Most Active
          schrieb am zuletzt editiert von
          #4

          @rushmed

          Du könntest doch auch einzeln

          mqtt.0.instar.all.alarm.*
          mqtt.0.instar.cam_10.alarm.*
          mqtt.0.instar.cam_11.alarm.*

          (jeweils duch <Enter> getrennt) angeben.

          NUC10I3+Ubuntu+Docker+ioBroker+influxDB2+Node Red+EMQX+Grafana

          Pi-hole, Traefik, Checkmk, Conbee II+Zigbee2MQTT, ESPSomfy-RTS, LoRaWAN, Arduino, KiCad

          Benutzt das Voting im Beitrag, wenn er euch geholfen hat.

          R 1 Antwort Letzte Antwort
          0
          • Marc BergM Marc Berg

            @rushmed

            Du könntest doch auch einzeln

            mqtt.0.instar.all.alarm.*
            mqtt.0.instar.cam_10.alarm.*
            mqtt.0.instar.cam_11.alarm.*

            (jeweils duch <Enter> getrennt) angeben.

            R Offline
            R Offline
            Rushmed
            Most Active
            schrieb am zuletzt editiert von
            #5

            @marc-berg sagte in MQTT Topics ignorieren:

            mqtt.0.instar.all.alarm.*

            Da werden die Ojekte ebenfalls wieder angelegt.

            Marc BergM 1 Antwort Letzte Antwort
            0
            • R Rushmed

              @marc-berg sagte in MQTT Topics ignorieren:

              mqtt.0.instar.all.alarm.*

              Da werden die Ojekte ebenfalls wieder angelegt.

              Marc BergM Offline
              Marc BergM Offline
              Marc Berg
              Most Active
              schrieb am zuletzt editiert von
              #6

              @rushmed sagte in MQTT Topics ignorieren:

              Da werden die Ojekte ebenfalls wieder angelegt.

              und die Topics sind in einzelnen "Bubbles"?

              6945d36e-e2d9-498d-914b-56794e2ace7c-grafik.png

              Wenn ja, scheint es wohl ein Bug zu sein.

              NUC10I3+Ubuntu+Docker+ioBroker+influxDB2+Node Red+EMQX+Grafana

              Pi-hole, Traefik, Checkmk, Conbee II+Zigbee2MQTT, ESPSomfy-RTS, LoRaWAN, Arduino, KiCad

              Benutzt das Voting im Beitrag, wenn er euch geholfen hat.

              R 1 Antwort Letzte Antwort
              1
              • Marc BergM Marc Berg

                @rushmed sagte in MQTT Topics ignorieren:

                Da werden die Ojekte ebenfalls wieder angelegt.

                und die Topics sind in einzelnen "Bubbles"?

                6945d36e-e2d9-498d-914b-56794e2ace7c-grafik.png

                Wenn ja, scheint es wohl ein Bug zu sein.

                R Offline
                R Offline
                Rushmed
                Most Active
                schrieb am zuletzt editiert von
                #7

                @marc-berg Danke, das hatte ich befürchtet.
                Habe ein Issue aufgemacht.

                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

                610

                Online

                32.8k

                Benutzer

                82.7k

                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