Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Anfängerfragen zu ioBroker und Homematic IP

    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

    Anfängerfragen zu ioBroker und Homematic IP

    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      LordLolo @oFbEQnpoLKKl6mbY5e13 last edited by

      @ofbeqnpolkkl6mby5e13

      Wird vielleicht bei mir noch kommen. Bin ja noch ganz am Anfang. Ich versuche jetzt erst einmal in Blockly reinzukommen. Von Programmierung oder Scripten habe ich mal gar keine Ahnung.

      Gibt es irgendwo ein Sammelsurium an Blockly Scripten wo man mal etwas stöbern kann?

      O 1 Reply Last reply Reply Quote 0
      • J
        Jack01 last edited by Jack01

        Hier mal ein Beispiel von mir. Ich habe mehrere Homematic (keine IP) Wassersensoren im Keller, die sich per Sprache über meine Alexas melden.

        Gruß

        Hans-Jürgen

        Blockly.JPG Sensor.JPG

        Hier der Import:

        <xml xmlns="https://developers.google.com/blockly/xml">
          <block type="on" id="4*Mj}WS[tg^vb;l2YWVA" x="-738" y="-212">
            <field name="OID">hm-rpc.0.H2O_Sens_2.1.STATE</field>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <statement name="STATEMENT">
              <block type="controls_if" id="8d~jPY2MOiGyqzjZ^.=C">
                <value name="IF0">
                  <block type="logic_compare" id="6?ZT#:EMPLO$YLI`3{{O">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="on_source" id="~][^_XsO0f;ERvRgt!{=">
                        <field name="ATTR">state.val</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="convert_tonumber" id="H-U`jD@2~`p[gb]VWya?">
                        <value name="VALUE">
                          <block type="math_number" id="ScTSqEdOsEGd=b}$a4)b">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="control" id="Ng(Ae#:JbSFmV*Y%G|8}">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">alexa2.0.Echo-Devices.G090VC09915607JK.Commands.speak</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="text" id="dh9q|P2;3W80{;g7,T1t">
                        <field name="TEXT">Wassersensor Fenster meldet feuchtigkeit</field>
                      </block>
                    </value>
                    <next>
                      <block type="control" id="czdz#C$=-YZq@4?r3amH">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                        <field name="OID">alexa2.0.Echo-Devices.G090VC09915607JK.Commands.speak</field>
                        <field name="WITH_DELAY">TRUE</field>
                        <field name="DELAY_MS">20</field>
                        <field name="UNIT">sec</field>
                        <field name="CLEAR_RUNNING">FALSE</field>
                        <value name="VALUE">
                          <block type="text" id="2ShXsn`uq:AAs~eL`TL[">
                            <field name="TEXT">Wassersensor Fenster meldet feuchtigkeit</field>
                          </block>
                        </value>
                        <next>
                          <block type="control" id="+h-ib`YCs4X8IvrjHH[F">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                            <field name="OID">alexa2.0.Echo-Devices.G090VC09915607JK.Commands.speak</field>
                            <field name="WITH_DELAY">TRUE</field>
                            <field name="DELAY_MS">40</field>
                            <field name="UNIT">sec</field>
                            <field name="CLEAR_RUNNING">FALSE</field>
                            <value name="VALUE">
                              <block type="text" id=",I^DY/|gi[T6@7C)Un,n">
                                <field name="TEXT">Wassersensor Fenster meldet feuchtigkeit</field>
                              </block>
                            </value>
                            <next>
                              <block type="control" id="C*pw+si;y,jFJ_(xSnf.">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                <field name="OID">alexa2.0.Echo-Devices.G090VC09915607JK.Commands.speak</field>
                                <field name="WITH_DELAY">TRUE</field>
                                <field name="DELAY_MS">60</field>
                                <field name="UNIT">sec</field>
                                <field name="CLEAR_RUNNING">FALSE</field>
                                <value name="VALUE">
                                  <block type="text" id="[q`YNMAcXEicqZpt~G~`">
                                    <field name="TEXT">Wassersensor Fenster meldet feuchtigkeit</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="d,J`~@a[5ov{O{fGa_-.">
                    <value name="IF0">
                      <block type="logic_compare" id="u.(@e$cPJ98#(4f{7v#V">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="on_source" id="2P9tf/fpTF!2R}eftv7L">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="convert_tonumber" id="$j:(+jwKOflJ6dAeXh{m">
                            <value name="VALUE">
                              <block type="math_number" id="$NooalcTnkzg-Ow0;fmB">
                                <field name="NUM">2</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="control" id="=?fQ?gXALmO{,L^ab0#r">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">alexa2.0.Echo-Devices.G090VC09915607JK.Commands.speak</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="text" id="@s4N_wHZ^}h{?Kg~`1s9">
                            <field name="TEXT">Wassersensor Fenster meldet nass</field>
                          </block>
                        </value>
                        <next>
                          <block type="control" id=".G-;-o_)ELmql0HJxGJD">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                            <field name="OID">alexa2.0.Echo-Devices.G090VC09915607JK.Commands.speak</field>
                            <field name="WITH_DELAY">TRUE</field>
                            <field name="DELAY_MS">20</field>
                            <field name="UNIT">sec</field>
                            <field name="CLEAR_RUNNING">FALSE</field>
                            <value name="VALUE">
                              <block type="text" id="#`]PjLUI+z7l@rB=!~f|">
                                <field name="TEXT">Wassersensor Fenster meldet nass</field>
                              </block>
                            </value>
                            <next>
                              <block type="control" id="jvqZvOv_O7$iI~kDAQ*/">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                <field name="OID">alexa2.0.Echo-Devices.G090VC09915607JK.Commands.speak</field>
                                <field name="WITH_DELAY">TRUE</field>
                                <field name="DELAY_MS">40</field>
                                <field name="UNIT">sec</field>
                                <field name="CLEAR_RUNNING">FALSE</field>
                                <value name="VALUE">
                                  <block type="text" id="#J[CjphO|LpxVG(@JdAs">
                                    <field name="TEXT">Wassersensor Fenster meldet nass</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="control" id="-$HX?Xa0,Z?lO~GN;5fT">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                    <field name="OID">alexa2.0.Echo-Devices.G090VC09915607JK.Commands.speak</field>
                                    <field name="WITH_DELAY">TRUE</field>
                                    <field name="DELAY_MS">60</field>
                                    <field name="UNIT">sec</field>
                                    <field name="CLEAR_RUNNING">FALSE</field>
                                    <value name="VALUE">
                                      <block type="text" id="(g3Gy,YZ]VVI[l|yH^~,">
                                        <field name="TEXT">Wassersensor Fenster meldet nass</field>
                                      </block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </xml>
        
        L 1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @oFbEQnpoLKKl6mbY5e13 last edited by

          @ofbeqnpolkkl6mby5e13 sagte in Anfängerfragen zu ioBroker und Homematic IP:

          Mit der Free-Cloud kann man glaube ich bis zu 3 Geräte über Sprache steuern. Mehr dann über die Pro-Cloud.

          ich nutze den ganzen Kam nicht, aber das habe ich noch nicht gehört
          https://www.iobroker.net/de/cloud/media/iot_compare.png

          Alexa über free mit cloud geht IMHO nicht mehr, nur noch über iot mit kostenlosem Key und max. 20 Anfragen pro Tag
          (ohne Gewähr)

          O 1 Reply Last reply Reply Quote 0
          • O
            oFbEQnpoLKKl6mbY5e13 @Homoran last edited by

            @homoran
            Ich hatte es nicht mehr in Erinnerung. Nur, dass es eine Einschränkung gab.

            1 Reply Last reply Reply Quote 0
            • O
              oFbEQnpoLKKl6mbY5e13 @LordLolo last edited by

              @lordlolo sagte in Anfängerfragen zu ioBroker und Homematic IP:

              Gibt es irgendwo ein Sammelsurium an Blockly Scripten wo man mal etwas stöbern kann?

              Das Forum sollte voll damit sein. Meine Empfehlung: Selber machen!

              Dann lernt man was und kann Fehler selbst beseitigen, wenn sie auftreten sollten.

              1 Reply Last reply Reply Quote 1
              • L
                LordLolo @Jack01 last edited by

                @jack01

                Danke, das sieht ja gar nicht so schwer aus

                1 Reply Last reply Reply Quote 0
                • L
                  LordLolo @oFbEQnpoLKKl6mbY5e13 last edited by

                  @ofbeqnpolkkl6mby5e13

                  Guten Morgen Zusammen,

                  ich will nur mal kurz kundtun, dass ich gestern das erste Script realisiert habe und zwar dass mit dem Türkontakt und der Sprachausgabe auf Alexa.

                  Und was soll ich sagen...es funzt wie geschmiert und ich freu mich wie Bolle! Hätte nicht gedacht, dass dieser Kram soviel Spaß macht. 🙂

                  Als nächstes ist das Script für die Waschmaschine dran. Kann mir jemand einen Tipp geben, wie ich am besten messe oder am besten aufzeichne, bei welchem Stromfluss die Maschine läuft und was sie noch im Standby verbraucht?

                  N O 2 Replies Last reply Reply Quote 0
                  • N
                    Nordischerjung @LordLolo last edited by

                    @lordlolo
                    Moin einfach mal nach Waschmaschinen Script suchen, gibt hier einige zB

                    https://forum.iobroker.net/topic/31853/gelöst-waschmaschinen-script?_=1613027667957

                    https://forum.iobroker.net/topic/9569/vorlage-blockly-meldung-wenn-waschmaschine-fertig

                    Xenon 1 Reply Last reply Reply Quote 0
                    • O
                      oFbEQnpoLKKl6mbY5e13 @LordLolo last edited by

                      @lordlolo sagte in Anfängerfragen zu ioBroker und Homematic IP:

                      Als nächstes ist das Script für die Waschmaschine dran. Kann mir jemand einen Tipp geben, wie ich am besten messe oder am besten aufzeichne, bei welchem Stromfluss die Maschine läuft und was sie noch im Standby verbraucht?

                      History-Adapter.

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        LordLolo @oFbEQnpoLKKl6mbY5e13 last edited by

                        @ofbeqnpolkkl6mby5e13

                        Dankeschön!

                        1 Reply Last reply Reply Quote 0
                        • Xenon
                          Xenon Forum Testing Developer @Nordischerjung last edited by

                          @nordischerjung sagte in Anfängerfragen zu ioBroker und Homematic IP:

                          @lordlolo
                          Moin einfach mal nach Waschmaschinen Script suchen, gibt hier einige zB

                          https://forum.iobroker.net/topic/31853/gelöst-waschmaschinen-script?_=1613027667957

                          https://forum.iobroker.net/topic/9569/vorlage-blockly-meldung-wenn-waschmaschine-fertig

                          oder adapter "device-reminder" der exakt dafür entwickelt wurde

                          N 1 Reply Last reply Reply Quote 0
                          • N
                            Nordischerjung @Xenon last edited by

                            @xenon stimmt, hast recht. Den hatte ich ganz vergessen. Hab ich ja selber am laufen😁

                            Xenon 1 Reply Last reply Reply Quote 0
                            • Xenon
                              Xenon Forum Testing Developer @Nordischerjung last edited by

                              @nordischerjung 🙂

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

                              Support us

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

                              547
                              Online

                              31.9k
                              Users

                              80.2k
                              Topics

                              1.3m
                              Posts

                              6
                              24
                              4445
                              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