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. Cloud Dienste
  4. Alexa View

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.8k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.2k

Alexa View

Scheduled Pinned Locked Moved Cloud Dienste
88 Posts 19 Posters 13.0k Views 23 Watching
  • 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.
  • PeoplesP Peoples

    @negalein
    der geht aber auch auf "false" wenn du Alexa weiter sagst :-)

    NegaleinN Offline
    NegaleinN Offline
    Negalein
    Global Moderator
    wrote on last edited by
    #79

    @peoples sagte in Alexa View:

    der geht aber auch auf "false" wenn du Alexa weiter sagst

    bei mir nicht

    getesten in dieser Kombi
    Alexa....spiele xxx ---> true
    Alexa....weiter ---> true
    Alexa....stopp ---> false
    Alexa....weiter ---> true

    schaltet wie er soll

    ° Node.js: 20.17.0 NPM: 10.8.2
    ° Proxmox, Ubuntu 22.04.3 LTS
    ° Fixer ---> iob fix

    PeoplesP 1 Reply Last reply
    0
    • NegaleinN Negalein

      @peoples sagte in Alexa View:

      der geht aber auch auf "false" wenn du Alexa weiter sagst

      bei mir nicht

      getesten in dieser Kombi
      Alexa....spiele xxx ---> true
      Alexa....weiter ---> true
      Alexa....stopp ---> false
      Alexa....weiter ---> true

      schaltet wie er soll

      PeoplesP Offline
      PeoplesP Offline
      Peoples
      wrote on last edited by Peoples
      #80

      @negalein sagte in Alexa View:

      @peoples sagte in Alexa View:

      der geht aber auch auf "false" wenn du Alexa weiter sagst

      bei mir nicht

      getesten in dieser Kombi
      Alexa....spiele xxx ---> true
      Alexa....weiter ---> true
      Alexa....stopp ---> false
      Alexa....weiter ---> true

      schaltet wie er soll

      Hast du im Adapter am Aktuallisierungs-Intervall was eingstellt?
      Und welche Version benutzt du denn?

      Ich beantworte keine Fragen zu Themen via PN

      NegaleinN 1 Reply Last reply
      0
      • PeoplesP Peoples

        @negalein sagte in Alexa View:

        @peoples sagte in Alexa View:

        der geht aber auch auf "false" wenn du Alexa weiter sagst

        bei mir nicht

        getesten in dieser Kombi
        Alexa....spiele xxx ---> true
        Alexa....weiter ---> true
        Alexa....stopp ---> false
        Alexa....weiter ---> true

        schaltet wie er soll

        Hast du im Adapter am Aktuallisierungs-Intervall was eingstellt?
        Und welche Version benutzt du denn?

        NegaleinN Offline
        NegaleinN Offline
        Negalein
        Global Moderator
        wrote on last edited by
        #81

        @peoples sagte in Alexa View:

        Hast du im Adapter am Aktuallisierungs-Intervall was eingstellt?

        Nein, ist alles auf Standard.

        instances - ioBroker (1).png

        Und welche Version benutzt du denn?

        3.12.0

        ° Node.js: 20.17.0 NPM: 10.8.2
        ° Proxmox, Ubuntu 22.04.3 LTS
        ° Fixer ---> iob fix

        PeoplesP 1 Reply Last reply
        0
        • NegaleinN Negalein

          @peoples sagte in Alexa View:

          Hast du im Adapter am Aktuallisierungs-Intervall was eingstellt?

          Nein, ist alles auf Standard.

          instances - ioBroker (1).png

          Und welche Version benutzt du denn?

          3.12.0

          PeoplesP Offline
          PeoplesP Offline
          Peoples
          wrote on last edited by
          #82

          @negalein
          Ich hatte die Stable Version, da war das nicht der Fall. So wie es scheint ist das wohl aber bei der 3.12.0 jetzt der Fall.

          Dank Dir!

          Ich beantworte keine Fragen zu Themen via PN

          1 Reply Last reply
          1
          • M Offline
            M Offline
            mse1971
            wrote on last edited by
            #83

            Hallo zusammen,

            ich habe mich auch mal an die Implementierung bei mir gewagt. Alles in allem habe ich erstmal nur die Ursprungsversion der Alexa Steuerung bei mir übernommen, ohne Radiosender usw.
            Bei der Historie habe ich noch das Problem, dass ich immer einer Leerzeile bekomme.
            4a60948e-517b-4bca-a5dc-38ebef7e7758-grafik.png

            Ich gehe mal davon aus, dass es irgendeine Einstellung in History sein muss, ich weiß aber leider nicht welche. Hier mal meine aktuelle Einstellung.
            2b9e902f-1533-4b6b-a732-017a43d5631f-grafik.png

            Vielleicht habt ihr ja eine Idee, was ich falsch mache.

            Vielen Dank
            Matthias

            DJMarc75D 1 Reply Last reply
            0
            • M mse1971

              Hallo zusammen,

              ich habe mich auch mal an die Implementierung bei mir gewagt. Alles in allem habe ich erstmal nur die Ursprungsversion der Alexa Steuerung bei mir übernommen, ohne Radiosender usw.
              Bei der Historie habe ich noch das Problem, dass ich immer einer Leerzeile bekomme.
              4a60948e-517b-4bca-a5dc-38ebef7e7758-grafik.png

              Ich gehe mal davon aus, dass es irgendeine Einstellung in History sein muss, ich weiß aber leider nicht welche. Hier mal meine aktuelle Einstellung.
              2b9e902f-1533-4b6b-a732-017a43d5631f-grafik.png

              Vielleicht habt ihr ja eine Idee, was ich falsch mache.

              Vielen Dank
              Matthias

              DJMarc75D Offline
              DJMarc75D Offline
              DJMarc75
              wrote on last edited by
              #84

              @mse1971 sagte in Alexa View:

              Bei der Historie habe ich noch das Problem, dass ich immer einer Leerzeile bekomme.

              Wenn man den Datenpunkt Summary mit History aufzeichnet dann bekommt man das so. Da hilft keine Einstellung (zumindest ist mir da keine bekannt). Ist ja oben im zweiten Beitrag (Screenshot) auch so.
              Ich habe das glaub irgendwann mal mit einem Blockly und einem eigenen Datenpunkt gelöst. Hab das so aber nicht mehr im Einsatz.

              Lehrling seit 1975 !!!
              Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
              https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

              1 Reply Last reply
              0
              • NegaleinN Offline
                NegaleinN Offline
                Negalein
                Global Moderator
                wrote on last edited by
                #85

                @mse1971 sagte in Alexa View:

                Vielleicht habt ihr ja eine Idee

                Ich mach das mit dem Logparser-Adapter.

                Schaut zB so bei mir aus.
                3ede0918-637c-4c55-a8a5-01bea07a49eb-image.png

                ° Node.js: 20.17.0 NPM: 10.8.2
                ° Proxmox, Ubuntu 22.04.3 LTS
                ° Fixer ---> iob fix

                DJMarc75D M 2 Replies Last reply
                0
                • NegaleinN Negalein

                  @mse1971 sagte in Alexa View:

                  Vielleicht habt ihr ja eine Idee

                  Ich mach das mit dem Logparser-Adapter.

                  Schaut zB so bei mir aus.
                  3ede0918-637c-4c55-a8a5-01bea07a49eb-image.png

                  DJMarc75D Offline
                  DJMarc75D Offline
                  DJMarc75
                  wrote on last edited by DJMarc75
                  #86

                  @negalein sagte in Alexa View:

                  Ich mach das mit dem Logparser-Adapter.

                  Premiumlösungsansatz :+1:

                  Grad mal installiert und testen...

                  EDIT: ist mir heut zu warm um da durchzusteigen :grin:

                  Lehrling seit 1975 !!!
                  Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
                  https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

                  1 Reply Last reply
                  0
                  • NegaleinN Negalein

                    @mse1971 sagte in Alexa View:

                    Vielleicht habt ihr ja eine Idee

                    Ich mach das mit dem Logparser-Adapter.

                    Schaut zB so bei mir aus.
                    3ede0918-637c-4c55-a8a5-01bea07a49eb-image.png

                    M Offline
                    M Offline
                    mse1971
                    wrote on last edited by
                    #87

                    @negalein also ich finde den Weg klasse, scheine aber gnadenlos zu scheitern - bin auch alles andere als ein Experte.
                    Ich habe denm Adapter installiert und auch - so meine ich es jedenfalls das Material Design.
                    Vielleicht ist meien Erwartung auch eine falsche, aber soll das nach der Installation des Projektes alles leer sein?

                    b7526a98-e29c-42a4-8f2f-2b4402ebb379-grafik.png
                    Fals ja, bin ich leider überfordert, wie ich jetzt das ganze so hinbekomme wie Du

                    NegaleinN 1 Reply Last reply
                    0
                    • M mse1971

                      @negalein also ich finde den Weg klasse, scheine aber gnadenlos zu scheitern - bin auch alles andere als ein Experte.
                      Ich habe denm Adapter installiert und auch - so meine ich es jedenfalls das Material Design.
                      Vielleicht ist meien Erwartung auch eine falsche, aber soll das nach der Installation des Projektes alles leer sein?

                      b7526a98-e29c-42a4-8f2f-2b4402ebb379-grafik.png
                      Fals ja, bin ich leider überfordert, wie ich jetzt das ganze so hinbekomme wie Du

                      NegaleinN Offline
                      NegaleinN Offline
                      Negalein
                      Global Moderator
                      wrote on last edited by Negalein
                      #88

                      @mse1971 sagte in Alexa View:

                      Fals ja, bin ich leider überfordert, wie ich jetzt das ganze so hinbekomme wie Du

                      machen wir am besten im passendem Thread weiter.

                      und Readme auf Github

                      /******************************************************************************************************
                       * JavaScript Adapter Script for Log-Parser-Adapter: https://github.com/Mic-M/ioBroker.logparser
                       * --------------------------------------------------------------
                       * Purpose: Get the history of all spoken Alexa commands into the log
                       *          Required: Alexa adapter - https://github.com/Apollon77/ioBroker.alexa2
                       * Source:  https://github.com/Mic-M/ioBroker.logparser
                       * Autor:   Mic-M (Github) | Mic (ioBroker)
                       * --------------------------------------------------------------------------------------
                       * Change Log:
                       *  1.0.0  Mic-M   * Adoption to Log Parser Adapter
                       *  0.1.0  Mic-M   * Initial release (for Log Script - https://github.com/Mic-M/iobroker.logfile-script).
                       ******************************************************************************************************/
                      
                      /******************************************************************************************************
                       * Script Settings
                       ******************************************************************************************************/
                      
                      // **Capitalize First Letters**
                      // The spoken command to Alexa is being returned in lowercase, like "turn on kitchen light". 
                      // With this option set to true, the output will be "Turn On Kitchen Light" (so capitalized first letter of each word)
                      const g_capFirstLetters = true;
                      
                      
                      /******************************************************************************************************
                       * End of Script Settings. Please do not change anything below here.
                       ******************************************************************************************************/
                      
                      main();
                      function main() {
                          // All Alexa adapter instances, so alexa2.0.History.json, alexa2.1.History.json, alexa2.2.History.json, etc.
                          on({id: /^alexa2\.\d\.History\.json$/, change:'any'}, function(obj) {
                      
                              // obj.state.val: JSON string of oject.
                              // Like: {"name":"Alexa Flur","serialNumber":"xxxxxxxxxx","summary":"Wohnlicht an","creationTime":1582843794820, ... }
                              let objHistory = JSON.parse(obj.state.val); 
                      
                              // ignore alexa keywords or empty value.
                              if(! (['', 'alexa','echo','amazon','computer'].includes(objHistory['summary']) )) {
                                  // ignore "sprich mir nach"
                                  if (!(objHistory['summary'].includes('sprich mir nach '))) {
                                      log('[Alexa-Log-Script] ##{"message":"' + formatAlexaSummary(objHistory['summary']) + '", "from":"' + objHistory['name'] + '"}##');
                                  }
                              }
                          });
                      }
                      
                      /**
                       * Formats the Alexa summary text accordingly.
                       * @param {string} summaryText   The summary text
                       * @return {string} the formatted summary
                       */
                      function formatAlexaSummary(summaryText) {
                          if (g_capFirstLetters) summaryText = summaryText.replace(/(^|\s)\S/g, l => l.toUpperCase()); // Capitalize if set. https://stackoverflow.com/questions/2332811/
                          return summaryText;
                      }
                      

                      ° Node.js: 20.17.0 NPM: 10.8.2
                      ° Proxmox, Ubuntu 22.04.3 LTS
                      ° Fixer ---> iob fix

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      Support us

                      ioBroker
                      Community Adapters
                      Donate
                      FAQ Cloud / IOT
                      HowTo: Node.js-Update
                      HowTo: Backup/Restore
                      Downloads
                      BLOG

                      511

                      Online

                      32.4k

                      Users

                      81.5k

                      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