Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Einbindung von Geräten
    5. MQTT-Adapter findet Geräte nicht

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    MQTT-Adapter findet Geräte nicht

    This topic has been deleted. Only users with topic management privileges can see it.
    • Gaspode
      Gaspode @JulesVerne93 last edited by

      @julesverne93
      Was steht denn genau im Log? Die Serveradresse im Adapter solltest du am Besten auf 0.0.0.0 belassen (Zugriff von allen IPs zulassen)
      Wenn das nicht hilft, Schuss ins Blaue: Auf deinem AlmaLinux ist nicht zufällig eine Firewall aktiv? Port 1883 muss von außen erreichbar sein.

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User @JulesVerne93 last edited by

        @julesverne93 für Tatmota Devices ist der Sonoff Adapter besser, er löst die mqtt besser auf
        ( der Name kommt davon, dass es früher nur Sonoff Devices mit Tasmota gab)

        mickym 1 Reply Last reply Reply Quote 2
        • mickym
          mickym Most Active @Guest last edited by

          @ilovegym sagte in MQTT-Adapter findet Geräte nicht:

          @julesverne93 für Tatmota Devices ist der Sonoff Adapter besser, er löst die mqtt besser auf
          ( der Name kommt davon, dass es früher nur Sonoff Devices mit Tasmota gab)

          Und ich rate davor ab - da Adapter, die mqtt interpretieren nur so gut sind, wie sie alle Kommandos und Infos kennen und Tasmota ist viel mächtiger, als dass der Adapter alles kennt (gibt viele Beispiele dafür). Im Übrigen bist Du auch darauf angewiesen die Struktur nicht zu verändern. Ein Kommunikationsproblem wird auch ein anderer Adapter im Übrigen nicht beheben.

          1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators last edited by

            meint ihr nicht dass die Kaffesatzleserei ohne Kenntnis irgendwelcher Informationen den TO in ganz falsche Bahnen führen kann?

            J 1 Reply Last reply Reply Quote 1
            • J
              JulesVerne93 @Homoran last edited by Homoran

              @homoran Also ich entschuldige mich für meine unprofessionelle Frage. habe nun nochmal den Log von heute angeschaut und da steht doch tatsächlich etwas drin was ich zum ersten Mal sehe... naja.

              2023-05-16 00:00:00.040 - info: host.n5095-server-nas instance system.adapter.youtube.0 started with pid 34379
              2023-05-16 00:00:00.997 - info: youtube.0 (34379) starting. Version 4.1.0 in /opt/iobroker/node_modules/iobroker.youtube, node: v16.19.1, js-controller: 4.0.24
              2023-05-16 00:00:01.577 - info: youtube.0 (34379) Terminated (NO_ERROR): Without reason
              2023-05-16 00:00:02.093 - info: host.n5095-server-nas instance system.adapter.youtube.0 terminated with code 0 (NO_ERROR)
              2023-05-16 14:28:05.892 - info: admin.0 (1378) ==> Connected system.user.admin from ::ffff:192.168.0.2
              2023-05-16 14:29:11.594 - info: host.n5095-server-nas stopInstance system.adapter.mqtt.0 (force=false, process=true)
              2023-05-16 14:29:11.604 - info: mqtt.0 (6028) Got terminate signal TERMINATE_YOURSELF
              2023-05-16 14:29:11.642 - info: host.n5095-server-nas stopInstance system.adapter.mqtt.0 send kill signal
              2023-05-16 14:29:12.123 - info: mqtt.0 (6028) terminating
              2023-05-16 14:29:12.125 - info: mqtt.0 (6028) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
              2023-05-16 14:29:12.644 - info: host.n5095-server-nas stopInstance system.adapter.mqtt.0 killing pid 6028
              2023-05-16 14:29:12.663 - info: host.n5095-server-nas instance system.adapter.mqtt.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
              2023-05-16 14:29:14.670 - info: host.n5095-server-nas instance system.adapter.mqtt.0 started with pid 48673
              2023-05-16 14:29:15.961 - info: mqtt.0 (48673) starting. Version 4.0.7 in /opt/iobroker/node_modules/iobroker.mqtt, node: v16.19.1, js-controller: 4.0.24
              2023-05-16 14:29:16.116 - info: mqtt.0 (48673) Starting MQTT authenticated server on 0.0.0.0:1883
              2023-05-16 14:29:35.904 - info: host.n5095-server-nas stopInstance system.adapter.mqtt.0 (force=false, process=true)
              2023-05-16 14:29:35.909 - info: mqtt.0 (48673) Got terminate signal TERMINATE_YOURSELF
              2023-05-16 14:29:35.948 - info: host.n5095-server-nas stopInstance system.adapter.mqtt.0 send kill signal
              2023-05-16 14:29:36.412 - info: mqtt.0 (48673) terminating
              2023-05-16 14:29:36.414 - info: mqtt.0 (48673) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
              2023-05-16 14:29:36.951 - info: host.n5095-server-nas instance system.adapter.mqtt.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
              2023-05-16 14:29:38.969 - info: host.n5095-server-nas instance system.adapter.mqtt.0 started with pid 48686
              2023-05-16 14:29:40.414 - info: mqtt.0 (48686) starting. Version 4.0.7 in /opt/iobroker/node_modules/iobroker.mqtt, node: v16.19.1, js-controller: 4.0.24
              2023-05-16 14:29:40.524 - info: mqtt.0 (48686) Starting MQTT authenticated server on 192.168.0.2:1883
              

              sorry nochmal, dass ich das nicht gleich gemacht hab.

              Gruss,
              Julius

              Homoran 2 Replies Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @JulesVerne93 last edited by

                @julesverne93 sagte in MQTT-Adapter findet Geräte nicht:

                nochmal den Log

                Konfiguration & Co. zu zeigen wäre auch nett.

                1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @JulesVerne93 last edited by

                  @julesverne93 sagte in MQTT-Adapter findet Geräte nicht:

                  host.n5095-server-nas

                  lässt mich ja schlimmes ahnen!

                  Informationen zur Art deiner Installation könnten auch von Belang sein.

                  Am besten die Ausgabe von iob diag da sollte einiges wichtiges komprimiert zu sehen sein.

                  Thomas Braun J 2 Replies Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Homoran last edited by

                    @homoran sagte in MQTT-Adapter findet Geräte nicht:

                    Am besten die Ausgabe von iob diag da sollte einiges wichtiges komprimiert zu sehen sein.

                    Da bin ich ja mal gespannt, was ein rpm-basiertes AlmaLinux da ausspuckt. Dürfte diverse Meldungen hageln.

                    J 1 Reply Last reply Reply Quote 2
                    • J
                      JulesVerne93 @Thomas Braun last edited by

                      @thomas-braun bis jetzt lässt sich auf jeden Fall sagen, dass der Umstieg auf rpm-Linux alles andere als einfach ist. installieren und loslegen - so läuft das nicht. Nicht mal die Remotesteuerung über Xrdp hat funktioniert. das kann ja heiter werden.

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @JulesVerne93 last edited by

                        @julesverne93 sagte in MQTT-Adapter findet Geräte nicht:

                        installieren und loslegen - so läuft das nicht.

                        Das hat auch niemand behauptet.

                        Nicht mal die Remotesteuerung über Xrdp hat funktioniert.

                        Macht man ohnehin nicht. Auf einem Server läuft kein X, damit auch kein Remote desktop.

                        1 Reply Last reply Reply Quote 0
                        • J
                          JulesVerne93 @Homoran last edited by

                          @homoran iob diag funktionierte schon mal nicht. ich habe dann - danke an Thomas Braun - den Befehl

                          curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh
                          

                          benutzt. Hier das Ergebnis:

                          Skript v.2023-04-16
                          
                          *** BASE SYSTEM ***
                          Architecture    : x86_64
                          Docker          : false
                          Virtualization  : none
                          diag.sh: line 67: lsb_release: command not found
                          
                          NAME="AlmaLinux"
                          VERSION="9.2 (Turquoise Kodkod)"
                          ID="almalinux"
                          ID_LIKE="rhel centos fedora"
                          VERSION_ID="9.2"
                          PLATFORM_ID="platform:el9"
                          PRETTY_NAME="AlmaLinux 9.2 (Turquoise Kodkod)"
                          ANSI_COLOR="0;34"
                          LOGO="fedora-logo-icon"
                          CPE_NAME="cpe:/o:almalinux:almalinux:9::baseos"
                          HOME_URL="https://almalinux.org/"
                          DOCUMENTATION_URL="https://wiki.almalinux.org/"
                          BUG_REPORT_URL="https://bugs.almalinux.org/"
                          
                          ALMALINUX_MANTISBT_PROJECT="AlmaLinux-9"
                          ALMALINUX_MANTISBT_PROJECT_VERSION="9.2"
                          REDHAT_SUPPORT_PRODUCT="AlmaLinux"
                          REDHAT_SUPPORT_PRODUCT_VERSION="9.2"
                          
                          Systemuptime and Load:
                           13:07:23 up 33 min,  0 users,  load average: 0.95, 0.82, 0.64
                          CPU threads: 4
                          
                          
                          *** Time and Time Zones ***
                                         Local time: Sun 2023-05-21 13:07:23 CEST
                                     Universal time: Sun 2023-05-21 11:07:23 UTC
                                           RTC time: Sun 2023-05-21 11:07:23
                                          Time zone: Europe/Berlin (CEST, +0200)
                          System clock synchronized: yes
                                        NTP service: active
                                    RTC in local TZ: no
                          
                          *** User and Groups ***
                          Julius
                          /home/Julius
                          Julius wheel iobroker
                          
                          *** X-Server-Setup ***
                          X-Server: 	false
                          Desktop: 	
                          Terminal: 	x11
                          Boot Target: 	graphical.target
                          
                          *** MEMORY ***
                                         total        used        free      shared  buff/cache   available
                          Mem:             15G        3.9G         10G        333M        1.5G         11G
                          Swap:           8.0G          0B        8.0G
                          Total:           23G        3.9G         18G
                          
                                  15582 M total memory
                                   3881 M used memory
                                    459 M active memory
                                   3888 M inactive memory
                                  10578 M free memory
                                      5 M buffer memory
                                   1461 M swap cache
                                   7979 M total swap
                                      0 M used swap
                                   7979 M free swap
                          
                          *** FILESYSTEM ***
                          Filesystem                 Type      Size  Used Avail Use% Mounted on
                          devtmpfs                   devtmpfs  4.0M     0  4.0M   0% /dev
                          tmpfs                      tmpfs     7.7G     0  7.7G   0% /dev/shm
                          tmpfs                      tmpfs     3.1G  9.9M  3.1G   1% /run
                          /dev/mapper/almalinux-root xfs        70G  7.0G   64G  10% /
                          /dev/mapper/almalinux-home xfs       145G  1.8G  143G   2% /home
                          /dev/sda2                  xfs      1014M  501M  514M  50% /boot
                          /dev/sda1                  vfat      599M  7.1M  592M   2% /boot/efi
                          tmpfs                      tmpfs     1.6G   52K  1.6G   1% /run/user/42
                          tmpfs                      tmpfs     1.6G  108K  1.6G   1% /run/user/1000
                          
                          Messages concerning ext4 filesystem in dmesg:
                          [sudo] password for Julius: 
                          sudo: timed out reading password
                          sudo: a password is required
                          
                          Show mounted filesystems (real ones only):
                          TARGET               SOURCE                     FSTYPE         OPTIONS
                          /                    /dev/mapper/almalinux-root xfs            rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota
                          |-/run/user/1000/doc portal                     fuse.portal    rw,nosuid,nodev,relatime,user_id=1000,group_id=1000
                          |-/home              /dev/mapper/almalinux-home xfs            rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota
                          | `-/home/Julius/thinclient_drives
                          |                    xrdp-chansrv               fuse.xrdp-chan rw,nosuid,nodev,relatime,user_id=1000,group_id=1000
                          `-/boot              /dev/sda2                  xfs            rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota
                            `-/boot/efi        /dev/sda1                  vfat           rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=winnt,errors=rem
                          
                          Files in neuralgic directories:
                          
                          /var:
                          [sudo] password for Julius: 
                          552M	/var/
                          247M	/var/cache
                          224M	/var/lib
                          176M	/var/cache/PackageKit/9.2
                          176M	/var/cache/PackageKit
                          
                          Archived and active journals take up 8.0M in the file system.
                          
                          /opt/iobroker/backups:
                          14M	/opt/iobroker/backups/
                          
                          /opt/iobroker/iobroker-data:
                          144M	/opt/iobroker/iobroker-data/
                          99M	/opt/iobroker/iobroker-data/files
                          51M	/opt/iobroker/iobroker-data/files/javascript.admin
                          32M	/opt/iobroker/iobroker-data/files/javascript.admin/static/js
                          32M	/opt/iobroker/iobroker-data/files/javascript.admin/static
                          
                          The five largest files in iobroker-data are:
                          15M	/opt/iobroker/iobroker-data/states.jsonl
                          6.9M	/opt/iobroker/iobroker-data/files/javascript.admin/static/js/610.de0231c9.chunk.js.map
                          6.3M	/opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map
                          4.9M	/opt/iobroker/iobroker-data/files/javascript.admin/static/js/848.7424922d.chunk.js.map
                          4.6M	/opt/iobroker/iobroker-data/files/javascript.admin/vs/language/typescript/tsWorker.js
                          
                          *** NodeJS-Installation ***
                          
                          /bin/nodejs 	v16.19.1
                          /bin/node 		v16.19.1
                          /bin/npm 		8.19.3
                          /bin/npx 		8.19.3
                          *** nodejs is NOT correctly installed ***
                          
                          diag.sh: line 211: apt-cache: command not found
                          
                          Temp directories causing npm8 problem: 0
                          No problems detected
                          
                          *** ioBroker-Installation ***
                          
                          ioBroker Status
                          iobroker is running on this host.
                          
                          
                          Objects type: jsonl
                          States  type: jsonl
                          
                          MULTIHOSTSERVICE/enabled: false
                          
                          Core adapters versions
                          js-controller: 	4.0.24
                          admin: 		6.3.5
                          javascript: 	6.1.4
                          
                          Adapters from github: 	0
                          
                          Adapter State
                          + system.adapter.admin.0                  : admin                 : n5095-server-nas                         -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                          + system.adapter.backitup.0               : backitup              : n5095-server-nas                         -  enabled
                          + system.adapter.chromecast.0             : chromecast            : n5095-server-nas                         -  enabled
                          + system.adapter.discovery.0              : discovery             : n5095-server-nas                         -  enabled
                          + system.adapter.history.0                : history               : n5095-server-nas                         -  enabled
                          + system.adapter.jarvis.0                 : jarvis                : n5095-server-nas                         -  enabled
                          + system.adapter.javascript.0             : javascript            : n5095-server-nas                         -  enabled
                          + system.adapter.mqtt.0                   : mqtt                  : n5095-server-nas                         -  enabled, port: 1883, bind: 192.168.0.2
                          + system.adapter.net-tools.0              : net-tools             : n5095-server-nas                         -  enabled
                          + system.adapter.ping.0                   : ping                  : n5095-server-nas                         -  enabled
                            system.adapter.shelly.0                 : shelly                : n5095-server-nas                         - disabled, port: 1882, bind: 0.0.0.0
                            system.adapter.vis.0                    : vis                   : n5095-server-nas                         -  enabled
                          + system.adapter.web.0                    : web                   : n5095-server-nas                         -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                            system.adapter.youtube.0                : youtube               : n5095-server-nas                         -  enabled
                          
                          + instance is alive
                          
                          Enabled adapters with bindings
                          + system.adapter.admin.0                  : admin                 : n5095-server-nas                         -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                          + system.adapter.mqtt.0                   : mqtt                  : n5095-server-nas                         -  enabled, port: 1883, bind: 192.168.0.2
                          + system.adapter.web.0                    : web                   : n5095-server-nas                         -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                          
                          ioBroker-Repositories
                          stable        : http://download.iobroker.net/sources-dist.json
                          beta          : http://download.iobroker.net/sources-dist-latest.json
                          
                          Active repo(s): stable
                          
                          Installed ioBroker-Instances
                          Used repository: stable
                          Adapter    "admin"        : 6.3.5    , installed 6.3.5
                          Adapter    "backitup"     : 2.6.19   , installed 2.6.19
                          Adapter    "chromecast"   : 3.0.3    , installed 3.0.3
                          Adapter    "discovery"    : 3.1.0    , installed 3.1.0
                          Adapter    "history"      : 2.2.4    , installed 2.2.4
                          Adapter    "jarvis"       : 3.1.2    , installed 3.1.2
                          Adapter    "javascript"   : 6.1.4    , installed 6.1.4
                          Controller "js-controller": 4.0.24   , installed 4.0.24
                          Adapter    "mqtt"         : 4.0.7    , installed 4.0.7
                          Adapter    "net-tools"    : 0.2.0    , installed 0.2.0
                          Adapter    "ping"         : 1.5.3    , installed 1.5.3
                          Adapter    "shelly"       : 6.3.1    , installed 6.3.1
                          Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                          Adapter    "socketio"     : 4.2.0    , installed 4.2.0
                          Adapter    "sonoff"       : 2.5.1    , installed 2.5.1
                          Adapter    "vis"          : 1.4.16   , installed 1.4.16
                          Adapter    "web"          : 4.3.0    , installed 4.3.0
                          Adapter    "ws"           : 1.3.0    , installed 1.3.0
                          Adapter    "youtube"      : 4.1.0    , installed 4.1.0
                          
                          Objects and States
                          Please stand by - This may take a while
                          Objects: 	399
                          States: 	307
                          
                          *** OS-Repositories and Updates ***
                          sudo: apt-get: command not found
                          diag.sh: line 271: apt-get: command not found
                          Pending Updates: 
                          
                          *** Listening Ports ***
                          Active Internet connections (only servers)
                          Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name    
                          tcp        0      0 127.0.0.1:5910          0.0.0.0:*               LISTEN      1000       33963      2572/Xvnc           
                          tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          25224      1248/sshd: /usr/sbi 
                          tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          20858      1/systemd           
                          tcp        0      0 0.0.0.0:8400            0.0.0.0:*               LISTEN      1001       32183      2482/io.jarvis.0    
                          tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       23344      1246/iobroker.js-co 
                          tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       28432      1246/iobroker.js-co 
                          tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      0          26879      1244/cupsd          
                          tcp        0      0 192.168.0.2:1883        0.0.0.0:*               LISTEN      1001       31387      2395/io.mqtt.0      
                          tcp6       0      0 :::3389                 :::*                    LISTEN      0          28549      1398/xrdp           
                          tcp6       0      0 ::1:5910                :::*                    LISTEN      1000       33964      2572/Xvnc           
                          tcp6       0      0 :::22                   :::*                    LISTEN      0          25226      1248/sshd: /usr/sbi 
                          tcp6       0      0 :::111                  :::*                    LISTEN      0          20859      1/systemd           
                          tcp6       0      0 ::1:3350                :::*                    LISTEN      0          28546      1397/xrdp-sesman    
                          tcp6       0      0 :::8081                 :::*                    LISTEN      1001       28477      1361/io.admin.0     
                          tcp6       0      0 :::8082                 :::*                    LISTEN      1001       30676      2469/io.web.0       
                          tcp6       0      0 ::1:631                 :::*                    LISTEN      0          26878      1244/cupsd          
                          tcp6       0      0 :::5900                 :::*                    LISTEN      1000       33520      3048/gnome-remote-d 
                          udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1001       29528      2357/io.chromecast. 
                          udp        0      0 0.0.0.0:5353            0.0.0.0:*                           70         27872      1048/avahi-daemon:  
                          udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          16528      1/systemd           
                          udp        0      0 127.0.0.1:323           0.0.0.0:*                           0          23166      1128/chronyd        
                          udp        0      0 0.0.0.0:58456           0.0.0.0:*                           70         27874      1048/avahi-daemon:  
                          udp6       0      0 :::5353                 :::*                                70         27873      1048/avahi-daemon:  
                          udp6       0      0 :::55000                :::*                                70         27875      1048/avahi-daemon:  
                          udp6       0      0 :::111                  :::*                                0          14236      1/systemd           
                          udp6       0      0 ::1:323                 :::*                                0          23167      1128/chronyd        
                          udp6       0      0 fe80::2d0:b4ff:fe00:546 :::*                                0          25394      1237/NetworkManager 
                          
                          *** Log File - Last 25 Lines ***
                          
                          2023-05-21 12:34:18.892  - info: host.n5095-server-nas instance scheduled system.adapter.youtube.0 0 0 * * *
                          2023-05-21 12:34:18.898  - info: host.n5095-server-nas instance system.adapter.youtube.0 started with pid 2435
                          2023-05-21 12:34:19.892  - info: youtube.0 (2435) starting. Version 4.1.0 in /opt/iobroker/node_modules/iobroker.youtube, node: v16.19.1, js-controller: 4.0.24
                          2023-05-21 12:34:20.472  - info: youtube.0 (2435) Terminated (NO_ERROR): Without reason
                          2023-05-21 12:34:21.002  - info: host.n5095-server-nas instance system.adapter.youtube.0 terminated with code 0 (NO_ERROR)
                          2023-05-21 12:34:22.863  - info: host.n5095-server-nas instance system.adapter.net-tools.0 started with pid 2448
                          2023-05-21 12:34:23.802  - info: net-tools.0 (2448) starting. Version 0.2.0 in /opt/iobroker/node_modules/iobroker.net-tools, node: v16.19.1, js-controller: 4.0.24
                          2023-05-21 12:34:23.828  - info: net-tools.0 (2448) Scanning for open ports (20, 21, 22, 23, 25, 53, 80, 110, 119, 123, 143, 161, 162, 194, 443, 445, 3306, 3389, 5900, 6379, 8080, 8443, 9090, 9200, 9999) at localhost, please wait
                          2023-05-21 12:34:25.948  - info: net-tools.0 (2448) Port scan finished
                          2023-05-21 12:34:26.879  - info: host.n5095-server-nas instance system.adapter.web.0 started with pid 2469
                          2023-05-21 12:34:27.997  - info: web.0 (2469) starting. Version 4.3.0 in /opt/iobroker/node_modules/iobroker.web, node: v16.19.1, js-controller: 4.0.24
                          2023-05-21 12:34:28.120  - info: web.0 (2469) socket.io server listening on port 8082
                          2023-05-21 12:34:28.123  - info: web.0 (2469) http server listening on port 8082
                          2023-05-21 12:34:30.865  - info: host.n5095-server-nas instance system.adapter.jarvis.0 started with pid 2482
                          2023-05-21 12:34:32.706  - info: jarvis.0 (2482) starting. Version 3.1.2 in /opt/iobroker/node_modules/iobroker.jarvis, node: v16.19.1, js-controller: 4.0.24
                          2023-05-21 12:34:32.730  - info: jarvis.0 (2482) No Backup found for layout, thus backing up initially.
                          2023-05-21 12:34:32.731  - info: jarvis.0 (2482) No Backup found for widgets, thus backing up initially.
                          2023-05-21 12:34:32.732  - info: jarvis.0 (2482) No Backup found for devices, thus backing up initially.
                          2023-05-21 12:34:32.733  - info: jarvis.0 (2482) No Backup found for styles, thus backing up initially.
                          2023-05-21 12:34:32.746  - info: jarvis.0 (2482) Found Backups for settings.
                          2023-05-21 12:34:32.803  - info: jarvis.0 (2482) Connection: WebSocket opened on port 8400 using http...
                          2023-05-21 12:34:35.724  - info: vis.0 (2495) starting. Version 1.4.16 in /opt/iobroker/node_modules/iobroker.vis, node: v16.19.1, js-controller: 4.0.24
                          2023-05-21 12:34:35.753  - error: vis.0 (2495) No license found for vis. Please get one on https://iobroker.net !
                          2023-05-21 12:34:36.328  - info: vis.0 (2495) Terminated (NO_ERROR): Without reason
                          2023-05-21 12:34:36.857  - info: host.n5095-server-nas instance system.adapter.vis.0 terminated while should be started once
                          
                          

                          nodejs wird schon mal als nicht korrekt installiert angezeigt. ist das eventuell der Fehler?

                          crunchip Thomas Braun 2 Replies Last reply Reply Quote 0
                          • crunchip
                            crunchip Forum Testing Most Active @JulesVerne93 last edited by

                            @julesverne93 sagte in MQTT-Adapter findet Geräte nicht:

                            enabled, port: 1883, bind: 192.168.0.2

                            @julesverne93 sagte in MQTT-Adapter findet Geräte nicht:

                            die IP-Adresse auf die Server-Adresse festgelegt

                            ist das nicht eher das Problem?

                            Gaspode 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @JulesVerne93 last edited by

                              @julesverne93 sagte in MQTT-Adapter findet Geräte nicht:

                              ist das eventuell der Fehler?

                              Nein, das ist schon richtig installiert, das diag-Skript wertet es nur falsch, weil es auf Debian und Konsorten abgestellt ist.

                              1 Reply Last reply Reply Quote 0
                              • Gaspode
                                Gaspode @crunchip last edited by

                                @crunchip said in MQTT-Adapter findet Geräte nicht:

                                ist das nicht eher das Problem?

                                Hatte ich ja schon hier angemerkt. Laut Log scheint er aber auch 0.0.0.0 ausgewählt zu haben. bleibt noch die Frage nach der Firewall.

                                J 1 Reply Last reply Reply Quote 0
                                • J
                                  JulesVerne93 @Gaspode last edited by

                                  @gaspode richtig, habe es auch schon mit anderen Einstellungen probiert. Meinst du, die Firewall blockiert Port 1883? Kann man sonst noch irgendwas "falsches" aus dem Log herauslesen?

                                  Gaspode 1 Reply Last reply Reply Quote 0
                                  • Gaspode
                                    Gaspode @JulesVerne93 last edited by

                                    @julesverne93 said in MQTT-Adapter findet Geräte nicht:

                                    Kann man sonst noch irgendwas "falsches" aus dem Log herauslesen?

                                    Das mit dem Log ist etwas schwierig, da du den Adapter offensichtlich nur kurz mit der korrekten Einstellung hast laufen lassen:

                                    2023-05-16 14:29:16.116 - info: mqtt.0 (48673) Starting MQTT authenticated server on 0.0.0.0:1883
                                    

                                    So sollte das aussehen. Das lief bei dir aber nur wenige Sekunden, dann hast du offensichtlich auf IP 192.168.0.2 umkonfiguriert. Und das ist verkehrt! Stell mal wieder auf 0.0.0.0 und mache ein etwas längeres Log. Kannst ja auch mal Debug Log Level einschalten, evtl. sieht man dann mehr.

                                    Bezüglich Firewall und AlmaLinux sagt mir Google Folgendes:
                                    https://linuxconfig.org/how-to-disable-enable-firewall-on-almalinux

                                    Zum Test, ob es an der Firewall liegt, kannst du sie demnach mit dem Befehl

                                    sudo systemctl stop firewalld
                                    

                                    abschalten.

                                    J 1 Reply Last reply Reply Quote 1
                                    • J
                                      JulesVerne93 @Gaspode last edited by

                                      @gaspode danke für deine Hilfe. Das Problem ist gelöst, die firewall hat tatsächlich den Port dicht gemacht. Almalinux hat firewalld integriert, und dort ist per default nur der Port 3389 freigegeben!

                                      sudo firewall-cmd --list-ports
                                      

                                      damit bekommt man eine Übersicht über alle offenen Ports. Die Befehle

                                      sudo firewall-cmd --zone=public --permanent --add-port=1883/tcp
                                      
                                      sudo firewall-cmd --reload
                                      

                                      öffnen Port 1883, speichern die Änderungen und starten die firewall neu.
                                      Nun läuft alles! Danke für eure Hilfe. Jetzt noch die Frage: kann ich auch direkt den Port 8081 auf machen damit ich von anderen Endgeräten Zugriff auf iobroker habe oder macht man das eher nicht? Gibt es sonst noch Ports, die zwingend geöffnet werden müssen?

                                      Gaspode 1 Reply Last reply Reply Quote 1
                                      • Gaspode
                                        Gaspode @JulesVerne93 last edited by

                                        @julesverne93 said in MQTT-Adapter findet Geräte nicht:

                                        Nun läuft alles! Danke für eure Hilfe. Jetzt noch die Frage: kann ich auch direkt den Port 8081 auf machen damit ich von anderen Endgeräten Zugriff auf iobroker habe oder macht man das eher nicht?

                                        Doch, das ist gängige Praxis. Unter Windows gibt der Installer sogar alle Ports in der Windows Firewall für ioBroker bzw. Node.js frei. Kannst du also ruhig machen. Nur niemals nie die Ports nach außen mappen, sodass man aus dem Internet Zugriff darauf hätte. Aber das hast du ja auch nicht vor. 🙂

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

                                        Support us

                                        ioBroker
                                        Community Adapters
                                        Donate

                                        389
                                        Online

                                        31.9k
                                        Users

                                        80.3k
                                        Topics

                                        1.3m
                                        Posts

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