Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Blokly script erstellen und addieren

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Blokly script erstellen und addieren

    This topic has been deleted. Only users with topic management privileges can see it.
    • Q
      quickly0815 last edited by

      Hallo
      Ich mache mir aktuell einen Knoten ins Gehirn. 😕
      Ich möchte alle 30 sec. 2 Werte (e3DC Solar und Externe Produktion) auslesen, zusammenzählen und anschließend in ein selbst erstelltes Objekt schreiben.
      2023-08-27 13_12_52-Window.jpg
      Somit habe ich die Solar Gesamtleistung.
      Ich habe auch schon einige Beiträge gelesen werde aber nicht wirklich Schlau daraus.
      Siehe Bild: Wo finde ich das Puzzleteil "Setze"?2023-08-27 13_08_27-Window.jpg https://www.smarthome-tricks.de/software-iobroker/blockly-mathematik/#part1

      DJMarc75 paul53 2 Replies Last reply Reply Quote 0
      • DJMarc75
        DJMarc75 @quickly0815 last edited by DJMarc75

        @gottfried-stamm sagte in Blokly script erstellen und addieren:

        Wo finde ich das Puzzleteil "Setze"

        Das sind Variablen welche Du erst erstellen musst, dann kannst Du auch "setze" auswählen.

        Q 1 Reply Last reply Reply Quote 0
        • Q
          quickly0815 @DJMarc75 last edited by

          @djmarc75 Ist es nicht möglich einfach 2 Werte auszulesen und zusammenaddieren

          1 Reply Last reply Reply Quote 0
          • paul53
            paul53 @quickly0815 last edited by

            @gottfried-stamm sagte: alle 30 sec. 2 Werte (e3DC Solar und Externe Produktion) auslesen, zusammenzählen und anschließend in ein selbst erstelltes Objekt schreiben.

            Blockly_temp.JPG

            Q 1 Reply Last reply Reply Quote 0
            • Q
              quickly0815 @paul53 last edited by

              @paul53 Hallo Paul
              Danke für die Info das wahrs!👍 👍
              2023-08-27 17_50_53-Window.jpg

              paul53 1 Reply Last reply Reply Quote 0
              • paul53
                paul53 @quickly0815 last edited by

                @gottfried-stamm
                Weshalb subtrahierst du nicht einfach anstatt mit -1 zu multiplizieren?

                Q 1 Reply Last reply Reply Quote 0
                • Q
                  quickly0815 @paul53 last edited by

                  @paul53 Das Problem ist das der Zusatzwechselrichter ein "-" davor setzt und ich das damit "lösche"

                  paul53 1 Reply Last reply Reply Quote 0
                  • paul53
                    paul53 @quickly0815 last edited by

                    @gottfried-stamm sagte: Zusatzwechselrichter ein "-" davor setzt

                    Subtraktion bewirkt ebenso eine Vorzeichenumkehr.

                    1 Reply Last reply Reply Quote 1
                    • First post
                      Last post

                    Support us

                    ioBroker
                    Community Adapters
                    Donate

                    869
                    Online

                    32.0k
                    Users

                    80.4k
                    Topics

                    1.3m
                    Posts

                    3
                    8
                    243
                    Loading More Posts
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes
                    Reply
                    • Reply as topic
                    Log in to reply
                    Community
                    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                    The ioBroker Community 2014-2023
                    logo