Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. [Blockly - Gelöst] Tablet laden bei bestimmten Akkustand

    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

    [Blockly - Gelöst] Tablet laden bei bestimmten Akkustand

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

      das mit dem sonst falls hatte ich als erstes.. als das nicht funktionierte habe ich ein paar andere Lösungen probiert. Das ist die letzte. Allerdings bekomme ich es nicht hin. In den Objekten kann ich die Steckdose manuell auf true setzen das geht. Ich weiß nicht warum das Script nicht will.

      Hier das andere Blockly was auch funktionieren sollte es aber auch nicht tut.

      Wollte noch ein paar Abfragen mit einbauen aber erstmal muss das mit dem Akku und der Schaltdose gehen. 😢
      2343_blockly.png

      1 Reply Last reply Reply Quote 0
      • rantanplan
        rantanplan last edited by

        @kmxak:

        Ich weiß nicht warum das Script nicht will. `
        In solchen Situationen empfehle ich immer den Debug-Baustein.

        Debug output Wert von Level

        Dann sieht man was ankommt.

        Vielleicht ist es ja <= 30 oder >=80

        Grüße

        1 Reply Last reply Reply Quote 0
        • kmxak
          kmxak Most Active last edited by

          Habe````
          console.log('paw.0.Tablet.info.battery.level');
          console.log('zwave.0.NODE3.SWITCH_BINARY.Switch_1');

          darunter eingefügt aber es kommt nur:
          

          console.log('paw.0.Tablet.info.battery.level');
          console.log('zwave.0.NODE3.SWITCH_BINARY.Switch_1');

          1 Reply Last reply Reply Quote 0
          • rantanplan
            rantanplan last edited by

            Wo hast Du denn den Baustein eingefügt?

            1 Reply Last reply Reply Quote 0
            • kmxak
              kmxak Most Active last edited by

              so habe ich es gemacht
              2343_blockly.png

              1 Reply Last reply Reply Quote 0
              • rantanplan
                rantanplan last edited by

                Und somit gibst Du die ID von Level aus.

                Ich hatte doch WERT von Level geschrieben.

                147_beispiel.png

                Versuche es bitte nochmal.

                1 Reply Last reply Reply Quote 0
                • kmxak
                  kmxak Most Active last edited by

                  ist das dann oben auch ggf falsch programmiert?

                  weil da nehme ich ja auch objekt ID < 30 und nicht den wert objekt id < 30

                  oder passt das da?

                  1 Reply Last reply Reply Quote 0
                  • rantanplan
                    rantanplan last edited by

                    Jetzt fällt mir erst auf, dass Du in Deinem Blockly auch die ID mit Zahlen vergleichst :oops:

                    Versuche es mal so.
                    147_beispiel.png

                    1 Reply Last reply Reply Quote 0
                    • kmxak
                      kmxak Most Active last edited by

                      Ja jetzt geht es auch :lol:

                      Darauf hatte ich nicht geachtet. Danke!

                      1 Reply Last reply Reply Quote 0
                      • Dutchman
                        Dutchman Developer Most Active Administrators last edited by

                        @kmxak:

                        Ja jetzt geht es auch :lol:

                        Darauf hatte ich nicht geachtet. Danke! `

                        Oh man das ich das übersehen habe jetzt ägere ich mich aber….


                        Send from mobile device

                        1 Reply Last reply Reply Quote 0
                        • rantanplan
                          rantanplan last edited by

                          @Dutchman:

                          Oh man das ich das übersehen habe jetzt ägere ich mich aber…. `
                          Dafür haben wir ja das "Mindestens 4 Augen Prinzip" 😄

                          1 Reply Last reply Reply Quote 0
                          • Vumer
                            Vumer last edited by

                            wie kann man dem Akkustand vom Tablet auslesen?

                            1 Reply Last reply Reply Quote 0
                            • kmxak
                              kmxak Most Active last edited by

                              paw adapter

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              812
                              Online

                              31.9k
                              Users

                              80.2k
                              Topics

                              1.3m
                              Posts

                              4
                              17
                              2757
                              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