Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Preis berechnen

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Preis berechnen

    This topic has been deleted. Only users with topic management privileges can see it.
    • Nashra
      Nashra Most Active Forum Testing last edited by

      Moin,
      ich möchte den erzeugten Strom des BKW in Euro ausgeben da der Wechselrichter
      diesen Datenpunkt nicht liefert d.h. in der App schon, aber da komm ich nicht ran.
      Habe jetzt mal versucht dies mit Blockly zu lösen aber das will natürlich nicht
      Es soll einfach nur die Kwh * 0,31 rechnen
      Screenshot 2024-07-03 093431.png
      Was mache ich falsch?

      M paul53 2 Replies Last reply Reply Quote 0
      • M
        MartyBr @Nashra last edited by MartyBr

        @nashra Du hast den Preis als Text eingetragen. Hier musst du als Datenpunkt einen Zahlenwert setzen.

        haus-automatisierung 1 Reply Last reply Reply Quote 1
        • haus-automatisierung
          haus-automatisierung Developer Most Active @MartyBr last edited by haus-automatisierung

          @martybr sagte in Preis berechnen:

          Hier musst du als Datenpunkt einen Zahlenwert setzen.

          Und Zahlen in US-Schreibweise mit Punkt statt Komma. Also 0.31. Außerdem ist "0,31" sicherlich keine Objekt-ID, sondern ein statischer Wert.

          1 Reply Last reply Reply Quote 1
          • paul53
            paul53 @Nashra last edited by paul53

            @nashra sagte: Was mache ich falsch?

            Du multiplizierst mit dem Wert eines Datenpunktes mit der (unzulässigen) ID "0,31" anstatt mit einer Zahl.

            Blockly_temp.JPG

            Nashra 1 Reply Last reply Reply Quote 2
            • Nashra
              Nashra Most Active Forum Testing last edited by

              @MartyBr @haus-automatisierung @paul53
              Danke euch. Macht der Gewohnheit mit Komma 🙂
              Jetzt klappt es.
              Screenshot 2024-07-03 110116.png

              1 Reply Last reply Reply Quote 0
              • Nashra
                Nashra Most Active Forum Testing @paul53 last edited by

                @paul53 sagte in Preis berechnen:

                @nashra sagte: Was mache ich falsch?

                Du multiplizierst mit dem Wert eines Datenpunktes mit der (unzulässigen) ID "0,31" anstatt mit einer Zahl.

                Blockly_temp.JPG

                Wow, mal eben nachgebaut. Klasse, einfacher geht es ja wohl nicht mehr und ich fummel mir da was zusammen
                Klasse @paul53 👍

                haus-automatisierung 1 Reply Last reply Reply Quote 0
                • haus-automatisierung
                  haus-automatisierung Developer Most Active @Nashra last edited by

                  @nashra sagte in Preis berechnen:

                  und ich fummel mir da was zusammen

                  Hat mich auch ein wenig gewundert, weil Du seit 2018 dabei bist

                  Nashra 1 Reply Last reply Reply Quote 0
                  • Nashra
                    Nashra Most Active Forum Testing @haus-automatisierung last edited by

                    @haus-automatisierung sagte in Preis berechnen:

                    @nashra sagte in Preis berechnen:

                    und ich fummel mir da was zusammen

                    Hat mich auch ein wenig gewundert, weil Du seit 2018 dabei bist

                    Blockly war noch nie so meins aber ab heute habe ich viel Zeit um zu lernen (Rente)

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

                    Support us

                    ioBroker
                    Community Adapters
                    Donate

                    872
                    Online

                    32.0k
                    Users

                    80.4k
                    Topics

                    1.3m
                    Posts

                    4
                    8
                    443
                    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