Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Praktische Anwendungen (Showcase)
    4. Thermometer mit WS2811 oder WS 2812

    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

    Thermometer mit WS2811 oder WS 2812

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

      Ich benötige mal ein paar kleine Tips.

      Ich möchte gerne einen Streifen als Thermometer in den Schuppen gegenüber ans Fenster bauen.
      Dazu möchte ich jede LED entsprechend der Temperatur verschiedenfarbig ansteuern und eventuell jede 5. LED in einer einzelnen Farbe.
      Denkst das lässt sich irgendwie umsetzen?

      Gedacht wäre das als Script das dann am Ende so aussehen soll:

      Eine LED für Temperatur zwischen -20°C und +30°C soll sich von Blau über Grün nach Rot verändern und auf die entsprechende Position wandern.

      Alle 5 oder 10 LEDs (je nach Länge des Streifens) soll eine LED fest leuchten als Digitalstrich bei -10; 0; +10 usw.

      Eventuell sollte die LED bei 0°C noch in einer anderen Farbe leuchten.

      In einem anderen Tread hat mir @liv-in-sky gezeigt das er das umgesetzt hat.
      Jetzt hoffe ich das er doch so nett ist und mir das hier erklärt wie er das gemacht hat.

      liv-in-sky joergeli 3 Replies Last reply Reply Quote 0
      • liv-in-sky
        liv-in-sky @Chaot last edited by liv-in-sky

        @Chaot wie schon erwähnt

        ich habe das thermometer mit tasmota (geflasht auf nodeMCU) - gelöst - wird also mit dem sonoff-adapter gesteuert bzw http - befehlen

        thermometer-k.png

        • geht von -5 bis +34
        • die aktuelle außentemp wird mit den 3 bauen punkten angezeigt
        • der rest der leds sind ein "leichtes" blau
        • das ganze ist in bereiche aufgeteilt: sind es über 20° werden die 3 punkte orange und die anderen ein "leichtes" orange - bei z.b über 30 ist die hauptfarbe lila ...

        dieser teil wird für dich wohl nicht so interessant sein:
        der grüne punkt zeigt die innentemperatur und je nachdem ob geheizt wird werden aus dem einem grünen punkt 2 punkte : ein soll- und ein ist-wert des zimmers

        als nächstes werde ich vielleicht noch meine handy akku kapazität anzeigen - in abwechslung mit der temp

        zurück zum thema

        • kannst du einen sonoff, nodeMCU oder einen wemos mit tasmota flashen ?
        • ich habe eine 5 volt usv stromversorgung für 1 Ampere genutzt - ist der aufbau klar für dich ?
        • der rest sind nur http befehle, die gestartet werden z.b.

        Image 4.png

        1 Reply Last reply Reply Quote 0
        • liv-in-sky
          liv-in-sky @Chaot last edited by liv-in-sky

          @Chaot nochmal etwas detailierter:

          • WLan und strom am installationsort vorhanden (wassergeschützt)

          • hardware - nodemcu, sonoff, wemos

          • 5 volt 2812b stripe - wassergeschützt

          • kleine stromversorgung (wie fürs handy) - habe ende des usb kabels abgeschnitten und die plus- und minus-leitung verwendet

          • evtl schrumpfschläuche

          • einen widerstand 470 ohm zwischen pin (nodemcu) und datenleitung des stripes

          • wenn es im außenbereich oder scheune ist, evtl eine kleine "tuppadose" in die man die nodemcu steckt

          • nodemcu geflasht, auf meine sonoffinstanz eingestellt und pixels (anzahl leds) auf die anzahl eingestellt

          • gescriptet - je nach anforderung

          Chaot 1 Reply Last reply Reply Quote 0
          • Chaot
            Chaot @liv-in-sky last edited by

            @liv-in-sky
            Danke schön.
            Ok checkliste:

            • WLan und Strom vorhanden

            • Wemos - Ne Handvoll minis und ein paar ESP32. Den letzten Wemos habe ich an der Decke mit den großen WLEDs verbaut. Muss ich mir schnell mal besorgen. Beim Mini reicht der Ausgang nicht aus für den Strip

            • Ich habe 7811 mit 12V. Wemos ran sollte kein Problem darstellen

            • 12V Netzteil mit 6A vorhanden. Sollte locker reichen

            • Widerstände vorhanden

            • Flashen und einbinden kein Problem

            • Script --- ja, da haperts. Das habe ich leider keinen so richtigen Plan wie ich das mit den Farben hinbekomme. Kannst du mir da bischen Schnipsel posten?

            liv-in-sky 1 Reply Last reply Reply Quote 0
            • liv-in-sky
              liv-in-sky @Chaot last edited by liv-in-sky

              @Chaot klasse - ein mann vom fach

              der nächste codeschnipsel enthält meine steuerung

              • getiggert auf meine aussentemp-anzeige - hängt an einem anderen sonoff und macht teleperiod1 alle 2 minuten - daher wird auch alle 2 minuten getriggert
              • ich habe ein anderes script, dass definiert mir die zonen für die temperatur - das benötige ich für meine vis. es teilt einfach die werte (je nach sommer oder winter) in verschiedene farben auf - d.h. alles unter 0 wird bereich 1 (weiß) - alles zw. 0 und 8 ist (blau) - alles zw. 8 und 16 ist bereich 3 (orange) alles zw. 16 und 20 ist bereich 4 (rot) und darüber heiß (lila) bereich 5 - im sommer sind die bereiche etwas anders definiert - im dp TemperaturWidget steht dann die zahl für den bereich
              • erster block (die if abfragen) die setzen die bereich-farbe und die gradzahl-farbe in abhängigkeit des datenpunktes Temperaturwidget - damit die gradzahlfarbe nicht zu hell wird, nutze ich eine hexzahl, die z.b zu blau gehört aber der letzte wert vor schwarz ist - sonst blendet das ! (https://www.w3schools.com/colors/colors_picker.asp
              • jetzt habe ich also definiert - dass die drei gradpunkte eine farbe haben (z.b. dunkles blau) und der restliche bereich ist hellblau ( ich zeige die tasächlichen grad mit 3 punkten an) - gültig für den bereich zwischen 0 und 8 grad - der bereich ist sowas wie die "hintergrundfarbe"
                als nächstes werden die leds gesteuert - in jedem request ist ein anderer befehl
              • der dimmwert gesetzt (10)
              • anschliessend der "hintergrund" (bereich) - alle leds werden z.b hellblau - die sind gedimmt
              • anschliessend die eigentliche gradzahl (der befehl, der einzelne leds schaltet, ist nicht vom dimmwert gesteuert - die werden mit 100 als dimmwert gesetzt - bisher konnte mir niemand sagen, wie man einzelne leds dimmt - alles oder nix ist die devise
                der grüne punkt - ganz oben ist für die heizungsanzeige - ist ein extra teil im script - für dich nicht wichtig, da du die scheune nicht heizt 🙂

              <block xmlns="http://www.w3.org/1999/xhtml" type="on" id="Z):K?1-mcwIA@t#{fG}e" x="-287" y="2688">
               <field name="OID">sonoff.0.Sonoff15.AM2301_Temperature</field>
               <field name="CONDITION">any</field>
               <field name="ACK_CONDITION"></field>
               <statement name="STATEMENT">
                 <block type="timeouts_settimeout" id="oyvS)DIb`2qzYqOY5BEX">
                   <field name="NAME">timeout7</field>
                   <field name="DELAY">2</field>
                   <field name="UNIT">sec</field>
                   <statement name="STATEMENT">
                     <block type="variables_set" id="U1151bPrX/e^@*6l6S^(">
                       <field name="VAR" id="p(*u+sC]*q4U:wuO]2Z-" variabletype="">tempwidget</field>
                       <value name="VALUE">
                         <block type="get_value" id="y7(MH[k*K5V]/v/u]F[m">
                           <field name="ATTR">val</field>
                           <field name="OID">controll-own.0.TemperaturWidget</field>
                         </block>
                       </value>
                       <next>
                         <block type="controls_if" id="Zbjmv|3$ERj3M$z?q^$I">
                           <value name="IF0">
                             <block type="logic_compare" id="G:WsBm?Mgvs:ueCOg@*u">
                               <field name="OP">EQ</field>
                               <value name="A">
                                 <block type="variables_get" id="jsVyX)=*462f]-ux=X]O">
                                   <field name="VAR" id="p(*u+sC]*q4U:wuO]2Z-" variabletype="">tempwidget</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="math_number" id="2~E{ZA$Dmb*;/8^1c|[#">
                                   <field name="NUM">1</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <statement name="DO0">
                             <block type="variables_set" id="p79emY]ir00RN/gRI6@)">
                               <field name="VAR" id="_[PpjSoW[=5Xd|0]Gn8q" variabletype="">bereich</field>
                               <value name="VALUE">
                                 <block type="text" id="fz)_3*^%_~-t_64dqBVb">
                                   <field name="TEXT">0f0f0f</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="variables_set" id="CQG]ooqk6A+C~AB%:1[-">
                                   <field name="VAR" id="T/3j(85c8[.+ch?gTfP#" variabletype="">gradzahl</field>
                                   <value name="VALUE">
                                     <block type="text" id="kfFf#(o$1AEW_0N{i8)k">
                                       <field name="TEXT">0f0f0f</field>
                                     </block>
                                   </value>
                                 </block>
                               </next>
                             </block>
                           </statement>
                           <next>
                             <block type="controls_if" id="-1H68k5b8QZ0{O)aD*ej">
                               <value name="IF0">
                                 <block type="logic_compare" id="Q{TBetY_=2CvLye)4,Pf">
                                   <field name="OP">EQ</field>
                                   <value name="A">
                                     <block type="variables_get" id="1ts/fwjlA:s/8Btuac[z">
                                       <field name="VAR" id="p(*u+sC]*q4U:wuO]2Z-" variabletype="">tempwidget</field>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="math_number" id="w`A+io@/EgBCx8FJ]_mb">
                                       <field name="NUM">2</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="variables_set" id="z#o)0=V}~*DIMN4yeQ{1">
                                   <field name="VAR" id="_[PpjSoW[=5Xd|0]Gn8q" variabletype="">bereich</field>
                                   <value name="VALUE">
                                     <block type="text" id="{N]A5lGd$MI+-h?m_$}o">
                                       <field name="TEXT">4da6ff</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="variables_set" id="Y5ZgS[Cgz3ybP9+FFRQN">
                                       <field name="VAR" id="T/3j(85c8[.+ch?gTfP#" variabletype="">gradzahl</field>
                                       <value name="VALUE">
                                         <block type="text" id="0|M5f+lW)mTT0$k;y/f_">
                                           <field name="TEXT">000a1a</field>
                                         </block>
                                       </value>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                               <next>
                                 <block type="controls_if" id="#_}~Wia#ifg?dX9~,kPS">
                                   <value name="IF0">
                                     <block type="logic_compare" id="kgrBJ;|=[Fd.4C8u2+Dp">
                                       <field name="OP">EQ</field>
                                       <value name="A">
                                         <block type="variables_get" id="Pf;Dk%BX.krt|PnG4X~J">
                                           <field name="VAR" id="p(*u+sC]*q4U:wuO]2Z-" variabletype="">tempwidget</field>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="math_number" id="hga:MR9t{3/1nO+1{r+o">
                                           <field name="NUM">3</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <statement name="DO0">
                                     <block type="variables_set" id="~VUQTe~s%t|HL*9]x8W?">
                                       <field name="VAR" id="_[PpjSoW[=5Xd|0]Gn8q" variabletype="">bereich</field>
                                       <value name="VALUE">
                                         <block type="text" id="~D/p3+i2:CX}#rbMaM=I">
                                           <field name="TEXT">e67300</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="variables_set" id="GitkebypjxIV5n]alk[h">
                                           <field name="VAR" id="T/3j(85c8[.+ch?gTfP#" variabletype="">gradzahl</field>
                                           <value name="VALUE">
                                             <block type="text" id="IN.QggRMtoo$amU*2{0I">
                                               <field name="TEXT">1a0f00</field>
                                             </block>
                                           </value>
                                         </block>
                                       </next>
                                     </block>
                                   </statement>
                                   <next>
                                     <block type="controls_if" id="K3=9,J8iV1vDrcppFV[+">
                                       <value name="IF0">
                                         <block type="logic_compare" id="j^33Rk[x}S1R|n!Fx/I%">
                                           <field name="OP">EQ</field>
                                           <value name="A">
                                             <block type="variables_get" id="kM(v{mEK%i31D^WTzEeF">
                                               <field name="VAR" id="p(*u+sC]*q4U:wuO]2Z-" variabletype="">tempwidget</field>
                                             </block>
                                           </value>
                                           <value name="B">
                                             <block type="math_number" id="pwD7r]:D%f{l@Y^RJ@Gy">
                                               <field name="NUM">4</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <statement name="DO0">
                                         <block type="variables_set" id=".G*CvC*;OB!r:$@t4$`_">
                                           <field name="VAR" id="_[PpjSoW[=5Xd|0]Gn8q" variabletype="">bereich</field>
                                           <value name="VALUE">
                                             <block type="text" id="2M8a$V^gLB8)_+nu~l9*">
                                               <field name="TEXT">ff3333</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="variables_set" id="E9nJGHDAr}S6f+1gO?JV">
                                               <field name="VAR" id="T/3j(85c8[.+ch?gTfP#" variabletype="">gradzahl</field>
                                               <value name="VALUE">
                                                 <block type="text" id="wbTCP;=bl@WtXWYE%Sr{">
                                                   <field name="TEXT">1a0500</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </next>
                                         </block>
                                       </statement>
                                       <next>
                                         <block type="controls_if" id="=xW(!5?X;mV|aWFsWz*%">
                                           <value name="IF0">
                                             <block type="logic_compare" id="WVK9_Za02JXiS5WjI#B)">
                                               <field name="OP">EQ</field>
                                               <value name="A">
                                                 <block type="variables_get" id="=JD*c/8f:,RmeB?`=Oi$">
                                                   <field name="VAR" id="p(*u+sC]*q4U:wuO]2Z-" variabletype="">tempwidget</field>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="math_number" id="@yLvN3Oug9W_LnMGDn|.">
                                                   <field name="NUM">5</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <statement name="DO0">
                                             <block type="variables_set" id="8G3Gq4{!:A8P3rZD3g0I">
                                               <field name="VAR" id="_[PpjSoW[=5Xd|0]Gn8q" variabletype="">bereich</field>
                                               <value name="VALUE">
                                                 <block type="text" id="mk1HS?,Z0V(U}wofoZG4">
                                                   <field name="TEXT">ff00ff</field>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="variables_set" id="HaT@yrG=GPC^)foV^w2L">
                                                   <field name="VAR" id="T/3j(85c8[.+ch?gTfP#" variabletype="">gradzahl</field>
                                                   <value name="VALUE">
                                                     <block type="text" id="cqY0p#hx5,E;SjAaXVpd">
                                                       <field name="TEXT">1a001a</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </next>
                                             </block>
                                           </statement>
                                           <next>
                                             <block type="comment" id="hu]RpljswJ+=7TLNSVhW">
                                               <field name="COMMENT">gedimmt</field>
                                               <next>
                                                 <block type="request" id="b;l#a]RHEvj|0$mhIuVO">
                                                   <mutation with_statement="false"></mutation>
                                                   <field name="WITH_STATEMENT">FALSE</field>
                                                   <field name="LOG"></field>
                                                   <value name="URL">
                                                     <shadow type="text" id="D|q@Q8Yuv4:[M_|WiFMD">
                                                       <field name="TEXT">http://192.168.178.139/cm?cmnd=Color%20100,0,30</field>
                                                     </shadow>
                                                     <block type="text_join" id="eUN3@Y^nD/y4*WE*{8FZ">
                                                       <mutation items="3"></mutation>
                                                       <value name="ADD0">
                                                         <block type="text" id="+_HTGWW~|7!4j!W{(,_B">
                                                           <field name="TEXT">http://192.168.178.139/cm?cmnd=Dimmer</field>
                                                         </block>
                                                       </value>
                                                       <value name="ADD1">
                                                         <block type="text" id="uI_jK`hFl`rYgCemiuvC">
                                                           <field name="TEXT">%20</field>
                                                         </block>
                                                       </value>
                                                       <value name="ADD2">
                                                         <block type="text" id="%rIA?gucv:_^_qy]{B#v">
                                                           <field name="TEXT">10</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="timeouts_settimeout" id="~gpKl[/da92Q@I[@jUgV">
                                                       <field name="NAME">timeout2</field>
                                                       <field name="DELAY">1</field>
                                                       <field name="UNIT">sec</field>
                                                       <statement name="STATEMENT">
                                                         <block type="comment" id="p~nn(wO9HsUFKH$D.@,J">
                                                           <field name="COMMENT">alle</field>
                                                           <next>
                                                             <block type="request" id="):FTN#X+(|[4`aJ=J0Jj">
                                                               <mutation with_statement="false"></mutation>
                                                               <field name="WITH_STATEMENT">FALSE</field>
                                                               <field name="LOG"></field>
                                                               <value name="URL">
                                                                 <shadow type="text" id="D|q@Q8Yuv4:[M_|WiFMD">
                                                                   <field name="TEXT">http://192.168.178.139/cm?cmnd=Color%20100,0,30</field>
                                                                 </shadow>
                                                                 <block type="text_join" id="BE1Iqqc+O(4(kq$qlSL(">
                                                                   <mutation items="3"></mutation>
                                                                   <value name="ADD0">
                                                                     <block type="text" id="ztqVI+;9sQZaMBTf4HgK">
                                                                       <field name="TEXT">http://192.168.178.139/cm?cmnd=Color2</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD1">
                                                                     <block type="text" id="HxOz$z+7+I{n_YuamxMp">
                                                                       <field name="TEXT">%20</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD2">
                                                                     <block type="variables_get" id="8Ni6eBu:M{``4yqU76Y2">
                                                                       <field name="VAR" id="_[PpjSoW[=5Xd|0]Gn8q" variabletype="">bereich</field>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                               <next>
                                                                 <block type="timeouts_settimeout" id="/gzTs-D(*2SCO45j=:/V">
                                                                   <field name="NAME">timeout</field>
                                                                   <field name="DELAY">4</field>
                                                                   <field name="UNIT">sec</field>
                                                                   <statement name="STATEMENT">
                                                                     <block type="comment" id="b*,M8:{$l0(wR597%5]m">
                                                                       <field name="COMMENT">die eigentliche gradzahl</field>
                                                                       <next>
                                                                         <block type="request" id="F1z]C#)t?Liq5kZ$,fb,">
                                                                           <mutation with_statement="false"></mutation>
                                                                           <field name="WITH_STATEMENT">FALSE</field>
                                                                           <field name="LOG"></field>
                                                                           <value name="URL">
                                                                             <shadow type="text" id="iQ~Gm)}=+`%{Cv*rB3Vn">
                                                                               <field name="TEXT">http://192.168.178.139/cm?cmnd=Led28%2010,0,0</field>
                                                                             </shadow>
                                                                             <block type="text_join" id="?szNw}3]cwZ9rN#YR~Ka">
                                                                               <mutation items="4"></mutation>
                                                                               <value name="ADD0">
                                                                                 <block type="text" id="tcsAqaP*o]zS6DcuN/Lv">
                                                                                   <field name="TEXT">http://192.168.178.139/cm?cmnd=Led</field>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="ADD1">
                                                                                 <block type="math_arithmetic" id="C.U-7#W#f+{:/fWXjk}C">
                                                                                   <field name="OP">ADD</field>
                                                                                   <value name="A">
                                                                                     <shadow type="math_number" id="3a=Bzq7rg8kabJ)}!@@H">
                                                                                       <field name="NUM">1</field>
                                                                                     </shadow>
                                                                                     <block type="math_round" id="(N^xSvx_(_k):k6Cn,H*">
                                                                                       <field name="OP">ROUNDUP</field>
                                                                                       <value name="NUM">
                                                                                         <shadow type="math_number" id="HGZY[/6RG+v1NOg}]P4g">
                                                                                           <field name="NUM">3.1</field>
                                                                                         </shadow>
                                                                                         <block type="get_value" id="q-opNuI;QaWI`tIQRx~;">
                                                                                           <field name="ATTR">val</field>
                                                                                           <field name="OID">sonoff.0.Sonoff15.AM2301_Temperature</field>
                                                                                         </block>
                                                                                       </value>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="B">
                                                                                     <shadow type="math_number" id="xYC/nNpjM{Jwo3p[BdXr">
                                                                                       <field name="NUM">5</field>
                                                                                     </shadow>
                                                                                   </value>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="ADD2">
                                                                                 <block type="text" id="[?NlEWng3Gd^a2:?wNFz">
                                                                                   <field name="TEXT">%20</field>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="ADD3">
                                                                                 <block type="variables_get" id="MwfEo.MuXpGDTK|;eZcN">
                                                                                   <field name="VAR" id="T/3j(85c8[.+ch?gTfP#" variabletype="">gradzahl</field>
                                                                                 </block>
                                                                               </value>
                                                                             </block>
                                                                           </value>
                                                                         </block>
                                                                       </next>
                                                                     </block>
                                                                   </statement>
                                                                   <next>
                                                                     <block type="timeouts_settimeout" id="T*Akp2^)MS`*DCVQB1)N">
                                                                       <field name="NAME">timeout3</field>
                                                                       <field name="DELAY">3</field>
                                                                       <field name="UNIT">sec</field>
                                                                       <statement name="STATEMENT">
                                                                         <block type="request" id="|E|)JpPy4O1dyC2n6g+J">
                                                                           <mutation with_statement="false"></mutation>
                                                                           <field name="WITH_STATEMENT">FALSE</field>
                                                                           <field name="LOG"></field>
                                                                           <value name="URL">
                                                                             <shadow type="text" id="iQ~Gm)}=+`%{Cv*rB3Vn">
                                                                               <field name="TEXT">http://192.168.178.139/cm?cmnd=Led28%2010,0,0</field>
                                                                             </shadow>
                                                                             <block type="text_join" id="1ed{R$[dn:^*#rSIT#d}">
                                                                               <mutation items="4"></mutation>
                                                                               <value name="ADD0">
                                                                                 <block type="text" id="yc~O*Y#b?CZP9bB8+Y]H">
                                                                                   <field name="TEXT">http://192.168.178.139/cm?cmnd=Led</field>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="ADD1">
                                                                                 <block type="math_arithmetic" id="~:}LfysxUg~2cm!awk7r">
                                                                                   <field name="OP">ADD</field>
                                                                                   <value name="A">
                                                                                     <shadow type="math_number" id="3a=Bzq7rg8kabJ)}!@@H">
                                                                                       <field name="NUM">1</field>
                                                                                     </shadow>
                                                                                     <block type="math_round" id="CzW_)7.VeHT((N`3R{/W">
                                                                                       <field name="OP">ROUNDUP</field>
                                                                                       <value name="NUM">
                                                                                         <shadow type="math_number" id="HGZY[/6RG+v1NOg}]P4g">
                                                                                           <field name="NUM">3.1</field>
                                                                                         </shadow>
                                                                                         <block type="get_value" id="btY!ybAkG`!N0%BoGTW^">
                                                                                           <field name="ATTR">val</field>
                                                                                           <field name="OID">sonoff.0.Sonoff15.AM2301_Temperature</field>
                                                                                         </block>
                                                                                       </value>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="B">
                                                                                     <shadow type="math_number" id="Q6/C-WFh%pgCIV=A]?dI">
                                                                                       <field name="NUM">6</field>
                                                                                     </shadow>
                                                                                   </value>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="ADD2">
                                                                                 <block type="text" id="O}2AW`V/hW2Gm@5X_g~#">
                                                                                   <field name="TEXT">%20</field>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="ADD3">
                                                                                 <block type="variables_get" id=";r+p6Ile*G=o1P/}{|a8">
                                                                                   <field name="VAR" id="T/3j(85c8[.+ch?gTfP#" variabletype="">gradzahl</field>
                                                                                 </block>
                                                                               </value>
                                                                             </block>
                                                                           </value>
                                                                         </block>
                                                                       </statement>
                                                                       <next>
                                                                         <block type="timeouts_settimeout" id="U~%Bn1sJm/l@iv*dA4,~">
                                                                           <field name="NAME">timeout4</field>
                                                                           <field name="DELAY">5</field>
                                                                           <field name="UNIT">sec</field>
                                                                           <statement name="STATEMENT">
                                                                             <block type="request" id="9I-WK:KnFS:7/oKi{F$z">
                                                                               <mutation with_statement="false"></mutation>
                                                                               <field name="WITH_STATEMENT">FALSE</field>
                                                                               <field name="LOG"></field>
                                                                               <value name="URL">
                                                                                 <shadow type="text" id="iQ~Gm)}=+`%{Cv*rB3Vn">
                                                                                   <field name="TEXT">http://192.168.178.139/cm?cmnd=Led28%2010,0,0</field>
                                                                                 </shadow>
                                                                                 <block type="text_join" id="s3#@Z]uK}ac5Bc6W=N_+">
                                                                                   <mutation items="4"></mutation>
                                                                                   <value name="ADD0">
                                                                                     <block type="text" id="OtA#W6s9~2is[ffH(#S]">
                                                                                       <field name="TEXT">http://192.168.178.139/cm?cmnd=Led</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD1">
                                                                                     <block type="math_arithmetic" id="VwsdpuTQ%pPe{x(/wir#">
                                                                                       <field name="OP">ADD</field>
                                                                                       <value name="A">
                                                                                         <shadow type="math_number" id="6DE]ZaCiP(5QZ#I2Pya5">
                                                                                           <field name="NUM">1</field>
                                                                                         </shadow>
                                                                                         <block type="math_round" id="Vck(zq2fbOOxW_i9qhnZ">
                                                                                           <field name="OP">ROUNDUP</field>
                                                                                           <value name="NUM">
                                                                                             <shadow type="math_number" id="HGZY[/6RG+v1NOg}]P4g">
                                                                                               <field name="NUM">3.1</field>
                                                                                             </shadow>
                                                                                             <block type="get_value" id="u,_{:$!D:rf;(G6H|ZK3">
                                                                                               <field name="ATTR">val</field>
                                                                                               <field name="OID">sonoff.0.Sonoff15.AM2301_Temperature</field>
                                                                                             </block>
                                                                                           </value>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="B">
                                                                                         <shadow type="math_number" id=";|2FdZx]IcXI1s`M^sCe">
                                                                                           <field name="NUM">7</field>
                                                                                         </shadow>
                                                                                       </value>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD2">
                                                                                     <block type="text" id="!+XHoBj-nOgpF@n!Aus:">
                                                                                       <field name="TEXT">%20</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD3">
                                                                                     <block type="variables_get" id="G4BDq}NhTn+^tHKS=Z]B">
                                                                                       <field name="VAR" id="T/3j(85c8[.+ch?gTfP#" variabletype="">gradzahl</field>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </value>
                                                                             </block>
                                                                           </statement>
                                                                           <next>
                                                                             <block type="timeouts_settimeout" id="(/y7+ZuFl2|VgPA[zvL?" disabled="true">
                                                                               <field name="NAME">timeout6</field>
                                                                               <field name="DELAY">5</field>
                                                                               <field name="UNIT">sec</field>
                                                                               <statement name="STATEMENT">
                                                                                 <block type="request" id="-+Am@QguSY0_ky_?+t@(">
                                                                                   <mutation with_statement="false"></mutation>
                                                                                   <field name="WITH_STATEMENT">FALSE</field>
                                                                                   <field name="LOG"></field>
                                                                                   <value name="URL">
                                                                                     <shadow type="text" id="iQ~Gm)}=+`%{Cv*rB3Vn">
                                                                                       <field name="TEXT">http://192.168.178.139/cm?cmnd=Led28%2010,0,0</field>
                                                                                     </shadow>
                                                                                     <block type="text_join" id="-goy#]@-o!tFe`S-@5Ox">
                                                                                       <mutation items="4"></mutation>
                                                                                       <value name="ADD0">
                                                                                         <block type="text" id=",or_%sy9).GRoDE*rs!l">
                                                                                           <field name="TEXT">http://192.168.178.139/cm?cmnd=Led</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="ADD1">
                                                                                         <block type="math_arithmetic" id="khvq?lF2*C:R84)/[^uI">
                                                                                           <field name="OP">ADD</field>
                                                                                           <value name="A">
                                                                                             <shadow type="math_number" id="6DE]ZaCiP(5QZ#I2Pya5">
                                                                                               <field name="NUM">1</field>
                                                                                             </shadow>
                                                                                             <block type="math_round" id="?T/GU~4{qzXmlv3)ra22">
                                                                                               <field name="OP">ROUNDUP</field>
                                                                                               <value name="NUM">
                                                                                                 <shadow type="math_number" id="HGZY[/6RG+v1NOg}]P4g">
                                                                                                   <field name="NUM">3.1</field>
                                                                                                 </shadow>
                                                                                                 <block type="math_round" id="vy93=FDG=`4t^0%dV*K|">
                                                                                                   <field name="OP">ROUNDUP</field>
                                                                                                   <value name="NUM">
                                                                                                     <shadow type="math_number" id="HGZY[/6RG+v1NOg}]P4g">
                                                                                                       <field name="NUM">3.1</field>
                                                                                                     </shadow>
                                                                                                     <block type="get_value" id="4w.c1amNM@3+`V:!3qyp">
                                                                                                       <field name="ATTR">val</field>
                                                                                                       <field name="OID">fritzdect.0.Comet_119590404152.actualtemp</field>
                                                                                                     </block>
                                                                                                   </value>
                                                                                                 </block>
                                                                                               </value>
                                                                                             </block>
                                                                                           </value>
                                                                                           <value name="B">
                                                                                             <shadow type="math_number" id="xP6(3Q/+E{?gzmVAH45r">
                                                                                               <field name="NUM">5</field>
                                                                                             </shadow>
                                                                                           </value>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="ADD2">
                                                                                         <block type="text" id="=B/RIYD7`h5j#Kr)[SW=">
                                                                                           <field name="TEXT">%20</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="ADD3">
                                                                                         <block type="text" id="^I%gcve)`%n-1VoVN*u4">
                                                                                           <field name="TEXT">230,230,0</field>
                                                                                         </block>
                                                                                       </value>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </statement>
                                                                               <next>
                                                                                 <block type="timeouts_settimeout" id="EE5L`a)CYBoOy,XkM+T2" disabled="true">
                                                                                   <field name="NAME">timeout5</field>
                                                                                   <field name="DELAY">6</field>
                                                                                   <field name="UNIT">sec</field>
                                                                                   <statement name="STATEMENT">
                                                                                     <block type="request" id="p2.;i/=LYUqEj`hdASia">
                                                                                       <mutation with_statement="false"></mutation>
                                                                                       <field name="WITH_STATEMENT">FALSE</field>
                                                                                       <field name="LOG">log</field>
                                                                                       <value name="URL">
                                                                                         <shadow type="text" id="D|q@Q8Yuv4:[M_|WiFMD">
                                                                                           <field name="TEXT">http://192.168.178.139/cm?cmnd=Color%20100,0,30</field>
                                                                                         </shadow>
                                                                                         <block type="text_join" id="*L3bB_?,!~*P6dfJIz5S">
                                                                                           <mutation items="3"></mutation>
                                                                                           <value name="ADD0">
                                                                                             <block type="text" id="8erVL|PtRi9Pi9lSK4-(">
                                                                                               <field name="TEXT">http://192.168.178.139/cm?cmnd=Dimmer</field>
                                                                                             </block>
                                                                                           </value>
                                                                                           <value name="ADD1">
                                                                                             <block type="text" id="]=6MB?S5n){{yh~MM33H">
                                                                                               <field name="TEXT">%20</field>
                                                                                             </block>
                                                                                           </value>
                                                                                           <value name="ADD2">
                                                                                             <block type="text" id="}nVbISr|la[4D8A/?3=%">
                                                                                               <field name="TEXT">20</field>
                                                                                             </block>
                                                                                           </value>
                                                                                         </block>
                                                                                       </value>
                                                                                     </block>
                                                                                   </statement>
                                                                                 </block>
                                                                               </next>
                                                                             </block>
                                                                           </next>
                                                                         </block>
                                                                       </next>
                                                                     </block>
                                                                   </next>
                                                                 </block>
                                                               </next>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </statement>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </statement>
                 </block>
               </statement>
              </block>
              

              script für die bereiche

              <block xmlns="http://www.w3.org/1999/xhtml" type="on" id="P,hBK85~7M^+Q#_94w03" x="-37.7359619140625" y="-112.01887512207031">
               <field name="OID">sonoff.0.Sonoff15.AM2301_Temperature</field>
               <field name="CONDITION">ne</field>
               <field name="ACK_CONDITION"></field>
               <statement name="STATEMENT">
                 <block type="controls_if" id="=TT:kQoZQZ~m623`vl^J">
                   <mutation elseif="4"></mutation>
                   <value name="IF0">
                     <block type="logic_compare" id=";8aq/},pNkJ@uFoI(+JF">
                       <field name="OP">LTE</field>
                       <value name="A">
                         <block type="get_value" id="!Z`1kl)T3u9{VV7YaNj)">
                           <field name="ATTR">val</field>
                           <field name="OID">sonoff.0.Sonoff15.AM2301_Temperature</field>
                         </block>
                       </value>
                       <value name="B">
                         <block type="math_number" id="Nph@)U.8KmOz)UPvx7)g">
                           <field name="NUM">0</field>
                         </block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO0">
                     <block type="control" id="=akDVOMoU%~%W_7NPJvy">
                       <mutation delay_input="false"></mutation>
                       <field name="OID">controll-own.0.TemperaturWidget</field>
                       <field name="WITH_DELAY">FALSE</field>
                       <value name="VALUE">
                         <block type="math_number" id="]N=-XE#T][T^AKVMWZh1">
                           <field name="NUM">1</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                   <value name="IF1">
                     <block type="logic_operation" id="t#/#TA=ikQP;0+j|M^Za">
                       <field name="OP">AND</field>
                       <value name="A">
                         <block type="logic_compare" id="aNWAW[oCP^v599m%f+4D">
                           <field name="OP">GT</field>
                           <value name="A">
                             <block type="get_value" id="8,^%*CL9rI8#bWmj6NA$">
                               <field name="ATTR">val</field>
                               <field name="OID">sonoff.0.Sonoff15.AM2301_Temperature</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="math_number" id="xO+:WZ!y04z]yR#S4|f(">
                               <field name="NUM">0</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <value name="B">
                         <block type="logic_compare" id="0.r,u%4.q;HKwL3^+:2T">
                           <field name="OP">LTE</field>
                           <value name="A">
                             <block type="get_value" id="~No9l?3xg!]Lfn!_$iMd">
                               <field name="ATTR">val</field>
                               <field name="OID">sonoff.0.Sonoff15.AM2301_Temperature</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="math_number" id="^H}|FqYl2.frrHb=NRj4">
                               <field name="NUM">5</field>
                             </block>
                           </value>
                         </block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO1">
                     <block type="control" id="ngf1/D1d}Yyn#Ko0ewVK">
                       <mutation delay_input="false"></mutation>
                       <field name="OID">controll-own.0.TemperaturWidget</field>
                       <field name="WITH_DELAY">FALSE</field>
                       <value name="VALUE">
                         <block type="math_number" id="-u0zyK%i#;)mpukrS`gf">
                           <field name="NUM">2</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                   <value name="IF2">
                     <block type="logic_operation" id="Y:(20|6A+emZx`c9DDM-">
                       <field name="OP">AND</field>
                       <value name="A">
                         <block type="logic_compare" id="~A?vcMVDwEbpP8F6;fWG">
                           <field name="OP">GTE</field>
                           <value name="A">
                             <block type="get_value" id="(x1WyrF|yb7L%YoZ!L[7">
                               <field name="ATTR">val</field>
                               <field name="OID">sonoff.0.Sonoff15.AM2301_Temperature</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="math_number" id="PPvIaFhU6u~j1UzP|!^E">
                               <field name="NUM">5</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <value name="B">
                         <block type="logic_compare" id="A5fT+rh5Qw|7@ntT,hv)">
                           <field name="OP">LTE</field>
                           <value name="A">
                             <block type="get_value" id=",E]jTz2/;U$HzCHmEnSU">
                               <field name="ATTR">val</field>
                               <field name="OID">sonoff.0.Sonoff15.AM2301_Temperature</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="math_number" id="bd@dy22)cs;y)8mVfHgD">
                               <field name="NUM">10</field>
                             </block>
                           </value>
                         </block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO2">
                     <block type="control" id="iS*[__Ye((v`O?7A/I`e">
                       <mutation delay_input="false"></mutation>
                       <field name="OID">controll-own.0.TemperaturWidget</field>
                       <field name="WITH_DELAY">FALSE</field>
                       <value name="VALUE">
                         <block type="math_number" id="o-Vx#~^FH/17@lgVTY*#">
                           <field name="NUM">3</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                   <value name="IF3">
                     <block type="logic_operation" id="4J2-~M=pPBC*Ke~QBuAi">
                       <field name="OP">AND</field>
                       <value name="A">
                         <block type="logic_compare" id="6tOAcov@!b^(]}!)N!hf">
                           <field name="OP">GT</field>
                           <value name="A">
                             <block type="get_value" id="#6rH@YWjf$KvuSr~cMg?">
                               <field name="ATTR">val</field>
                               <field name="OID">sonoff.0.Sonoff15.AM2301_Temperature</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="math_number" id="ZmDA9*?`dQ@l|cm`/Q40">
                               <field name="NUM">10</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <value name="B">
                         <block type="logic_compare" id="@69@;T}y*ldxUFXUVZ)c">
                           <field name="OP">LTE</field>
                           <value name="A">
                             <block type="get_value" id="pd6]qB{iG13+!j@;*r|8">
                               <field name="ATTR">val</field>
                               <field name="OID">sonoff.0.Sonoff15.AM2301_Temperature</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="math_number" id="a`S274tA-SYpKa_KisZ)">
                               <field name="NUM">17</field>
                             </block>
                           </value>
                         </block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO3">
                     <block type="control" id="x=waNzSSz/55(Zf,strP">
                       <mutation delay_input="false"></mutation>
                       <field name="OID">controll-own.0.TemperaturWidget</field>
                       <field name="WITH_DELAY">FALSE</field>
                       <value name="VALUE">
                         <block type="math_number" id="Axu7)7!}4;AeN)~CL-nu">
                           <field name="NUM">4</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                   <value name="IF4">
                     <block type="logic_compare" id="]v/y~Ws~]Wc]0(r_=hxL">
                       <field name="OP">GT</field>
                       <value name="A">
                         <block type="get_value" id="G1p=91vV?o5Q`wFrhlC:">
                           <field name="ATTR">val</field>
                           <field name="OID">sonoff.0.Sonoff15.AM2301_Temperature</field>
                         </block>
                       </value>
                       <value name="B">
                         <block type="math_number" id="k9xsCT.6hE,.rnpvC2ST">
                           <field name="NUM">17</field>
                         </block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO4">
                     <block type="control" id="SgXdPXuso1M9svcBRJU@">
                       <mutation delay_input="false"></mutation>
                       <field name="OID">controll-own.0.TemperaturWidget</field>
                       <field name="WITH_DELAY">FALSE</field>
                       <value name="VALUE">
                         <block type="math_number" id="G(8#UEgx/fX/^F0r3~Td">
                           <field name="NUM">5</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                 </block>
               </statement>
              </block>
              

              Chaot 1 Reply Last reply Reply Quote 0
              • Chaot
                Chaot @liv-in-sky last edited by

                @liv-in-sky
                Ok, Block 2 läuft mit dem Datenpunkt beschreiben.
                Block 1 muss ich mir dann mal antun wenn die passende Hardware da ist. (irgendwo liegt noch ein Wemos. ich finde den bloß nicht)
                Ich habe mir das alles viel komlizierter aufgebaut und wollte das ursprünglich über Rules steuern. Aber da war dann meine Vorlage deutlich zu lang:
                Thermometer.txt

                liv-in-sky 1 Reply Last reply Reply Quote 0
                • liv-in-sky
                  liv-in-sky @Chaot last edited by

                  @Chaot das wäre mir zu kompliziert über rules

                  was auch gut aussieht ist die batterie anzeige meines handys - die läuft von unten nach oben in verschiedenen farben (auch in bereiche aufgeteilt) bis zu dem punkt des akkustandes - der rest soll dann schwarz sein

                  habe das auch mit der temp gemacht - aber noch nicht ausgereift - also die temp läuft bei der anzeige von unten nach oben und bleibt bei der momentanen temp stehen

                  aber eine andere frage - ich würde gerne eine doppelte led anzeige machen - also 2 strings nebeneinander - weißt du ob das schalttechnisch geht, die beiden led stripes einfach parallel an den wemos zu hängen ? - die leds sollen ja auch das gleiche anzeigen - halt nur doppelt

                  Chaot 1 Reply Last reply Reply Quote 0
                  • Chaot
                    Chaot @liv-in-sky last edited by

                    @liv-in-sky
                    Zwei Streifen parallel geht vermutlich nicht. Der Wemos hat zu tun die benötigte Spannung für die erste LED aufzubringen. Bei zwei LEDs am Ausgang bricht dem vermutlich die Spannung zusammen.

                    Solange der Wemos noch nicht da ist werde ich mir das Script mal vorknöpfen.
                    Die Basis schaut wirklich gut aus. Aber ich will mirdas estwas umfangreicher anbauen.
                    Auch den Temperaturbereich werde ich weiter ausdehnen. Ich will das ehrlich gesagt nicht im Sommer anpassen sondern schlicht als Run and forget einbauen.
                    Das ist ja auch nicht für mich so ganz alleine.
                    Das Fenster in dem Schuppen ist von fast allen Nachbarn aus zu sehen. Und die haben schon gefragt ob ich ein Temperaturdisplay dort setzen kann.
                    Klar, eine große Digitalanzeige könnte ich auch problemlos. Aber das kann ja jeder und bekommt man an jeder Ecke. Sowas gefällt mir nicht.

                    liv-in-sky 1 Reply Last reply Reply Quote 0
                    • liv-in-sky
                      liv-in-sky @Chaot last edited by

                      @Chaot

                      wieso muss der wemos strom für die led aufbringen, dafür ist doch die externe stromversorgung da - die ist ja auch direkt mit dem stripe verbunden - es wird ja nur das datenkabel am pin doppelt angebracht - aber natürlich könnte das auch zu viel ziehen

                      das mit dem sommer könnte man auch leicht ändern - man kann ja im bereiche script mit variablen arbeiten, die je nach datum anders gesetzt werden

                      Chaot 1 Reply Last reply Reply Quote 0
                      • Chaot
                        Chaot @liv-in-sky last edited by

                        @liv-in-sky Da der Wemos immer noch nicht hier ist habe ich mich etwas näher mit dem WLED beschäftigt und eine interessante Lösung gefunden:

                        Der Effekt wird auf "Percent(98)" eingestellt
                        Über den Wert ix (Effect intensity) wird die Höhe des Balkens (in %) bestimmt.
                        Dann noch bei ...col.0 die Primary Color per script ändern und das sollte recht akzeptabel aussehen.
                        Jetzt werde ich mal versuchen mir da ein passendes Script zurechtzuzimmern.

                        liv-in-sky 1 Reply Last reply Reply Quote 0
                        • liv-in-sky
                          liv-in-sky @Chaot last edited by

                          @Chaot ich finde Percent(98) nicht - hast du eine andere software - meine 0.9.0.b1

                          Chaot 1 Reply Last reply Reply Quote 0
                          • Chaot
                            Chaot @liv-in-sky last edited by

                            @liv-in-sky Firmware WLED 0.9.1 (build 2002222)

                            liv-in-sky 1 Reply Last reply Reply Quote 0
                            • liv-in-sky
                              liv-in-sky @Chaot last edited by

                              @Chaot das könnte es sein

                              das bedeutet: die leds laufen von led 0 bis "eine prozentzahl" , was dann die temp darstellen würde

                              wäre mir zu wenig - ich brauche definitiv einzelne led's zum steuern - so kann ich mehrere anzeigen mit einander verbinden. z.b die temp außen plus weiter oben die leds für die temp innen und den ist- und soll-zustand der heizung und ob sie eingeschaltet ist

                              aber du hast ja auch ein anderes ziel wie ich

                              Chaot 1 Reply Last reply Reply Quote 0
                              • Chaot
                                Chaot @liv-in-sky last edited by

                                @liv-in-sky Das hängt jetzt von der Länge deines Streifens ab. Das lässt sich ja realisieren über die Segmente. In dem Fall reichen dann ja 10 Stück locker aus.

                                Seg1: 1 bis 58 Temp Außen (als Prozent)
                                Seg2: 59 (static)
                                Seg3: 60 bis 68 Temp innen (als Prozent)
                                Seg4: 69 (static)
                                Seg5: 70 bis 72 Heizung an/aus (als Static)

                                Und als Bonus noch jeweils ein Segment dazwischen mit 1 LED in einer anderen Farbe als Trenner.

                                Leider spinnt der Adapter bei mir rum und schreibt mir das Log voller Fehler. Da muss ich erst mal suchen. Aber ich denke das sollte so umsetzbar sein.

                                liv-in-sky 1 Reply Last reply Reply Quote 0
                                • liv-in-sky
                                  liv-in-sky @Chaot last edited by

                                  @Chaot aber nur theoretisch - die segmente werden manchmal "vergessen" - war alles sehr instabil - mit webseite konfiguriert - daher bleib ich auf tasmota

                                  Chaot 1 Reply Last reply Reply Quote 0
                                  • Chaot
                                    Chaot @liv-in-sky last edited by

                                    @liv-in-sky Ich halte mir aktuell mal beide Optionen offen. Mein Vorteil ist das bei mir der Stripe noch nicht verbaut ist und ich mir in Ruhe raussuchen kann was besser läuft 😊

                                    liv-in-sky 1 Reply Last reply Reply Quote 0
                                    • liv-in-sky
                                      liv-in-sky @Chaot last edited by

                                      @Chaot ist ne gute idee

                                      1 Reply Last reply Reply Quote 0
                                      • joergeli
                                        joergeli @Chaot last edited by joergeli

                                        @Chaot
                                        Moin,
                                        Angeregt von Eurer Diskussion, hier mal meine meine RGB-Thermometer-Variante:
                                        (die Farben werden von meiner Tablet-Cam nicht so gut dargestellt, wie in natura)

                                        prototyp1.jpg
                                        prototyp2.jpg
                                        Thermometer1.jpg
                                        Thermometer2.jpg

                                        Das läuft nicht mit WLED, sondern auf einer selbst geflashten NodeMCU (WEMOS D1 mini sollte auch funktionieren)
                                        über MQTT, d.h. es muss WLAN am Aufstellungsort vorhanden sein.
                                        Das Übertragungs-Prinzip ist das gleiche, wie bei meinem LED-Status-Display .
                                        Es können 2 Temperaturen (Innen/Aussen) angezeigt werden.

                                        Was kann es?:
                                        1.) Hinterleuchtete Skala (Helligkeit vom Umgebungslicht abhängig) von -15°C bis +45°C, Skalenlänge ca. 45 cm.
                                        Für die Beleuchtung habe ich einen "normalen" LED-Stripe 12V, warmweiß verwendet.
                                        2.) WS2812 RGB-Stripe mit 144 Leds/m, wovon aber nur 61 LEDs genutzt werden.
                                        3.) auf dem RGB-Stripe wird alle 5°C eine schwach blau leuchtende LED zur besseren Ablesbarkeit eingeschaltet.
                                        4.) Innentemperatur wird an entspr. Stelle mit hell leuchtender LED in gelb angezeigt.
                                        5.) Aussentemperatur wird an entspr. Stelle mit je nach Temperatur unterschiedlichen Farben angezeigt (violett, blau, weiß, türkis, hellgrün, grün, orange, rot, violett)
                                        6.) Kurze Farb-Animation der entspr. LED, wenn sich ein Temperaturwert ändert.

                                        Verbaut habe ich das Ganze in einem Bilderrahmen ( s. Fotos), der an einem 12V-Seilsystem befestigt ist und von der Decke hängt.
                                        Das Seilsystem dient dabei zum Einen als Aufhängung für den Bilderrahmen und zum Anderen als Spannungsversorgung für die Elektronik.
                                        Ist natürlich Geschmackssache, was man für ein Gehäuse wählt/bastelt, bei mir hat es halt ganz gut zu den anderen, bereits vorhandenen Bilderrahmen gepasst.

                                        Anbei der Schaltplan:
                                        Schaltplan_Big_Thermometer.jpg
                                        Anmerkung: Die Helligkeits-Steuerung für die Hinterleuchtung der Skala musste ich (leider) analog mit einem Transistor bauen. Theoretisch könnte das auch die NodeMCU übernehmen, aber dann hat mein Sketch zur MQTT-Auswerung nicht mehr funktioniert.
                                        Hinweis: Der 4,7KΩ-Widerstand parallel zum LDR dient dazu, daß bei Dunkelheit der LED-Stripe noch schwach leuchtet und nicht ganz ausgeschaltet wird.

                                        Bei Interesse kann ich gerne noch den Arduino-Sketch, sowie die ioBroker JavaScript Steuerdatei nachreichen.

                                        Gruß
                                        Jörg

                                        P.S.
                                        Ganz fertig ist der mechanische Aufbau noch nicht, es sind im Bilderrahmen noch die 12V Spannungsversorgungs-Strippen zu sehen, muß ich noch innen im Rahmen festkleben.

                                        liv-in-sky Chaot 2 Replies Last reply Reply Quote 0
                                        • liv-in-sky
                                          liv-in-sky @joergeli last edited by liv-in-sky

                                          @joergeli hast du nicht auch eine matrix anzeige gemacht ? oder verwechsle ich da was ?

                                          joergeli 1 Reply Last reply Reply Quote 0
                                          • joergeli
                                            joergeli @liv-in-sky last edited by

                                            @liv-in-sky
                                            Jepp, die scrollt brav die ioBroker-Meldungen in meinem Bastelzimmer 😊

                                            liv-in-sky 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            477
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            ws2812 display
                                            3
                                            25
                                            2550
                                            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