Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Rollosteuerung-Umstieg CCU3 Programmen zu ioBroker

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    Rollosteuerung-Umstieg CCU3 Programmen zu ioBroker

    This topic has been deleted. Only users with topic management privileges can see it.
    • paul53
      paul53 @dslraser last edited by

      @dslraser sagte:

      Wenn Du dann mal den "Bezugswert" ändern möchtest, dann brauchst Du es nur ein einer Stelle ändern und nicht in jedem Script.

      Die beiden Datenpunkte "Helligkeitsschwelle_halb" und "Helligkeitsschwelle_schließen" können in weiteren Scripts verwendet werden.

      @Uli977 sagte:

      Das habe ich nicht verstanden....

      @dslraser schlägt vor, die beiden Grenzwerte (100, 120) in Datenpunkten zu halten.

      Uli977 1 Reply Last reply Reply Quote 0
      • Uli977
        Uli977 @paul53 last edited by

        @paul53 Ich glaube ich weiss ungefährt was ihr meint, aber ich weiss nicht wie ich es umsetze.

        Wiso kann ich eigentlich mein Skript nicht Spoilern. Der sagt mir immer zu viele zeichen.

        Gruß!

        paul53 1 Reply Last reply Reply Quote 0
        • paul53
          paul53 @Uli977 last edited by paul53

          @Uli977 sagte:

          aber ich weiss nicht wie ich es umsetze.

          Lass es wie es ist, aber packe die Schwellwert-Geschichte in einen Trigger.
          Übrigens, was passiert wenn es vor 17:15 Uhr schon dunkel (< 100) ist ?

          Uli977 1 Reply Last reply Reply Quote 0
          • Uli977
            Uli977 @paul53 last edited by

            @paul53 Dann passiert nix, ich weiss..... War mir zu komplex das zu umgehen....

            paul53 1 Reply Last reply Reply Quote 0
            • paul53
              paul53 @Uli977 last edited by

              @Uli977 sagte:

              War mir zu komplex

              Blockly_temp.JPG

              Uli977 1 Reply Last reply Reply Quote 0
              • Uli977
                Uli977 @paul53 last edited by

                @paul53

                • nicht Tür offen bezieht doch doch auf ein bestimmtes Fenster, oder
                • kann ich diesen für alle Fenster nutzen?

                Schickst du mir das noch mal

                paul53 1 Reply Last reply Reply Quote 0
                • paul53
                  paul53 @Uli977 last edited by

                  @Uli977 sagte:

                  nicht Tür offen bezieht doch doch auf ein bestimmtes Fenster,

                  Das muss sich auf das Fenster / die Tür beziehen, vor dem das Rollo ist. Ein offenes Fenster (Tür) soll ja das Schließen des zugehörigen Rollos verhindern. Oder ?

                  <xml xmlns="http://www.w3.org/1999/xhtml">
                   <variables>
                     <variable type="" id="Ncm:X[qf:qS{6|5({cYM">tuer_offen</variable>
                     <variable type="" id="6)C=TW2hD7gsi/LEpf11">halbdunkel</variable>
                     <variable type="" id="^#K2|,5Ao63h_grRi?(p">level</variable>
                     <variable type="" id="j6xqRg,0SMV@dV4NHczA">dunkel</variable>
                   </variables>
                   <block type="comment" id="(%Ctaav+f9CX+!g#j0|B" x="188" y="-263">
                     <field name="COMMENT">BRIGHTNESS</field>
                     <next>
                       <block type="on_ext" id="i+]-2^{%w,6Q+^nM7rTW">
                         <mutation items="1"></mutation>
                         <field name="CONDITION">ne</field>
                         <field name="ACK_CONDITION"></field>
                         <value name="OID0">
                           <shadow type="field_oid" id="#UdrLepQqY3.LIkI[e7i">
                             <field name="oid">default</field>
                           </shadow>
                         </value>
                         <statement name="STATEMENT">
                           <block type="controls_if" id=")D?B)%qFg.W+!L,dchss">
                             <mutation else="1"></mutation>
                             <value name="IF0">
                               <block type="logic_compare" id="Mtu{iG22e#ErRIEbN##V">
                                 <field name="OP">LT</field>
                                 <value name="A">
                                   <block type="on_source" id="f;M2oB8![hGS:/%y+;WG">
                                     <field name="ATTR">state.val</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="math_number" id="$_u(+7HpJDBlUZc|rTm)">
                                     <field name="NUM">120</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <statement name="DO0">
                               <block type="update" id="T:P?7crTqG^n@;(rhML%">
                                 <mutation delay_input="false"></mutation>
                                 <field name="OID">Object ID</field>
                                 <field name="WITH_DELAY">FALSE</field>
                                 <value name="VALUE">
                                   <block type="logic_boolean" id="_92Rq%[1bwNtNar:za-N">
                                     <field name="BOOL">TRUE</field>
                                   </block>
                                 </value>
                               </block>
                             </statement>
                             <statement name="ELSE">
                               <block type="update" id="D]a%Qui[Ndsv[n=fq$P0">
                                 <mutation delay_input="false"></mutation>
                                 <field name="OID">Object ID</field>
                                 <field name="WITH_DELAY">FALSE</field>
                                 <value name="VALUE">
                                   <block type="logic_boolean" id="MNo7{pF]nrv?ua/iOFGD">
                                     <field name="BOOL">FALSE</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="update" id="F@U@hYLVW,_S$1E3h:l1">
                                     <mutation delay_input="false"></mutation>
                                     <field name="OID">Object ID</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                     <value name="VALUE">
                                       <block type="logic_boolean" id="Rn*H*MHU*Sh}p2:)Tx=l">
                                         <field name="BOOL">FALSE</field>
                                       </block>
                                     </value>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                             <next>
                               <block type="controls_if" id=")|Knr}%;KHXVFQp=???p">
                                 <value name="IF0">
                                   <block type="logic_compare" id="D:Y4?4:+VE7;6v3F`Rq=">
                                     <field name="OP">LT</field>
                                     <value name="A">
                                       <block type="on_source" id="r]WY+bhIoA8D(bReuF4D">
                                         <field name="ATTR">state.val</field>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="math_number" id="#8Nh8sbu(FJaFwcJA!~z">
                                         <field name="NUM">100</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <statement name="DO0">
                                   <block type="update" id="]o;;8R%?VGX9FydfEw%n">
                                     <mutation delay_input="false"></mutation>
                                     <field name="OID">Object ID</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                     <value name="VALUE">
                                       <block type="logic_boolean" id="Yb+.jKw=.x]LWLtd?1]y">
                                         <field name="BOOL">TRUE</field>
                                       </block>
                                     </value>
                                   </block>
                                 </statement>
                               </block>
                             </next>
                           </block>
                         </statement>
                         <next>
                           <block type="variables_set" id="gAb$7n%a,,J.a~f]K77{">
                             <field name="VAR" id="Ncm:X[qf:qS{6|5({cYM" variabletype="">tuer_offen</field>
                             <value name="VALUE">
                               <block type="get_value" id="{9C%B.~.TrN)fEce(/JE">
                                 <field name="ATTR">val</field>
                                 <field name="OID">ID auswählen</field>
                               </block>
                             </value>
                             <next>
                               <block type="variables_set" id="UkN0UD6R.OlLKRQ%^uBV">
                                 <field name="VAR" id="j6xqRg,0SMV@dV4NHczA" variabletype="">dunkel</field>
                                 <value name="VALUE">
                                   <block type="get_value" id="^BbmswjqJ,bm/]D$i|Kl">
                                     <field name="ATTR">val</field>
                                     <field name="OID">ID auswählen</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="variables_set" id="~/wZ0zs4_TQyL8l9,P!h">
                                     <field name="VAR" id="6)C=TW2hD7gsi/LEpf11" variabletype="">halbdunkel</field>
                                     <value name="VALUE">
                                       <block type="get_value" id="h68j=]~*6:1]Gn#i++`m">
                                         <field name="ATTR">val</field>
                                         <field name="OID">ID auswählen</field>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="comment" id=")T/!1_tE#M,@]tghE6Vf">
                                         <field name="COMMENT">Schiebetür</field>
                                         <next>
                                           <block type="on_ext" id="G0X`qA)3/2u@!M/okZRK">
                                             <mutation items="1"></mutation>
                                             <field name="CONDITION">ne</field>
                                             <field name="ACK_CONDITION"></field>
                                             <value name="OID0">
                                               <shadow type="field_oid" id="T6nnPV.6Ufkya4tl%RfN">
                                                 <field name="oid">default</field>
                                               </shadow>
                                             </value>
                                             <statement name="STATEMENT">
                                               <block type="variables_set" id="5xajAGtkxz{^!,(W=(^:">
                                                 <field name="VAR" id="Ncm:X[qf:qS{6|5({cYM" variabletype="">tuer_offen</field>
                                                 <value name="VALUE">
                                                   <block type="on_source" id="9#^L{LOd`WZ{O/}Bn(ns">
                                                     <field name="ATTR">state.val</field>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="procedures_callnoreturn" id="P@!4RMF;=J|_rhpD~r.9">
                                                     <mutation name="Rollo_runter"></mutation>
                                                   </block>
                                                 </next>
                                               </block>
                                             </statement>
                                             <next>
                                               <block type="comment" id="|,79-+_kjZ898uw,Up1%">
                                                 <field name="COMMENT">Helligkeitsschwelle erreicht</field>
                                                 <next>
                                                   <block type="on_ext" id="6+BS?{POpim1T~DugodW">
                                                     <mutation items="1"></mutation>
                                                     <field name="CONDITION">ne</field>
                                                     <field name="ACK_CONDITION"></field>
                                                     <value name="OID0">
                                                       <shadow type="field_oid" id="+9+j.T_9FOd%|dfm0z2:">
                                                         <field name="oid">default</field>
                                                       </shadow>
                                                     </value>
                                                     <statement name="STATEMENT">
                                                       <block type="variables_set" id="5],2lBC-8i$=iUS6D]v[">
                                                         <field name="VAR" id="j6xqRg,0SMV@dV4NHczA" variabletype="">dunkel</field>
                                                         <value name="VALUE">
                                                           <block type="on_source" id="H]Wf{f,Z[@kYNQCorCCA">
                                                             <field name="ATTR">state.val</field>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="procedures_callnoreturn" id="m6j/x(hMJ4}xYMY)ltmN">
                                                             <mutation name="Rollo_runter"></mutation>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </statement>
                                                     <next>
                                                       <block type="on_ext" id="wzJ+qwsTf3N4R|YgTLDo">
                                                         <mutation items="1"></mutation>
                                                         <field name="CONDITION">ne</field>
                                                         <field name="ACK_CONDITION"></field>
                                                         <value name="OID0">
                                                           <shadow type="field_oid" id="+-Ylfo~3/ImbHne~Q.M9">
                                                             <field name="oid">default</field>
                                                           </shadow>
                                                         </value>
                                                         <statement name="STATEMENT">
                                                           <block type="variables_set" id="E:-JUJHu^U]]{F5xx#z.">
                                                             <field name="VAR" id="6)C=TW2hD7gsi/LEpf11" variabletype="">halbdunkel</field>
                                                             <value name="VALUE">
                                                               <block type="on_source" id="M`XLITx=1%1{+(Qs5zpr">
                                                                 <field name="ATTR">state.val</field>
                                                               </block>
                                                             </value>
                                                             <next>
                                                               <block type="procedures_callnoreturn" id="i(0^6{EcbTGYaFG^H+$T">
                                                                 <mutation name="Rollo_runter"></mutation>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </statement>
                                                         <next>
                                                           <block type="schedule" id="z}9=peP`Np}HCGcG]H4N">
                                                             <field name="SCHEDULE">16 17 * * *</field>
                                                             <statement name="STATEMENT">
                                                               <block type="procedures_callnoreturn" id="JgWWs`v3dCrP3Nl*i2VJ">
                                                                 <mutation name="Rollo_runter"></mutation>
                                                               </block>
                                                             </statement>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </next>
                       </block>
                     </next>
                   </block>
                   <block type="procedures_defnoreturn" id="DG*{%6FZcIc4OF!,i|%R" x="537" y="212">
                     <field name="NAME">Rollo_runter</field>
                     <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                     <statement name="STACK">
                       <block type="controls_if" id="tdGRY_XXa2{VzcrPdo`X">
                         <value name="IF0">
                           <block type="logic_operation" id="H+swYqDLmHSkPA77RCSm" inline="false">
                             <field name="OP">AND</field>
                             <value name="A">
                               <block type="logic_operation" id="~FWc]L|Rh!.[hZol#S@k" inline="false">
                                 <field name="OP">AND</field>
                                 <value name="A">
                                   <block type="logic_negate" id="5PB*=4m[(kSm5m0WlDxb">
                                     <value name="BOOL">
                                       <block type="variables_get" id="IvB#K}=Fq/H@uO3U2|m3">
                                         <field name="VAR" id="Ncm:X[qf:qS{6|5({cYM" variabletype="">tuer_offen</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="time_compare" id="1}33Tf8ODVa8[j:0yJG/">
                                     <mutation end_time="false"></mutation>
                                     <field name="OPTION">&gt;</field>
                                     <field name="START_TIME">17:15</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <value name="B">
                               <block type="logic_negate" id="?[]Ik3_heYZz:@.;L_BX">
                                 <value name="BOOL">
                                   <block type="get_value" id="J$lhf1:m-M(E]h|iq*h#">
                                     <field name="ATTR">val</field>
                                     <field name="OID">ID auswählen</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO0">
                           <block type="controls_if" id="H6+;h%Us3dkcMTgz?P`M">
                             <value name="IF0">
                               <block type="variables_get" id="u0k{p@_,Z14=:KcU2ZBq">
                                 <field name="VAR" id="6)C=TW2hD7gsi/LEpf11" variabletype="">halbdunkel</field>
                               </block>
                             </value>
                             <statement name="DO0">
                               <block type="variables_set" id="5xddmtC!DCNx#R,SB*Cg">
                                 <field name="VAR" id="^#K2|,5Ao63h_grRi?(p" variabletype="">level</field>
                                 <value name="VALUE">
                                   <block type="math_number" id="VDRj^n_`Y6bh5Jv1-,p$">
                                     <field name="NUM">60</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="controls_if" id=",}XcIJj]kX7|,qrRzbhL">
                                     <value name="IF0">
                                       <block type="variables_get" id="C?Hv@7y5p_AFfBlN`GM,">
                                         <field name="VAR" id="j6xqRg,0SMV@dV4NHczA" variabletype="">dunkel</field>
                                       </block>
                                     </value>
                                     <statement name="DO0">
                                       <block type="variables_set" id="E!AB/4XIpiaOg))*@48T">
                                         <field name="VAR" id="^#K2|,5Ao63h_grRi?(p" variabletype="">level</field>
                                         <value name="VALUE">
                                           <block type="math_number" id="6d.^]|x!~}{K^A2vQ7=K">
                                             <field name="NUM">0</field>
                                           </block>
                                         </value>
                                       </block>
                                     </statement>
                                     <next>
                                       <block type="controls_if" id="6`U$_7{v1jw;zOoVxV,r">
                                         <value name="IF0">
                                           <block type="logic_compare" id="F7N]QkM}NS*f=B[/k$e%">
                                             <field name="OP">GT</field>
                                             <value name="A">
                                               <block type="get_value" id="OJ.T4e%WQ7q9`3E{`Sfq">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">ID auswählen</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="variables_get" id="#zicgYN`I{%Y0myZ58oz">
                                                 <field name="VAR" id="^#K2|,5Ao63h_grRi?(p" variabletype="">level</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="control" id="gQWTv7A5fMV%1l7v^DhD">
                                             <mutation delay_input="true"></mutation>
                                             <field name="OID">Object ID</field>
                                             <field name="WITH_DELAY">TRUE</field>
                                             <field name="DELAY_MS">8</field>
                                             <field name="UNIT">sec</field>
                                             <field name="CLEAR_RUNNING">FALSE</field>
                                             <value name="VALUE">
                                               <block type="variables_get" id=".%Q:VAhS)Qcl=ws`Ad3l">
                                                 <field name="VAR" id="^#K2|,5Ao63h_grRi?(p" variabletype="">level</field>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                           </block>
                         </statement>
                       </block>
                     </statement>
                   </block>
                   <block type="comment" id="gxRodVCk{$PGmo1krlu3" x="1012" y="287">
                     <field name="COMMENT">Auto</field>
                   </block>
                  </xml>
                  

                  Uli977 3 Replies Last reply Reply Quote 0
                  • Uli977
                    Uli977 @paul53 last edited by

                    @paul53 Sag mal warum kann ich mein Skript nicht Spoiler. Bei mir sagt er immer zu viele Zeichen!

                    paul53 1 Reply Last reply Reply Quote 0
                    • Uli977
                      Uli977 @paul53 last edited by

                      @paul53 Aber ich hab ja diverse Fenster, brauche ich da jedes mal wieder dies hier

                      9650ffd2-91dc-4e14-977b-f784f9489c40-image.png

                      paul53 1 Reply Last reply Reply Quote 0
                      • paul53
                        paul53 @Uli977 last edited by

                        @Uli977 sagte:

                        zu viele Zeichen!

                        Was möchtest Du spoilern ? Den Blockly-Export (XML) ?
                        Innerhalb des Spoilers Code tags erzeugen und dann dort hinein kopieren.

                        Uli977 1 Reply Last reply Reply Quote 0
                        • Uli977
                          Uli977 @paul53 last edited by

                          @paul53 Ja mein Skript.... ich dache einfach copy und paste

                          was sind code tags?

                          paul53 1 Reply Last reply Reply Quote 0
                          • paul53
                            paul53 @Uli977 last edited by

                            @Uli977 sagte:

                            was sind code tags?

                            Oben das 5. Symbol von links: </>

                            1 Reply Last reply Reply Quote 0
                            • paul53
                              paul53 @Uli977 last edited by paul53

                              @Uli977 sagte:

                              diverse Fenster, brauche ich da jedes mal wieder dies hier

                              Du brauchst für jedes Fenster das komplette Skript (ohne die Auswertung von BRIGHTNESS). Deshalb ist copy & paste mittels Export / Import keine schlechte Idee.

                              Uli977 1 Reply Last reply Reply Quote 0
                              • Uli977
                                Uli977 @paul53 last edited by

                                @paul53

                                36f6b426-4535-44b4-b78e-ba7bf5652fc8-image.png

                                Ahhhhhhhhhhhhh!

                                BBTown Uli977 2 Replies Last reply Reply Quote 0
                                • BBTown
                                  BBTown @Uli977 last edited by

                                  @Uli977
                                  villeicht solltest Du dir einmal das hier anschauen?!
                                  https://forum.iobroker.net/topic/22405/test-adapter-shuttercontrol-v0-4-x

                                  Uli977 1 Reply Last reply Reply Quote 0
                                  • Uli977
                                    Uli977 @BBTown last edited by

                                    @BBTown Ja, ich habe kurz reingeschaut... aber ich glaube das gibt meinen Steuerungswunsch inkl. Helligkeit, Türabfrage usw nicht her... oder?

                                    BBTown simatec 2 Replies Last reply Reply Quote 0
                                    • BBTown
                                      BBTown @Uli977 last edited by

                                      @Uli977 sagte in Rollosteuerung-Umstieg CCU3 Programmen zu ioBroker:

                                      @BBTown Ja, ich habe kurz reingeschaut... aber ich glaube das gibt meinen Steuerungswunsch inkl. Helligkeit, Türabfrage usw nicht her... oder?

                                      Oh doch, und noch viel mehr ....

                                      Uli977 1 Reply Last reply Reply Quote 0
                                      • Uli977
                                        Uli977 @BBTown last edited by

                                        @BBTown hmm, ok.... vielleicht sollte ich mir es doch nochmal ansehen.
                                        Geht dass dann ohne Skripte?

                                        BBTown 1 Reply Last reply Reply Quote 0
                                        • BBTown
                                          BBTown @Uli977 last edited by

                                          @Uli977 fange doch einfach mal an zu lesen und zu verstehen und dann frage anschließend!

                                          Uli977 1 Reply Last reply Reply Quote 1
                                          • Uli977
                                            Uli977 @BBTown last edited by

                                            @BBTown Haste recht

                                            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

                                            933
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            iobroker rollladen rollladensteuerung rollo skript
                                            7
                                            145
                                            8497
                                            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