Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. MQTT bug "forced conversion to 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

    MQTT bug "forced conversion to string?"

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

      Systemdata Bitte Ausfüllen
      Hardwaresystem: NUC
      Arbeitsspeicher: 4GB
      Festplattenart: SSD
      Betriebssystem: Debian
      Image genutzt: Ja DockerContainer
      Ort/Name der Imagedatei: https://github.com/buanet/ioBroker.docker

      The Problem is, i want to get a MAP sent as a base64 decoded png.

      Valetudo Robot

      Decode by "I can't believe it's not valetudo" (https://github.com/Hypfer/ICantBelieveItsNotValetudo/blob/54cc0d96a6c03ee4dc92b86e533c0cd3999a7068/lib/MqttClient.js#L133)

      ErrorMessage:
      https://pastebin.com/bUPTaiPc

      The Programmer of Valetudo & ICANTBELIEVEITSNOTVALETUDO says:

      then I'd assume that their mqtt broker implementation is broken
      yeah pretty sure that it's a bug in that
      https://github.com/ioBroker/ioBroker.mqtt/blob/master/lib/server.js
      
      somewhere something is forcefully transforming the topics payload to a string
      which is not according to MQTT spec
      
      yep
      https://github.com/ioBroker/ioBroker.mqtt/blob/556e60f30cbe5ae3571a8738eb6e927ee9c0ad98/lib/server.js#L481-L502
      
      I'd guess that it's this code
      although I haven't thoroughly understood the whole module yet
      it just looks like it would cause this
      

      Is this a bug/intentional? Can this be fixed?
      Thanks for your help

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

      Support us

      ioBroker
      Community Adapters
      Donate

      849
      Online

      31.7k
      Users

      79.8k
      Topics

      1.3m
      Posts

      bug iobroker mqtt broker
      1
      1
      232
      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