Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Node-Red
    5. (gelöst) Node-Red "Alexa local" nicht mehr möglich

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    (gelöst) Node-Red "Alexa local" nicht mehr möglich

    This topic has been deleted. Only users with topic management privileges can see it.
    • Issi
      Issi Developer @Jan1 last edited by Issi

      @Jan1 So hab mal ein wenig rum probiert bin bei node red nicht grade ein Profi also habt ein wenig nachsicht mit mir so wird es z.B. für dein Ventilator funktionieren.
      Screenshot_2.png

      [
          {
              "id": "8bedb076.43c908",
              "type": "tab",
              "label": "Flow 1",
              "disabled": false,
              "info": ""
          },
          {
              "id": "8379e91.9890918",
              "type": "amazon-echo-hub",
              "z": "8bedb076.43c908",
              "port": "80",
              "enableinput": false,
              "x": 120,
              "y": 260,
              "wires": [
                  [
                      "b565567a.b4ae48"
                  ]
              ]
          },
          {
              "id": "b565567a.b4ae48",
              "type": "amazon-echo-device",
              "z": "8bedb076.43c908",
              "name": "Büro",
              "topic": "",
              "x": 290,
              "y": 260,
              "wires": [
                  [
                      "c1189dc9.72282"
                  ]
              ]
          },
          {
              "id": "c1189dc9.72282",
              "type": "function",
              "z": "8bedb076.43c908",
              "name": "Brightness von 1 bis 254",
              "func": "var newMsg = { payload: msg.bri } ;\n\nreturn newMsg\n",
              "outputs": 1,
              "noerr": 0,
              "x": 490,
              "y": 260,
              "wires": [
                  [
                      "9f4ece87.8e2b2"
                  ]
              ]
          },
          {
              "id": "80a66f1.c7b599",
              "type": "debug",
              "z": "8bedb076.43c908",
              "name": "",
              "active": true,
              "tosidebar": true,
              "console": false,
              "tostatus": false,
              "complete": "payload",
              "targetType": "msg",
              "x": 1440,
              "y": 250,
              "wires": []
          },
          {
              "id": "7e9ad637.1b6e18",
              "type": "function",
              "z": "8bedb076.43c908",
              "name": "von 2 auf 1",
              "func": "msg.payload = msg.payload.toFixed(0).replace('2', '1');\nreturn msg;\n",
              "outputs": 1,
              "noerr": 0,
              "x": 880,
              "y": 220,
              "wires": [
                  [
                      "ec4ec1ea.8594"
                  ]
              ]
          },
          {
              "id": "ec4ec1ea.8594",
              "type": "change",
              "z": "8bedb076.43c908",
              "name": "von string auf number ",
              "rules": [
                  {
                      "t": "set",
                      "p": "payload",
                      "pt": "msg",
                      "to": "$number(payload)",
                      "tot": "jsonata"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 1150,
              "y": 250,
              "wires": [
                  [
                      "80a66f1.c7b599"
                  ]
              ]
          },
          {
              "id": "6482fd75.164ae4",
              "type": "function",
              "z": "8bedb076.43c908",
              "name": "von 5 auf 2",
              "func": "msg.payload = msg.payload.toFixed(0).replace('5', '2');\nreturn msg;\n",
              "outputs": 1,
              "noerr": 0,
              "x": 880,
              "y": 260,
              "wires": [
                  [
                      "ec4ec1ea.8594"
                  ]
              ]
          },
          {
              "id": "33de9c1a.78dd74",
              "type": "function",
              "z": "8bedb076.43c908",
              "name": "von 7 auf 3",
              "func": "msg.payload = msg.payload.toFixed(0).replace('7', '3');\nreturn msg;\n",
              "outputs": 1,
              "noerr": 0,
              "x": 880,
              "y": 300,
              "wires": [
                  [
                      "ec4ec1ea.8594"
                  ]
              ]
          },
          {
              "id": "9f4ece87.8e2b2",
              "type": "switch",
              "z": "8bedb076.43c908",
              "name": "",
              "property": "payload",
              "propertyType": "msg",
              "rules": [
                  {
                      "t": "eq",
                      "v": "2",
                      "vt": "num"
                  },
                  {
                      "t": "eq",
                      "v": "5",
                      "vt": "str"
                  },
                  {
                      "t": "eq",
                      "v": "7",
                      "vt": "str"
                  }
              ],
              "checkall": "true",
              "repair": false,
              "outputs": 3,
              "x": 680,
              "y": 260,
              "wires": [
                  [
                      "7e9ad637.1b6e18"
                  ],
                  [
                      "6482fd75.164ae4"
                  ],
                  [
                      "33de9c1a.78dd74"
                  ]
              ]
          }
      ]
      


      und hir noch von 10% bis 100% in 10ner schritten.
      Screenshot_3.png

      [
         {
             "id": "4b75b843.d57a08",
             "type": "function",
             "z": "8bedb076.43c908",
             "name": "von 25 auf 10",
             "func": "msg.payload = msg.payload.toFixed(0).replace('25', '10');\nreturn msg;\n",
             "outputs": 1,
             "noerr": 0,
             "x": 900,
             "y": 190,
             "wires": [
                 [
                     "afc0ad7a.2d973"
                 ]
             ]
         },
         {
             "id": "52b8dd38.adc534",
             "type": "function",
             "z": "8bedb076.43c908",
             "name": "von 51 auf 20",
             "func": "msg.payload = msg.payload.toFixed(0).replace('51', '20');\nreturn msg;\n",
             "outputs": 1,
             "noerr": 0,
             "x": 900,
             "y": 230,
             "wires": [
                 [
                     "afc0ad7a.2d973"
                 ]
             ]
         },
         {
             "id": "5c73d88c.20ee28",
             "type": "function",
             "z": "8bedb076.43c908",
             "name": "von 76 auf 30",
             "func": "msg.payload = msg.payload.toFixed(0).replace('76', '30');\nreturn msg;\n",
             "outputs": 1,
             "noerr": 0,
             "x": 900,
             "y": 270,
             "wires": [
                 [
                     "afc0ad7a.2d973"
                 ]
             ]
         },
         {
             "id": "df8c47a2.aefe78",
             "type": "function",
             "z": "8bedb076.43c908",
             "name": "von 102 auf 40",
             "func": "msg.payload = msg.payload.toFixed(0).replace('102', '40');\nreturn msg;\n",
             "outputs": 1,
             "noerr": 0,
             "x": 900,
             "y": 310,
             "wires": [
                 [
                     "afc0ad7a.2d973"
                 ]
             ]
         },
         {
             "id": "864d5a0b.debc78",
             "type": "function",
             "z": "8bedb076.43c908",
             "name": "von 127 auf 50",
             "func": "msg.payload = msg.payload.toFixed(0).replace('127', '50');\nreturn msg;\n",
             "outputs": 1,
             "noerr": 0,
             "x": 900,
             "y": 350,
             "wires": [
                 [
                     "afc0ad7a.2d973"
                 ]
             ]
         },
         {
             "id": "95f10198.ca70e",
             "type": "function",
             "z": "8bedb076.43c908",
             "name": "von 153 auf 60",
             "func": "msg.payload = msg.payload.toFixed(0).replace('153', '60');\nreturn msg;\n",
             "outputs": 1,
             "noerr": 0,
             "x": 900,
             "y": 390,
             "wires": [
                 [
                     "afc0ad7a.2d973"
                 ]
             ]
         },
         {
             "id": "391c9c56.087fd4",
             "type": "function",
             "z": "8bedb076.43c908",
             "name": "von 178 auf 70",
             "func": "msg.payload = msg.payload.toFixed(0).replace('178', '70');\nreturn msg;\n",
             "outputs": 1,
             "noerr": 0,
             "x": 900,
             "y": 430,
             "wires": [
                 [
                     "afc0ad7a.2d973"
                 ]
             ]
         },
         {
             "id": "65d08b93.14afb4",
             "type": "function",
             "z": "8bedb076.43c908",
             "name": "von 204 auf 80",
             "func": "msg.payload = msg.payload.toFixed(0).replace('204', '80');\nreturn msg;\n",
             "outputs": 1,
             "noerr": 0,
             "x": 900,
             "y": 470,
             "wires": [
                 [
                     "afc0ad7a.2d973"
                 ]
             ]
         },
         {
             "id": "3eca08c4.cd98e8",
             "type": "function",
             "z": "8bedb076.43c908",
             "name": "von 229 auf 90",
             "func": "msg.payload = msg.payload.toFixed(0).replace('229', '90');\nreturn msg;\n",
             "outputs": 1,
             "noerr": 0,
             "x": 900,
             "y": 510,
             "wires": [
                 [
                     "afc0ad7a.2d973"
                 ]
             ]
         },
         {
             "id": "82a1abb3.f36918",
             "type": "function",
             "z": "8bedb076.43c908",
             "name": "von 255 auf 100",
             "func": "msg.payload = msg.payload.toFixed(0).replace('255', '100');\nreturn msg;\n",
             "outputs": 1,
             "noerr": 0,
             "x": 900,
             "y": 550,
             "wires": [
                 [
                     "afc0ad7a.2d973"
                 ]
             ]
         },
         {
             "id": "43383ae1.62cbb4",
             "type": "amazon-echo-hub",
             "z": "8bedb076.43c908",
             "port": "80",
             "enableinput": false,
             "x": 110,
             "y": 360,
             "wires": [
                 [
                     "d1375ba6.0932a8",
                     "82350ee9.90093"
                 ]
             ]
         },
         {
             "id": "d5477c5.c81c78",
             "type": "function",
             "z": "8bedb076.43c908",
             "name": "Brightness von 1 bis 254",
             "func": "var newMsg = { payload: msg.bri } ;\n\nreturn newMsg\n",
             "outputs": 1,
             "noerr": 0,
             "x": 500,
             "y": 360,
             "wires": [
                 [
                     "8cef745b.eeb438"
                 ]
             ]
         },
         {
             "id": "8cef745b.eeb438",
             "type": "switch",
             "z": "8bedb076.43c908",
             "name": "",
             "property": "payload",
             "propertyType": "msg",
             "rules": [
                 {
                     "t": "eq",
                     "v": "25",
                     "vt": "num"
                 },
                 {
                     "t": "eq",
                     "v": "51",
                     "vt": "str"
                 },
                 {
                     "t": "eq",
                     "v": "76",
                     "vt": "str"
                 },
                 {
                     "t": "eq",
                     "v": "102",
                     "vt": "str"
                 },
                 {
                     "t": "eq",
                     "v": "127",
                     "vt": "str"
                 },
                 {
                     "t": "eq",
                     "v": "153",
                     "vt": "str"
                 },
                 {
                     "t": "eq",
                     "v": "178",
                     "vt": "str"
                 },
                 {
                     "t": "eq",
                     "v": "204",
                     "vt": "str"
                 },
                 {
                     "t": "eq",
                     "v": "229",
                     "vt": "str"
                 },
                 {
                     "t": "eq",
                     "v": "255",
                     "vt": "str"
                 }
             ],
             "checkall": "true",
             "repair": false,
             "outputs": 10,
             "x": 690,
             "y": 360,
             "wires": [
                 [
                     "4b75b843.d57a08"
                 ],
                 [
                     "52b8dd38.adc534"
                 ],
                 [
                     "5c73d88c.20ee28"
                 ],
                 [
                     "df8c47a2.aefe78"
                 ],
                 [
                     "864d5a0b.debc78"
                 ],
                 [
                     "95f10198.ca70e"
                 ],
                 [
                     "391c9c56.087fd4"
                 ],
                 [
                     "65d08b93.14afb4"
                 ],
                 [
                     "3eca08c4.cd98e8"
                 ],
                 [
                     "82a1abb3.f36918"
                 ]
             ]
         },
         {
             "id": "93f1533f.ef096",
             "type": "debug",
             "z": "8bedb076.43c908",
             "name": "",
             "active": true,
             "tosidebar": true,
             "console": false,
             "tostatus": false,
             "complete": "payload",
             "targetType": "msg",
             "x": 1540,
             "y": 360,
             "wires": []
         },
         {
             "id": "afc0ad7a.2d973",
             "type": "change",
             "z": "8bedb076.43c908",
             "name": "von string auf number ",
             "rules": [
                 {
                     "t": "set",
                     "p": "payload",
                     "pt": "msg",
                     "to": "$number(payload)",
                     "tot": "jsonata"
                 }
             ],
             "action": "",
             "property": "",
             "from": "",
             "to": "",
             "reg": false,
             "x": 1310,
             "y": 360,
             "wires": [
                 [
                     "93f1533f.ef096"
                 ]
             ]
         },
         {
             "id": "d1375ba6.0932a8",
             "type": "amazon-echo-device",
             "z": "8bedb076.43c908",
             "name": "Test",
             "topic": "",
             "x": 290,
             "y": 360,
             "wires": [
                 [
                     "d5477c5.c81c78"
                 ]
             ]
         }
      ]
      

      J 1 Reply Last reply Reply Quote 0
      • J
        Jan1 @Issi last edited by

        @Issi
        Danke für Deine Mühe. Da hätte ich wohl wesentlich länger basteln müssen.
        Probier ich morgen mal aus, wobei das schon verdammt viel Aufwand ist, was vorher mir 3 einfachen Nodes funltioniert hat.

        Issi 1 Reply Last reply Reply Quote 0
        • Issi
          Issi Developer @Jan1 last edited by

          @Jan1 ja schon ich kanns mir auch nicht erklären warum es bei dir nicht mehr funktionirt

          J 1 Reply Last reply Reply Quote 0
          • J
            Jan1 @Issi last edited by

            @Issi
            Kannst mir bitte mal ein Screenshot von einem funktionietenden Flow mit der Alexa local Node machen.
            Am besten ein frisch angelegter und das gefundene Gerät dazu auf der Amazon Seite?

            Issi 1 Reply Last reply Reply Quote 0
            • Issi
              Issi Developer @Jan1 last edited by

              @Jan1 hir bitte
              Screenshot_7.png
              Screenshot_8.png

              J 1 Reply Last reply Reply Quote 0
              • J
                Jan1 @Issi last edited by

                @Issi
                Was zum Geier ist da bei mir faul?
                Kannst auch mal Deiner Versionsstände posten?

                Issi 3 Replies Last reply Reply Quote 0
                • Issi
                  Issi Developer @Jan1 last edited by

                  @Jan1
                  alex@Iobroker-lxc:~$ node -v
                  v10.16.0
                  alex@Iobroker-lxc:~$ nodejs -v
                  v10.16.0
                  alex@Iobroker-lxc:~$ npm -v
                  6.9.0
                  Screenshot_9.png

                  1 Reply Last reply Reply Quote 0
                  • Issi
                    Issi Developer @Jan1 last edited by

                    @Jan1 ich update mal mein test system auf die neuste node version und teste es noch mal

                    1 Reply Last reply Reply Quote 0
                    • Issi
                      Issi Developer @Jan1 last edited by

                      @Jan1 so nach update funktionirt es auch
                      alex@Iobroker:/opt/iobroker$ node -v
                      v10.16.3
                      alex@Iobroker:/opt/iobroker$ nodejs -v
                      v10.16.3
                      alex@Iobroker:/opt/iobroker$ npm -v
                      6.9.0
                      alex@Iobroker:/opt/iobroker$
                      Screenshot_9.png

                      Screenshot_11.png Screenshot_10.png

                      1 Reply Last reply Reply Quote 0
                      • Issi
                        Issi Developer last edited by

                        @Jan1 kannst ja mal im TeamSpeak vorbei schauen vllt kann man da ja was machen gibt genug Leute hier die sich einigermaßen gut auskennen

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          Jan1 @Issi last edited by

                          @Issi
                          Wo muss ich denn da hin?

                          Issi 1 Reply Last reply Reply Quote 0
                          • Issi
                            Issi Developer @Jan1 last edited by

                            @Jan1 62.104.20.86:10038

                            J 1 Reply Last reply Reply Quote 0
                            • J
                              Jan1 @Issi last edited by

                              @Issi
                              Noch bin ich auf Arbeit

                              Issi 1 Reply Last reply Reply Quote 0
                              • Issi
                                Issi Developer @Jan1 last edited by

                                @Jan1 kommst dann wenn du daheim bist ich bin noch länger da

                                J 1 Reply Last reply Reply Quote 0
                                • J
                                  Jan1 @Issi last edited by

                                  @Issi
                                  Heute wird das nix mehr. Frau würde mir den Stecker ziehen.

                                  Issi 1 Reply Last reply Reply Quote 0
                                  • Issi
                                    Issi Developer @Jan1 last edited by

                                    @Jan1 wann hast du dann zeit ?

                                    J 1 Reply Last reply Reply Quote 0
                                    • J
                                      Jan1 @Issi last edited by

                                      @Issi
                                      Im Spätdienst ab 8 bis 12.

                                      Issi 1 Reply Last reply Reply Quote 0
                                      • Issi
                                        Issi Developer @Jan1 last edited by

                                        @Jan1 jo dan halt morgen's oder am Wochenende

                                        J 1 Reply Last reply Reply Quote 0
                                        • J
                                          Jan1 @Issi last edited by

                                          @Issi
                                          Ist das immer die selbe IP?

                                          Issi 2 Replies Last reply Reply Quote 0
                                          • Issi
                                            Issi Developer @Jan1 last edited by

                                            @Jan1 ja das ist das Iobroker TS

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            385
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            10
                                            86
                                            10120
                                            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