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. Brauche Hilfe zum Thema NodeRed und alexa

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Brauche Hilfe zum Thema NodeRed und alexa

    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      Bernd 1337 @mickym last edited by

      @mickym 28.5.2023, 22:57:27node: debug 1
      msg.payload : string[2]
      "on"
      28.5.2023, 22:57:27node: debug 1
      msg.payload : string[2]
      "on"
      28.5.2023, 22:58:13node: debug 1
      msg.payload : string[2]
      "on"
      28.5.2023, 23:01:11node: debug 1
      msg.payload : string[2]
      "on"
      28.5.2023, 23:01:52node: debug 1
      msg.payload : string[2]
      "on"
      28.5.2023, 23:03:40node: debug 1
      msg.payload : string[2]
      "on"
      28.5.2023, 23:04:40node: debug 1
      msg.payload: number : undefined
      undefined
      28.5.2023, 23:05:12node: debug 1
      msg.payload : string[2]
      "on"
      28.5.2023, 23:05:42node: debug 1
      msg.payload : string[2]
      "on"
      28.5.2023, 23:06:36node: debug 1
      msg.payload : string[2]
      "on"
      28.5.2023, 23:06:46node: debug 1
      msg.payload : string[2]
      "on"
      28.5.2023, 23:09:02node: debug 1
      msg.payload : string[2]
      "on"
      28.5.2023, 23:16:17node: debug 1
      msg.payload : string[2]
      "on"

      1 Reply Last reply Reply Quote 0
      • mickym
        mickym Most Active @Bernd 1337 last edited by

        @bernd-1337 Na hast Du denn im Debug Fenster mal nachgeschaut? und lässt Du dir das komplette nachrichtenobjekt aus der Debug Node ausgeben?

        mickym 1 Reply Last reply Reply Quote 0
        • mickym
          mickym Most Active @mickym last edited by

          @mickym OK das ist nur die payload - lass Dur mal das gesamte Nachrichtenobjekt ausgeben.

          B mickym 2 Replies Last reply Reply Quote 0
          • B
            Bernd 1337 @mickym last edited by

            @mickym Screenshot_3.png so schaut das bei mir aus

            mickym 1 Reply Last reply Reply Quote 0
            • mickym
              mickym Most Active @mickym last edited by

              @mickym Ansonsten siehst ja, dass "on" als payload rauskommt.

              B 1 Reply Last reply Reply Quote 0
              • mickym
                mickym Most Active @Bernd 1337 last edited by

                @bernd-1337 sagte in Brauche Hilfe zum Thema NodeRed und alexa:

                @mickym Screenshot_3.png so schaut das bei mir aus

                Ja dann lass Dir mal das komplette Nachrichtenobjekt ausgeben. Die payload wird auf "on" gesetzt".

                1 Reply Last reply Reply Quote 0
                • B
                  Bernd 1337 @mickym last edited by

                  @mickym ja genau ich sage alexa alexa setze Temperatur auf 10 grad zb und rein schreiben tut er on

                  mickym 1 Reply Last reply Reply Quote 0
                  • mickym
                    mickym Most Active @Bernd 1337 last edited by mickym

                    @bernd-1337 Nochmal lass Dir das gesamte Nachrichtenobjekt ausgeben.

                    62af629b-3069-406b-961e-124c1bef24f4-image.png

                    B 1 Reply Last reply Reply Quote 0
                    • B
                      Bernd 1337 @mickym last edited by

                      @mickym Screenshot_4.png

                      mickym 1 Reply Last reply Reply Quote 0
                      • mickym
                        mickym Most Active @Bernd 1337 last edited by mickym

                        @bernd-1337 Na da siehst Du - diese Node ist eigentlich für Lampen ausgelegt, aber die 10 siehst Du ja dass die in der percentage Eigenschaft ist. Also wenn Du die 10 in einen Datenpunkt schreiben willst, dann musst Du halt die msg.payload auf msg.percentage setzen.

                        3b8c9778-2136-454e-ba65-337ed4469547-image.png

                        Also eine Change Node zwischen die Alexa Node und die iobroker Out Node setzen und die msg.payload auf msg.percentage setzen.

                        Außerdem klappt man das Objekt auf in dem man den Pfeil anklickt und kopiert dann den Pfad auf die Eigenschaft, die man extrahieren will, siehe meine Grafik (copy path).

                        copy path.gif

                        B 1 Reply Last reply Reply Quote 0
                        • B
                          Bernd 1337 @mickym last edited by

                          @mickym jap jetzt hat es gefunzt jetzt setzt er zahlen rein

                          mickym 1 Reply Last reply Reply Quote 0
                          • mickym
                            mickym Most Active @Bernd 1337 last edited by

                            @bernd-1337 sagte in Brauche Hilfe zum Thema NodeRed und alexa:

                            @mickym jap jetzt hat es gefunzt jetzt setzt er zahlen rein

                            Schön. 🙂 - Mich wunderst nicht. 😉 - Hauptsache Du hast das Prinzip verstanden, was ein Nachrichtenobjekt in NodeRed ist.

                            B 1 Reply Last reply Reply Quote 0
                            • B
                              Bernd 1337 @mickym last edited by

                              @mickym ja so ein bisschen tut mir sry wenn ich mich so dumm anstelle aber ich habe wirklich 0 plan von Programiren aber ich danke dir trotzdem für deine zeit

                              mickym 1 Reply Last reply Reply Quote 0
                              • mickym
                                mickym Most Active @Bernd 1337 last edited by

                                @bernd-1337 Na ich helfe gerne - ist ja noch kein Programmieren - aber ein paar Basics tun sicher gut. Vielleicht möchtest Du ja mal mehr umsetzen und dann ist es vielleicht ganz wichtig zu verstehen, wie Nachrichtenobjekte durch die Kabel in die Nodes rein und rausflutschen. 😉 - Dann viel Spass.

                                B 2 Replies Last reply Reply Quote 0
                                • B
                                  Bernd 1337 @mickym last edited by

                                  @mickym au ja ich habe noch ne menge vor mir ich werde noch sehr viel hilfe brauchen

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    Bernd 1337 @mickym last edited by

                                    @mickym eine frage habe ich den noch welchen baustein brauch ich um von alexa antwort zu bekommen zb Temp wurde auf so und so gesetzt

                                    mickym 1 Reply Last reply Reply Quote 0
                                    • mickym
                                      mickym Most Active @Bernd 1337 last edited by

                                      @bernd-1337 Das kann ich Dir leider nicht beantworten, da ich keine Alexa habe und auch diese Nodes nicht nutze. Vielleicht gibts aber sonst jemand, der Dir da helfen kann.

                                      B 1 Reply Last reply Reply Quote 0
                                      • B
                                        Bernd 1337 @mickym last edited by

                                        @mickym okay nicht schlimm fragen kann man ja mal villt finde ich es selbst raus danke trotzdem

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

                                        Support us

                                        ioBroker
                                        Community Adapters
                                        Donate

                                        540
                                        Online

                                        31.7k
                                        Users

                                        79.7k
                                        Topics

                                        1.3m
                                        Posts

                                        2
                                        24
                                        859
                                        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