Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. modbus Socket Error / Client in Error State

    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

    modbus Socket Error / Client in Error State

    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      guitardoc last edited by guitardoc

      Hallo zusammen,

      Seit Monaten bekomme ich folgende Fehlermeldung:

      2024-11-03 04:50:16.392	error	Client in error state.
      2024-11-03 04:50:16.392	error	Socket Error
      

      Im wesentlichen jeden Tag weitgehend zur gleichen Zeit.

      iob diag:

      Script v.2024-10-19
      
      *** BASE SYSTEM ***
       Static hostname: iobroker
             Icon name: computer-container
               Chassis: container ☐
        Virtualization: lxc
      Operating System: Debian GNU/Linux 12 (bookworm)
                Kernel: Linux 6.8.12-2-pve
          Architecture: x86-64
      OS is similar to: 
      
      model name	: Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
      Docker          : false
      Virtualization  : lxc
      Kernel          : x86_64
      Userland        : 64 bit
      
      Systemuptime and Load:
       10:46:21 up 2 days, 17:32,  3 users,  load average: 2.81, 1.66, 1.00
      CPU threads: 2
      
      
      *** LIFE CYCLE STATUS ***
      Operating System is the current Debian stable version codenamed 'bookworm'!
      
      *** TIME AND TIMEZONES ***
                     Local time: Sun 2024-11-03 10:46:21 CET
                 Universal time: Sun 2024-11-03 09:46:21 UTC
                       RTC time: n/a
                      Time zone: Europe/Berlin (CET, +0100)
      System clock synchronized: yes
                    NTP service: inactive
                RTC in local TZ: no
      
      *** Users and Groups ***
      User that called 'iob diag':
      mn
      HOME=/home/mn
      GROUPS=mn adm dialout sudo users iobroker
      
      User that is running 'js-controller':
      iobroker
      HOME=/home/iobroker
      GROUPS=iobroker tty dialout audio video plugdev
      
      *** DISPLAY-SERVER SETUP ***
      Display-Server: false
      Desktop: 	
      Terminal: 	tty
      
      System is booting into 'graphical.target'. Usually a server is running in 'multi-user.target'. Please set BootTarget to 'multi-user.target' or run 'iobroker fix'
      
      *** MEMORY ***
                     total        used        free      shared  buff/cache   available
      Mem:            8.6G        2.7G        3.7G        143K        2.0G        5.8G
      Swap:           536M          0B        536M
      Total:          9.1G        2.7G        4.2G
      
      Active iob-Instances: 	19
      
               8192 M total memory
               2615 M used memory
               2526 M active memory
               1855 M inactive memory
               3528 M free memory
                  0 M buffer memory
               1922 M swap cache
                512 M total swap
                  0 M used swap
                512 M free swap
      
      *** top - Table Of Processes  ***
      top - 10:46:21 up 2 days, 17:32,  3 users,  load average: 2.81, 1.66, 1.00
      Tasks:  65 total,   2 running,  63 sleeping,   0 stopped,   0 zombie
      %Cpu(s):  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st 
      MiB Mem :   8192.0 total,   3526.4 free,   2617.3 used,   1922.4 buff/cache     
      MiB Swap:    512.0 total,    512.0 free,      0.0 used.   5574.7 avail Mem 
      
      *** FAILED SERVICES ***
      
        UNIT                    LOAD   ACTIVE SUB    DESCRIPTION
      * run-rpc_pipefs.mount    loaded failed failed RPC Pipe File System
      * sys-kernel-config.mount loaded failed failed Kernel Configuration File System
      
      LOAD   = Reflects whether the unit definition was properly loaded.
      ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
      SUB    = The low-level unit activation state, values depend on unit type.
      2 loaded units listed.
      
      
      *** DMESG CRITICAL ERRORS ***
      dmesg: read kernel buffer failed: Operation not permitted
      No critical errors detected
      
      *** FILESYSTEM ***
      Filesystem                       Type      Size  Used Avail Use% Mounted on
      /dev/mapper/pve-vm--101--disk--1 ext4       32G   14G   17G  45% /
      none                             tmpfs     492K  4.0K  488K   1% /dev
      /dev/mapper/pve-root             ext4       94G   83G  7.0G  93% /dev/ttyACM0
      udev                             devtmpfs   32G     0   32G   0% /dev/tty
      tmpfs                            tmpfs      32G     0   32G   0% /dev/shm
      tmpfs                            tmpfs      13G  132K   13G   1% /run
      tmpfs                            tmpfs     5.0M     0  5.0M   0% /run/lock
      tmpfs                            tmpfs     6.3G     0  6.3G   0% /run/user/1001
      
      Messages concerning ext4 filesystem in dmesg:
      dmesg: read kernel buffer failed: Operation not permitted
      
      Show mounted filesystems:
      TARGET         SOURCE                                                 FSTYPE OPTIONS
      /              /dev/mapper/pve-vm--101--disk--1                       ext4   rw,relatime,stripe=16
      `-/dev/ttyACM0 /dev/mapper/pve-root[/var/lib/lxc/101/devices/ttyACM0] ext4   rw,relatime,errors=remount-ro
      
      Files in neuralgic directories:
      
      /var:
      3.6G	/var/
      2.2G	/var/lib
      2.1G	/var/lib/mysql
      1.9G	/var/lib/mysql/DBioBroker
      742M	/var/cache
      
      Archived and active journals take up 668.7M in the file system.
      
      /opt/iobroker/backups:
      2.1G	/opt/iobroker/backups/
      
      /opt/iobroker/iobroker-data:
      1.4G	/opt/iobroker/iobroker-data/
      1.3G	/opt/iobroker/iobroker-data/files
      617M	/opt/iobroker/iobroker-data/files/javascript.admin
      560M	/opt/iobroker/iobroker-data/files/javascript.admin/static
      558M	/opt/iobroker/iobroker-data/files/javascript.admin/static/js
      
      The five largest files in iobroker-data are:
      31M	/opt/iobroker/iobroker-data/objects.jsonl
      26M	/opt/iobroker/iobroker-data/files/echarts/static/js/main.41cee985.js.map
      26M	/opt/iobroker/iobroker-data/files/echarts.admin/chart/static/js/main.41cee985.js.map
      24M	/opt/iobroker/iobroker-data/files/web.admin/static/js/main.135279a0.js.map
      24M	/opt/iobroker/iobroker-data/files/vis-2/static/js/main.f305bc29.js.map
      
      USB-Devices by-id:
      USB-Sticks -  Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id':
      
      /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2285504-if00
      
      HINT:
      Your zigbee.0 COM-Port is NOT matching 'by-id'. Please check your setting:
      /dev/ttyACM0
      
      *** NodeJS-Installation ***
      
      /usr/bin/nodejs 	v20.18.0
      /usr/bin/node 		v20.18.0
      /usr/bin/npm 		10.8.2
      /usr/bin/npx 		10.8.2
      /usr/bin/corepack 	0.29.3
      
      nodejs:
        Installed: 20.18.0-1nodesource1
        Candidate: 20.18.0-1nodesource1
        Version table:
       *** 20.18.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
              100 /var/lib/dpkg/status
           20.17.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.16.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.15.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.15.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.14.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.13.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.13.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.12.2-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.12.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.12.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.11.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.11.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.10.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.9.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.8.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.8.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.7.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.6.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.6.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.5.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.5.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.4.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.3.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.3.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.2.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.1.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           20.0.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
           18.19.0+dfsg-6~deb12u2 500
              500 http://deb.debian.org/debian bookworm/main amd64 Packages
           18.19.0+dfsg-6~deb12u1 500
              500 http://security.debian.org bookworm-security/main amd64 Packages
      
      Temp directories causing deletion problem: 0
      No problems detected
      
      Errors in npm tree: 0
      No problems detected
      
      *** ioBroker-Installation ***
      
      ioBroker Status
      iobroker is running on this host.
      
      
      Objects type: jsonl
      States  type: jsonl
      
      Hosts:
      iobroker            iobroker (version: 6.0.11, hostname: iobroker      , alive, uptime: 151)
      
      Core adapters versions
      js-controller: 	6.0.11
      admin: 		7.2.6
      javascript: 	8.8.3
      
      nodejs modules from github: 	0
      
      Adapter State
      + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
        system.adapter.alias-manager.0          : alias-manager         : iobroker                                 -  enabled
      + system.adapter.backitup.0               : backitup              : iobroker                                 -  enabled
      + system.adapter.cloud.0                  : cloud                 : iobroker                                 -  enabled
        system.adapter.discovery.0              : discovery             : iobroker                                 -  enabled
        system.adapter.echarts.0                : echarts               : iobroker                                 -  enabled
        system.adapter.eusec.0                  : eusec                 : iobroker                                 -  enabled
        system.adapter.feiertage.0              : feiertage             : iobroker                                 -  enabled
        system.adapter.followthesun.0           : followthesun          : iobroker                                 -  enabled
      + system.adapter.homeconnect.0            : homeconnect           : iobroker                                 -  enabled
        system.adapter.hydrawise.0              : hydrawise             : iobroker                                 -  enabled
      + system.adapter.javascript.0             : javascript            : iobroker                                 -  enabled
      + system.adapter.javascript.1             : javascript            : iobroker                                 -  enabled
        system.adapter.logparser.0              : logparser             : iobroker                                 -  enabled
      + system.adapter.modbus.0                 : modbus                : iobroker                                 -  enabled
      + system.adapter.mqtt.0                   : mqtt                  : iobroker                                 -  enabled, port: 1886, bind: 0.0.0.0
        system.adapter.notification-manager.0   : notification-manager  : iobroker                                 -  enabled
        system.adapter.pvforecast.0             : pvforecast            : iobroker                                 -  enabled
      + system.adapter.shelly.0                 : shelly                : iobroker                                 -  enabled, port: 1882, bind: 0.0.0.0
      + system.adapter.shelly.1                 : shelly                : iobroker                                 -  enabled, port: 1883, bind: 0.0.0.0
      + system.adapter.shuttercontrol.0         : shuttercontrol        : iobroker                                 -  enabled
      + system.adapter.shuttercontrol.1         : shuttercontrol        : iobroker                                 -  enabled
      + system.adapter.shuttercontrol.2         : shuttercontrol        : iobroker                                 -  enabled
        system.adapter.solaredge.0              : solaredge             : iobroker                                 -  enabled
        system.adapter.sonoff.0                 : sonoff                : iobroker                                 -  enabled, port: 1888, bind: 0.0.0.0
      + system.adapter.sql.0                    : sql                   : iobroker                                 -  enabled, port: 3306
      + system.adapter.telegram.0               : telegram              : iobroker                                 -  enabled, port: 8443, bind: 0.0.0.0
      + system.adapter.tuya.0                   : tuya                  : iobroker                                 -  enabled
        system.adapter.uv-protect.0             : uv-protect            : iobroker                                 -  enabled
        system.adapter.viessmannapi.0           : viessmannapi          : iobroker                                 -  enabled
        system.adapter.vis-2-widgets-material.0 : vis-2-widgets-material: iobroker                                 -  enabled
        system.adapter.vis-2.0                  : vis-2                 : iobroker                                 -  enabled
        system.adapter.vis-map.0                : vis-map               : iobroker                                 - disabled
        system.adapter.vis-materialdesign.0     : vis-materialdesign    : iobroker                                 - disabled
        system.adapter.vis.0                    : vis                   : iobroker                                 -  enabled
        system.adapter.vw-connect.0             : vw-connect            : iobroker                                 -  enabled
      + system.adapter.weatherunderground.0     : weatherunderground    : iobroker                                 -  enabled
        system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
        system.adapter.yahka.0                  : yahka                 : iobroker                                 -  enabled
      + system.adapter.zigbee.0                 : zigbee                : iobroker                                 -  enabled, port: /dev/ttyACM0
      
      + instance is alive
      
      Enabled adapters with bindings
      + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
      + system.adapter.mqtt.0                   : mqtt                  : iobroker                                 -  enabled, port: 1886, bind: 0.0.0.0
      + system.adapter.shelly.0                 : shelly                : iobroker                                 -  enabled, port: 1882, bind: 0.0.0.0
      + system.adapter.shelly.1                 : shelly                : iobroker                                 -  enabled, port: 1883, bind: 0.0.0.0
        system.adapter.sonoff.0                 : sonoff                : iobroker                                 -  enabled, port: 1888, bind: 0.0.0.0
      + system.adapter.sql.0                    : sql                   : iobroker                                 -  enabled, port: 3306
      + system.adapter.telegram.0               : telegram              : iobroker                                 -  enabled, port: 8443, bind: 0.0.0.0
        system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
      + system.adapter.zigbee.0                 : zigbee                : iobroker                                 -  enabled, port: /dev/ttyACM0
      
      ioBroker-Repositories
      ┌─────────┬───────────────┬──────────────────────────────────────────────────────────┬──────────────┐
      │ (index) │ name          │ url                                                      │ auto upgrade │
      ├─────────┼───────────────┼──────────────────────────────────────────────────────────┼──────────────┤
      │ 0       │ 'stable'      │ 'https://download.iobroker.net/sources-dist.json'        │ false        │
      │ 1       │ 'beta'        │ 'https://download.iobroker.net/sources-dist-latest.json' │ false        │
      │ 2       │ 'live-stable' │ 'http://iobroker.live/repo/sources-dist.json'            │ false        │
      │ 3       │ 'live-beta'   │ 'http://iobroker.live/repo/sources-dist-latest.json'     │ false        │
      └─────────┴───────────────┴──────────────────────────────────────────────────────────┴──────────────┘
      
      Active repo(s): stable
      Upgrade policy: none
      
      Installed ioBroker-Instances
      Used repository: stable
      Adapter    "admin"        : 7.1.5    , installed 7.2.6
      Adapter    "alias-manager": 1.2.6    , installed 1.2.6
      Adapter    "backitup"     : 3.0.25   , installed 3.0.25
      Adapter    "cloud"        : 5.0.1    , installed 5.0.1
      Adapter    "discovery"    : 5.0.0    , installed 5.0.0
      Adapter    "echarts"      : 1.9.2    , installed 1.9.2
      Adapter    "eusec"        : 1.3.3    , installed 1.3.3
      Adapter    "feiertage"    : 1.2.0    , installed 1.2.0
      Adapter    "followthesun" : 0.5.1    , installed 0.5.1
      Adapter    "homeconnect"  : 1.4.1    , installed 1.4.1
      Adapter    "hydrawise"    : 1.0.2    , installed 1.0.2
      Adapter    "javascript"   : 8.8.3    , installed 8.8.3
      Controller "js-controller": 6.0.11   , installed 6.0.11
      Adapter    "logparser"    : 2.2.2    , installed 2.2.2
      Adapter    "modbus"       : 6.3.2    , installed 6.3.2
      Adapter    "mqtt"         : 6.1.2    , installed 6.1.2
      Adapter    "notification-manager": 1.2.1, installed 1.2.1
      Adapter    "pvforecast"   : 3.0.0    , installed 4.0.0
      Adapter    "shelly"       : 8.2.1    , installed 8.2.1
      Adapter    "shuttercontrol": 1.8.3   , installed 1.8.3
      Adapter    "simple-api"   : 2.8.0    , installed 2.8.0
      Adapter    "socketio"     : 6.7.1    , installed 6.7.1
      Adapter    "solaredge"    : 1.4.1    , installed 1.4.1
      Adapter    "sonoff"       : 3.1.2    , installed 3.1.2
      Adapter    "sql"          : 3.0.1    , installed 3.0.1
      Adapter    "telegram"     : 3.9.0    , installed 3.9.0
      Adapter    "tuya"         : 3.16.0   , installed 3.16.0
      Adapter    "uv-protect"   : 0.6.3    , installed 0.6.3
      Adapter    "viessmannapi" : 2.3.0    , installed 2.3.0
      Adapter    "vis"          : 1.5.6    , installed 1.5.6
      Adapter    "vis-2"        : 2.9.64   , installed 2.9.64
      Adapter    "vis-2-widgets-material": 1.4.10, installed 1.4.10
      Adapter    "vis-map"      : 1.1.2    , installed 1.1.2
      Adapter    "vis-materialdesign": 0.5.9, installed 0.5.9
      Adapter    "weatherunderground": 3.7.0, installed 3.7.0
      Adapter    "web"          : 6.2.5    , installed 6.2.5
      Adapter    "ws"           : 2.6.2    , installed 2.6.2
      Adapter    "yahka"        : 1.0.3    , installed 1.0.3
      Adapter    "zigbee"       : 1.10.3   , installed 1.10.3
      
      Objects and States
      Please stand by - This may take a while
      Objects: 	21426
      States: 	16853
      
      *** OS-Repositories and Updates ***
      Hit:1 http://deb.debian.org/debian bookworm InRelease
      Hit:2 http://security.debian.org bookworm-security InRelease
      Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
      Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease
      Reading package lists...
      Pending Updates: 0
      
      *** 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:39193         0.0.0.0:*               LISTEN      1000       24897227   17606/io.yahka.0    
      tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      105        14522      202/mariadbd        
      tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      0          13189      372/master          
      tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1000       24877930   15754/iobroker.js-c 
      tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1000       24877925   15754/iobroker.js-c 
      tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          12629      1/init              
      tcp        0      0 0.0.0.0:1888            0.0.0.0:*               LISTEN      1000       24893189   17395/io.sonoff.0   
      tcp        0      0 0.0.0.0:1883            0.0.0.0:*               LISTEN      1000       24889189   17037/io.shelly.1   
      tcp        0      0 0.0.0.0:1886            0.0.0.0:*               LISTEN      1000       24886749   16396/io.mqtt.0     
      tcp        0      0 0.0.0.0:1887            0.0.0.0:*               LISTEN      1000       24886750   16396/io.mqtt.0     
      tcp6       0      0 ::1:25                  :::*                    LISTEN      0          13190      372/master          
      tcp6       0      0 :::8081                 :::*                    LISTEN      1000       24880176   15772/io.admin.0    
      tcp6       0      0 :::8082                 :::*                    LISTEN      1000       24895066   17531/io.web.0      
      tcp6       0      0 :::111                  :::*                    LISTEN      0          12631      1/init              
      tcp6       0      0 :::22                   :::*                    LISTEN      0          11236      1/init              
      tcp6       0      0 :::1984                 :::*                    LISTEN      1000       24894725   17509/go2rtc        
      tcp6       0      0 :::43993                :::*                    LISTEN      1000       24897191   17606/io.yahka.0    
      tcp6       0      0 :::8554                 :::*                    LISTEN      1000       24894718   17509/go2rtc        
      tcp6       0      0 :::8555                 :::*                    LISTEN      1000       24894719   17509/go2rtc        
      udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          12630      1/init              
      udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1000       24897192   17606/io.yahka.0    
      udp        0      0 0.0.0.0:5683            0.0.0.0:*                           1000       24889132   17011/io.shelly.0   
      udp        0      0 0.0.0.0:6666            0.0.0.0:*                           1000       24891021   17117/io.tuya.0     
      udp        0      0 0.0.0.0:6667            0.0.0.0:*                           1000       24891022   17117/io.tuya.0     
      udp        0      0 0.0.0.0:43675           0.0.0.0:*                           1000       24894745   17479/io.eusec.0    
      udp        0      0 0.0.0.0:46041           0.0.0.0:*                           1000       24894753   17479/io.eusec.0    
      udp6       0      0 :::111                  :::*                                0          12632      1/init              
      udp6       0      0 :::8555                 :::*                                1000       24894720   17509/go2rtc        
      
      *** Log File - Last 25 Lines ***
      
      2024-11-03 10:45:44.029  - info: yahka.0 (17606) adding Bresser Bodenfeuchte with UUID: 4703a9aa-8572-44a5-b6e5-3baf35a133aa
      2024-11-03 10:45:44.029  - info: yahka.0 (17606) adding Bresser Bodentemperatur with UUID: 30b70e34-ac7e-4999-9d1d-7538f0f6debe
      2024-11-03 10:45:44.030  - info: yahka.0 (17606) adding Manuelle Bewässerung with UUID: 09b7e90a-e067-4f34-a1dc-e5966e5997cf
      2024-11-03 10:45:44.030  - info: yahka.0 (17606) adding Fensterputzmodus with UUID: 616febab-744f-4652-aa61-2ab267ba632a
      2024-11-03 10:45:44.030  - info: yahka.0 (17606) adding Bierversteck schließen Impuls with UUID: 6a246646-97b9-4c54-bcbd-e771539ef6e3
      2024-11-03 10:45:44.031  - info: yahka.0 (17606) adding Kontakt Schiebetor with UUID: 129d92a4-870e-443c-84bc-10ba7356359d
      2024-11-03 10:45:44.031  - info: yahka.0 (17606) adding Touareg Schloss with UUID: 86edc9cf-4e94-4db7-9376-6f035a19d2b4
      2024-11-03 10:45:44.031  - info: yahka.0 (17606) adding Szene Gute Nacht ausführen with UUID: 321259e0-a59d-4c0d-829d-ed59431c82ce
      2024-11-03 10:45:44.032  - info: yahka.0 (17606) adding Partymodus with UUID: 7989e14b-c1db-40ec-a040-643e7b746b05
      2024-11-03 10:45:44.032  - info: yahka.0 (17606) publishing bridge Yahka-0 on 0.0.0.0 using avahi
      2024-11-03 10:45:47.784  - info: viessmannapi.0 (17621) starting. Version 2.3.0 in /opt/iobroker/node_modules/iobroker.viessmannapi, node: v20.18.0, js-controller: 6.0.11
      2024-11-03 10:45:50.270  - info: viessmannapi.0 (17621) 1 installations found.
      2024-11-03 10:45:50.374  - info: viessmannapi.0 (17621) State value to set for "viessmannapi.0.2457409.gateways01.devices01.id" has to be type "number" but received type "string" 
      2024-11-03 10:45:50.375  - info: viessmannapi.0 (17621) State value to set for "viessmannapi.0.2457409.gateways01.devices04.id" has to be type "string" but received type "number" 
      2024-11-03 10:45:50.395  - debug: javascript.1 (15971) Could not parse value for id viessmannapi.0.2457409.gateways01.devices04.boilerSerialEditor into object: Unexpected token 'D', "DeviceCommunication" is not valid JSON
      2024-11-03 10:45:50.396  - debug: javascript.1 (15971) Could not parse value for id viessmannapi.0.2457409.gateways01.devices04.boilerSerialEditor into object: Unexpected token 'D', "DeviceCommunication" is not valid JSON
      2024-11-03 10:45:52.621  - info: echarts.0 (17636) starting. Version 1.9.2 in /opt/iobroker/node_modules/iobroker.echarts, node: v20.18.0, js-controller: 6.0.11
      2024-11-03 10:45:52.686  - info: sonoff.0 (17395) Client [Stromzähler] connected with secret 1730627152683_9462
      2024-11-03 10:45:59.787  - info: pvforecast.0 (17666) starting. Version 4.0.0 in /opt/iobroker/node_modules/iobroker.pvforecast, node: v20.18.0, js-controller: 6.0.11
      2024-11-03 10:45:59.795  - info: pvforecast.0 (17666) using system latitude: 51.278486150000006 longitude: 12.507069799527972
      2024-11-03 10:46:02.901  - info: pvforecast.0 (17666) Starting internal update cron (every 15 Minutes) for timezone: Europe/Berlin
      2024-11-03 10:46:04.154  - info: hydrawise.0 (17707) starting. Version 1.0.2 in /opt/iobroker/node_modules/iobroker.hydrawise, node: v20.18.0, js-controller: 6.0.11
      2024-11-03 10:46:07.822  - info: vis-2.0 (17722) starting. Version 2.9.64 in /opt/iobroker/node_modules/iobroker.vis-2, node: v20.18.0, js-controller: 6.0.11
      2024-11-03 10:46:07.983  - info: vis-2.0 (17722) vis-2 license is OK.
      2024-11-03 10:46:08.099  - info: vis-2.0 (17722) config.js changed. Upload.
      
      

      Hat jemand eine Idee, wie man das beheben kann? Danke schon mal im Voraus für die Hilfe.

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

        @guitardoc sagte in modbus Socket Error / Client in Error State:

        Im wesentlichen jeden Tag weitgehend zur gleichen Zeit.

        was für ein Gerät?
        wie angebunden/konfiguriert?
        wann läuft dein Backup?

        1 Reply Last reply Reply Quote 0
        • G
          guitardoc last edited by

          @homoran

          Angebunden ist ein Solar Edge Wechselrichter...

          9a9e3340-8cbd-439f-9fa5-a8ecf3679837-image.png
          f548dda6-3553-4695-83b8-d36d63cdb456-image.png

          ...über folgende Holding Register:

          _address	name	description	unit	type	len	factor	offset	formula	role	room	poll	wp	cw	isScale
          97709	Batt1_Avg_T	Batterie 1 Average Temperature °C		floatsw	2	1	0		level		true	false	false	false
          101697	CommitSettings	Commit Power Control Settings		uint16be	1	1	0		level		true	false	false	false
          101698	Restore Power Control Default Settings	Restore Power Control Default Settings		uint16be	1	1	0		level		true	false	false	false
          101699	PwrFrqDeratingConfig	PwrFrqDeratingConfig		uint32sw	2	1	0		level		true	false	false	false
          101701	ReactivePwrConfig	ReactivePwrConfig		uint32sw	2	1	0		level		true	false	false	false
          101761	PowerReduce	PowerReduce		floatsw	2	1	0		level		true	false	false	false
          101763	AdvancedPwrControlEn	AdvancedPwrControlEn		uint32sw	2	1	0		level		true	false	false	false
          102209	Enable Dynamic Power Control	Enable Dynamic Power Control		uint16be	1	1	0		level		true	false	false	false
          102221	Active Power Limit	Active Power Limit	W	floatsw	2	1	0		level		true	false	false	false
          102223	Reactive Power Limit	Reactive Power Limit	W	floatsw	2	1	0		level		true	false	false	false
          102225	Command Timeout	Command Timeout	s	uint32sw	2	1	0		level		true	false	false	false
          102721	Battery 1 Manufacturer Name	Battery 1 Manufacturer Name		string	8	1	0		level		true	false	false	false
          102737	Battery 1 Model	Battery 1 Model		string	16	1	0		level		true	false	false	false
          102753	Battery 1 Firmware Version	Battery 1 Firmware Version		string	16	1	0		level		true	false	false	false
          102769	Battery 1 Serial Number	Battery 1 Serial Number		string	16	1	0		level		true	false	false	false
          102787	Batt Rated Energy	Batt Rated Energy	Wh	floatsw	2	1	0		level		true	false	false	false
          102789	Battery 1 Max Charge Continues Power	Battery 1 Max Charge Continues Power	W	floatsw	2	1	0		level		true	false	false	false
          102791	Battery 1 Max Discharge Continues Power	Battery 1 Max Discharge Continues Power	W	floatsw	2	1	0		level		true	false	false	false
          102829	Batt1_Avg_T	Batterie 1 Average Temperature °C	°C	floatsw	2	1	0		level		true	false	false	false
          102837	Speicher_Ladung	Speicher Ladeleistung	W	floatsw	2	1	0		level		true	false	false	false
          102839	xBattery 1 Lifetime Export Energy Counter	Battery 1 Lifetime Export Energy Counter	Wh	uint64le	4	1	0		value		true	false	false	false
          102843	xBattery 1 Lifetime Import Energy Counter	Battery 1 Lifetime Import Energy Counter	Wh	uint64le	4	1	0		value		true	false	false	false
          102847	Battery 1 Max Energy	Battery 1 Max Energy	Wh	floatsw	2	1	0		level		true	false	false	false
          102849	Battery 1 Available Energy	Battery 1 Available Energy	Wh	floatsw	2	1	0		level		true	false	false	false
          102851	Speicher_SoH	Batterie Alterung	%	floatsw	2	1	0		level		true	false	false	false
          102853	Speicher_SoC	Batterieladung	%	floatsw	2	1	0		level		true	false	false	false
          102855	Speicher_Betriebszustand	1: Aus, 3: Laden, 4: Entladen, 6: Erhaltungsladen		uint32sw	2	1	0		level		true	false	false	false
          102857	Battery 1 Status Internal	Battery 1 Status Internal		uint32sw	2	1	0		level		true	false	false	false
          102859	Battery 1 Events Log	Battery 1 Events Log		uint32sw	2	1	0		level		true	false	false	false
          102867	Battery 1 Events Log Internal	Battery 1 Events Log Internal		uint32sw	2	1	0		level		true	false	false	false
          103233	Export Control Mode	Export Control Mode		uint16be	1	1	0		level		true	false	false	false
          103234	Export Control Limit Mode	Export Control Limit Mode		uint16be	1	1	0		level		true	false	false	false
          103235	Export Control Site Limit	Export Control Site Limit		floatsw	2	1	0		level		true	false	false	false
          103237	Str	Storage control mode		uint16be	1	1	0		level		true	false	false	false
          103238	Storage_AC_Charge_Policy_RW	0: Disable, 1: Always allowed , 2: Fixed Energy Limit		uint16be	1	1	0		level		true	false	false	false
          103239	Storage AC Charge Limit	Storage AC Charge Limit	%	floatsw	2	1	0		level		true	false	false	false
          103241	Storage_Backup_Reserved_Setting	Storage Backup Reserved Setting	%	floatsw	2	1	0		level		true	false	false	false
          103243	StChDisChMode	Storage Charge/Discharge Mode		uint16be	1	1	0		level		true	false	false	false
          103244	Timeout	Timout	sec	uint32sw	2	1	0		level		true	false	false	false
          103246	Remote Control Command Mode RW	Remote Control Command Mode RW		uint16be	1	1	0		level		true	false	false	false
          103247	Remote Control Charge Limit	Remote Control Charge Limit	W	floatsw	2	1	0		level		true	false	false	false
          103249	Remote Control Command Discharge Limit	Remote Control Command Discharge Limit	W	floatsw	2	1	0		level		true	false	false	false
          40001	C_SunSpec_ID	"Wert = ""SunS"" (0x53756e53). Identifiziert dies eindeutig als eine SunSpec Modbus-Karte"		uint32be	2	1	0				true	false	false	false
          40003	C_SunSpec_DID	Wert = 0x0001. Identifiziert dies eindeutig als einen SunSpec “Common Block“		uint16be	1	1	0				true	false	false	false
          40004	C_SunSpec_Länge	65 = Länge eines Blocks in 16-bit Registern		uint16be	1	1	0				true	false	false	false
          40005	C_Hersteller	"Bei SunSpec eingetragener Wert = ""SolarEdge"""		string	16	1	0				true	false	false	false
          40021	C_Modell	Spezifischer SolarEdge Wert		string	16	1	0				true	false	false	false
          40045	C_Version	Spezifischer SolarEdge Wert		string	8	1	0				true	false	false	false
          40053	C_Seriennummer	Eindeutiger SolarEdge Wert		string	16	1	0				true	false	false	false
          40069	C_DeviceAddress 	MODBUS Unit ID		uint16be	1	1	0				true	false	false	false
          40070	C_SunSpec_DID	101 = Einphasig, 102 = Spaltphase, 103 = Dreiphasig		uint16be	1	1	0				true	false	false	false
          40072	I_AC_Strom	AC-Gesamtstromwert	A	uint16be	1	1	0	x * Math.pow(10, sf['40076'])			true	false	false	false
          40073	I_AC_StromA	AC-Phase A (L1) Stromwert	A	uint16be	1	1	0	x * Math.pow(10, sf['40076'])			true	false	false	false
          40074	I_AC_StromB	AC-Phase B (L2) Stromwert	A	uint16be	1	1	0	x * Math.pow(10, sf['40076'])			true	false	false	false
          40075	I_AC_StromC	AC-Phase C (L3) Stromwert	A	uint16be	1	1	0	x * Math.pow(10, sf['40076'])			true	false	false	false
          40076	I_AC_Strom_SF	AC-Strom Skalierungsfaktor	SF	int16be	1	1	0				true	false	false	true
          40084	I_AC_Leistung	AC-Leistungswert	W	uint16be	1	1	0	x * Math.pow(10, sf['40085'])			true	false	false	false
          40085	I_AC_Leistung_SF	AC-Leistung Skalierungsfaktor	SF	int16be	1	1	0				true	false	false	true
          40088	I_AC_VA	Scheinleistung	VA	uint16be	1	1	0	x * Math.pow(10, sf['40089'])			true	false	false	false
          40089	I_AC_VA_SF	Scheinleistung Skalierungsfaktor	SF	int16be	1	1	0				true	false	false	true
          40090	I_AC_VAR	Blindleistung	VAR	uint16be	1	1	0	x * Math.pow(10, sf['40091'])			true	false	false	false
          40091	I_AC_VAR_SF	Blindleistung Skalierungsfaktor	SF	int16be	1	1	0				true	false	false	true
          40092	I_AC_PF	Leistungsfaktor	%	uint16be	1	1	0	x * Math.pow(10, sf['40093'])			true	false	false	false
          40093	I_AC_PF_SF	Leistungsfaktor Skalierungsfaktor	SF	int16be	1	1	0				true	false	false	true
          40094	I_AC_Energie_WH	AC Gesamt-Energieproduktion	kWh	uint32be	2	1	0	x * Math.pow(10, sf['40096'] - 3)			true	false	false	false
          40096	I_AC_Energie_WH_SF	AC Gesamtenergie Skalierungsfaktor	SF	uint16be	1	1	0				true	false	false	true
          40097	I_DC_Strom	DC-Stromwert	A	uint16be	1	1	0	x * Math.pow(10, sf['40098'])			true	false	false	false
          40098	I_DC_Strom_SF	DC-Strom Skalierungsfaktor	SF	int16be	1	1	0				true	false	false	true
          40099	I_DC_Spannung	DC-Spannungswert	V	uint16be	1	1	0	x * Math.pow(10, sf['40100'])			true	false	false	false
          40100	I_DC_Spannung_SF	DC-Spannung Skalierungsfaktor	SF	int16be	1	1	0				true	false	false	true
          40101	I_DC_Leistung	DC-Leistungswert	W	uint16be	1	1	0	x * Math.pow(10, sf['40102'])			true	false	false	false
          40102	I_DC_Leistung_SF	DC-Leistung Skalierungsfaktor	SF	int16be	1	1	0				true	false	false	true
          40104	I_Temp_Kühler	Kühlkörpertemperatur	°C	uint16be	1	1	0	x * Math.pow(10, sf['40107'])			true	false	false	false
          40107	I_Temp_SF	Kühlkörpertemperatur Skalierungsfaktor	SF	int16be	1	1	0				true	false	false	true
          40108	I_Status	Betriebszustand (1 = Aus, 2 = Schlafen (Automatisches Herunterfahren) – Nachtmodus, 3 = Aufwachen/Starten, 4 = Wechselrichter ist AN und wandelt Energie, 5 = Begrenzte Produktion, 6 = Herunterfahren, 7 = Fehler, 8 = Wartung/Setup)		uint16be	1	1	0				true	false	false	false
          40109	I_Status_Anbieter	Anbieter-spezifischer Betriebszustand sowie Fehlercodes: 1 = Aus, 2 = Schlafen (Automatisches Herunterfahren) – Nachtmodus, 3 = Aufwachen/Starten, 4 = Wechselrichter ist AN und wandelt Energie, 5 = Begrenzte Produktion, 6 = Herunterfahren, 7 = Fehler, 8 = Wartung/Setup		uint16be	1	1	0				true	false	false	false
          40124	C_Manufacturer	Meter manufacturer		string	32	1	0				true	false	false	false
          40140	C_Model	Meter model		string	32	1	0				true	false	false	false
          40156	C_Option	Export + Import, Production, consumption		string	16	1	0				true	false	false	false
          40191	M_AC_Current	AC Current (sum of active phases)	A	uint16be	1	1	0	x * Math.pow(10, sf['40195'])			true	false	false	false
          40192	M_AC_Current_A	Phase A AC Current	A	uint16be	1	1	0	x * Math.pow(10, sf['40195'])			true	false	false	false
          40193	M_AC_Current_B	Phase B AC Current	A	uint16be	1	1	0	x * Math.pow(10, sf['40195'])			true	false	false	false
          40194	M_AC_Current_C	Phase C AC Current	A	uint16be	1	1	0	x * Math.pow(10, sf['40195'])			true	false	false	false
          40195	M_AC_Current_S F	AC Current Scale Factor	SF	int16be	1	1	0				true	false	false	true
          40207	M_AC_Power	Total Real Power (sum of active phases)	W	int16be	1	1	0	x * Math.pow(10, sf['40211'])			true	false	false	false
          40211	M_AC_Power_SF	AC Real Power Scale Factor	SF	int16be	1	1	0				true	false	false	true
          40221	M_AC_PF	Average Power Factor (average of active phases)	%	uint16be	1	1	0	x * Math.pow(10, sf['40226'])			true	false	false	false
          40226	M_AC_PF_SF	AC Power Factor Scale Factor	SF	int16be	1	1	0				true	false	false	true
          40227	M_Exported	Total Exported Real Energy	kWh	uint32be	2	1	0	x * Math.pow(10, sf['40243'] - 3)			true	false	false	false
          40235	M_Imported	Total Imported Real Energy	kWh	uint32be	2	1	0	x * Math.pow(10, sf['40243'] - 3)			true	false	false	false
          40243	M_Energy_W_SF	Real Energy Scale Factor	SF	int16be	1	1	0				true	false	false	true
          

          Backup läuft täglich 02:00 Uhr.

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

            @guitardoc sagte in modbus Socket Error / Client in Error State:

            Angebunden ist ein Solar Edge Wechselrichter...

            ...über

            Modbus TCP, also Netzwerk.

            Passiert da irgendwas im Netzwerk?
            Oder mit dem WR?

            Die andere Vermutung war, dass der Rechner gerade mit Backup überfordert war, aber da passt die Zeit nicht.

            G 1 Reply Last reply Reply Quote 0
            • G
              guitardoc @Homoran last edited by

              @homoran Mir ist nicht bewusst, was 04:50 Uhr im Netzwerk laufen könnte. Ob der Wechselrichter da was macht, kann ich auch nicht sagen - keine Ahnung, wo man dazu was herausfinden könnte…
              Ich dachte erst, dass es zu viele holding Register sind welche ausgelesen werden, daher auch die hohen eingestellten Werte im Adapter abweichend von den Default-Werten. Der Fehler bleibt aber bestehen.

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

                @guitardoc ich habe so eine Meldung auch immer mal wieder, ab nie zu festen Zeiten.
                Außerdem gehören dann da noch weitete Informationen im log dazu, die du aber anscheinend nicht hast.

                G 1 Reply Last reply Reply Quote 0
                • G
                  guitardoc @Homoran last edited by guitardoc

                  @homoran Sind das im Log auch Errors die du noch bekommst? Ich habe nur die beiden, nach Warnungen hab ich nicht geschaut - mache ich aber morgen früh mal.

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

                    @guitardoc sagte in modbus Socket Error / Client in Error State:

                    Sind das im Log auch Errors die du noch bekommst?

                    nein!
                    Das sind warn!

                    @guitardoc sagte in modbus Socket Error / Client in Error State:

                    nach Warnungen hab ich nicht geschaut

                    bei Error sollte man immer im Umfeld nach weiteren Informationen suchen.
                    Diese müssen nicht unbedingt vom selben Adapter sein, der den Error wirft.
                    (in diesem Fall schon)

                    G 1 Reply Last reply Reply Quote 0
                    • G
                      guitardoc @Homoran last edited by

                      @homoran Habe tatsächlich noch was dazu gefunden:

                      modbus.0
                      2024-11-05 04:49:25.563	info	Connected to slave 192.168.188.90
                      
                      modbus.0
                      2024-11-05 04:48:24.553	warn	On error: {"errno":-111,"code":"ECONNREFUSED","syscall":"connect","address":"192.168.188.90","port":1502}
                      
                      modbus.0
                      2024-11-05 04:48:24.552	error	Client in error state.
                      
                      modbus.0
                      2024-11-05 04:48:24.552	error	Socket Error
                      
                      modbus.0
                      2024-11-05 04:47:24.537	info	Disconnected from slave 192.168.188.90
                      

                      Wenn der Modbus die Verbindung unterbricht, dann ist es natürlich kein Wunder, dass dann ein Fehler kommt. Daraus ergibt sich gleich die nächste Frage: Warum wird die Verbindung beendet und zwei Minuten später wieder hergestellt?

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

                        @guitardoc sagte in modbus Socket Error / Client in Error State:

                        Habe tatsächlich noch was dazu gefunden:

                        etwas davor wäre noch interessant!
                        (log ist falsch herum sortiert!)

                        @guitardoc sagte in modbus Socket Error / Client in Error State:

                        Wenn der Modbus die Verbindung unterbricht,

                        oder das Netzwerk/ der WR grundsätzlich

                        1 Reply Last reply Reply Quote 0
                        • G
                          guitardoc last edited by

                          @homoran Davor und danach passiert nichts. Auch nicht in anderen Adaptern...

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

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          763
                          Online

                          31.8k
                          Users

                          80.0k
                          Topics

                          1.3m
                          Posts

                          2
                          11
                          471
                          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