-
Notifications
You must be signed in to change notification settings - Fork 121
Open
Description
I'm sure that
- This issue is still present in the current beta version of this adapter
- There is no other (open) issue with the same topic (use the search!)
- This issue is not described in the adapter documentation / FAQ (read the docs!)
Script type
Blockly
The problem
Man erstellt das Blockly 1 und startet es. Dann nimmt man den Datenpunkt den man triggert und stellt den auf true. Somit bekommt man ein debug-output mit test. Dann legt man ein zweites Blockly an und wählt im Script steuern das Blockly 1 aus zum starten und dann startet man Blockly 2. Dann triggert man nochmal den Datenpunkt.
Blockly 1:
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="on" id="K6pz-REcfN~HH7C*vDnF" x="-62" y="-737">
<field name="OID">0_userdata.0.example_state</field>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<statement name="STATEMENT">
<block type="controls_if" id="ZSKbO6mhWJU~W#|/a(/=">
<value name="IF0">
<block type="on_source" id="=w:F^lCnv=|zf7Cic)2Z">
<field name="ATTR">state.val</field>
</block>
</value>
<statement name="DO0">
<block type="telegram" id="Inh)USiKe2/qh.}u?2ce" disabled-reasons="MANUALLY_DISABLED">
<field name="INSTANCE">.0</field>
<field name="LOG"></field>
<field name="SILENT">FALSE</field>
<field name="PARSEMODE">default</field>
<field name="ESCAPING">FALSE</field>
<field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
<value name="MESSAGE">
<shadow type="text" id="?F0^go-xq9~=]:M_tx/z">
<field name="TEXT">text</field>
</shadow>
</value>
<next>
<block type="debug" id="C;q+|IV9n?rM*+vs*}?9">
<field name="Severity">info</field>
<value name="TEXT">
<shadow type="text" id="++@n8dXT8[Uro,|F|KB]">
<field name="TEXT">test</field>
</shadow>
</value>
</block>
</next>
</block>
</statement>
</block>
</statement>
</block>
</xml>
Blockly 2:
<block xmlns="https://developers.google.com/blockly/xml" type="control_script" id="7wL;EHAw~jP$$ykHz7HK" x="-162" y="-362">
<field name="OID">script.js.Nachricht</field>
<field name="ACTION">startScriptAsync</field>
</block>
Log:
javascript.0 2026-01-09 15:34:20.846 info script.js.Nachricht: Stopping script
javascript.0 2026-01-09 15:34:18.677 info script.js.Start: Stopping script
javascript.0 2026-01-09 15:33:32.636 info script.js.Nachricht: test
javascript.0 2026-01-09 15:33:32.636 info script.js.Nachricht: test
javascript.0 2026-01-09 15:33:29.492 info script.js.Nachricht: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
javascript.0 2026-01-09 15:33:29.492 info script.js.Nachricht: subscribe: {"pattern":{"id":"0_userdata.0.example_state","change":"ne","q":0},"name":"script.js.Nachricht"}
javascript.0 2026-01-09 15:33:29.491 info script.js.Nachricht: start JavaScript (Blockly)
javascript.0 2026-01-09 15:33:29.490 info script.js.Nachricht: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
javascript.0 2026-01-09 15:33:29.490 info script.js.Nachricht: subscribe: {"pattern":{"id":"0_userdata.0.example_state","change":"ne","q":0},"name":"script.js.Nachricht"}
javascript.0 2026-01-09 15:33:29.489 info script.js.Nachricht: start JavaScript (Blockly)
javascript.0 2026-01-09 15:33:29.485 info script.js.Nachricht: Stopping script
javascript.0 2026-01-09 15:33:29.483 info script.js.Start: registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
javascript.0 2026-01-09 15:33:29.478 info script.js.Start: start JavaScript (Blockly)
javascript.0 2026-01-09 15:33:21.989 info script.js.Nachricht: test
javascript.0 2026-01-09 15:33:18.391 info script.js.Nachricht: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
javascript.0 2026-01-09 15:33:18.391 info script.js.Nachricht: subscribe: {"pattern":{"id":"0_userdata.0.example_state","change":"ne","q":0},"name":"script.js.Nachricht"}
javascript.0 2026-01-09 15:33:18.385 info script.js.Nachricht: start JavaScript (Blockly)
Einmal:
javascript.0 2026-01-09 15:33:21.989 info script.js.Nachricht: test
Doppelt:
javascript.0 2026-01-09 15:33:32.636 info script.js.Nachricht: test
javascript.0 2026-01-09 15:33:32.636 info script.js.Nachricht: test
iobroker.current.log (in debug mode!)
No response
Version of nodejs
v22.21.0
Version of ioBroker js-controller
7.1.0
Version of adapter
v9.0.17
Metadata
Metadata
Assignees
Labels
No labels