<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[gelöst]REST-API (v4.0.1) Aufruf liefert Fehlermeldung]]></title><description><![CDATA[<p dir="auto">Hallo,</p>
<p dir="auto">leider bekomme ich es mit der aktuellen Rest-Api nicht hin, via URL einzelne DB im iob zu steuern.</p>
<p dir="auto">Hier die Config vom Adapter:</p>
<pre><code>{
  "port": 8093,
  "auth": false,
  "secure": false,
  "bind": "0.0.0.0",
  "certPublic": "",
  "certPrivate": "",
  "certChained": "",
  "defaultUser": "admin",
  "ttl": 3600,
  "onlyAllowWhenUserIsOwner": false,
  "webInstance": "",
  "leEnabled": false,
  "leUpdate": false,
  "leCheckPort": 80,
  "checkInterval": 30000,
  "hookTimeout": 3000,
  "noUI": false,
  "dataSource": "",
  "noCommands": false,
  "noAdminCommands": false
}
</code></pre>
<p dir="auto">Beim Aufruf im Browser von bsp:</p>
<pre><code>http://192.168.0.20:8093/state/v1/0_userdata.0.Raum.Wohnzimmer.sonnenschutz/toggle

</code></pre>
<p dir="auto">Bekomme ich diese Meldung:</p>
<pre><code>Cannot GET /toggle/0_userdata.0.Raum.Wohnzimmer.sonnenschutz
</code></pre>
<p dir="auto">In einigen Shellies hatte ich bei Aktion diesen anscheinend veralteten Aufruf:</p>
<pre><code>http://192.168.0.20:8093/toggle/0_userdata.0.Raum.Wohnzimmer.sonnenschutz
</code></pre>
<p dir="auto">Der Aufruf aus dem Readme klappt und liefert Werte:</p>
<pre><code>http://192.168.0.20:8093/v1/state/system.adapter.rest-api.0.memHeapTotal
</code></pre>
]]></description><link>https://forum.iobroker.net/topic/84881/gelöst-rest-api-v4.0.1-aufruf-liefert-fehlermeldung</link><generator>RSS for Node</generator><lastBuildDate>Mon, 29 Jun 2026 06:09:12 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/84881.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 28 Jun 2026 17:20:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [gelöst]REST-API (v4.0.1) Aufruf liefert Fehlermeldung on Mon, 29 Jun 2026 05:23:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tklein" aria-label="Profile: tklein">@<bdi>tklein</bdi></a></p>
<p dir="auto">fastfoot hat es doch schon geschrieben</p>
<p dir="auto">du hast state und v1 vertauscht</p>
<p dir="auto">falsch<br />
/state/v1/0_userdata.0.Raum.Wohnzimmer.sonnenschutz/toggle<br />
richtig<br />
/v1/state/0_userdata.0.Raum.Wohnzimmer.sonnenschutz/toggle</p>
<p dir="auto">toggle gibt es aber der doku nicht<br />
<a href="https://github.com/ioBroker/ioBroker.rest-api" rel="nofollow ugc">https://github.com/ioBroker/ioBroker.rest-api</a><br />
in swagger ist es aber definiert<br />
<a href="https://github.com/ioBroker/ioBroker.rest-api/blob/7abce33616efa69eb2b8c7b97568207496056acf/src/lib/api/swagger/swagger.yaml#L123" rel="nofollow ugc">https://github.com/ioBroker/ioBroker.rest-api/blob/7abce33616efa69eb2b8c7b97568207496056acf/src/lib/api/swagger/swagger.yaml#L123</a></p>
]]></description><link>https://forum.iobroker.net/post/1346417</link><guid isPermaLink="true">https://forum.iobroker.net/post/1346417</guid><dc:creator><![CDATA[OliverIO]]></dc:creator><pubDate>Mon, 29 Jun 2026 05:23:56 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst]REST-API (v4.0.1) Aufruf liefert Fehlermeldung on Mon, 29 Jun 2026 05:15:11 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">tklein <a href="/post/1346415">sagte</a>:</p>
</blockquote>
<blockquote>
<pre><code>{
  "common": {
    "name": "sonnenschutz state",
</code></pre>
</blockquote>
<p dir="auto">an dem namen hat es gelegen. nachdem ich "blankstate" gelöscht hatte hat es geklappt.<br />
Dann ist der Name != ID</p>
<p dir="auto">Dabei hatte ich die ID aus dem Objektbaum kopiert.</p>
]]></description><link>https://forum.iobroker.net/post/1346416</link><guid isPermaLink="true">https://forum.iobroker.net/post/1346416</guid><dc:creator><![CDATA[tklein]]></dc:creator><pubDate>Mon, 29 Jun 2026 05:15:11 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst]REST-API (v4.0.1) Aufruf liefert Fehlermeldung on Mon, 29 Jun 2026 05:10:16 GMT]]></title><description><![CDATA[<p dir="auto">Ist am Objekt/DP etwas falsch konfiguriert?</p>
<pre><code>{
  "common": {
    "name": "sonnenschutz state",
    "desc": "Manuell erzeugt",
    "role": "state",
    "type": "boolean",
    "read": true,
    "write": true,
    "def": false
  },
  "type": "state",
  "native": {},
  "_id": "0_userdata.0.Raum.Wohnzimmer.sonnenschutz",
  "acl": {
    "object": 1636,
    "state": 1636,
    "owner": "system.user.admin",
    "ownerGroup": "system.group.administrator"
  },
  "from": "system.adapter.admin.0",
  "user": "system.user.admin",
  "ts": 1782374952402
}
</code></pre>
]]></description><link>https://forum.iobroker.net/post/1346415</link><guid isPermaLink="true">https://forum.iobroker.net/post/1346415</guid><dc:creator><![CDATA[tklein]]></dc:creator><pubDate>Mon, 29 Jun 2026 05:10:16 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst]REST-API (v4.0.1) Aufruf liefert Fehlermeldung on Mon, 29 Jun 2026 05:09:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fastfoot" aria-label="Profile: fastfoot">@<bdi>fastfoot</bdi></a> leider auch nicht:</p>
<pre><code>Cannot GET /state/v1/0_userdata.0.Raum.Wohnzimmer.sonnenschutz/toggle
</code></pre>
]]></description><link>https://forum.iobroker.net/post/1346414</link><guid isPermaLink="true">https://forum.iobroker.net/post/1346414</guid><dc:creator><![CDATA[tklein]]></dc:creator><pubDate>Mon, 29 Jun 2026 05:09:21 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst]REST-API (v4.0.1) Aufruf liefert Fehlermeldung on Sun, 28 Jun 2026 20:49:33 GMT]]></title><description><![CDATA[<blockquote>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tklein" aria-label="Profile: tklein">@<bdi>tklein</bdi></a> <a href="/post/1346377">sagte</a>:<br />
<a href="http://192.168.0.20:8093/state/v1/0_userdata.0.Raum.Wohnzimmer.sonnenschutz/toggle" rel="nofollow ugc">http://192.168.0.20:8093/state/v1/0_userdata.0.Raum.Wohnzimmer.sonnenschutz/toggle</a></p>
</blockquote>
</blockquote>
<p dir="auto">...<strong>/v1/state/</strong>...</p>
]]></description><link>https://forum.iobroker.net/post/1346401</link><guid isPermaLink="true">https://forum.iobroker.net/post/1346401</guid><dc:creator><![CDATA[fastfoot]]></dc:creator><pubDate>Sun, 28 Jun 2026 20:49:33 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst]REST-API (v4.0.1) Aufruf liefert Fehlermeldung on Sun, 28 Jun 2026 19:02:01 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fredf" aria-label="Profile: FredF">@<bdi>FredF</bdi></a> <a href="/post/1346378">sagte</a>:</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tklein" aria-label="Profile: tklein">@<bdi>tklein</bdi></a></p>
<blockquote>
<p dir="auto"><a href="http://192.168.0.20:8093/state/v1/0_userdata.0.Raum.Wohnzimmer" rel="nofollow ugc">http://192.168.0.20:8093/state/v1/0_userdata.0.Raum.Wohnzimmer</a> .sonnenschutz/toggle</p>
</blockquote>
<p dir="auto">Sieht das nur so aus oder ist zwischen Wohnzimmer und . ein Leerzeichen was da nicht sein sollte?</p>
</blockquote>
<p dir="auto">das wäre es gesehen, aber leider nicht, dann würde die fehelermeldung so aussehen:</p>
<pre><code>Cannot GET /state/v1/0_userdata.0.Raum.Wohnzimmer%20.sonnenschutz/toggle
</code></pre>
]]></description><link>https://forum.iobroker.net/post/1346396</link><guid isPermaLink="true">https://forum.iobroker.net/post/1346396</guid><dc:creator><![CDATA[tklein]]></dc:creator><pubDate>Sun, 28 Jun 2026 19:02:01 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst]REST-API (v4.0.1) Aufruf liefert Fehlermeldung on Sun, 28 Jun 2026 17:28:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tklein" aria-label="Profile: tklein">@<bdi>tklein</bdi></a></p>
<blockquote>
<p dir="auto"><a href="http://192.168.0.20:8093/state/v1/0_userdata.0.Raum.Wohnzimmer" rel="nofollow ugc">http://192.168.0.20:8093/state/v1/0_userdata.0.Raum.Wohnzimmer</a> .sonnenschutz/toggle</p>
</blockquote>
<p dir="auto">Sieht das nur so aus oder ist zwischen Wohnzimmer und . ein Leerzeichen was da nicht sein sollte?</p>
]]></description><link>https://forum.iobroker.net/post/1346378</link><guid isPermaLink="true">https://forum.iobroker.net/post/1346378</guid><dc:creator><![CDATA[FredF]]></dc:creator><pubDate>Sun, 28 Jun 2026 17:28:19 GMT</pubDate></item></channel></rss>