Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. MQTT bug "forced conversion to string?"

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    1.2k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.5k

MQTT bug "forced conversion to string?"

Scheduled Pinned Locked Moved Error/Bug
mqtt brokerbug iobroker
1 Posts 1 Posters 281 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Surfer2010
    wrote on last edited by
    #1
    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
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    Support us

    ioBroker
    Community Adapters
    Donate

    864

    Online

    32.5k

    Users

    81.7k

    Topics

    1.3m

    Posts
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
    ioBroker Community 2014-2025
    logo
    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Home
    • Recent
    • Tags
    • Unread 0
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe