<?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[Test Javascript-Adapter 5.0.7 - RULES]]></title><description><![CDATA[<table class="table table-bordered table-striped">
<thead>
<tr>
<th>Aktuelle Test Version</th>
<th>5.0.7</th>
</tr>
</thead>
<tbody>
<tr>
<td>Veröffentlichungsdatum</td>
<td>27.02.2021</td>
</tr>
<tr>
<td>Installation</td>
<td>Latest-Repo oder <code>npm i iobroker.javascript@5.0.7 --production &amp;&amp; iob u javascript</code></td>
</tr>
</tbody>
</table>
<h3>RULES - die neue Möglichkeit dein Heim zu Automatisieren...</h3>
<p dir="auto"><strong>Skripte noch einfacher erstellen für Jedermann!</strong></p>
<p dir="auto">Nicht jeder ist in der Lage zu programmieren und sein Heim mittels JavaScript Code zu automatisieren. Auch um mit Blockly klar zu kommen muss man sich in einige Themen einarbeiten. Scenes andererseits sind doch manchmal schnell sehr beschränkt.</p>
<p dir="auto">Darf ich Vorstellen: <strong>RULES</strong> - die neueste Erweiterung des JavaScript Adapters</p>
<p dir="auto">RULES ermöglicht es in einer einfach gestalteten Oberfläche Skripte noch einfacher zusammenzustellen nach dem bewährten "Wenn DIES dann DAS" Prinzip. (In Wirklichkeit ist es dann doch "WENN DIES und/oder DIES-ANDERE dann DAS(+DAS+...), sonst ANDERES" ;-) )</p>
<p dir="auto">Aber bevor Eure Fragezeichen noch größer werden: (bewegte) Bilder sagen mehr als tausend Worte:</p>
<p dir="auto"><img src="/assets/uploads/files/1614439627148-rules1.gif" alt="rules1.gif" class=" img-fluid img-markdown" /></p>
<p dir="auto"><strong>Das will ich testen!</strong><br />
RULES sind neu und noch im Beta Test. Es kann also gfgf noch hier und ein Fehler stecken. Zum melden der Fehler bitte siehe unten!</p>
<p dir="auto"><strong>INSTALLATION:</strong><br />
Aktuell noch manuell:</p>
<ul>
<li>wechselt ins ioBroker Verzeichnis</li>
<li><code>npm i iobroker.javascript@5.0.7 --production &amp;&amp; iob u javascript</code></li>
</ul>
<p dir="auto">Ebenso haben wir uns im ersten Schritt auf die für alle User relevanten Features konzentriert. Wenn Ihr die Ideen habt oder Funktionen vermisst dann bitte auch hier zu die Anweisungen weiter unten beachten.</p>
<p dir="auto">Das neue Feature hat keine Auswirkungen auf die Ausführung der bestehenden Skripte und läuft ausschließlich im Browser.<br />
Wie im kleinen Video bereits zu sehen beim Erstellen eines neuen Skriptes einfach den neuen Typ "Rules" auswählen und das Skript zusammenstellen. Unter der Haube wird echtes JavaScript erstellt, welches dann ausgeführt wird wie alle anderen Skripte auch.</p>
<p dir="auto"><strong>Ich habe einen Bug gefunden...</strong><br />
Diesen Bitte als GitHub Issue unter <a href="https://github.com/ioBroker/ioBroker.javascript/issues" rel="nofollow ugc">https://github.com/ioBroker/ioBroker.javascript/issues</a> als Bug Report anlegen und bitte den Titel mit "Rules:" beginnen. Bitte mit Screenshots und Infos (ggf Schritt-für-Schritt Anleitung für die Reproduktion) erweitern. Bitte auch gern in der Browser-JavaScript Konsole schauen ob irgendwelche Fehler geloggt werden. Das bitte ggf als Text oder Screenshot anfügen. Je mehr Infos da sind um so schneller können wir es nachvollziehen und beheben.</p>
<p dir="auto"><strong>Mir fehlt da ein Feature...</strong><br />
Dann bitte als Feature Request im Github anlegen (Issue und dort Feature Request wählen) anlegen und im Titel "Rules:" an den Anfang stellen. Dann beschreiben was genau Ihr noch sinnvoll ansehen würdet.</p>
<p dir="auto">Natürlich ist auch dieser Thread gut geeignet sich auszutauschen, nur zu. Beachtet auch die FAQ im zweiten Post.</p>
<p dir="auto">Dann jetzt viel Spaß beim Skripte zusammenstellen.</p>
<p dir="auto">Bluefox</p>
]]></description><link>https://forum.iobroker.net/topic/42725/test-javascript-adapter-5-0-7-rules</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Jul 2026 01:05:28 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/42725.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 27 Feb 2021 15:29:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Test Javascript-Adapter 5.0.7 - RULES on Sun, 11 Dec 2022 19:32:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mrmuppet" aria-label="Profile: mrmuppet">@<bdi>mrmuppet</bdi></a> an sich sollte blockly und rules nichts miteinander zu tun haben mega Strange.</p>
]]></description><link>https://forum.iobroker.net/post/908342</link><guid isPermaLink="true">https://forum.iobroker.net/post/908342</guid><dc:creator><![CDATA[apollon77]]></dc:creator><pubDate>Sun, 11 Dec 2022 19:32:13 GMT</pubDate></item><item><title><![CDATA[Reply to Test Javascript-Adapter 5.0.7 - RULES on Sun, 11 Dec 2022 16:57:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mike-hellracer" aria-label="Profile: mike-hellracer">@<bdi>mike-hellracer</bdi></a> sagte in <a href="/post/900470">Test Javascript-Adapter 5.0.7 - RULES</a>:</p>
<blockquote>
<p dir="auto">Hallo zusammen,<br />
wollte mich jetzt auch mal an ein paar Rules versuchen.<br />
Ich habe Javascript 6.0.3 installiert, kann auch eine "Rule" anlegen, aber leider erscheint bei mir der Editor nicht.<br />
Weder bei gestartetetem noch gestoppten Script.<br />
Hoffe jemand kann mir sagen, was ich da falsch mache, bzw. ob ich noch etwas nachinstallieren muss?<br />
<img src="/assets/uploads/files/1669628128626-rules.png" alt="Rules.PNG" class=" img-fluid img-markdown" /><br />
Danke zusammen</p>
</blockquote>
<p dir="auto">Ich hab leider gerade den gleichen Fehler.<br />
Bei mir fing es vor ca. 1 Woche wieder damit an, dass mein ganzer Skripte-Bereich immer wieder nach wenigen Sekunden "verschwand" (wie schon vor zwei Jahren mal hier: <a href="https://forum.iobroker.net/topic/38053/solved-scripte-bereich-im-webui-nach-0-5-sec-ausgeblendet">Foren-Thread vom 27.10.2020</a>.<br />
Dann hab ich mal wieder alles geupdated und jetzt habe ich den Fehler wie <a class="plugin-mentions-user plugin-mentions-a" href="/user/mike-hellracer" aria-label="Profile: Mike-Hellracer">@<bdi>Mike-Hellracer</bdi></a> .<br />
Im Browser-Log finde ich z.B. folgendes:</p>
<pre><code>Could not load content for http://192.168.1.20:8081/src/AdminConnection.ts (HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE)
Could not load content for http://192.168.1.20:8081/src/DeferredPromise.ts (HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE)
...
</code></pre>
<p dir="auto">Strg+F5 habe ich auch ohne Änderung ausprobiert.</p>
<p dir="auto">Edit: Jetzt hab ich noch mal alte Backups wiederhergestellt, noch mal System und Broker geupdatet (inkl. fix), alte iobroker-Admins ausprobiert:<br />
Je nach Version verschwindet die Skript Oberfläche nach einer Sekunde oder aber sie bleibt sichtbar, aber die Blockly-Blöcke tauchen einfach nicht auf.<br />
Echt mist. Kann meine Skripte nicht bearbeiten und müsste dringend mal da ran.</p>
<p dir="auto">[SOVED] Edit2: Nachdem ich in der Browser-Ausgabe von Custom Blockly-Blöcken gelesen habe</p>
<pre><code>instrument.ts:124 Detected custom blockly: cloud
instrument.ts:124 Detected custom blockly: enigma2
instrument.ts:124 Detected custom blockly: iot
instrument.ts:124 Detected custom blockly: pushover
instrument.ts:124 Detected custom blockly: sayit
</code></pre>
<p dir="auto">und ich enigma gar nicht mehr verwende, habe ich den entsprechenden Adapter entfernt und seit diesem Moment ist das Problem verschwunden.</p>
]]></description><link>https://forum.iobroker.net/post/905231</link><guid isPermaLink="true">https://forum.iobroker.net/post/905231</guid><dc:creator><![CDATA[mrMuppet]]></dc:creator><pubDate>Sun, 11 Dec 2022 16:57:45 GMT</pubDate></item><item><title><![CDATA[Reply to Test Javascript-Adapter 5.0.7 - RULES on Sun, 04 Dec 2022 11:29:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/conslinger" aria-label="Profile: conslinger">@<bdi>conslinger</bdi></a> bitte github issue im javascript Projekt anlegen. Inkl Liste von installierten adaptern</p>
]]></description><link>https://forum.iobroker.net/post/903869</link><guid isPermaLink="true">https://forum.iobroker.net/post/903869</guid><dc:creator><![CDATA[apollon77]]></dc:creator><pubDate>Sun, 04 Dec 2022 11:29:40 GMT</pubDate></item><item><title><![CDATA[Reply to Test Javascript-Adapter 5.0.7 - RULES on Sun, 04 Dec 2022 08:10:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mike-hellracer" aria-label="Profile: mike-hellracer">@<bdi>mike-hellracer</bdi></a> Bei mir das gleiche Problem, anbei was die Browser Console bei mir so sagt. Bin auf Stable, alle Adapter aktuell. Node.js: v16.18.0, NPM: 8.19.2.</p>
<pre><code>bootstrap.jsx:19 iobroker.admin@6.2.23
instrument.ts:123 [2022-12-04T08:01:18.207Z] Try to connect
instrument.ts:123 Stored version: , new version: 6.2.23
instrument.ts:123 Connected: true
bootstrap.jsx:26 iobroker.javascript@6.0.3 using theme "light"
Prompt.js:15 
██╗ ██████╗ ██████╗ ██████╗  ██████╗ ██╗  ██╗███████╗██████╗ 
██║██╔═══██╗██╔══██╗██╔══██╗██╔═══██╗██║ ██╔╝██╔════╝██╔══██╗
██║██║   ██║██████╔╝██████╔╝██║   ██║█████╔╝ █████╗  ██████╔╝
██║██║   ██║██╔══██╗██╔══██╗██║   ██║██╔═██╗ ██╔══╝  ██╔══██╗
██║╚██████╔╝██████╔╝██║  ██║╚██████╔╝██║  ██╗███████╗██║  ██║
╚═╝ ╚═════╝ ╚═════╝ ╚═╝  ╚═╝ ╚═════╝ ╚═╝  ╚═╝╚══════╝╚═╝  ╚═╝

Prompt.js:16 Nice to see you here! :) Join our dev community here https://github.com/ioBroker/ioBroker or here https://github.com/iobroker-community-adapters
Prompt.js:17 Help us to create open source project with reactJS!
Prompt.js:18 See you :)
socket.io.js:66 [2022-12-04T08:01:24.464Z] Try to connect
sentry.iobroker.net/api/56/envelope/?sentry_key=504499a725eb4898930d3b9e9da95740&amp;sentry_version=7&amp;sentry_client=sentry.javascript.browser%2F7.12.1:1          Failed to load resource: the server responded with a status of 403 ()
instrument.ts:123 Detected custom blockly: iot
instrument.ts:123 Detected custom blockly: iqontrol
instrument.ts:123 Detected custom blockly: telegram
instrument.ts:123 Translation for word "Instance:" in "de" was ignored: existing = "Beispiel:", new = Instanz:
(anonymous) @ instrument.ts:123
instrument.ts:123 Translation for word "Sends message via telegram" in "de" was ignored: existing = "Sendet eine Nachricht per telegram", new = Sendet Nachricht per Telegramm
(anonymous) @ instrument.ts:123
19instrument.ts:123 Detected an editable field that was not serializable. Please define SERIALIZABLE property as true on all editable custom fields. Proceeding with serialization.
(anonymous) @ instrument.ts:123
:8081/adapter/telegr…stomRuleBlocks.js:1 Uncaught SyntaxError: Cannot use import statement outside a module
index.jsx:37 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '__initialized')
    at index.jsx:37:37
    at Generator.next (&lt;anonymous&gt;)
    at 62.c2f8b616.chunk.js:178:1797
    at new Promise (&lt;anonymous&gt;)
    at gs (62.c2f8b616.chunk.js:178:1617)
    at HTMLScriptElement.o (index.jsx:35:40)
sentry.iobroker.net/api/56/envelope/?sentry_key=504499a725eb4898930d3b9e9da95740&amp;sentry_version=7&amp;sentry_client=sentry.javascript.browser%2F7.12.1:1          Failed to load resource: the server responded with a status of 403 ()
sentry.iobroker.net/api/56/envelope/?sentry_key=504499a725eb4898930d3b9e9da95740&amp;sentry_version=7&amp;sentry_client=sentry.javascript.browser%2F7.12.1:1          Failed to load resource: the server responded with a status of 403 ()
sentry.iobroker.net/api/56/envelope/?sentry_key=504499a725eb4898930d3b9e9da95740&amp;sentry_version=7&amp;sentry_client=sentry.javascript.browser%2F7.12.1:1          Failed to load resource: the server responded with a status of 403 ()
19instrument.ts:123 Detected an editable field that was not serializable. Please define SERIALIZABLE property as true on all editable custom fields. Proceeding with serialization.
(anonymous) @ instrument.ts:123
DevTools failed to load source map: Could not load content for chrome-extension://gighmmpiobklfepjocnamgkkbiglidom/browser-polyfill.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for http://192.168.178.41:8081/adapter/min-maps/vs/loader.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://192.168.178.41:8081/adapter/min-maps/vs/editor/editor.main.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://192.168.178.41:8081/adapter/min-maps/vs/editor/editor.main.nls.de.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
</code></pre>
]]></description><link>https://forum.iobroker.net/post/903761</link><guid isPermaLink="true">https://forum.iobroker.net/post/903761</guid><dc:creator><![CDATA[conslinger]]></dc:creator><pubDate>Sun, 04 Dec 2022 08:10:12 GMT</pubDate></item><item><title><![CDATA[Reply to Test Javascript-Adapter 5.0.7 - RULES on Mon, 28 Nov 2022 10:14:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mike-hellracer" aria-label="Profile: mike-hellracer">@<bdi>mike-hellracer</bdi></a> Steht irgendwas in der Browser Fehlerkonsole?</p>
]]></description><link>https://forum.iobroker.net/post/900485</link><guid isPermaLink="true">https://forum.iobroker.net/post/900485</guid><dc:creator><![CDATA[apollon77]]></dc:creator><pubDate>Mon, 28 Nov 2022 10:14:14 GMT</pubDate></item><item><title><![CDATA[Reply to Test Javascript-Adapter 5.0.7 - RULES on Mon, 28 Nov 2022 09:36:51 GMT]]></title><description><![CDATA[<p dir="auto">Hallo zusammen,<br />
wollte mich jetzt auch mal an ein paar Rules versuchen.<br />
Ich habe Javascript 6.0.3 installiert, kann auch eine "Rule" anlegen, aber leider erscheint bei mir der Editor nicht.<br />
Weder bei gestartetetem noch gestoppten Script.<br />
Hoffe jemand kann mir sagen, was ich da falsch mache, bzw. ob ich noch etwas nachinstallieren muss?<br />
<img src="/assets/uploads/files/1669628128626-rules.png" alt="Rules.PNG" class=" img-fluid img-markdown" /><br />
Danke zusammen</p>
]]></description><link>https://forum.iobroker.net/post/900470</link><guid isPermaLink="true">https://forum.iobroker.net/post/900470</guid><dc:creator><![CDATA[Mike Hellracer]]></dc:creator><pubDate>Mon, 28 Nov 2022 09:36:51 GMT</pubDate></item><item><title><![CDATA[Reply to Test Javascript-Adapter 5.0.7 - RULES on Fri, 25 Nov 2022 05:28:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/niklasmader" aria-label="Profile: niklasmader">@<bdi>niklasmader</bdi></a> hm … Mist. Ich dachte das geht. Der meets workaround wäre das Skript Objekt direkt zu bearbeiten. Da wäre über Objekte Tab. Dann expertenmodus aktivieren. Dann <a href="http://Script.Js.Name" rel="nofollow ugc">Script.Js.Name</a> vom Skript raussuchen und auf das Stift Symbol gehen. Dann siehst du das Skript als json. Da die Stelle suchen und editieren (am besten vorher rauskopieren zur Sicherheit). Musst dann aber einfache Anführungszeichen nehmen und keine doppelten!</p>
<p dir="auto">Absoluter Hack aber so ginge es.</p>
]]></description><link>https://forum.iobroker.net/post/898716</link><guid isPermaLink="true">https://forum.iobroker.net/post/898716</guid><dc:creator><![CDATA[apollon77]]></dc:creator><pubDate>Fri, 25 Nov 2022 05:28:33 GMT</pubDate></item><item><title><![CDATA[Reply to Test Javascript-Adapter 5.0.7 - RULES on Thu, 24 Nov 2022 22:01:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/apollon77" aria-label="Profile: apollon77">@<bdi>apollon77</bdi></a> Ich habe erst jetzt geschafft mich weiter damit zu beschäftigen. Das habe ich mir auch schon gedacht, aber man kann den Code doch gar nicht manuell editieren, oder? Auch, wenn ich im 'Expert Mode' bin und dann auf den Debug Button oben links neben dem 'Rules/JS' Logo klicke, kann ich nichts ändern, obwohl das ja eigentlich dafür da sein sollte. Auch die 'verbose' und 'debug' Buttons oben rechts neben dem 'Rules/JS' Logo haben bei mir keine Funktion. Ich bin immer im 'read-only mode'.</p>
]]></description><link>https://forum.iobroker.net/post/898639</link><guid isPermaLink="true">https://forum.iobroker.net/post/898639</guid><dc:creator><![CDATA[niklasmader]]></dc:creator><pubDate>Thu, 24 Nov 2022 22:01:45 GMT</pubDate></item><item><title><![CDATA[Reply to Test Javascript-Adapter 5.0.7 - RULES on Sat, 19 Nov 2022 23:44:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/niklasmader" aria-label="Profile: niklasmader">@<bdi>niklasmader</bdi></a> Aahhhhbdas ist das Porblem ... dann hatte ich das falsch verstanden. Ja das hab ich im generieten code gesehen ...</p>
<p dir="auto">Bitte GitHub issue auf machen mit Rule Screenshot UND dem vom generierten JS Code. Alternativ manuell den generierten Code editieren, da ist eine stelle wo "pause" ohne Anführungszeichen steht ... da müssen welche drum rum. Ist ein Code-Generator Bug</p>
]]></description><link>https://forum.iobroker.net/post/895344</link><guid isPermaLink="true">https://forum.iobroker.net/post/895344</guid><dc:creator><![CDATA[apollon77]]></dc:creator><pubDate>Sat, 19 Nov 2022 23:44:01 GMT</pubDate></item><item><title><![CDATA[Reply to Test Javascript-Adapter 5.0.7 - RULES on Sat, 19 Nov 2022 22:04:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/apollon77" aria-label="Profile: apollon77">@<bdi>apollon77</bdi></a> Leider genau das nicht. Hier auch nochmal der Fehler im Log "Pause is not defined". Der komplette rote Log Teil ist aus dem Skript. Wenn ich "pause" in einzelne Anführungszeichen setze, also so 'pause', dann kommt kein Fehler im Log, aber es passiert auch nichts.</p>
<p dir="auto"><img src="/assets/uploads/files/1668895451215-screenshot-2022-11-19-at-22.59.30-resized.png" alt="Screenshot 2022-11-19 at 22.59.30.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.iobroker.net/post/895290</link><guid isPermaLink="true">https://forum.iobroker.net/post/895290</guid><dc:creator><![CDATA[niklasmader]]></dc:creator><pubDate>Sat, 19 Nov 2022 22:04:13 GMT</pubDate></item><item><title><![CDATA[Reply to Test Javascript-Adapter 5.0.7 - RULES on Sat, 19 Nov 2022 21:18:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/niklasmader" aria-label="Profile: niklasmader">@<bdi>niklasmader</bdi></a> das sieht aber korrekt aus. Wenn „pause“ dann setze 10. was genau tut nicht?</p>
]]></description><link>https://forum.iobroker.net/post/895228</link><guid isPermaLink="true">https://forum.iobroker.net/post/895228</guid><dc:creator><![CDATA[apollon77]]></dc:creator><pubDate>Sat, 19 Nov 2022 21:18:54 GMT</pubDate></item><item><title><![CDATA[Reply to Test Javascript-Adapter 5.0.7 - RULES on Sat, 19 Nov 2022 20:02:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/apollon77" aria-label="Profile: apollon77">@<bdi>apollon77</bdi></a> Ist anbei. Wofür ist eigentlich die aaskommentierte Sektion? Für die Simulation?</p>
<p dir="auto"><img src="/assets/uploads/files/1668888164143-screenshot-2022-11-19-at-20.59.32-resized.png" alt="Screenshot 2022-11-19 at 20.59.32.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.iobroker.net/post/895159</link><guid isPermaLink="true">https://forum.iobroker.net/post/895159</guid><dc:creator><![CDATA[niklasmader]]></dc:creator><pubDate>Sat, 19 Nov 2022 20:02:47 GMT</pubDate></item><item><title><![CDATA[Reply to Test Javascript-Adapter 5.0.7 - RULES on Sat, 19 Nov 2022 19:58:02 GMT]]></title><description><![CDATA[<p dir="auto">Dann zeig mal im Javascript das Javascript was er aus deiner Rule generiert ... oben rechts auf das "Rules/JS" Logo klicken</p>
]]></description><link>https://forum.iobroker.net/post/895156</link><guid isPermaLink="true">https://forum.iobroker.net/post/895156</guid><dc:creator><![CDATA[apollon77]]></dc:creator><pubDate>Sat, 19 Nov 2022 19:58:02 GMT</pubDate></item><item><title><![CDATA[Reply to Test Javascript-Adapter 5.0.7 - RULES on Sat, 19 Nov 2022 19:56:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/homoran" aria-label="Profile: homoran">@<bdi>homoran</bdi></a> Oh, interessant. Da gibt es ja sogar noch mehr. Aber "pause" müsste doch auch dabei sein, so wie ich das sehe.</p>
<p dir="auto"><img src="/assets/uploads/files/1668887747612-screenshot-2022-11-19-at-20.54.45-resized.png" alt="Screenshot 2022-11-19 at 20.54.45.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.iobroker.net/post/895155</link><guid isPermaLink="true">https://forum.iobroker.net/post/895155</guid><dc:creator><![CDATA[niklasmader]]></dc:creator><pubDate>Sat, 19 Nov 2022 19:56:08 GMT</pubDate></item><item><title><![CDATA[Reply to Test Javascript-Adapter 5.0.7 - RULES on Sat, 19 Nov 2022 19:50:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/niklasmader" aria-label="Profile: niklasmader">@<bdi>niklasmader</bdi></a> sagte in <a href="/post/895144">Test Javascript-Adapter 5.0.7 - RULES</a>:</p>
<blockquote>
<p dir="auto">Ist dort nicht richtig zu schauen</p>
</blockquote>
<p dir="auto">geh mal auf den Bleistift und poste die Objektdaten</p>
]]></description><link>https://forum.iobroker.net/post/895145</link><guid isPermaLink="true">https://forum.iobroker.net/post/895145</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Sat, 19 Nov 2022 19:50:59 GMT</pubDate></item><item><title><![CDATA[Reply to Test Javascript-Adapter 5.0.7 - RULES on Sat, 19 Nov 2022 19:49:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/apollon77" aria-label="Profile: apollon77">@<bdi>apollon77</bdi></a> Ich hab's hier heraus gelesen. Ist dort nicht richtig zu schauen? Ich komme von Fhem und das ist auch schon etwas her, daher muss ich mich noch etwas einfinden.</p>
<p dir="auto"><img src="/assets/uploads/files/1668887381453-screenshot-2022-11-19-at-20.47.00-resized.png" alt="Screenshot 2022-11-19 at 20.47.00.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.iobroker.net/post/895144</link><guid isPermaLink="true">https://forum.iobroker.net/post/895144</guid><dc:creator><![CDATA[niklasmader]]></dc:creator><pubDate>Sat, 19 Nov 2022 19:49:59 GMT</pubDate></item><item><title><![CDATA[Reply to Test Javascript-Adapter 5.0.7 - RULES on Sat, 19 Nov 2022 19:45:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/niklasmader" aria-label="Profile: niklasmader">@<bdi>niklasmader</bdi></a> Ist der Wert wirklich "pause"? wie Zeigt admin es an?</p>
]]></description><link>https://forum.iobroker.net/post/895140</link><guid isPermaLink="true">https://forum.iobroker.net/post/895140</guid><dc:creator><![CDATA[apollon77]]></dc:creator><pubDate>Sat, 19 Nov 2022 19:45:29 GMT</pubDate></item><item><title><![CDATA[Reply to Test Javascript-Adapter 5.0.7 - RULES on Sat, 19 Nov 2022 19:40:57 GMT]]></title><description><![CDATA[<p dir="auto">Hey,</p>
<p dir="auto">mag mir einer bei einem ganz einfachen Skript helfen? Ich möchte einfach nur bei Änderung von play' auf 'pause' die Lautstärke bei Sonos verstellen. Mit dem 'simple State' und dem Abgleich von 'true' und 'false' klappt das. Aber nicht mit dem String Value 'play' oder 'pause'. Ich habs schon mit Anführungszeichen doppelt oder einfach probiert.</p>
<p dir="auto">Danke euch!</p>
<p dir="auto"><img src="/assets/uploads/files/1668886793415-screenshot-2022-11-19-at-20.39.13-resized.png" alt="Screenshot 2022-11-19 at 20.39.13.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.iobroker.net/post/895134</link><guid isPermaLink="true">https://forum.iobroker.net/post/895134</guid><dc:creator><![CDATA[niklasmader]]></dc:creator><pubDate>Sat, 19 Nov 2022 19:40:57 GMT</pubDate></item><item><title><![CDATA[Reply to Test Javascript-Adapter 5.0.7 - RULES on Thu, 20 Oct 2022 08:43:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/apollon77" aria-label="Profile: apollon77">@<bdi>apollon77</bdi></a> Da gab es schon ein Issue, hab mich mal drangehängt. :)</p>
]]></description><link>https://forum.iobroker.net/post/876568</link><guid isPermaLink="true">https://forum.iobroker.net/post/876568</guid><dc:creator><![CDATA[firebowl]]></dc:creator><pubDate>Thu, 20 Oct 2022 08:43:34 GMT</pubDate></item><item><title><![CDATA[Reply to Test Javascript-Adapter 5.0.7 - RULES on Wed, 19 Oct 2022 19:40:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/firebowl" aria-label="Profile: firebowl">@<bdi>firebowl</bdi></a> Jaaa ..sorry Typo :-) (zu viele Themen parallel)</p>
]]></description><link>https://forum.iobroker.net/post/876388</link><guid isPermaLink="true">https://forum.iobroker.net/post/876388</guid><dc:creator><![CDATA[apollon77]]></dc:creator><pubDate>Wed, 19 Oct 2022 19:40:17 GMT</pubDate></item><item><title><![CDATA[Reply to Test Javascript-Adapter 5.0.7 - RULES on Wed, 19 Oct 2022 18:40:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/apollon77" aria-label="Profile: apollon77">@<bdi>apollon77</bdi></a> Warum Telegram? Meinst Du Pushover? Telegram hab ich überhaupt nicht installiert.</p>
]]></description><link>https://forum.iobroker.net/post/876343</link><guid isPermaLink="true">https://forum.iobroker.net/post/876343</guid><dc:creator><![CDATA[firebowl]]></dc:creator><pubDate>Wed, 19 Oct 2022 18:40:22 GMT</pubDate></item><item><title><![CDATA[Reply to Test Javascript-Adapter 5.0.7 - RULES on Wed, 19 Oct 2022 10:25:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/firebowl" aria-label="Profile: firebowl">@<bdi>firebowl</bdi></a> Bitte mit den Infos ein Issue im GitHub beim Telegram Adapter anlegen.</p>
]]></description><link>https://forum.iobroker.net/post/876016</link><guid isPermaLink="true">https://forum.iobroker.net/post/876016</guid><dc:creator><![CDATA[apollon77]]></dc:creator><pubDate>Wed, 19 Oct 2022 10:25:02 GMT</pubDate></item><item><title><![CDATA[Reply to Test Javascript-Adapter 5.0.7 - RULES on Tue, 18 Oct 2022 17:27:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/apollon77" aria-label="Profile: apollon77">@<bdi>apollon77</bdi></a></p>
<pre><code>

let cond0 = false;

on({id: "zigbee.0.00158d0008ab3a82.temperature", change: "ne"}, async function (obj) {
    _sendToFrontEnd(1665724678070, {val: obj.state.val, ack: obj.state.ack, valOld: obj.oldState &amp;&amp; obj.oldState.val, ackOld: obj.oldState &amp;&amp; obj.oldState.ack});
    const subCondVar1665724734367 = obj.state.val;
    const subCond1665724734367 = subCondVar1665724734367 &gt;= -18;
    const _cond = (subCond1665724734367);
    
    _sendToFrontEnd(1665724734367, {result: subCond1665724734367, value: subCondVar1665724734367, compareWith: -18});
    
    if (cond0 === false &amp;&amp; _cond) {
        cond0 = true;    
		// Pushover Hello
		const subActionVar1665727500241 = "Hello".replace(/%s/g, obj.state.val).replace(/%id/g, obj.id).replace(/%name/g, obj.common &amp;&amp; obj.common.name).replace(/%old/g, obj.oldState.val);
		_sendToFrontEnd(1665727500241, {text: subActionVar1665727500241});`;            
		sendTo("pushover.0", "send", {
		    message: subActionVar1665727500241,
		    title: "ioBroker".replace(/%s/g, obj.state.val).replace(/%id/g, obj.id).replace(/%name/g, obj.common &amp;&amp; obj.common.name).replace(/%old/g, obj.oldState.val),
		    sound: "magic",
		    priority: -1
		});
    } else if (cond0 === true &amp;&amp; !_cond) {
        cond0 = false;    
		
    }
});
/*const demo = {
  "triggers": [
    {
      "id": "TriggerState",
      "acceptedBy": "triggers",
      "_id": 1665724678070,
      "tagCard": "on change",
      "oid": "zigbee.0.00158d0008ab3a82.temperature",
      "oidRole": "value.temperature",
      "oidType": "number",
      "oidUnit": "°C",
      "oidWrite": false,
      "oidRead": true
    }
  ],
  "conditions": [
    [
      {
        "id": "ConditionState",
        "acceptedBy": "conditions",
        "_id": 1665724734367,
        "tagCard": "&gt;=",
        "oid": "",
        "value": "-18",
        "useTrigger": true
      }
    ]
  ],
  "justCheck": false,
  "actions": {
    "then": [
      {
        "id": "ActionPushover",
        "acceptedBy": "actions",
        "_id": 1665727500241,
        "instance": "pushover.0",
        "text": "Hello",
        "title": "ioBroker",
        "sound": "magic",
        "priority": -1
      }
    ],
    "else": []
  }
};*/

//{"triggers":[{"id":"TriggerState","acceptedBy":"triggers","_id":1665724678070,"tagCard":"on change","oid":"zigbee.0.00158d0008ab3a82.temperature","oidRole":"value.temperature","oidType":"number","oidUnit":"°C","oidWrite":false,"oidRead":true}],"conditions":[[{"id":"ConditionState","acceptedBy":"conditions","_id":1665724734367,"tagCard":"&gt;=","oid":"","value":"-18","useTrigger":true}]],"justCheck":false,"actions":{"then":[{"id":"ActionPushover","acceptedBy":"actions","_id":1665727500241,"instance":"pushover.0","text":"Hello","title":"ioBroker","sound":"magic","priority":-1}],"else":[]}}
</code></pre>
<p dir="auto">Wenn ich anstatt Pushover einfach nen Logeintrag erzeugen lasse dann funktioniert das Script.<br />
Sorry für die späte Antwort, hab wohl die Benachrichtigung übersehen.</p>
]]></description><link>https://forum.iobroker.net/post/875758</link><guid isPermaLink="true">https://forum.iobroker.net/post/875758</guid><dc:creator><![CDATA[firebowl]]></dc:creator><pubDate>Tue, 18 Oct 2022 17:27:32 GMT</pubDate></item><item><title><![CDATA[Reply to Test Javascript-Adapter 5.0.7 - RULES on Fri, 14 Oct 2022 06:38:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/firebowl" aria-label="Profile: firebowl">@<bdi>firebowl</bdi></a> Bitte zeige mal das durch Rules erzeugte JavaScript ... (Klicke dazu auf die "Rules/JS" Grafik</p>
]]></description><link>https://forum.iobroker.net/post/872886</link><guid isPermaLink="true">https://forum.iobroker.net/post/872886</guid><dc:creator><![CDATA[apollon77]]></dc:creator><pubDate>Fri, 14 Oct 2022 06:38:54 GMT</pubDate></item></channel></rss>