Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. [gelöst] Klimaanlagen nach eingestellter Zeit ausschalten

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] Klimaanlagen nach eingestellter Zeit ausschalten

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

      @mojo1985 sagte: warum muss ich jetzt für diesen Datenpunkt "level" nehmen?

      "level" oder "level.timer" ist die korrekte Rolle für eine Zahl, die auch geschrieben werden kann.
      Anscheinend wertet der Admin-Adapter neuerdings die Rolle aus?

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

        @paul53 ah, verstehe! 💡 ... und vielen Dank auch für den Link! Zukünftig werde ich den DP mehr Aufmerksamkeit zukommen lassen. Fraglich ist aber, warum es bei den anderen DP mit Rolle "State" funktioniert

        Mojo1985 1 Reply Last reply Reply Quote 0
        • Mojo1985
          Mojo1985 @Mojo1985 last edited by

          Doch zu früh gefreut... die Zeit läuft jetzt zwar nicht mehr zu schnell runter. Dafür geht der Wert dennoch ins negative

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

            @mojo1985 sagte: geht der Wert dennoch ins negative

            Ist die Wandlung nach Zahl enthalten?

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

              @paul53 Ja, die Wandlung nach Zahl ist enthalten 🤔

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

                @mojo1985 sagte: Ja, die Wandlung nach Zahl ist enthalten

                Dann kann -1 nur erreicht werden, wenn der eingegebene Wert nicht in eine Zahl > 0 gewandelt werden kann.

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

                  @paul53 Der Wert wird im Datenpunkt richtig angezeigt und auch ordnungsgemäß runtergezählt.
                  Spricht etwas dagegen den Wert einfach am Ende des Scripts auf 0 zu setzen?

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

                    @mojo1985 sagte: Spricht etwas dagegen den Wert einfach am Ende des Scripts auf 0 zu setzen?

                    Das passiert doch, wenn runter gezählt wurde. Bevor das Intervall gestoppt wird, wird der Wert 0 geschrieben.

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

                      @paul53 Stimmt... dann würde der Wert sicher trotzdem ins negative zählen. Mist.

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

                        @mojo1985
                        Begrenze mal den Wert.

                        Bild_2022-07-21_195745507.png

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

                          @paul53 Hab ich gerade gemacht. Bringt leider keinen Effekt 😦

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

                            @mojo1985 sagte: Bringt leider keinen Effekt

                            Dann poste bitte den erzeugten Javascript-Code ohne die letzte Zeile in Code tags.

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

                              @paul53 Ich habs... war natürlich mein Fehler. Ich habe aus versehen das falsche Intervall stoppen lassen 🤦. Hätte mir eigentlich sofort auffallen müssen...

                              Vielen Dank noch mal für deine Unterstützung @paul53 👍 👍

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              658
                              Online

                              32.0k
                              Users

                              80.5k
                              Topics

                              1.3m
                              Posts

                              2
                              33
                              1018
                              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