Skip to content

Scripting / Logic

Help for using JavaScript, Blockly, TypeScript, Node-RED, Scenes and text2command

45 Themen 310 Beiträge

NEWS

Unterkategorien


  • Help for using JavaScript

    26 164
    26 Themen
    164 Beiträge
    G
    Besten Dank für die Unterstützung. Ich schaue mir das noch mal in Ruhe an. Ich nutze übrigens JavaScript 9.0.18, vielleicht gab es zwischen 9.0.11 und 9.0.18 ja auch Anpassungen. Insg. hat sich die Stau-API aber auch geändert, mein JSONATA passt nicht mehr. Ich muss also eh an dieses Gebastel ran. Vielleicht überführe ich es dabei direkt von Blockly in reines JavaScript.
  • Help for using Blockly

    13 131
    13 Themen
    131 Beiträge
    d34df4c3D
    I have identified two interesting pieces of code. For the missing result variable in "Event: Received Message": https://github.com/ioBroker/ioBroker.javascript/blob/dba68e9eb91f79035f62a2df584fd1f7474462fe/admin/google-blockly/own/blocks_trigger.js#L1241-L1368 And for the missing result variable in "Send Message" block: https://github.com/ioBroker/ioBroker.javascript/blob/dba68e9eb91f79035f62a2df584fd1f7474462fe/admin/google-blockly/own/blocks_sendto.js#L365-L549 Now, I have to better understand Blockly framework and see how the code can be adapted.
  • Help for using Node-RED

    3 3
    3 Themen
    3 Beiträge
    bobo7682 0B
    Hello, I would like to access the REST API interface of my heating control system in Node Red. Can someone help me? The address is [http://192.168.178.22:8080/user/var//120/10281/0/0/12080] Here I would have to set the value 1803 or 1802 depending on the "on" or "off" state. Can someone help me with how to implement this in Node RED![0_1741790396717_RM.png](Uploading 100%) ![0_1741790414319_6.JPG](Uploading 100%)
  • Script and Telegram

    4
    3
    0 Stimmen
    4 Beiträge
    1k Aufrufe
    AsgothianA
    @tiger Attached is a simple blockly example. [image: 1662728641432-screenshot-2022-09-09-at-15.03.56.png] I hope this explains how I would do this. A. p.s. I don't speak French, so any translation errors are in there for your amusement. I also still am unsure about the exact setup, so some combinations of main menu selection and sub menu selection may not make sense. Those cases wouldn't need to be explicitly listed either.
  • Rules RGB Value Not Updated

    2
    0 Stimmen
    2 Beiträge
    926 Aufrufe
    arteckA
    @jonwestfall i think you have found a bug.. issue plz in GIT
  • JSON - Reading a datapoint with a . in the name? - Solved

    blockly javascript
    6
    0 Stimmen
    6 Beiträge
    2k Aufrufe
    E
    @paul53 Super, vielen Dank! Das hat mich sehr geholfen. Übrigens spreche ich Deutsch, aber schreiben ist jedoch etwas ganz anderes...

625

Online

32.7k

Benutzer

82.5k

Themen

1.3m

Beiträge