Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. [Blockly] WLAN Kamera mit Sonoff Basic schalten

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [Blockly] WLAN Kamera mit Sonoff Basic schalten

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MichaelG @Modjo last edited by

      @Modjo
      Vermutlich ja 🙂 Habe mein Blocky grade nicht verfügbar.
      Finde es nur etwas kompliziert.

      Würde falls... mit einem "sonst" versehen und keine zweite falls-Abfrage.
      Warum nimmst Du den Timeout? "mit Verzögerung" anklicken und Zeit angeben reicht völlig.

      Viel Erfolg

      M 1 Reply Last reply Reply Quote 0
      • M
        MichaelG @Modjo last edited by

        @Modjo
        61d2e9ea-4fee-4e80-a792-b0e6f843b171-image.png

        1 Reply Last reply Reply Quote 0
        • M
          MichaelG @Modjo last edited by

          @Modjo
          sorry, natürlich 2 Minuten
          Ob in der letzten Zeile auch eine Verzögerung von 0 funktioniert weiss ich nicht, deshalb 10ms. Kannst aber mal 0 probieren. Wichtig ist das "löschen falls läuft"

          M 1 Reply Last reply Reply Quote 0
          • M
            Modjo @MichaelG last edited by

            @MichaelG

            Ja, das habe ich auch schon überlegt es einfach über die Verzögerung zu machen.
            Hier kann ich doch aber dann aber die Verzögerung nicht stoppen, wenn die Cam doch wieder erreichbar ist oder?

            Hier mal eine angepasste Variante:
            9b4391af-be74-4369-b91f-87320d398908-grafik.png

            VG
            Modjo

            M 1 Reply Last reply Reply Quote 0
            • M
              Modjo @MichaelG last edited by

              @MichaelG

              Sehe jetzt erst deine weiteren Posts 🙂
              löschen falls nicht läuft ist also ein "Stop"?

              M 1 Reply Last reply Reply Quote 0
              • M
                MichaelG @Modjo last edited by

                @Modjo
                doch, das "löschen falls läuft" stoppt "die Verzögerung".

                Bedeutet "löschen den Timer falls einer läuft"

                1 Reply Last reply Reply Quote 0
                • M
                  MichaelG @Modjo last edited by

                  @Modjo
                  Übrigends: Meine sonoffs haben bei Power einen Logikwert also true/false und keinen String "on"/"off".
                  Prüf das mal.....

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    Modjo @MichaelG last edited by

                    @MichaelG

                    So?
                    0a24e027-1526-4b9c-8ae7-9fcc1003e95a-grafik.png
                    Jetzt schaltet er den Strom aber erst wieder ein, wenn die Cam per Ping erreichbar ist, was ja gar nicht möglich ist?!

                    VG

                    Modjo

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      MichaelG @Modjo last edited by

                      @Modjo
                      Da hast Du natürlich Recht.

                      Besser:

                      falls ... <Ping=falsch>
                      mache steuere Power mit falsch mit Verzögerung 120 Sekunden
                      steuere Power mit wahr mit Verzögerung 140 Sekunden
                      // das schaltet nach 2 Minuten aus und weiter 20 Sek später wieder ein//

                      sonst // also wenn der Ping doch wieder wahr wird//
                      mache steuere Power mit wahr mit Verzögerung 1 ms und lösche falls läuft.
                      // wenn der Ping wieder wahr wird werden alle Timer gelöscht und und "sicherheitshalber" Power wieder auf wahr gesetzt was er aber eh noch sein sollte.

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        Modjo @MichaelG last edited by

                        @MichaelG

                        Sollte so passen oder?
                        824562c8-7630-4ce2-a634-7e00ae11b04e-grafik.png

                        VG

                        Modjo

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        478
                        Online

                        31.7k
                        Users

                        79.7k
                        Topics

                        1.3m
                        Posts

                        2
                        13
                        843
                        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