Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. xcashy

    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

    X
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 6
    • Best 0
    • Groups 0

    xcashy

    @xcashy

    0
    Reputation
    23
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    xcashy Follow

    Latest posts made by xcashy

    • RE: Simple-api stateId mit #

      Mit der neusten Version (2.0.2) von Github ist das Problem gelöst. Danke 🙂

      posted in ioBroker Allgemein
      X
      xcashy
    • RE: Simple-api stateId mit #

      Laut docu von decodeUri():
      ` > Description

      Replaces each escape sequence in the encoded URI with the character that it represents, but does not decode escape sequences that could not have been introduced by encodeURI. The character “#” is not decoded from escape sequences. `
      https://developer.mozilla.org/en-US/doc … /decodeURI

      posted in ioBroker Allgemein
      X
      xcashy
    • RE: Simple-api stateId mit #

      Ja, wieder einmal mit und einmal ohne probiert.

      posted in ioBroker Allgemein
      X
      xcashy
    • RE: Simple-api stateId mit #

      Hab es gerade mit curl versucht, leider das selbe resultat.

      posted in ioBroker Allgemein
      X
      xcashy
    • RE: Simple-api stateId mit #

      Ja klar,

      ohne encoding:

      getPlainValue/shelly.0.SHSW-1#0581D0#1.Relay0.Switch

      error: datapoint "shelly.0.SHSW-1" not found.

      mit encoding:

      getPlainValue/shelly.0.SHSW-1%230581D0%231.Relay0.Switch

      error: datapoint "shelly.0.SHSW-1%230581D0%231.Relay0.Switch" not found

      posted in ioBroker Allgemein
      X
      xcashy
    • Simple-api stateId mit #

      Hallo,

      In meinen iobroker sind mehrere shelly1 geräte mit dem shelly adapter integriert.

      Mein Ziel ist es nun mit dem simple-api adapter dessen werte auslesen und tooglen zu können.

      Allerdings haben alle shellys hashes in ihrerer stateId enthalten, z.B.: shelly.0.SHSW-1#0581D0#1.Relay0.Switch.

      Da ein hash als fragment identifier behandelt wird sagt simple-api dass das Objekt nicht gefunden wurde.

      Daraufhin hab ich es mit prozent encoding versucht, doch %23 hat bei befehlen wie get, getPlainValue oder toggle nicht funktioniert.

      Lediglich bei befehlen in welchen ich die id im query string angeben kann (z.B. objects?pattern=) hat %23 funktioniert. Da ich so jedoch den Value nicht ändern kann bringt mir das leider nichts.

      Weiß jemand hier wie ich dieses Problem lösen kann?

      posted in ioBroker Allgemein
      X
      xcashy
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo