Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Modbus warning Error in handler for 4...

    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 warning Error in handler for 4...

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

      Hallo zusammen,

      ich nutze 2 Modbus Instanzen um über 2 RS485/Ethernet Adapter 2 Wechselrichter auszulesen (Deye und Solplanet).
      In der Solplanet Instanz habe ich alle 10 Sekunden die folgende Warnmeldung:

      modbus.1
      2024-11-17 13:06:50.923	warn	Error in handler for 4: RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 3. Received 4
      
      modbus.1
      2024-11-17 13:06:40.993	warn	Error in handler for 4: RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 3. Received 4
      
      modbus.1
      2024-11-17 13:06:30.912	warn	Error in handler for 4: RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 3. Received 4
      

      Die Meldung verstehe ich nicht, denn ich habe in den angelegten Registern Offset überall auf 0. Hat jemand eine Idee, was das bedeuten soll und wie ich das beheben kann?
      Die Deye Instanz hat das Problem nicht.


      Edit: Ich habe testweise alle Input Register aus der Modbus Instanz gelöscht und dann jedes Register einzeln abgefragt. Das ändert aber gar nichts. D.h. die Fehlermeldung ist unabhängig von den abgefragten Registern.
      Auch komisch: Der Fehler kommt alle 10 Sekunden. Egal, ob das Abfrageintervall 5, 20 oder 60 Sekunden ist.


      Dazwischen dann alle paar 2-5 Minuten noch "Error: undefined" und timeout error mit anschließender Neuverbindung zum Adapter. Evtl. sind das aber Folgefehler.

      modbus.1
      2024-11-17 13:06:26.980	info	Connected to slave 192.168.1.19
      
      modbus.1
      2024-11-17 13:06:06.978	info	Disconnected from slave 192.168.1.19
      
      modbus.1
      2024-11-17 13:06:05.978	warn	[DevID_3] Poll error count: 1 code: {"err":"timeout","timeout":5000}
      
      modbus.1
      2024-11-17 13:06:05.977	error	Client in error state.
      
      modbus.1
      2024-11-17 13:06:05.977	error	Request timed out.
      
      modbus.1
      2024-11-17 13:06:05.977	warn	Error: undefined
      
      • Adaptername: ModBus
      • Link zu Adapterrepository: https://github.com/ioBroker/ioBroker.modbus
      • Adapterversion: 6.3.2
      • js-controller Version: 6.0.11
      • Admin Version: 7.1.5
      • Hardwaresystem: Mini-PC
      • Arbeitsspeicher: 16GB
      • Festplattenart: SSD
      • Betriebssystem: Debian 12
      • Nodejs-Version: 20.18.0
      • NPM-Version: 10.8.2
      • Installationsart: Skript
      • Image, Docker genutzt: Ja LXC Container
      • Ort, Name der Imagedatei: Proxmox VE Helper-Scripts
      ======================= SUMMARY =======================
                              v.2024-10-19
      
      
       Static hostname: iobroker
             Icon name: computer-container
               Chassis: container ☐
        Virtualization: lxc
      Operating System: Debian GNU/Linux 12 (bookworm)
                Kernel: Linux 6.8.12-4-pve
          Architecture: x86-64
      
      Installation:           lxc
      Kernel:                 x86_64
      Userland:               64 bit
      Timezone:               Europe/Berlin (CET, +0100)
      User-ID:                1001
      Display-Server:         false
      Boot Target:            graphical.target
      
      Pending OS-Updates:     0
      Pending iob updates:    2
      
      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
      
      Recommended versions are nodejs 20.18.0 and npm 10.8.2
      nodeJS installation is correct
      
      MEMORY:
                     total        used        free      shared  buff/cache   available
      Mem:            4.3G        1.1G        987M        131K        2.2G        3.2G
      Swap:           536M          0B        536M
      Total:          4.8G        1.1G        1.5G
      
      Active iob-Instances:   9
      Upgrade policy: none
      
      ioBroker Core:          js-controller           6.0.11
                              admin                   7.1.5
      
      ioBroker Status:        iobroker is running on this host.
      
      
      Objects type: jsonl
      States  type: jsonl
      
      Status admin and web instance:
      + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
        system.adapter.web.0                    : web                   : iobroker                                 - disabled, port: 8082, bind: 0.0.0.0, run as: admin
      
      Objects:                552
      States:                 419
      
      Size of iob-Database:
      
      10M     /opt/iobroker/iobroker-data/objects.jsonl
      1.4M    /opt/iobroker/iobroker-data/states.jsonl
      
      
      Unknown release codenamed ''. Please check yourself if the Operating System is actively maintained.
      
      =================== END OF SUMMARY ====================
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Support us

      ioBroker
      Community Adapters
      Donate

      821
      Online

      31.8k
      Users

      80.0k
      Topics

      1.3m
      Posts

      modbus tcp rs485 warning
      1
      1
      306
      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