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. Skripten / Logik
  4. Gelöst Homematic Werteliste angelegt Alexa2.0 sagt nur Zahl

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    816

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    18
    1
    6.3k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.6k

Gelöst Homematic Werteliste angelegt Alexa2.0 sagt nur Zahl

Scheduled Pinned Locked Moved Skripten / Logik
14 Posts 3 Posters 1.6k Views
  • 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.
  • K Offline
    K Offline
    knudel20
    wrote on last edited by
    #4

    2424_blocky_status.jpg

    Komme nicht weiter. Die Alexa soll als erstes die geöffneten Fenster ansagen dann die Lichter und dann den Paketkasten.

    Irgendetwas stimmt nicht mit dem Blocky.

    Alexa sagt nur die Fenster und die Lichter aber nicht mehr. Muss ich das anderes zusammen setzen?

    1 Reply Last reply
    0
    • dslraserD Offline
      dslraserD Offline
      dslraser
      Forum Testing Most Active
      wrote on last edited by
      #5

      wo ist denn Dein Trigger ?

      1 Reply Last reply
      0
      • dslraserD Offline
        dslraserD Offline
        dslraser
        Forum Testing Most Active
        wrote on last edited by
        #6

        z.B. diese…und oben Dein Objekt rein(Trigger)![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201810 ... ebc467.jpg">https://uploads.tapatalk-cdn.com/20181004/4bf53b2b213dc9061459779da9ebc467.jpg</link_text>" />

        1 Reply Last reply
        0
        • K Offline
          K Offline
          knudel20
          wrote on last edited by
          #7

          Mein Trigger kommt von der Routine von der Alexa App.

          Aber wie arbeitet iobroker die 3 Abfragen nacheinander ab.?

          1. PaketkastenBrief 1 oder 0

          2. PaketkastenPaket 1 oder 0

          3. die Werte von den Fenstern und Lichtern?
          2424_blocky_status1.jpg

          1 Reply Last reply
          0
          • dslraserD Offline
            dslraserD Offline
            dslraser
            Forum Testing Most Active
            wrote on last edited by
            #8

            hier stand quatsch….

            1 Reply Last reply
            0
            • apollon77A Offline
              apollon77A Offline
              apollon77
              wrote on last edited by
              #9

              dslraser hat aber echt … in deinem Blockly Auszug ist kein Trigger drin. Der Code würde also nur beim Skrip-Start einmalig ausgeführt werden.

              Auch wenn eine Routine triggert muss in Blockly ein Trigger baustein da sein. Oder hast DU den im Bild absichtlich weggelassen?

              Reihenfolge: So wie du es aneinandergebaut hast von oben nach unten wird geprüft.

              Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

              • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
              • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
              1 Reply Last reply
              0
              • K Offline
                K Offline
                knudel20
                wrote on last edited by
                #10

                Ich hab jetzt den Trigger eingefügt und jetzt macht Alexa nichts mehr.

                Hab ich das so falsch verstanden.
                2424_blocky_status2.jpg

                1 Reply Last reply
                0
                • dslraserD Offline
                  dslraserD Offline
                  dslraser
                  Forum Testing Most Active
                  wrote on last edited by
                  #11

                  versuche es mal so auf zu bauen. Bei mir werden die Post und das Paket angesagt…Den Rest fügst Du mit der gleichen Logik ein.

                  Speak nimmst Du aber nur einmal, da fügst Du dann Deine anderen Ausgaben ein (Zahnrad von erstelle Text aus anklicken)

                  PS: das mit dem Trigger machen wir dann später...

                  3822_bildschirmfoto_2018-10-05_um_14.30.45.png

                  1 Reply Last reply
                  0
                  • dslraserD Offline
                    dslraserD Offline
                    dslraser
                    Forum Testing Most Active
                    wrote on last edited by
                    #12

                    Als erstes hier diesen Datenpunkt in ein neues leeres Javascript einfügen-speichern und starten. (das wird/ist der Trigger)

                    //Alexa Ansage Post/Fenster/Licht
                    createState("Eigene_Datenpunkte.Alexa_Ansage.Post_Fenster_Licht", {
                        name: 'Alexa_Ansage_Post_Fenster_Licht', 
                        role: 'button',
                        type: 'object',
                        read:  true, 
                        write: true, 
                        def:   false,
                        "smartName": {
                        "de": "Alexa Ansage Post Fenster Licht",
                        "smartType": "SWITCH"
                    }});
                    

                    Hier habe ich mal ein Blockly Beispiel was funktioniert.

                    3822_bildschirmfoto_2018-10-05_um_16.42.21.png

                    Hier der Blockly Export: Ich habe nur zwei Echos zum testen eingefügt

                    ! ````
                    <xml xmlns="http://www.w3.org/1999/xhtml"><block type="on_ext" id="FwpO*V-x`wJmvTc2g7;5" x="-238" y="87"><mutation items="1"></mutation>
                    <field name="CONDITION">any</field>

                    <value name="OID0"><shadow type="field_oid" id="OvG3k/*UGOCl`{(yQ:tC"><field name="oid">javascript.0.Eigene_Datenpunkte.Alexa_Ansage.Post_Fenster_Licht</field></shadow></value> 
                    <statement name="STATEMENT"><block type="control" id="k%5[78,sh`axR52xaMvc"><mutation delay_input="false"></mutation>
                        <field name="OID">alexa2.0.History.#trigger</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE"><block type="logic_boolean" id="Mk|^83N0POG}![]bPDp~"><field name="BOOL">TRUE</field></block></value> 
                        <next><block type="controls_if" id="?2_UBAoh{v~kqX7IFCoJ"><mutation elseif="1"></mutation>
                            <value name="IF0"><block type="logic_compare" id="#zdJ4-3B-9El//mFdpkO"><field name="OP">EQ</field>
                                <value name="A"><block type="get_value" id="kJmQmU%WH]L4Ap9HG|NB"><field name="ATTR">val</field>
                                    <field name="OID">hm-rpc.0.0000D569A39250.1.STATE</field></block></value> 
                                <value name="B"><block type="math_number" id="p#+}5mUpmIPJH}SFmwJ1"><field name="NUM">0</field></block></value></block></value> 
                            <statement name="DO0"><block type="variables_set" id="IHQBHop9TW%Z+CQtnYTt"><field name="VAR">PaketkastenBrief</field>
                                <value name="VALUE"><block type="text_join" id="LN%%{H8IZz!.c_b|{j[{"><mutation items="1"></mutation>
                                    <value name="ADD0"><block type="text" id="~JAHDZ85z%F%l;GIxdJl"><field name="TEXT">keine Post vorhanden</field></block></value></block></value></block></statement> 
                            <value name="IF1"><block type="logic_compare" id="[VQ(}@ERw=cgIb}ABwLj"><field name="OP">NEQ</field>
                                <value name="A"><block type="get_value" id="-gDnmko,~64?vIbyfM-4"><field name="ATTR">val</field>
                                    <field name="OID">hm-rpc.0.0000D569A39250.1.STATE</field></block></value> 
                                <value name="B"><block type="math_number" id="jH3t4yP-s6KI[u)33;,g"><field name="NUM">0</field></block></value></block></value> 
                            <statement name="DO1"><block type="variables_set" id="e:q7r68g!o@5=`MuB`K6"><field name="VAR">PaketkastenBrief</field>
                                <value name="VALUE"><block type="text_join" id="nf]t=S2|l]}5xA+UTqF4"><mutation items="1"></mutation>
                                    <value name="ADD0"><block type="text" id="[K_joq.z;KIrs6!k+xgN"><field name="TEXT">Post vorhanden</field></block></value></block></value></block></statement> 
                            <next><block type="controls_if" id="LXZaWfO+,}5HR0@Z~J_h"><mutation elseif="1"></mutation>
                                <value name="IF0"><block type="logic_compare" id="u#:[5Q,VI2qrr[L_+QI="><field name="OP">EQ</field>
                                    <value name="A"><block type="get_value" id="vjY`DTdB^:POUFWXKyJI"><field name="ATTR">val</field>
                                        <field name="OID">hm-rpc.0.0000D709955B95.1.STATE</field></block></value> 
                                    <value name="B"><block type="math_number" id="w3*bEC@Usw%hJlRZEC^e"><field name="NUM">0</field></block></value></block></value> 
                                <statement name="DO0"><block type="variables_set" id="0)jwK0WmGRzo3vl-lI)E"><field name="VAR">PaketkastenPaket</field>
                                    <value name="VALUE"><block type="text_join" id="AMDsEN,UZ7WWt-l!(cm!"><mutation items="1"></mutation>
                                        <value name="ADD0"><block type="text" id="{L6(X{Ip7S;S87.8YugF"><field name="TEXT">kein Paket vorhanden</field></block></value></block></value></block></statement> 
                                <value name="IF1"><block type="logic_compare" id=":bZPz4GOni-lR%IYQ2Cx"><field name="OP">NEQ</field>
                                    <value name="A"><block type="get_value" id="2h`qXYt6^58wtJm7?v0h"><field name="ATTR">val</field>
                                        <field name="OID">hm-rpc.0.0000D709955B95.1.STATE</field></block></value> 
                                    <value name="B"><block type="math_number" id="~A6c*WDDMLds6L@?^JP{"><field name="NUM">0</field></block></value></block></value> 
                                <statement name="DO1"><block type="variables_set" id="U~v0.r)|_6!kyZ#(mrDz"><field name="VAR">PaketkastenPaket</field>
                                    <value name="VALUE"><block type="text_join" id="B_N1Tie`OJ@_oTG/hNYz"><mutation items="1"></mutation>
                                        <value name="ADD0"><block type="text" id="Vwe//fAUd(Z{g-ZXv7Y5"><field name="TEXT">Paket vorhanden</field></block></value></block></value></block></statement> 
                                <next><block type="controls_if" id="?^E7_HI|l,;b97;qbBwy"><mutation elseif="1"></mutation>
                                    <value name="IF0"><block type="logic_compare" id="cgqv*;H+hPZZY2k%cZpN"><field name="OP">NEQ</field>
                                        <value name="A"><block type="get_value" id="1+;.VXdCt/ta},;96;EO"><field name="ATTR">val</field>
                                            <field name="OID">javascript.0.Status.Fenster.Anzahl_auf</field></block></value> 
                                        <value name="B"><block type="math_number" id="jBalpU!:]s^j?(w7!Zs5"><field name="NUM">0</field></block></value></block></value> 
                                    <statement name="DO0"><block type="variables_set" id="~muu8jO+ETY,s2^(g/fn"><field name="VAR">AnsageRaumegeoeffneteFenster</field>
                                        <value name="VALUE"><block type="text_join" id="Kf?=l{#}(qOfPGAaoyTo"><mutation items="1"></mutation>
                                            <value name="ADD0"><block type="get_value" id="VbjHB+DWn9N`jX@Fu%8z" inline="false"><field name="ATTR">val</field>
                                                <field name="OID">javascript.0.Status.Fenster.Ansage</field></block></value></block></value></block></statement> 
                                    <value name="IF1"><block type="logic_compare" id="}|ftWie1-uh.klw69h}^"><field name="OP">EQ</field>
                                        <value name="A"><block type="get_value" id="J59ies{skEjKo3WL)xS?"><field name="ATTR">val</field>
                                            <field name="OID">javascript.0.Status.Fenster.Anzahl_auf</field></block></value> 
                                        <value name="B"><block type="math_number" id="Fg`oD!Wqox9wm%EndYfl"><field name="NUM">0</field></block></value></block></value> 
                                    <statement name="DO1"><block type="variables_set" id="J9~gY2Ie[nt^Nu#bUX),"><field name="VAR">AnsageRaumegeoeffneteFenster</field>
                                        <value name="VALUE"><block type="text_join" id="S]GzfF#iN}BFQ@|v#LD#"><mutation items="1"></mutation>
                                            <value name="ADD0"><block type="get_value" id="5@_t:Uhy,F7OHn.~QWi1" inline="false"><field name="ATTR">val</field>
                                                <field name="OID">javascript.0.Status.Fenster.Ansage</field></block></value></block></value></block></statement> 
                                    <next><block type="controls_if" id="dftwYdq~u(YOUj!6x1]8"><mutation elseif="1"></mutation>
                                        <value name="IF0"><block type="logic_compare" id="?e0|T.vL31cU!oQ^@*aa"><field name="OP">NEQ</field>
                                            <value name="A"><block type="get_value" id="?45s*@e]TOKBj|pYWEkR"><field name="ATTR">val</field>
                                                <field name="OID">javascript.0.Status.Lichter.Anzahl_ein</field></block></value> 
                                            <value name="B"><block type="math_number" id="qw[)3N0=/TWFYt;seQ{c"><field name="NUM">0</field></block></value></block></value> 
                                        <statement name="DO0"><block type="variables_set" id="u]jbr9PR}ajzur!a]7rH"><field name="VAR">AnsageRaumLichtan</field>
                                            <value name="VALUE"><block type="text_join" id="S4KZsqBIx[5F6^,F9XWi"><mutation items="1"></mutation>
                                                <value name="ADD0"><block type="get_value" id="]UYojY1vRa*LgaOxew9~" inline="false"><field name="ATTR">val</field>
                                                    <field name="OID">javascript.0.Status.Lichter.Ansage</field></block></value></block></value></block></statement> 
                                        <value name="IF1"><block type="logic_compare" id="gZ%d57{Y*`-S=r^3xK49"><field name="OP">EQ</field>
                                            <value name="A"><block type="get_value" id="tl]f=*~=`l;2GsPXbI1B"><field name="ATTR">val</field>
                                                <field name="OID">javascript.0.Status.Lichter.Anzahl_ein</field></block></value> 
                                            <value name="B"><block type="math_number" id="huwl/k~S*Xc=`~]^FlNU"><field name="NUM">0</field></block></value></block></value> 
                                        <statement name="DO1"><block type="variables_set" id=";~YnX/{SPqP6G47Me;iY"><field name="VAR">AnsageRaumLichtan</field>
                                            <value name="VALUE"><block type="text_join" id="bDU3Td-),0ksjiR4^,ZZ"><mutation items="1"></mutation>
                                                <value name="ADD0"><block type="get_value" id="Hb|{{W.r!7upaRh.%]Xa" inline="false"><field name="ATTR">val</field>
                                                    <field name="OID">javascript.0.Status.Lichter.Ansage</field></block></value></block></value></block></statement> 
                                        <next><block type="timeouts_settimeout" id="Inz`q.Wj~.3%yx`_Ifqt"><field name="NAME">timeout</field>
                                            <field name="DELAY">250</field>
                                            <field name="UNIT">ms</field>
                                            <statement name="STATEMENT"><block type="controls_if" id=";euXKWXanqj,uI7b(rz]"><value name="IF0"><block type="logic_compare" id="AO!;azyDpiJe?XR=e5|?"><field name="OP">EQ</field>
                                                    <value name="A"><block type="get_value" id="Ovl6-%;u4n%jCdipY(ZT"><field name="ATTR">val</field>
                                                        <field name="OID">alexa2.0.History.name</field></block></value> 
                                                    <value name="B"><block type="text" id="WZC##y*s.vgNQ_8~*{15"><field name="TEXT">Wohnzimmer</field></block></value></block></value> 
                                                <statement name="DO0"><block type="control" id="_d48*.dB5J@u_J2-JP0x"><mutation delay_input="false"></mutation>
                                                    <field name="OID">alexa2.0.Echo-Devices.G070RQ10751706BR.Commands.speak</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE"><block type="text_join" id=")IpWz#yL6685HI+o*|?o"><mutation items="7"></mutation>
                                                        <value name="ADD0"><block type="variables_get" id="rOg9wT[|NwHYB3Fk!OQN"><field name="VAR">PaketkastenBrief</field></block></value> 
                                                        <value name="ADD1"><block type="text" id=".RkNQPk70sIkl;Za{o){"><field name="TEXT">,</field></block></value> 
                                                        <value name="ADD2"><block type="variables_get" id="g9dm:JKJLS@yx({DP/nM"><field name="VAR">PaketkastenPaket</field></block></value> 
                                                        <value name="ADD3"><block type="text" id="l2NwKUTA=L^)sLG4vAhk"><field name="TEXT">,</field></block></value> 
                                                        <value name="ADD4"><block type="variables_get" id="`#d5|t,`,DQ_2+Y]eXHr"><field name="VAR">AnsageRaumegeoeffneteFenster</field></block></value> 
                                                        <value name="ADD5"><block type="text" id="Z1Xg|tXn{UjO,wK6MCS:"><field name="TEXT">,</field></block></value> 
                                                        <value name="ADD6"><block type="variables_get" id="nIW+Xo~!0ow)O0bghXR2"><field name="VAR">AnsageRaumLichtan</field></block></value></block></value></block></statement> 
                                                <next><block type="controls_if" id="MYWI,Qffz%z_4|vIG@xk"><value name="IF0"><block type="logic_compare" id="D@stIf|y|l(m#m;2Le/R"><field name="OP">EQ</field>
                                                        <value name="A"><block type="get_value" id="h-,+b#1mh+kQXt7{JdAE"><field name="ATTR">val</field>
                                                            <field name="OID">alexa2.0.History.name</field></block></value> 
                                                        <value name="B"><block type="text" id="4|o{%3%xe-QQswg.0yr9"><field name="TEXT">Küche</field></block></value></block></value> 
                                                    <statement name="DO0"><block type="control" id="8LLqTLvEp,?sc`*X?(;_"><mutation delay_input="false"></mutation>
                                                        <field name="OID">alexa2.0.Echo-Devices.G070RQ10751703Q5.Commands.speak</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE"><block type="text_join" id="puPhdS9gG3[PdnwsiBdj"><mutation items="7"></mutation>
                                                            <value name="ADD0"><block type="variables_get" id="5S}AAibsrZH~IE/m++@a"><field name="VAR">PaketkastenBrief</field></block></value> 
                                                            <value name="ADD1"><block type="text" id="f1XM5GP|n3#0F+`q4`Al"><field name="TEXT">,</field></block></value> 
                                                            <value name="ADD2"><block type="variables_get" id="JwVaT`I;6:4x]gs26o8t"><field name="VAR">PaketkastenPaket</field></block></value> 
                                                            <value name="ADD3"><block type="text" id="=6z_Q.^obJZqam^*-Y},"><field name="TEXT">,</field></block></value> 
                                                            <value name="ADD4"><block type="variables_get" id="![vn6xB]5hQqj2!F]Wlh"><field name="VAR">AnsageRaumegeoeffneteFenster</field></block></value> 
                                                            <value name="ADD5"><block type="text" id="^T@8=@6=LO*~c;[Xi:M7"><field name="TEXT">,</field></block></value> 
                                                            <value name="ADD6"><block type="variables_get" id="MYt~S+Vnmg}Y]:i=icuR"><field name="VAR">AnsageRaumLichtan</field></block></value></block></value></block></statement></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></statement></block></xml> 
                    
                    
                    Danach einmal im Cloudadapter nachsehen ob der Datenpunkt Alexa Ansage Post Fenster Licht da ist.
                    
                    Dann lässt Du Alexa neue Geräte suchen mit: Alexa, suche neue Geräte.
                    
                    Dann erstellst Du eine Routine, beispielsweise so:
                     ![3822_rotine.jpg](/assets/uploads/files/3822_rotine.jpg) 
                    
                    Wenn Du noch Fragen hast, dann frage einfach.
                    1 Reply Last reply
                    0
                    • K Offline
                      K Offline
                      knudel20
                      wrote on last edited by
                      #13

                      Super Danke es klappt. Wieder ein Schritt weiter smart :D

                      1 Reply Last reply
                      0
                      • dslraserD Offline
                        dslraserD Offline
                        dslraser
                        Forum Testing Most Active
                        wrote on last edited by
                        #14

                        @knudel20:

                        Super Danke es klappt. Wieder ein Schritt weiter smart :D ` Schön des es klappt, freut mich.

                        Die Ansagen bzw. Texte zwischen den einzelnen Ansagen kannst Du ja individuell anpassen.

                        z.B. Moment, als erstes sage ich Dir den Status der Fenster…...dann, wenn damit fertig, hier kommt der Staus Deiner Lampen usw. usw...

                        1 Reply Last reply
                        0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        525

                        Online

                        32.8k

                        Users

                        82.7k

                        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