Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Rolladen/Beschattung Blockly

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    23
    1
    1.3k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.3k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.5k

Rolladen/Beschattung Blockly

Geplant Angeheftet Gesperrt Verschoben Skripten / Logik
3 Beiträge 3 Kommentatoren 798 Aufrufe
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • totocotonioT Offline
    totocotonioT Offline
    totocotonio
    schrieb am zuletzt editiert von
    #1

    Hallo,

    ich habe mir folgendes einfaches Blockly zusammen geklickt.

    Es funktioniert aber nicht.

    Kann mir einer der Spezis vielleicht sagen wo ich da meinen Fehler eingebaut habe.

    1626_beschattung.jpg

    Hier der export

     <xml xmlns="http://www.w3.org/1999/xhtml"><block type="comment" id="025W,vKkAw^{oaLn#?{k" x="-837" y="-412"><field name="COMMENT">Kommentar</field>
        <next><block type="on" id="[A/^r*g:1xbUF4OHUqj!"><field name="OID">weatherunderground.0.current.temp_c</field>
            <field name="CONDITION">ne</field>
    
            <statement name="STATEMENT"><block type="controls_if" id="3drE2#7[?4(6%Xl(F)w{"><value name="IF0"><block type="time_compare" id="p9/4|1%s,,A;/BQ,-#:f"><mutation end_time="true"></mutation>
                    <field name="OPTION">between</field>
                    <field name="START_TIME">10:00</field>
                    <field name="END_TIME">20:00</field></block></value> 
                <statement name="DO0"><block type="controls_if" id="h|_NPlK@BJ=P!NR|r:7?"><mutation elseif="1"></mutation>
                    <value name="IF0"><block type="logic_operation" id="a.h`?p4?W/ZJii{yjRh+"><field name="OP">AND</field>
                        <value name="A"><block type="logic_compare" id="_5H;+jU5l.Au2K(7t=Wa"><field name="OP">GT</field>
                            <value name="A"><block type="get_value" id="r2V7h0ipiGV;W(~TB+12"><field name="ATTR">val</field>
                                <field name="OID">weatherunderground.0.current.temp_c</field></block></value> 
                            <value name="B"><block type="math_number" id="f;T3}6D]Xg/6z260.`fg"><field name="NUM">23</field></block></value></block></value> 
                        <value name="B"><block type="logic_compare" id="[8q+*CXWXyNrL-.rf#=H"><field name="OP">GT</field>
                            <value name="A"><block type="get_value" id="Gu88%e*lsH7=Q;Y.1j@w"><field name="ATTR">val</field>
                                <field name="OID">hm-rpc.0.NEQ1296140.1.BRIGHTNESS</field></block></value> 
                            <value name="B"><block type="math_number" id="#KxsJQ{}yh1V9@Zyo2Vm"><field name="NUM">200</field></block></value></block></value></block></value> 
                    <statement name="DO0"><block type="controls_if" id="7`4r`m*8qqH~w~4#QUcG"><value name="IF0"><block type="logic_compare" id=",`.,.AiYaFHV[0~WOCMc"><field name="OP">EQ</field>
                            <value name="A"><block type="get_value" id="CMXy.LP)L^.q*v!6YT=6"><field name="ATTR">val</field>
                                <field name="OID">hm-rpc.0.OEQ0429874.1.STATE</field></block></value> 
                            <value name="B"><block type="logic_boolean" id="MUtE)Y_XPETBvb+7}vq1"><field name="BOOL">FALSE</field></block></value></block></value> 
                        <statement name="DO0"><block type="control" id="iU@~#H2;bcdlY?QvL.zW"><mutation delay_input="false"></mutation>
                            <field name="OID">hm-rpc.0.OEQ0259191.1.LEVEL</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE"><block type="math_number" id="NvWqI9{*hSbI1n)KL6-O"><field name="NUM">70</field></block></value> 
                            <next><block type="control" id="XfjVm;;_1E[KES{?5X=u"><mutation delay_input="false"></mutation>
                                <field name="OID">hm-rpc.0.OEQ0259579.1.LEVEL</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE"><block type="math_number" id="[ai%|D3-NYC/Jd/Y^DK2"><field name="NUM">50</field></block></value> 
                                <next><block type="control" id="V]@n=;yFN7a}DGZ%cW~*"><mutation delay_input="false"></mutation>
                                    <field name="OID">hm-rpc.0.OEQ0050030.1.LEVEL</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE"><block type="math_number" id="ryu24Si)|b~Je*]^nEP9"><field name="NUM">50</field></block></value></block></next></block></next></block></statement> 
                        <next><block type="debug" id="c;B/43|A-AlvB+wjwUBQ"><field name="Severity">debug</field>
                            <value name="TEXT"><shadow type="text" id="67^Q=Kd)fij7+o3m0(Rj"><field name="TEXT">Beschattung</field></shadow></value></block></next></block></statement> 
                    <value name="IF1"><block type="logic_operation" id="#)WrPdx|S5eU||f8*;oW"><field name="OP">AND</field>
                        <value name="A"><block type="logic_compare" id="CP|Rw%pNYH2USxJNN+Xv"><field name="OP">LTE</field>
                            <value name="A"><block type="get_value" id="}PHqqS!AGZndv2+LrgZn"><field name="ATTR">val</field>
                                <field name="OID">weatherunderground.0.current.temp_c</field></block></value> 
                            <value name="B"><block type="math_number" id="4d/|k5M/gMH2j8TORCX4"><field name="NUM">23</field></block></value></block></value> 
                        <value name="B"><block type="logic_compare" id="uYkP3l;t~jhh9`a;chw!"><field name="OP">LT</field>
                            <value name="A"><block type="get_value" id="%je[;-7K~=s#oTV*+dYm"><field name="ATTR">val</field>
                                <field name="OID">hm-rpc.0.NEQ1296140.1.BRIGHTNESS</field></block></value> 
                            <value name="B"><block type="math_number" id="RU(0%J;QuQa)+6{@RMTT"><field name="NUM">210</field></block></value></block></value></block></value> 
                    <statement name="DO1"><block type="control" id="?:(?jC@rtT;t1){oI[2|"><mutation delay_input="false"></mutation>
                        <field name="OID">hm-rpc.0.OEQ0259191.1.LEVEL</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE"><block type="math_number" id="y%/y_!2m}M!fSr=Lek+J"><field name="NUM">100</field></block></value> 
                        <next><block type="control" id="t:nPDB`(UW1*JK[LZZ^;"><mutation delay_input="false"></mutation>
                            <field name="OID">hm-rpc.0.OEQ0259579.1.LEVEL</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE"><block type="math_number" id="#kpwOsrwW;N)NF.{Rf0B"><field name="NUM">100</field></block></value> 
                            <next><block type="control" id="]UAA`SjHrzIrapR]}gb~"><mutation delay_input="false"></mutation>
                                <field name="OID">hm-rpc.0.OEQ0050030.1.LEVEL</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE"><block type="math_number" id="^E9nzjSRk6-Vho8*E%YV"><field name="NUM">100</field></block></value></block></next></block></next></block></statement></block></statement></block></statement></block></next></block></xml> 
    

    Gruß Totocotonio

    Bin noch Anfänger in Sachen IO-Broker und lerne gerne dazu. :P

    1 Antwort Letzte Antwort
    0
    • AlCalzoneA Offline
      AlCalzoneA Offline
      AlCalzone
      Developer
      schrieb am zuletzt editiert von
      #2

      Auf den ersten Blick sehe ich kein Problem. Füg dir am besten innerhalb jeder Bedingung mal einen Debug-Block ein, damit du siehst, was aufgerufen wird und was nicht. Eventuell erkennst du dann schon dein Problem.

      Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

      1 Antwort Letzte Antwort
      0
      • R Offline
        R Offline
        Ralf.Grum
        schrieb am zuletzt editiert von
        #3

        Ich bin noch anfänger oder Leihe,

        Aber hebt das „sonst falls „nicht den ersten Block komplett aus für die Urzeit?

        Gruß Ralf

        1 Antwort Letzte Antwort
        0
        Antworten
        • In einem neuen Thema antworten
        Anmelden zum Antworten
        • Älteste zuerst
        • Neuste zuerst
        • Meiste Stimmen


        Support us

        ioBroker
        Community Adapters
        Donate

        721

        Online

        32.5k

        Benutzer

        81.7k

        Themen

        1.3m

        Beiträge
        Community
        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
        ioBroker Community 2014-2025
        logo
        • Anmelden

        • Du hast noch kein Konto? Registrieren

        • Anmelden oder registrieren, um zu suchen
        • Erster Beitrag
          Letzter Beitrag
        0
        • Home
        • Aktuell
        • Tags
        • Ungelesen 0
        • Kategorien
        • Unreplied
        • Beliebt
        • GitHub
        • Docu
        • Hilfe