Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. [gelöst] Alexa und doNotDisturb

    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] Alexa und doNotDisturb

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

      Hallo
      Ich verwende den Alexa 2.0 Adapter in der Version v3.26.4 und bin gerade drauf gekommen, dass sich scheinbar am setzen des doNotDisturb Commands etwas geändert hat. Früher war es scheinbar ein boolean und hat true/false verstanden. Nun verlangt es ein JSON, aber wie genau muss das nun aussehen?

      Danke &
      Glg chris

      DJMarc75 apollon77 2 Replies Last reply Reply Quote 0
      • DJMarc75
        DJMarc75 @homecineplexx last edited by

        @homecineplexx sagte in Alexy und doNotDisturb:

        Nun verlangt es ein JSON

        nö, der Datenpunkt versteht true und false - kann sein dass sich aber der Typ geändert hat, steht auf "mixed"

          "common": {
            "type": "mixed",
            "role": "state",
            "read": true,
            "write": true,
            "name": "doNotDisturb"
        

        @apollon77 ist das so gewollt dass diese DP auf mixed gestellt sind ?

        1 Reply Last reply Reply Quote 0
        • apollon77
          apollon77 @homecineplexx last edited by apollon77

          @homecineplexx Der ist mixed ... weil ... RTFM :-)) https://github.com/Apollon77/ioBroker.alexa2/?tab=readme-ov-file#alexa20echo-devicescommandsall und auch https://github.com/Apollon77/ioBroker.alexa2/?tab=readme-ov-file#alexa20echo-devicesserialnumbercommands

          Man kann true/false oder eine Zahl (Sekunden) oder "HH:MM" als Uhrzeit angeben, daher mixed.

          H 1 Reply Last reply Reply Quote 1
          • H
            homecineplexx @apollon77 last edited by

            @apollon77
            das hier ist der Output im Log:

            Error setting doNotDisturb for ["G090LF10720715Q4"]: Error: no JSON
            

            wenn ich versuche auf diesem Datenpunkt alexa2.0.Echo-Devices.G090LF10720715Q4.Commands.doNotDisturb

            folgendes zu setzen:

            setState(alexaDndId, true);
            

            oder erwartet er sich das true/false unter Hochkomma?

            apollon77 1 Reply Last reply Reply Quote 0
            • apollon77
              apollon77 @homecineplexx last edited by apollon77

              @homecineplexx Der Aufruf ist korrekt. Naja das heisst das in dem Fall Amazon mit "nichts" geantwortet hat. Das kann heissen das Amazon was geändert hat ... Wird die Aktion ausgeführt oder nicht? Gehts mit einem einzelnen Device doNotDisturb? oder nur bei allen nicht?

              Wenns nicht mehr geht dann GitHub issue bitte und ich muss schauen was Amazon nicht mehr mag.

              Kann es ggf jemand anders reproduzieren?

              DJMarc75 1 Reply Last reply Reply Quote 0
              • DJMarc75
                DJMarc75 @apollon77 last edited by

                @apollon77 sagte in Alexa und doNotDisturb:

                Kann es ggf jemand anders reproduzieren?

                Adapter mal eben neu gestartet, DP manuell auf "true" gesetzt und schwupps ist mein EchoShow im "Schlafmodus", zurück auf "false" - hört er wieder zu 😉

                1 Reply Last reply Reply Quote 1
                • apollon77
                  apollon77 last edited by

                  Danke @DJMarc75 ...

                  @homecineplexx mal Adapter neu starten und schauen obs dann geht? oder über Admin Debug log aktivieren ohne neu starte und mal eine Anfrage machen und schauen was im Log steht

                  H 1 Reply Last reply Reply Quote 0
                  • H
                    homecineplexx @apollon77 last edited by

                    @apollon77 ich werd das testen und geb bescheid...DANKE aber mal

                    H 1 Reply Last reply Reply Quote 1
                    • H
                      homecineplexx @homecineplexx last edited by

                      funktioniert...dankeschön!

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

                      Support us

                      ioBroker
                      Community Adapters
                      Donate

                      953
                      Online

                      31.9k
                      Users

                      80.2k
                      Topics

                      1.3m
                      Posts

                      javascript
                      3
                      9
                      336
                      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