Loxberry 3.0.1.2 update - MQTT Gateway not running

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • logol01
    MS Profi
    • 03.03.2018
    • 832

    #1

    Loxberry 3.0.1.2 update - MQTT Gateway not running

    Hallo zusammen,

    habe von der letzten Version Loxberry 2.xxx auf Loxberry 3.0.1.2 upgedatet.
    Hat ewig gedauert...

    Nun habe ich aber ein massives Probelm mit meinem MQTT Gateway.

    Selbsttest: ERROR --> MQTT --> MQTT Gateway not running (no PID). Last known status: MQTT Server state: Connected and subscribed to MQTT Server. Config state: Configfile present. UDP-IN state: UDP-IN socket connected.

    Wenn ich auf MQTT Gatway "Gateway Settings" gehe steht unten: "MQTT Gateway not running | Mosquitto running (PID3500)"

    in meinem Log steht folgendes..... was kann ich hier machen - bin ein wenig "aufgeschmissen".....eway started

    11:19:30.529 INFO: LoxBerry Version 3.0.1.2 ( is_arch_armv7l.cfg is_raspberry.cfg )

    11:19:30.529 INFO: Loglevel: 7

    11:19:30.549 INFO: KEEP IN MIND: LoxBerry MQTT only sends CHANGED values to the Miniserver.

    11:19:30.549 INFO: If you use UDP Monitor, you have to take actions that changes are pushed.
    11:19:30.560 Reading plugin configs
    11:19:30.561 Watching plugindir /opt/loxberry/config/plugins/camstream4lox/
    11:19:30.561 Watching plugindir /opt/loxberry/config/plugins/easee_home/
    11:19:30.561 Watching plugindir /opt/loxberry/config/plugins/fhem/
    11:19:30.562 Watching plugindir /opt/loxberry/config/plugins/foshkplugin/
    11:19:30.562 Watching plugindir /opt/loxberry/config/plugins/fritzlox/
    11:19:30.562 Watching plugindir /opt/loxberry/config/plugins/lbbackup/
    11:19:30.562 Watching plugindir /opt/loxberry/config/plugins/mirobot2lox-ng/
    11:19:30.563 Watching plugindir /opt/loxberry/config/plugins/motioneye/
    11:19:30.563 Watching plugindir /opt/loxberry/config/plugins/nukismartlock/
    11:19:30.563 Watching plugindir /opt/loxberry/config/plugins/smartmeter/
    11:19:30.563 Watching plugindir /opt/loxberry/config/plugins/sonos4lox/
    11:19:30.564 Watching plugindir /opt/loxberry/config/plugins/text2sip/
    11:19:30.564 Watching plugindir /opt/loxberry/config/plugins/weather4lox/
    11:19:30.564 trans_reread_directories
    11:19:30.566 Trans_Name php_textin_textout: /opt/loxberry/bin/mqtt/transform/shipped/udpin/examples/php_textin_textout.php
    11:19:30.645 Trans_Name php_jsonin_jsonout: /opt/loxberry/bin/mqtt/transform/shipped/udpin/examples/php_jsonin_jsonout.php
    11:19:30.723 Trans_Name php_jsonin_jsonarrayout: /opt/loxberry/bin/mqtt/transform/shipped/udpin/examples/php_jsonin_jsonarrayout.php
    11:19:30.800 Trans_Name http2mqtt: /opt/loxberry/bin/mqtt/transform/shipped/udpin/generic/http2mqtt.php
    11:19:30.884 Trans_Name moving_minmaxavg: /opt/loxberry/bin/mqtt/transform/shipped/udpin/generic/moving_minmaxavg.php
    11:19:30.965 Trans_Name sort: /opt/loxberry/bin/mqtt/transform/shipped/udpin/generic/sort.php
    11:19:31.049 Trans_Name shelly_rgb&w: /opt/loxberry/bin/mqtt/transform/shipped/udpin/shelly/shelly_rgb&w.php

    11:19:31.143 OK: Reading config changes

    11:19:31.146 OK: MQTT Gateway topic base is loxberry/mqttgateway/

    MQTT Gateway exited

    24.05.2024 11:19:31 TASK FINISHED
  • Christian Fenzl
    Lebende Foren Legende
    • 31.08.2015
    • 11232

    #2
    Öffne bitte eine Shell als loxberry, und starte manuell
    /opt/loxberry/sbin/mqttgateway.pl

    Gibt es eine Exception?

    Vielleicht können danach ggf. die Kollegen weiterhelfen, ich bin die nächsten beiden Wochen unterwegs 🏍️🇦🇱

    Lg, Christian
    Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

    Kommentar

    • logol01
      MS Profi
      • 03.03.2018
      • 832

      #3
      Hi Christian,

      schonmal herzlichen Dank für Deine Hilfe...

      Wenn ich Deinen Vorschlag befolge, passiert folgendes:

      loxberry@loxberry:~/bin $ /opt/loxberry/sbin/mqttgateway.pl

      Configfile: /opt/loxberry/config/system/general.json
      ================================================== ==============================
      <LOGSTART> 24.05.2024 14:34:08 TASK STARTED
      <LOGSTART> MQTT Gateway started
      14:34:08.397 <INFO> LoxBerry Version 3.0.1.2 ( is_arch_armv7l.cfg is_raspberry.c fg )
      14:34:08.397 <INFO> Loglevel: 7
      14:34:08.418 <INFO> KEEP IN MIND: LoxBerry MQTT only sends CHANGED values to the Miniserver.
      14:34:08.419 <INFO> If you use UDP Monitor, you have to take actions that change s are pushed.
      Setting timeouts for socket to 192.168.178.245:6666
      14:34:08.429 Reading plugin configs
      14:34:08.430 Watching plugindir /opt/loxberry/config/plugins/camstream4lox/
      14:34:08.431 Watching plugindir /opt/loxberry/config/plugins/easee_home/
      14:34:08.431 Watching plugindir /opt/loxberry/config/plugins/fhem/
      14:34:08.431 Watching plugindir /opt/loxberry/config/plugins/foshkplugin/
      14:34:08.431 Watching plugindir /opt/loxberry/config/plugins/fritzlox/
      14:34:08.432 Watching plugindir /opt/loxberry/config/plugins/lbbackup/
      14:34:08.432 Watching plugindir /opt/loxberry/config/plugins/mirobot2lox-ng/
      14:34:08.432 Watching plugindir /opt/loxberry/config/plugins/motioneye/
      14:34:08.433 Watching plugindir /opt/loxberry/config/plugins/nukismartlock/
      14:34:08.433 Watching plugindir /opt/loxberry/config/plugins/smartmeter/
      14:34:08.433 Watching plugindir /opt/loxberry/config/plugins/sonos4lox/
      14:34:08.433 Watching plugindir /opt/loxberry/config/plugins/text2sip/
      14:34:08.434 Watching plugindir /opt/loxberry/config/plugins/weather4lox/
      14:34:08.434 trans_reread_directories
      14:34:08.436 Trans_Name php_textin_textout: /opt/loxberry/bin/mqtt/transform/shi pped/udpin/examples/php_textin_textout.php
      14:34:08.520 Trans_Name php_jsonin_jsonout: /opt/loxberry/bin/mqtt/transform/shi pped/udpin/examples/php_jsonin_jsonout.php
      14:34:08.599 Trans_Name php_jsonin_jsonarrayout: /opt/loxberry/bin/mqtt/transfor m/shipped/udpin/examples/php_jsonin_jsonarrayout.php
      14:34:08.677 Trans_Name http2mqtt: /opt/loxberry/bin/mqtt/transform/shipped/udpi n/generic/http2mqtt.php
      14:34:08.758 Trans_Name moving_minmaxavg: /opt/loxberry/bin/mqtt/transform/shipp ed/udpin/generic/moving_minmaxavg.php
      14:34:08.877 Trans_Name sort: /opt/loxberry/bin/mqtt/transform/shipped/udpin/gen eric/sort.php
      14:34:08.958 Trans_Name shelly_rgb&w: /opt/loxberry/bin/mqtt/transform/shipped/u dpin/shelly/shelly_rgb&w.php
      14:34:09.049 <OK> Reading config changes
      14:34:09.052 <OK> MQTT Gateway topic base is loxberry/mqttgateway/
      Not a HASH reference at /opt/loxberry/sbin/mqttgateway.pl line 841.
      <LOGEND> MQTT Gateway exited
      <LOGEND> 24.05.2024 14:34:09 TASK FINISHED

      Kommentar

      • logol01
        MS Profi
        • 03.03.2018
        • 832

        #4
        anbei mal meine mqttgteway.pl Datei...
        Diese scheint den Fehler auszugeben....
        Angehängte Dateien

        Kommentar

        • Christian Fenzl
          Lebende Foren Legende
          • 31.08.2015
          • 11232

          #5


          Schau mal in deine mqttgateway.json, was bei Main / msno steht. Da sollte 1 stehen.

          lg Christian
          Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

          Kommentar

          • logol01
            MS Profi
            • 03.03.2018
            • 832

            #6
            Hallo Christian Fenzl meine mqttgateway.json Datei unter /opt/loxberry/config/system ist quasi nicht existent und hat 2byte
            Hier im Anhang....
            Angehängte Dateien
            Zuletzt geändert von logol01; 29.05.2024, 07:44.

            Kommentar

            • logol01
              MS Profi
              • 03.03.2018
              • 832

              #7
              Hallo zusammen,
              ich wollte mich nochmals in Erinnerung rufen.
              Ich bekomme es nicht hin - ich bekommen das MQTT Gateway nicht zum laufen.
              Gibt es jemandem der mir hier heflen kann?
              Würde mich unfassbar freuen.

              LG

              Logol01

              Kommentar

              • dieter_v
                Smart Home'r
                • 28.03.2016
                • 92

                #8
                Ich habe auch erst versucht von der 2er auf die 3er upzudaten.
                Das hat aber letztendlich nur viel Zeit gekostet und nichts gebracht.

                Deshalb mein Tipp: RasPi mit DietPi (64Bit) neu aufsetzen, Plugins installieren und alles ist gut.
                Mach die Screenshots von den Einstellungen, das hilft beim Neuaufsetzen.

                Viel Erfolg
                LG Dieter

                Kommentar

                Lädt...