Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. [Blockly - Gelöst] Tablet laden bei bestimmten Akkustand

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    823

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    18
    1
    6.3k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.6k

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

Scheduled Pinned Locked Moved Skripten / Logik
17 Posts 4 Posters 2.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • kmxakK Offline
    kmxakK Offline
    kmxak
    Most Active
    wrote on last edited by
    #3

    Bitte ;)
    2343_blockly.png

    Gruß Alex

    1 Reply Last reply
    0
    • DutchmanD Offline
      DutchmanD Offline
      Dutchman
      Developer Most Active Administrators
      wrote on last edited by
      #4

      M eigentlich sollte das Einschalten so auch gehen.

      Ich würde aber anstatt 2 falss Blöcken einen machen und da n mit "sonst falls" erweitern für den 2 Ten Wert.

      Verstehst du was ich meine ? Sorry sitze gerade im Zug wen ich daheim bin kan ich den Export mao Umbauen

      –-----------------------

      Send from mobile device

      1 Reply Last reply
      0
      • kmxakK Offline
        kmxakK Offline
        kmxak
        Most Active
        wrote on last edited by
        #5

        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

        Gruß Alex

        1 Reply Last reply
        0
        • rantanplanR Offline
          rantanplanR Offline
          rantanplan
          wrote on last edited by
          #6

          @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

          Rantanplan

          CCU3 / MS Server 2019(VM) / Scripten mit Blockly

          1 Reply Last reply
          0
          • kmxakK Offline
            kmxakK Offline
            kmxak
            Most Active
            wrote on last edited by
            #7

            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');

            Gruß Alex

            1 Reply Last reply
            0
            • rantanplanR Offline
              rantanplanR Offline
              rantanplan
              wrote on last edited by
              #8

              Wo hast Du denn den Baustein eingefügt?

              Rantanplan

              CCU3 / MS Server 2019(VM) / Scripten mit Blockly

              1 Reply Last reply
              0
              • kmxakK Offline
                kmxakK Offline
                kmxak
                Most Active
                wrote on last edited by
                #9

                so habe ich es gemacht
                2343_blockly.png

                Gruß Alex

                1 Reply Last reply
                0
                • rantanplanR Offline
                  rantanplanR Offline
                  rantanplan
                  wrote on last edited by
                  #10

                  Und somit gibst Du die ID von Level aus.

                  Ich hatte doch WERT von Level geschrieben.

                  147_beispiel.png

                  Versuche es bitte nochmal.

                  Rantanplan

                  CCU3 / MS Server 2019(VM) / Scripten mit Blockly

                  1 Reply Last reply
                  0
                  • kmxakK Offline
                    kmxakK Offline
                    kmxak
                    Most Active
                    wrote on last edited by
                    #11

                    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?

                    Gruß Alex

                    1 Reply Last reply
                    0
                    • rantanplanR Offline
                      rantanplanR Offline
                      rantanplan
                      wrote on last edited by
                      #12

                      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

                      Rantanplan

                      CCU3 / MS Server 2019(VM) / Scripten mit Blockly

                      1 Reply Last reply
                      0
                      • kmxakK Offline
                        kmxakK Offline
                        kmxak
                        Most Active
                        wrote on last edited by
                        #13

                        Ja jetzt geht es auch :lol:

                        Darauf hatte ich nicht geachtet. Danke!

                        Gruß Alex

                        1 Reply Last reply
                        0
                        • DutchmanD Offline
                          DutchmanD Offline
                          Dutchman
                          Developer Most Active Administrators
                          wrote on last edited by
                          #14

                          @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
                          0
                          • rantanplanR Offline
                            rantanplanR Offline
                            rantanplan
                            wrote on last edited by
                            #15

                            @Dutchman:

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

                            Rantanplan

                            CCU3 / MS Server 2019(VM) / Scripten mit Blockly

                            1 Reply Last reply
                            0
                            • VumerV Offline
                              VumerV Offline
                              Vumer
                              wrote on last edited by
                              #16

                              wie kann man dem Akkustand vom Tablet auslesen?

                              1 Reply Last reply
                              0
                              • kmxakK Offline
                                kmxakK Offline
                                kmxak
                                Most Active
                                wrote on last edited by
                                #17

                                paw adapter

                                Gruß Alex

                                1 Reply Last reply
                                0

                                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                With your input, this post could be even better 💗

                                Register Login
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                194

                                Online

                                32.8k

                                Users

                                82.7k

                                Topics

                                1.3m

                                Posts
                                Community
                                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                ioBroker Community 2014-2025
                                logo
                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Home
                                • Recent
                                • Tags
                                • Unread 0
                                • Categories
                                • Unreplied
                                • Popular
                                • GitHub
                                • Docu
                                • Hilfe