Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Netatmo Wetterstation und Alexa Meldungsausgabe

    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

    Netatmo Wetterstation und Alexa Meldungsausgabe

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mku last edited by

      Hallo Allerseits

      Da ich nichts derartiges gefunden habe hoffe ich das mir jemand von euch helfen kann.
      Vorab, ich bin ein absoluter iobroker Blockly anfänger.

      Was ich gerne realisieren möchte ist das wenn meine Netatmo Wetterstation in einem Raum einen erhöhten CO wert hat das Alexa erst die Lautstärke auf 30 stellt und dann sagt "Im Zimmer xy ist der CO Wert zu hoch bitte Fenster öffnen"

      Eigentlich klingt dies einfach aber bei mir funktioniert dies leider so nicht und evt. weiss einer von euch woran es liegt.
      Natürlich würde ich für jeden Raum ein eigenes Blockly erstellen.

      Hier das Script:

      <xml xmlns="http://www.w3.org/1999/xhtml">
      <block type="on_ext" id="g19,UYf??8g^:CDUTS$(" x="-187" y="-62">
      <mutation items="1"></mutation>
      <field name="CONDITION">ne</field>
      <field name="ACK_CONDITION"></field>
      <value name="OID0">
      <shadow type="field_oid" id="qjepK%H(YMCn{z(N;tQ,">
      <field name="oid">netatmo.0.H45.Wetterstation-EG.CO2.CO2</field>
      </shadow>
      </value>
      <statement name="STATEMENT">
      <block type="controls_if" id="GF5ENR*v6^A2Mu2dHj_p">
      <value name="IF0">
      <block type="logic_compare" id=";ml.8[*TRgNsR,p1X/zw">
      <field name="OP">GTE</field>
      <value name="A">
      <block type="get_value" id="|1!MB7[T2PBvnTLecg">
      <field name="ATTR">val</field>
      <field name="OID">netatmo.0.H45.Wetterstation-EG.CO2.CO2</field>
      </block>
      </value>
      <value name="B">
      <block type="math_number" id="{T?QIv1{L{7Pta6vEx8F">
      <field name="NUM">1000</field>
      </block>
      </value>
      </block>
      </value>
      <statement name="DO0">
      <block type="control" id="BYa%^i$cw$rrYirI{10f">
      <mutation delay_input="false"></mutation>
      <field name="OID">alexa2.0.Echo-Devices.G090QU0674422BGH.Commands.speak-volume</field>
      <field name="WITH_DELAY">FALSE</field>
      <value name="VALUE">
      <block type="math_number" id="q3%FlNm}JSC}79jrw4,P">
      <field name="NUM">30</field>
      </block>
      </value>
      <next>
      <block type="control" id="-9fRfSb_9C1dD``jGxuz">
      <mutation delay_input="false"></mutation>
      <field name="OID">alexa2.0.Echo-Devices.G090QU0674422BGH.Commands.speak</field>
      <field name="WITH_DELAY">FALSE</field>
      <value name="VALUE">
      <block type="text" id="Ul8$t[oQJDJYV2Y{1:|{">
      <field name="TEXT">Im Zimmer xy ist der CO Wert zu hoch bitte Fenster öffnen</field>
      </block>
      </value>
      </block>
      </next>
      </block>
      </statement>
      </block>
      </statement>
      </block>
      </xml>

      Vielen Dank für eure Hilfe

      1 Reply Last reply Reply Quote 0
      • J.A.R.V.I.S.
        J.A.R.V.I.S. Developer last edited by

        Hey,

        zunächst einmal, bitte setze Skripte und ähnliches in Codetags, damit man es besser lesen kann und zum anderen in einen Spoilertag, damit lange Skripte/XML Exporte/etc. nicht den ganzen Beitrag überfluten.

        Nun zu deinem Problem. Das Skript sieht soweit in Ordnung aus. Vielleicht solltest du mal die Werte während der Laufzeit ausgeben lassen.

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

        Support us

        ioBroker
        Community Adapters
        Donate

        481
        Online

        31.9k
        Users

        80.3k
        Topics

        1.3m
        Posts

        2
        2
        303
        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