Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. [gelöst] Adapter Status / bzw Adapter Start Stop von Javascript aus ?

    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

    [gelöst] Adapter Status / bzw Adapter Start Stop von Javascript aus ?

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

      ist es möglich, einen den Status eines Adapter (rot grün gelb) in javascript abzufragen ?

      und wenn ja, geht es auch, einen adapter zu stoppen und auch wieder zu starten von javascript aus ?

      danke, Black

      paul53 1 Reply Last reply Reply Quote 0
      • arteck
        arteck Developer Most Active last edited by

        schon mal mit der Suche versucht

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

          ach ? suche gibts hier auch ?

          /* ironiemodus aus */

          natürlich, sonst hätt ich net nachgefragt.

          Antwort hab ich mittlerweile bekommen, Thnx

          1 Reply Last reply Reply Quote 0
          • AlCalzone
            AlCalzone Developer last edited by Jey Cee

            Für alle die hier möglicherweise drauf stoßen, hier ist die Lösung:

            http://forum.iobroker.net/viewtopic.php?p=32252#p32252

            Ansonsten muss ich arteck Recht geben. Die Suche nach "Adapter starten Javascript" liefert bei mir einen Thread mit dem Link zur Lösung.

            1 Reply Last reply Reply Quote 0
            • J
              jerzimeik last edited by

              Leider gibt es den Thread nicht mehr.

              Kann mir jemand die Lösung mitteilen? Mit der Suche bin ich leider erfolglos gewesen.

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

                @Blackmike sagte:

                adapter zu stoppen und auch wieder zu starten von javascript aus ?

                Eigenschaft common.enabled des Objektes system.adapter.adapterName.N

                1 Reply Last reply Reply Quote 0
                • J
                  jerzimeik last edited by

                  Mmmhhh....

                  Es geht mir ja darum, den Status (grün, gelb, rot) abzufragen.

                  Das Feld gibt es bei mir nicht.

                  Anbei mal zwei Screenshots...kodi2.png kodi1.png

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

                    @jerzimeik sagte:

                    den Status (grün, gelb, rot) abzufragen

                    Aus der Admin-Quelle:

                                //             red - adapter is not connected or not alive,
                                //             orange - adapter is connected and alive, but device is not connected,
                                //             green - adapter is connected and alive, device is connected or no device,
                    
                    

                    Gibt es einen Datenpunkt kodi.0.info.connection ? Wenn ja, enthält er die Information: device connected

                    1 Reply Last reply Reply Quote 0
                    • J
                      jerzimeik last edited by

                      Gefunden! Vielen Dank!

                      kodi3.png

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

                      Support us

                      ioBroker
                      Community Adapters
                      Donate

                      830
                      Online

                      31.8k
                      Users

                      79.9k
                      Topics

                      1.3m
                      Posts

                      5
                      9
                      2018
                      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