Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Hilfe, Meldung Alexa, Telegramm Temperatur

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Hilfe, Meldung Alexa, Telegramm Temperatur

    This topic has been deleted. Only users with topic management privileges can see it.
    • paul53
      paul53 @Rocky111 last edited by paul53

      @rocky111 sagte: Die Temperatur kommt von einem Shelly Uni

      Sieht aber nach HomeMatic aus.

      Ändere den Trigger auf "wurde geändert" und erweitere die Bedingung:

      falls Wert > 40 und vorheriger Wert <= 40
      

      Wert, vorheriger Wert:

      Blockly_DP_Props.JPG

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

        @paul53 ja du hast recht war noch der von Homematic. Habe am Puffer beide angebracht.
        Ich habe es jetzt wie folgt geändert, bekomme aber weiterhin keine Meldung.

        20666c22-0eed-4838-af94-a52376c663b7-image.png

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

          @rocky111 sagte: bekomme aber weiterhin keine Meldung.

          Das Skript ist aktiv und hoffentlich nicht unter der Gruppe "global" erstellt?

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

            @paul53 Ja es ist Aktive und nicht in Global

            29d1cd04-2725-4db5-ac82-24a0926c38e2-image.png

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

              @rocky111 sagte: ist Aktive und nicht in Global

              Dann muss bei erstmaliger Überschreitung des Grenzwertes eine Meldung kommen, wenn die Instanzen für die Meldungen aktiv sind.
              Poste mal den erzeugten Javascript-Code ohne die letzte Zeile in Code tags.

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

                @paul53 da liegt wohl das problem

                4c88eb85-114a-44c8-889b-66625b948eb2-image.png

                mehr steht nicht in den Objekten

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

                  @rocky111 sagte: mehr steht nicht in den Objekten

                  Es muss auch den Channel "Heizung" geben mit dem Skript "Pufferspeicher_Temperatur".
                  In die Javascript-Ansicht gelangt man mit dem Button rechts oben.

                  Bild_2021-09-10_190628.png

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

                    @paul53 var my_56;

                    on({id: 'shelly.0.SHUNI-1#483FDA82231A#1.ext.temperatureC4', change: "ne"}, async function (obj) {
                    var value = obj.state.val;
                    var oldValue = obj.oldState.val;
                    if ((obj.state ? obj.state.val : "") > my_56 && (obj.oldState ? obj.oldState.val : "") <= my_56) {
                    setState("alexa2.0.Echo-Devices.G090LA09802403EL.Commands.speak"/speak/, 'Achtung Puffer zu Heiss');
                    sendTo("telegram", "send", {
                    text: 'Achtung Puffer zu Heiss'
                    });
                    console.log("telegram: " + 'Achtung Puffer zu Heiss');
                    }
                    });

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

                      @rocky111
                      Du verwendest eine Variable my_56, die nirgends gesetzt wird. Trage besser Zahlen (aus Mathematik) ein oder verwende eine Variable grenzwert, die bei Skriptstart auf einen Zahlenwert gesetzt wird.

                      Bild_2021-09-10_191710.png

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

                        @paul53 Vielen Dank! jetzt geht es.

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        845
                        Online

                        31.9k
                        Users

                        80.2k
                        Topics

                        1.3m
                        Posts

                        2
                        11
                        339
                        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