Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Benötige Eure Hilfe | Datenpunkt erstellen (mit Blockly)

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.8k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.2k

Benötige Eure Hilfe | Datenpunkt erstellen (mit Blockly)

Scheduled Pinned Locked Moved Blockly
blocklyjavascript
3 Posts 3 Posters 290 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    thorkillar
    wrote on last edited by
    #1

    Guten Morgen,

    ich benötige mal Eure Hilfe. Könnt Ihr mir sagen, wie ich einen Datenpunkt per Skript (am liebsten per Blockly) erstellen kann?
    Ich habe leider in der Suche im Forum dazu nichts gefunden, mit dem ich was anfangen kann.

    Vielen Dank

    GlasfaserG 1 Reply Last reply
    0
    • T thorkillar

      Guten Morgen,

      ich benötige mal Eure Hilfe. Könnt Ihr mir sagen, wie ich einen Datenpunkt per Skript (am liebsten per Blockly) erstellen kann?
      Ich habe leider in der Suche im Forum dazu nichts gefunden, mit dem ich was anfangen kann.

      Vielen Dank

      GlasfaserG Offline
      GlasfaserG Offline
      Glasfaser
      wrote on last edited by
      #2

      @thorkillar

      https://forum.iobroker.net/topic/44211/gelöst-async-await

      Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

      F 1 Reply Last reply
      0
      • GlasfaserG Glasfaser

        @thorkillar

        https://forum.iobroker.net/topic/44211/gelöst-async-await

        F Offline
        F Offline
        fastfoot
        wrote on last edited by fastfoot
        #3

        @glasfaser sagte in Benötige Eure Hilfe | Datenpunkt erstellen (mit Blockly):

        @thorkillar

        https://forum.iobroker.net/topic/44211/gelöst-async-await

        Das ist evtl. Overkill, da es dort um das Anlegen von sehr vielen DP geht und das Warten auf die Fertigstellung. Ausserdem ist es mit einer JS-Funktion realisiert. Blockly bietet jedoch auch einen Baustein zur Erstellung eines DP an, was hier evtl. eher passt:
        Blockly8.PNG

        <xml xmlns="https://developers.google.com/blockly/xml">
         <block type="create" id="GJxU]RTgRyGS;KWI#T$2" x="-413" y="-412">
           <field name="NAME">0_userdata.0.Test3</field>
           <value name="VALUE">
             <block type="text" id="aAvrh0ynr(Gxln251yk-">
               <field name="TEXT">Mein DP1</field>
             </block>
           </value>
           <value name="COMMON">
             <block type="text_join" id="FAHbSVToA$RQMU?rXD^^">
               <mutation items="7"></mutation>
               <value name="ADD0">
                 <block type="text" id="`i]n6NeDtO^ofxT3Rtt?">
                   <field name="TEXT">{</field>
                 </block>
               </value>
               <value name="ADD1">
                 <block type="text" id="g-A@hy5CxRV~J`_Dd[^5">
                   <field name="TEXT">"name":"Mein Datenpunkt",</field>
                 </block>
               </value>
               <value name="ADD2">
                 <block type="text" id="o9[v2FS`W1`6Jc.`rW3k">
                   <field name="TEXT">"type":"string",</field>
                 </block>
               </value>
               <value name="ADD3">
                 <block type="text" id="/PW6Nq/7-V_5yL2[tNg^">
                   <field name="TEXT">"read":true,</field>
                 </block>
               </value>
               <value name="ADD4">
                 <block type="text" id="F=(l}ui/+p|+4l8;*Ma7">
                   <field name="TEXT">"write":true,</field>
                 </block>
               </value>
               <value name="ADD5">
                 <block type="text" id="zQi}AD(w0.p2LuyS$#Z}">
                   <field name="TEXT">"role":"state"</field>
                 </block>
               </value>
               <value name="ADD6">
                 <block type="text" id="{VW-.yE[)(%CT)^e[:em">
                   <field name="TEXT">}</field>
                 </block>
               </value>
             </block>
           </value>
           <statement name="STATEMENT">
             <block type="debug" id="Cj%v_o`muvlAj(LSpEf]">
               <field name="Severity">log</field>
               <value name="TEXT">
                 <shadow type="text" id="-^LmFO1+4%AA4A@CqPEH">
                   <field name="TEXT">Der DP wurde angelegt</field>
                 </shadow>
               </value>
             </block>
           </statement>
         </block>
        </xml>
        

        iobroker läuft unter Docker auf QNAP TS-451+
        SkriptRecovery: https://forum.iobroker.net/post/930558

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        Support us

        ioBroker
        Community Adapters
        Donate

        901

        Online

        32.4k

        Users

        81.5k

        Topics

        1.3m

        Posts
        Community
        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
        ioBroker Community 2014-2025
        logo
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Home
        • Recent
        • Tags
        • Unread 0
        • Categories
        • Unreplied
        • Popular
        • GitHub
        • Docu
        • Hilfe