<?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]simple-Api &gt;3.0.0 funktioniert nicht mehr wie 2.8.0]]></title><description><![CDATA[<p dir="auto">Hallo, meine html-Datei zur Rotorsteuerung unter <a href="http://192.168.xx.xx:8082/0_userdata.0/Beamkarte/Beamkarte.html" rel="nofollow ugc">http://192.168.xx.xx:8082/0_userdata.0/Beamkarte/Beamkarte.html</a> hat eine einzige Aufgabe:</p>
<p dir="auto">Bei Tastendruck im Display den Wert des ioBroker objektes 0_userdata.0.direction mit einem neuen Wert zwischen 0 und 360 zu beschreiben.</p>
<p dir="auto">Das wurde durch folgendes HTML-Statement seit ca. einem Jahr bis einschliesslich simple-Api 2.8.0 problemlos gemacht:</p>
<pre><code>		// sende die Himmelsrichtung an den ioBroker/mqtt-Server, um den Rotor enstprechend anzusteuern
		fetch(`http://192.168.xx.xx:8087/set/0_userdata.0.direction?value = ${encodeURIComponent(direction)}`, {
			method: "GET"
		})
		.then(response =&gt; response.json()) // Antwort als JSON parsen
		.then(data =&gt; console.log(data)) // Daten verarbeiten
		.catch(error =&gt; console.error('Fehler:', error));

</code></pre>
<p dir="auto">Nach dem Update auf simple-Api 3.0.7 (getestet wurde auch 3.0.0, 3.0.5 mit dem gleichen NoGo) funktioniert dieser Aufruf nicht mehr.</p>
<p dir="auto">folgende Fehlermeldung konnte ich in der Simulation mit Firefox erzeugen:<br />
<img src="/assets/uploads/files/1774817841463-v3_0_7-firefox-nok.jpg" alt="V3_0_7 Firefox NOK.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">Was muss ich tun, damit's auch mit den neuen Versionen von Simple-Api wieder funktioniert?</p>
<p dir="auto">WillyIoBrok</p>
<ul>
<li>Adaptername: simple-Api</li>
<li>Link zu Adapterrepository: <a href="http://www.github.com" rel="nofollow ugc">www.github.com</a>...</li>
<li>Adapterversion:  &gt;2.8.0</li>
<li>js-controller Version:  7.07</li>
<li>Admin Version:  7..7.22</li>
<li>Hardwaresystem: Pi4</li>
<li>Arbeitsspeicher:  8GB</li>
<li>Festplattenart: SD-Karte</li>
<li>Betriebssystem:  RaspiOS</li>
<li>Nodejs-Version:  20.20.1</li>
<li>NPM-Version:  10.8.2</li>
<li>Installationsart: Skript oder Manuell ?</li>
<li>Image,  Docker genutzt: Ja - Nein</li>
<li>Ort, Name der Imagedatei: ...</li>
</ul>
]]></description><link>https://forum.iobroker.net/topic/84169/gelöst-simple-api-3.0.0-funktioniert-nicht-mehr-wie-2.8.0</link><generator>RSS for Node</generator><lastBuildDate>Mon, 06 Apr 2026 04:35:19 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/84169.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 29 Mar 2026 21:00:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [gelöst]simple-Api &gt;3.0.0 funktioniert nicht mehr wie 2.8.0 on Mon, 30 Mar 2026 07:40:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thomas-braun" aria-label="Profile: Thomas-Braun">@<bdi>Thomas-Braun</bdi></a> sagte in <a href="/post/1332165">[gelöst]simple-Api &gt;3.0.0 funktioniert nicht mehr wie 2.8.0</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/willyiobrok" aria-label="Profile: WillyIobrok">@<bdi>WillyIobrok</bdi></a> sagte in <a href="/post/1332164">simple-Api &gt;3.0.0 funktioniert nicht mehr so wie bis 2.8.0</a>:</p>
<blockquote>
<p dir="auto">Nodejs-Version: 20.20.1</p>
</blockquote>
<p dir="auto">Wird nicht der Grund sein, aber bring das dringend auf nodejs22. Die Version 20 erreicht dass Supportende in Kürze.<br />
Ein</p>
<pre><code>iob nodejs-update
</code></pre>
<p dir="auto">sollte wohl mal so langsam drin sein...</p>
</blockquote>
<p dir="auto">done :)</p>
]]></description><link>https://forum.iobroker.net/post/1332192</link><guid isPermaLink="true">https://forum.iobroker.net/post/1332192</guid><dc:creator><![CDATA[WillyIobrok]]></dc:creator><pubDate>Mon, 30 Mar 2026 07:40:14 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst]simple-Api &gt;3.0.0 funktioniert nicht mehr wie 2.8.0 on Mon, 30 Mar 2026 06:26:59 GMT]]></title><description><![CDATA[<p dir="auto">Du wirst lachen - obwohl ich rein gar nichts von “URL-Kodierung” verstehe, dachte ich ein paar Stunden vorher auch schon mal dran, den Versuch ohne die Spaces zu machen. Aber in meinen Augen war das halt eine Zuweisung mit Gleichheitszeichen …🤣 again what learned 😊</p>
]]></description><link>https://forum.iobroker.net/post/1332187</link><guid isPermaLink="true">https://forum.iobroker.net/post/1332187</guid><dc:creator><![CDATA[WillyIobrok]]></dc:creator><pubDate>Mon, 30 Mar 2026 06:26:59 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst]simple-Api &gt;3.0.0 funktioniert nicht mehr wie 2.8.0 on Mon, 30 Mar 2026 04:29:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/willyiobrok" aria-label="Profile: WillyIobrok">@<bdi>WillyIobrok</bdi></a> hätte dir auber selber auffalen sollen</p>
<p dir="auto"><img src="/assets/uploads/files/1774844945639-dd7003d8-eead-4111-9857-1ae9926d176a-grafik.png" alt="dd7003d8-eead-4111-9857-1ae9926d176a-grafik.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">URL kodierung mit space.. komm.. :-)</p>
]]></description><link>https://forum.iobroker.net/post/1332179</link><guid isPermaLink="true">https://forum.iobroker.net/post/1332179</guid><dc:creator><![CDATA[arteck]]></dc:creator><pubDate>Mon, 30 Mar 2026 04:29:17 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst]simple-Api &gt;3.0.0 funktioniert nicht mehr wie 2.8.0 on Sun, 29 Mar 2026 22:09:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/willyiobrok" aria-label="Profile: WillyIobrok">@<bdi>WillyIobrok</bdi></a> sagte in <a href="/post/1332172">simple-Api &gt;3.0.0 funktioniert nicht mehr so wie bis 2.8.0</a>:</p>
<blockquote>
<p dir="auto">C/C++ Programmierer gewesen, da waren solche Sachen nicht relevant</p>
</blockquote>
<p dir="auto">deswegen hat man da auch gern mit Pufferüberläufen zu kämpfen die Sicherheitslücken verursachen. Insbesondere wenn man mehr Zeichen reinschreibt, als man vorher deklariert hat<br />
:)</p>
]]></description><link>https://forum.iobroker.net/post/1332175</link><guid isPermaLink="true">https://forum.iobroker.net/post/1332175</guid><dc:creator><![CDATA[OliverIO]]></dc:creator><pubDate>Sun, 29 Mar 2026 22:09:04 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst]simple-Api &gt;3.0.0 funktioniert nicht mehr wie 2.8.0 on Sun, 29 Mar 2026 21:59:50 GMT]]></title><description><![CDATA[<p dir="auto">ok, bin ein C/C++ Programmierer gewesen, da waren solche Sachen nicht relevant. In HTML und javascript etc. bin ich ein Neuling und kenne mich nicht so gut aus.</p>
<p dir="auto">vielen Dank nochmal.</p>
]]></description><link>https://forum.iobroker.net/post/1332172</link><guid isPermaLink="true">https://forum.iobroker.net/post/1332172</guid><dc:creator><![CDATA[WillyIobrok]]></dc:creator><pubDate>Sun, 29 Mar 2026 21:59:50 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst]simple-Api &gt;3.0.0 funktioniert nicht mehr wie 2.8.0 on Sun, 29 Mar 2026 21:53:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/willyiobrok" aria-label="Profile: WillyIobrok">@<bdi>WillyIobrok</bdi></a> sagte in <a href="/post/1332169">simple-Api &gt;3.0.0 funktioniert nicht mehr so wie bis 2.8.0</a>:</p>
<blockquote>
<p dir="auto">Ob das jetzt ein Bug im Adapter war?</p>
</blockquote>
<p dir="auto">In älteren Versionen des Adapters (bis 2.8.0) wurde dieser unsaubere URL-Parameter offenbar toleriert oder stillschweigend bereinigt, weshalb es dort funktionierte</p>
]]></description><link>https://forum.iobroker.net/post/1332170</link><guid isPermaLink="true">https://forum.iobroker.net/post/1332170</guid><dc:creator><![CDATA[crunchip]]></dc:creator><pubDate>Sun, 29 Mar 2026 21:53:30 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst]simple-Api &gt;3.0.0 funktioniert nicht mehr wie 2.8.0 on Sun, 29 Mar 2026 21:40:49 GMT]]></title><description><![CDATA[<p dir="auto">wow - das war's !  :-)</p>
<p dir="auto">Die zwei Spaces hat die neuere Version des simple-Api nicht mehr vertragen!</p>
<p dir="auto">Vielen Dank für die Hilfe, mein Problem ist gelöst.<br />
Ob das jetzt ein Bug im Adapter war?<br />
Weiss ich nicht, kann ich nicht beurteilen... für mich ist das Thema abgeschlossen ...</p>
<p dir="auto">Grüße</p>
<p dir="auto">WillyIoBrok</p>
]]></description><link>https://forum.iobroker.net/post/1332169</link><guid isPermaLink="true">https://forum.iobroker.net/post/1332169</guid><dc:creator><![CDATA[WillyIobrok]]></dc:creator><pubDate>Sun, 29 Mar 2026 21:40:49 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst]simple-Api &gt;3.0.0 funktioniert nicht mehr wie 2.8.0 on Sun, 29 Mar 2026 21:32:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/willyiobrok" aria-label="Profile: WillyIobrok">@<bdi>WillyIobrok</bdi></a> probier es mal so</p>
<pre><code>		// sende die Himmelsrichtung an den ioBroker/mqtt-Server, um den Rotor enstprechend anzusteuern
		fetch(`http://192.168.xx.xx:8087/set/0_userdata.0.direction?value=${encodeURIComponent(direction)}`, {
			method: "GET"
		})
		.then(response =&gt; response.json()) // Antwort als JSON parsen
		.then(data =&gt; console.log(data)) // Daten verarbeiten
		.catch(error =&gt; console.error('Fehler:', error));
 

</code></pre>
]]></description><link>https://forum.iobroker.net/post/1332168</link><guid isPermaLink="true">https://forum.iobroker.net/post/1332168</guid><dc:creator><![CDATA[crunchip]]></dc:creator><pubDate>Sun, 29 Mar 2026 21:32:38 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst]simple-Api &gt;3.0.0 funktioniert nicht mehr wie 2.8.0 on Sun, 29 Mar 2026 21:23:17 GMT]]></title><description><![CDATA[<p dir="auto">hmmmm, ich denke, daß der simple-api Adapter bei mir nicht als Web-Extension markiert ist:</p>
<p dir="auto"><img src="/assets/uploads/files/1774819368471-einstellungen-simple-api.jpg" alt="Einstellungen Simple-API.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">oder ?</p>
]]></description><link>https://forum.iobroker.net/post/1332167</link><guid isPermaLink="true">https://forum.iobroker.net/post/1332167</guid><dc:creator><![CDATA[WillyIobrok]]></dc:creator><pubDate>Sun, 29 Mar 2026 21:23:17 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst]simple-Api &gt;3.0.0 funktioniert nicht mehr wie 2.8.0 on Sun, 29 Mar 2026 21:20:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/willyiobrok" aria-label="Profile: WillyIobrok">@<bdi>WillyIobrok</bdi></a> Mögliche Lösungswege<br />
Um das gewohnte Verhalten der Version 2.8.0 nachzubilden, darf der simple-api-Adapter in den Instanzeinstellungen nicht als Web-Extension markiert sein, sodass er wieder exklusiv seinen eigenen Port öffnet. Alternativ können Nutzer ihre bestehenden Skripte und Drittsysteme komplett so umstellen, dass sie die Befehle direkt über den Port des web-Adapters senden.</p>
]]></description><link>https://forum.iobroker.net/post/1332166</link><guid isPermaLink="true">https://forum.iobroker.net/post/1332166</guid><dc:creator><![CDATA[crunchip]]></dc:creator><pubDate>Sun, 29 Mar 2026 21:20:55 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst]simple-Api &gt;3.0.0 funktioniert nicht mehr wie 2.8.0 on Sun, 29 Mar 2026 21:16:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/willyiobrok" aria-label="Profile: WillyIobrok">@<bdi>WillyIobrok</bdi></a> sagte in <a href="/post/1332164">simple-Api &gt;3.0.0 funktioniert nicht mehr so wie bis 2.8.0</a>:</p>
<blockquote>
<p dir="auto">Nodejs-Version: 20.20.1</p>
</blockquote>
<p dir="auto">Wird nicht der Grund sein, aber bring das dringend auf nodejs22. Die Version 20 erreicht dass Supportende in Kürze.<br />
Ein</p>
<pre><code>iob nodejs-update
</code></pre>
<p dir="auto">sollte wohl mal so langsam drin sein...</p>
]]></description><link>https://forum.iobroker.net/post/1332165</link><guid isPermaLink="true">https://forum.iobroker.net/post/1332165</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Sun, 29 Mar 2026 21:16:38 GMT</pubDate></item></channel></rss>