Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. sonoff The "string" argument must be one of type string

    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

    sonoff The "string" argument must be one of type string

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

      Systemdata Bitte Ausfüllen
      Hardwaresystem: Synology NAS DS916
      Arbeitsspeicher: 8GB
      Festplattenart: HDD
      Betriebssystem: DSM 6.2.4-25556
      Node-Version: v12.22.5
      Nodejs-Version: 10.x.x
      NPM-Version: 6.14.14
      Installationsart: docker
      Image genutzt: Ja
      Ort/Name der Imagedatei: buanet/iobroker:latest-v5

      Hello, the sonoff adapter continues to throw the follwing error and stops working:

      TypeError [ERR_INVALID_ARG_TYPE]: The "string" argument must be of type string or an instance of Buffer or ArrayBuffer. Received type number (1) at Function.byteLength (buffer.js:725:11) at publish (/opt/iobroker/node_modules/mqtt-packet/writeToStream.js:334:51) at generate (/opt/iobroker/node_modules/mqtt-packet/writeToStream.js:34:14) at Writable.write [as _write] (/opt/iobroker/node_modules/mqtt-connection/lib/writeToStream.js:13:9) at doWrite (_stream_writable.js:403:12) at writeOrBuffer (_stream_writable.js:387:5) at Writable.write (_stream_writable.js:318:11) at Connection.Duplexify._write (/opt/iobroker/node_modules/duplexify/index.js:208:22) at doWrite (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:428:64) at writeOrBuffer (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:417:5)

      Any ideas how to solve the issue?

      Issue reported by bot, see: https://github.com/ioBroker/ioBroker.sonoff/issues/209

      iobroker-sentry-github-app[bot] created this issue in ioBroker/ioBroker.sonoff

      closed TypeError [ERR_INVALID_ARG_TYPE]: The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type number #209

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

      Support us

      ioBroker
      Community Adapters
      Donate

      951
      Online

      31.9k
      Users

      80.1k
      Topics

      1.3m
      Posts

      1
      1
      141
      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