Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. English
  3. ioBroker general
  4. SPS Verbindung LOGO string or boolean

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.4k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    823

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

SPS Verbindung LOGO string or boolean

Geplant Angeheftet Gesperrt Verschoben ioBroker general
2 Beiträge 2 Kommentatoren 78 Aufrufe 2 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • E Offline
    E Offline
    edstobi
    schrieb am zuletzt editiert von
    #1

    Hello, my communication with the Siemens LOGO! via the S7 adapter generally works, but I’m getting the following error in the ioBroker log:

    State value to set for "s7.1.DBs.DB1._2_1" has to be type "string" but received type "boolean"

    Now I’d like to understand how to interpret this message:
    Is the error coming from the LOGO! side (meaning the LOGO! is sending a boolean, but the adapter expects a string)?
    Or is Node-RED sending a boolean, while the adapter expects a string?

    In Node-RED I’m sending the value in quotation marks, so it should be a string.

    case "auto":
        msg.topic = "s7.1.DBs.DB1._2_1";
        msg.payload = "true";
        return msg;
    
    1 Antwort Letzte Antwort
    0
    • tarikweissT Offline
      tarikweissT Offline
      tarikweiss
      Developer
      schrieb am zuletzt editiert von
      #2

      Hi,

      you need to check the state s7.1.DBs.DB1._2_1 for it's type. So click on the pencil next to the state in the object tree (the pencil only appears with enabled expert mode!). There you can find under "object data" (Objektdaten in German, idk the exact translation) the type in the json. So if there is written "string" then ioBroker is expecting a string, but the API may deliver a boolean, which is then just entered into this field OR vice versa (type = boolean, API sends string). Hope this helps :)

      1 Antwort Letzte Antwort
      0
      Antworten
      • In einem neuen Thema antworten
      Anmelden zum Antworten
      • Älteste zuerst
      • Neuste zuerst
      • Meiste Stimmen


      Support us

      ioBroker
      Community Adapters
      Donate

      741

      Online

      32.6k

      Benutzer

      82.1k

      Themen

      1.3m

      Beiträge
      Community
      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
      ioBroker Community 2014-2025
      logo
      • Anmelden

      • Du hast noch kein Konto? Registrieren

      • Anmelden oder registrieren, um zu suchen
      • Erster Beitrag
        Letzter Beitrag
      0
      • Home
      • Aktuell
      • Tags
      • Ungelesen 0
      • Kategorien
      • Unreplied
      • Beliebt
      • GitHub
      • Docu
      • Hilfe