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. [gelöst] Blockly: Durchschnittswert berechnen

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    17
    1
    634

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    5.6k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.5k

[gelöst] Blockly: Durchschnittswert berechnen

Scheduled Pinned Locked Moved Skripten / Logik
4 Posts 3 Posters 2.1k Views 1 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.
  • lobomauL Offline
    lobomauL Offline
    lobomau
    wrote on last edited by
    #1

    Moin,

    wie mache ich eine Berechnung mit Blockly?

    Bin auf dem richtigen Weg. Debug klappt. Aber wie wird eine Variable da verarbeitet? Die Variable bleibt bei mir immer 0.

    Debug output:

    16:03:00.712	[info]	javascript.0 script.js.common.Skript3: 3.6666666666666665
    16:04:00.694	[info]	javascript.0 script.js.common.Skript3: 4
    16:05:00.694	[info]	javascript.0 script.js.common.Skript3: 4
    16:06:00.704	[info]	javascript.0 script.js.common.Skript3: 4.333333333333333
    16:07:00.694	[info]	javascript.0 script.js.common.Skript3: 4.333333333333333
    16:08:00.694	[info]	javascript.0 script.js.common.Skript3: 4.666666666666667
    

    1146_unbenannt.jpg

    Host: NUC8i3 mit Proxmox:

    • ioBroker CT Debian 13, npm 10.9.4, nodejs 22.21.0
    • Slave: Pi4
    1 Reply Last reply
    0
    • A Offline
      A Offline
      andyb
      wrote on last edited by
      #2

      Ich mach es so….

      1586_2017-10-12_16_21_37.jpg

      StM47S 1 Reply Last reply
      1
      • lobomauL Offline
        lobomauL Offline
        lobomau
        wrote on last edited by
        #3

        Es funktioniert.

        Faszinierend! :-)

        Host: NUC8i3 mit Proxmox:

        • ioBroker CT Debian 13, npm 10.9.4, nodejs 22.21.0
        • Slave: Pi4
        1 Reply Last reply
        0
        • A andyb

          Ich mach es so….

          1586_2017-10-12_16_21_37.jpg

          StM47S Offline
          StM47S Offline
          StM47
          wrote on last edited by StM47
          #4

          @andyb

          Auf was triggerst du? Zeit oder Änderung?

          ioBroker im Docker auf Synology DiskStation DS 716+II mit DSM 6.2.1

          • Lightmanager Air / Lupusec XT2 Plus mit div. Fenster- u. Türkontakten, Rauch- u. Bewegungsmelder / Harmony Hub / Fritzbox 7590 OS7
          • schaltbare Steckdosen / Alexa Echo Dot 3 / Zigbee USB Stick / diverse Xiaomi Produkte / Xiaomi Yeelight Birnen
          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

          804

          Online

          32.7k

          Users

          82.6k

          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