Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Hardware
  4. SONOFF NSPanel mit Lovelace UI

NEWS

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.0k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.6k

SONOFF NSPanel mit Lovelace UI

Geplant Angeheftet Gesperrt Verschoben Hardware
lovelace uinspanelsonoff
7.8k Beiträge 272 Kommentatoren 6.7m Aufrufe 254 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • K Kuckuckmann

    @lustig29
    Gute Frage. @Armilar was denkst Du?
    Ich würde ja fast behaupten, ne normale Version sollt es schon sein, oder?

    ArmilarA Offline
    ArmilarA Offline
    Armilar
    Most Active Forum Testing
    schrieb am zuletzt editiert von Armilar
    #6082

    @kuckuckmann

    Version ist egal...

    EDIT:

    @lustig29

    Sehe grad... Du hast die Tasmota Display... Die sollte es möglichst nicht sein...

    65acb821-90ae-4bf3-998d-5fa682704157-image.png

    Kannste aber auch später im Menü per OTA neu Flashen

    Installationsanleitung, Tipps, Alias-Definitionen, FAQ für das Sonoff NSPanel mit lovelace UI unter ioBroker
    https://github.com/joBr99/nspanel-lovelace-ui/wiki

    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

    1 Antwort Letzte Antwort
    0
    • K Kuckuckmann

      @lustig29
      Gute Frage. @Armilar was denkst Du?
      Ich würde ja fast behaupten, ne normale Version sollt es schon sein, oder?

      ArmilarA Offline
      ArmilarA Offline
      Armilar
      Most Active Forum Testing
      schrieb am zuletzt editiert von Armilar
      #6083

      @kuckuckmann

      So könnte das Blockly zur Steuerung mit den Tasten aussehen... :blush:

      Ich habe es eben getestet und es macht was es soll...

      • Mit beiden Tasten (kurzer Druck) lässt sich der Switch ein- bzw. ausschalten.
      • Mit der linken Taste (halten) wird runtergedimmt (bis Level=5)
      • Mit der rechten Taste (halten) wird hochgedimmt (bis Level=100)
      Rule2 0
      setOption1 1
      setOption73 1
      setOption32 10
      

      Im Script alle Objekt-ID's zu den Shelly-Datenpunkten ändern und das richtige NSPanel oben natürlich auch anpassen....

      Multipress.jpg

      <xml xmlns="https://developers.google.com/blockly/xml">
       <variables>
         <variable id="l*j7Q.FxcE:lZ69x}G;^">actionValue</variable>
         <variable id="Nb^92:ch0cC^j(j+t33F">valueDimmer</variable>
         <variable type="interval" id="Interval_Dec">Interval_Dec</variable>
         <variable type="interval" id="Interval_Inc">Interval_Inc</variable>
       </variables>
       <block type="comment" id="rWWRT_~08.nzIw/|fxM-" x="88" y="13">
         <field name="COMMENT">Rule2 0</field>
         <next>
           <block type="comment" id="r%BQ/rK4R-Nl!Uj{f!1{">
             <field name="COMMENT">setOption1 1&amp;#10;setOption73 1&amp;#10;setOption32 10</field>
             <next>
               <block type="comment" id="C)zd^dECENBhpK;SoTsx">
                 <field name="COMMENT">Achtung Objekt ID's anpassen!!!</field>
                 <next>
                   <block type="on_ext" id="Z*WW:Hq=V/0/+D.7sBGj">
                     <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                     <field name="CONDITION">any</field>
                     <field name="ACK_CONDITION"></field>
                     <value name="OID0">
                       <shadow type="field_oid" id="s?5LPlVoKvrW,Gf/,d6(">
                         <field name="oid">default</field>
                       </shadow>
                       <block type="field_oid" id=";VZs-nq`+#GL`5jVspo^">
                         <field name="oid">mqtt.3.SmartHome.NSPanel_4.stat.RESULT</field>
                       </block>
                     </value>
                     <statement name="STATEMENT">
                       <block type="controls_if" id="1}vMU$?UKa4@0}B{fqKn">
                         <mutation elseif="1"></mutation>
                         <value name="IF0">
                           <block type="logic_compare" id="mTm#*=hyYX*)CJYL5{NT">
                             <field name="OP">NEQ</field>
                             <value name="A">
                               <block type="get_attr" id="1Q!)MR6PliD8`wkY]7S/">
                                 <value name="PATH">
                                   <shadow type="text" id="K~f`:N`cq25E%3ryi2nU">
                                     <field name="TEXT">Button1.Action</field>
                                   </shadow>
                                 </value>
                                 <value name="OBJECT">
                                   <shadow type="get_object" id="8r]C+[oZpG=:z);{T:[p">
                                     <field name="OID">Object ID</field>
                                   </shadow>
                                   <block type="convert_json2object" id="fehyG;p`!1tx0T1W%pV~">
                                     <value name="VALUE">
                                       <block type="on_source" id=",3=zkk#_^9O$V_f5O:Nm">
                                         <field name="ATTR">state.val</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <value name="B">
                               <block type="logic_null" id="|tA/`.J:b`g@.BLam0$4"></block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO0">
                           <block type="variables_set" id="jcJo!w:@}mbbZBL$Stq,">
                             <field name="VAR" id="l*j7Q.FxcE:lZ69x}G;^">actionValue</field>
                             <value name="VALUE">
                               <block type="get_attr" id="P+@Cy[pN9B`cqe+4.oPg">
                                 <value name="PATH">
                                   <shadow type="text" id="9U){xFv714N6#}S1LA:f">
                                     <field name="TEXT">Button1.Action</field>
                                   </shadow>
                                 </value>
                                 <value name="OBJECT">
                                   <shadow type="get_object" id="8r]C+[oZpG=:z);{T:[p">
                                     <field name="OID">Object ID</field>
                                   </shadow>
                                   <block type="convert_json2object" id="Y4Q)D{,D=Q:jv^Y:M}l{">
                                     <value name="VALUE">
                                       <block type="on_source" id="MB[hr+aR(]]QaUTDND^X">
                                         <field name="ATTR">state.val</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <next>
                               <block type="logic_switch_case" id="Ts$Zu%1v#ulw4BT}V@u6">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" case="1" default="1"></mutation>
                                 <value name="CONDITION">
                                   <block type="variables_get" id="=EX$cP2O|R3AkvRY)F@=">
                                     <field name="VAR" id="l*j7Q.FxcE:lZ69x}G;^">actionValue</field>
                                   </block>
                                 </value>
                                 <value name="CASECONDITION0">
                                   <block type="text" id="d7pS{i/+zm[D}lNnAzvO">
                                     <field name="TEXT">HOLD</field>
                                   </block>
                                 </value>
                                 <statement name="CASE0">
                                   <block type="variables_set" id="=-Tt;EP|Hk!S[.qyb@$j">
                                     <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                     <value name="VALUE">
                                       <block type="get_value" id="8,cvJwAtPy3n_*{GG+~8">
                                         <field name="ATTR">val</field>
                                         <field name="OID">deconz.0.Lights.38.level</field>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="timeouts_clearinterval" id="DYiz40:;%K-x]/9}p7Q~">
                                         <field name="NAME">Interval_Dec</field>
                                         <next>
                                           <block type="timeouts_setinterval" id="KComhhdpWduW@}Fiq0D5">
                                             <field name="NAME">Interval_Dec</field>
                                             <field name="INTERVAL">20</field>
                                             <field name="UNIT">ms</field>
                                             <statement name="STATEMENT">
                                               <block type="variables_set" id="@Z#kb=PS0u11Hw4IE`7l">
                                                 <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                                 <value name="VALUE">
                                                   <block type="math_arithmetic" id="J84CCq2A7aJ1Z=n?@0.A">
                                                     <field name="OP">MINUS</field>
                                                     <value name="A">
                                                       <shadow type="math_number" id="h0{UJO#M$[KE.b6,eSgV">
                                                         <field name="NUM">1</field>
                                                       </shadow>
                                                       <block type="variables_get" id="cgiD`BkqRK.Iwx=tYN$M">
                                                         <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <shadow type="math_number" id="AF3wNi[)IvX!}3;U5%W2">
                                                         <field name="NUM">1</field>
                                                       </shadow>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="controls_if" id="agzjdvFYg(%]ZGU8h$Fa">
                                                     <mutation else="1"></mutation>
                                                     <value name="IF0">
                                                       <block type="logic_compare" id="D}R|i!t0?r8$Qo^Ae{Pj">
                                                         <field name="OP">GTE</field>
                                                         <value name="A">
                                                           <block type="variables_get" id=")5gncF$Wj$4xoa2S.H[l">
                                                             <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="math_number" id="YSU(~@5K_Oi8%16EG3Ps">
                                                             <field name="NUM">5</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <statement name="DO0">
                                                       <block type="control" id="rww|kMC@cjy2NSN-GbSx">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                         <field name="OID">deconz.0.Lights.38.level</field>
                                                         <field name="WITH_DELAY">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="variables_get" id="nZ@M@-MmCIL)dG]B92W%">
                                                             <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </statement>
                                                     <statement name="ELSE">
                                                       <block type="variables_set" id="AKN,tJI[[S{R3e3WWecd">
                                                         <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                                         <value name="VALUE">
                                                           <block type="math_number" id=":9sQp13_tt{lDh^fD(oo">
                                                             <field name="NUM">5</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </statement>
                                                     <next>
                                                       <block type="debug" id="[?5*_^821;z,.5~{/1kV">
                                                         <field name="Severity">info</field>
                                                         <value name="TEXT">
                                                           <shadow type="text" id="ujO^`MJxA~f).3%lCLc%">
                                                             <field name="TEXT">test</field>
                                                           </shadow>
                                                           <block type="variables_get" id="k]h%z|g:JxbIF{CJx[M#">
                                                             <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </statement>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </statement>
                                 <value name="CASECONDITION1">
                                   <block type="text" id="L,//,7QC{=diw/jam,O-">
                                     <field name="TEXT">CLEAR</field>
                                   </block>
                                 </value>
                                 <statement name="CASE1">
                                   <block type="timeouts_clearinterval" id="Em#7bEE#wh,p!u1KOIu(">
                                     <field name="NAME">Interval_Dec</field>
                                   </block>
                                 </statement>
                                 <statement name="ONDEFAULT">
                                   <block type="toggle" id="^xLW-e6*gen2(wEm+-rv">
                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                     <field name="OID">deconz.0.Lights.38.on</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                   </block>
                                 </statement>
                                 <next>
                                   <block type="debug" id="lQGMUPlZMUqXC]g[@dMs">
                                     <field name="Severity">info</field>
                                     <value name="TEXT">
                                       <shadow type="text" id="pyJotej]:7d$r+/JHoKH">
                                         <field name="TEXT"></field>
                                       </shadow>
                                       <block type="variables_get" id="Lg87dPo-/mhLDKG/7xKN">
                                         <field name="VAR" id="l*j7Q.FxcE:lZ69x}G;^">actionValue</field>
                                       </block>
                                     </value>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </statement>
                         <value name="IF1">
                           <block type="logic_compare" id="[,~/Bj#ydFCn=cwVU,1%">
                             <field name="OP">NEQ</field>
                             <value name="A">
                               <block type="get_attr" id="^s8B*$@/ql1jOJ~t_!eY">
                                 <value name="PATH">
                                   <shadow type="text" id="ZC=L;@)dR+k`O9}`Gl1-">
                                     <field name="TEXT">Button2.Action</field>
                                   </shadow>
                                 </value>
                                 <value name="OBJECT">
                                   <shadow type="get_object" id="8r]C+[oZpG=:z);{T:[p">
                                     <field name="OID">Object ID</field>
                                   </shadow>
                                   <block type="convert_json2object" id="9yY(:$40q-ooJ-qg7B7q">
                                     <value name="VALUE">
                                       <block type="on_source" id="gRZ|`e7XWk!pj1:[+`#3">
                                         <field name="ATTR">state.val</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <value name="B">
                               <block type="logic_null" id="[,dS7}4(c9v}iwmmlSm}"></block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO1">
                           <block type="variables_set" id="3_ONTZ^LR-+|CpbsafME">
                             <field name="VAR" id="l*j7Q.FxcE:lZ69x}G;^">actionValue</field>
                             <value name="VALUE">
                               <block type="get_attr" id="m9{a;/I-E(%9z==NLo+v">
                                 <value name="PATH">
                                   <shadow type="text" id="wpy3)J|o1ITOqf,)/PY^">
                                     <field name="TEXT">Button2.Action</field>
                                   </shadow>
                                 </value>
                                 <value name="OBJECT">
                                   <shadow type="get_object" id="8r]C+[oZpG=:z);{T:[p">
                                     <field name="OID">Object ID</field>
                                   </shadow>
                                   <block type="convert_json2object" id="Q.bKt5;Qp+c+Mx#FOm`V">
                                     <value name="VALUE">
                                       <block type="on_source" id="l~O(I:9W^H;e1yFQ9jRM">
                                         <field name="ATTR">state.val</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <next>
                               <block type="logic_switch_case" id="uC.OLA+zsEibh:0P.g4~">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" case="1" default="1"></mutation>
                                 <value name="CONDITION">
                                   <block type="variables_get" id="%95o%]Whf6VG)]3RVf_F">
                                     <field name="VAR" id="l*j7Q.FxcE:lZ69x}G;^">actionValue</field>
                                   </block>
                                 </value>
                                 <value name="CASECONDITION0">
                                   <block type="text" id="wl.gaT75q@4,^E~_Rc3)">
                                     <field name="TEXT">HOLD</field>
                                   </block>
                                 </value>
                                 <statement name="CASE0">
                                   <block type="variables_set" id="u-rt-85(L[r~2z(cNp~^">
                                     <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                     <value name="VALUE">
                                       <block type="get_value" id="Yh};XYzcem,EFZw07(b)">
                                         <field name="ATTR">val</field>
                                         <field name="OID">deconz.0.Lights.38.level</field>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="timeouts_clearinterval" id="?@NH3@i!g,s.r:,N0_cO">
                                         <field name="NAME">Interval_Inc</field>
                                         <next>
                                           <block type="timeouts_setinterval" id="acO^L3Z1^z|#OnILeYAC">
                                             <field name="NAME">Interval_Inc</field>
                                             <field name="INTERVAL">20</field>
                                             <field name="UNIT">ms</field>
                                             <statement name="STATEMENT">
                                               <block type="variables_set" id="-{RUj-XS}Tg_tTag]av;">
                                                 <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                                 <value name="VALUE">
                                                   <block type="math_arithmetic" id="{S]fnTBqe;:D^gMQP_jV">
                                                     <field name="OP">ADD</field>
                                                     <value name="A">
                                                       <shadow type="math_number" id="h0{UJO#M$[KE.b6,eSgV">
                                                         <field name="NUM">1</field>
                                                       </shadow>
                                                       <block type="variables_get" id=";W33JEQYL6ZG/B+F=nSq">
                                                         <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <shadow type="math_number" id="%Dg4pyifW:Ddg/_WI{hQ">
                                                         <field name="NUM">1</field>
                                                       </shadow>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="controls_if" id="A[awWI,/)@2_`mycDqN)">
                                                     <mutation else="1"></mutation>
                                                     <value name="IF0">
                                                       <block type="logic_compare" id="P[GHBPwIZj#No$O2$/jc">
                                                         <field name="OP">LTE</field>
                                                         <value name="A">
                                                           <block type="variables_get" id="=N#lxK,4X`:MKjcS,c]U">
                                                             <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="math_number" id="EzI`ZO]e^D^v{.Cc[DZH">
                                                             <field name="NUM">100</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <statement name="DO0">
                                                       <block type="control" id="(.51~l5|92Rw|mf@fM;d">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                         <field name="OID">deconz.0.Lights.38.level</field>
                                                         <field name="WITH_DELAY">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="variables_get" id="zs)9,~y|nv/#gBJwp,r*">
                                                             <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </statement>
                                                     <statement name="ELSE">
                                                       <block type="variables_set" id="9b2dZ!#$m}0]re6~nf0/">
                                                         <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                                         <value name="VALUE">
                                                           <block type="math_number" id="3NBC$iZ)CXf|BxFb+^h1">
                                                             <field name="NUM">100</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </statement>
                                                     <next>
                                                       <block type="debug" id="Z=}Fo*FJP9J#.Jmz]CTG">
                                                         <field name="Severity">info</field>
                                                         <value name="TEXT">
                                                           <shadow type="text" id="ujO^`MJxA~f).3%lCLc%">
                                                             <field name="TEXT">test</field>
                                                           </shadow>
                                                           <block type="variables_get" id="8[K2z1~=}p}^?j%wu[GQ">
                                                             <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </statement>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </statement>
                                 <value name="CASECONDITION1">
                                   <block type="text" id="?6m~HShM~h./{Kgs6kdP">
                                     <field name="TEXT">CLEAR</field>
                                   </block>
                                 </value>
                                 <statement name="CASE1">
                                   <block type="timeouts_clearinterval" id="d|@HJ%={DTpMf#-x^]%D">
                                     <field name="NAME">Interval_Inc</field>
                                   </block>
                                 </statement>
                                 <statement name="ONDEFAULT">
                                   <block type="toggle" id="5d2!Bbz)FJ;Y$6yvcka2">
                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                     <field name="OID">deconz.0.Lights.38.on</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                   </block>
                                 </statement>
                                 <next>
                                   <block type="debug" id="9{k8FDr3$3p1KpkN;J$:">
                                     <field name="Severity">info</field>
                                     <value name="TEXT">
                                       <shadow type="text" id="pyJotej]:7d$r+/JHoKH">
                                         <field name="TEXT"></field>
                                       </shadow>
                                       <block type="variables_get" id="+aCgdAz{qlYKtN%ZeBmB">
                                         <field name="VAR" id="l*j7Q.FxcE:lZ69x}G;^">actionValue</field>
                                       </block>
                                     </value>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </statement>
                       </block>
                     </statement>
                   </block>
                 </next>
               </block>
             </next>
           </block>
         </next>
       </block>
      </xml>
      

      EDIT:
      Na wenn es ins Wiki kommt.... habe das Bild noch schöner gemacht ;-)

      EDIT2:

      fe65eb6c-b15f-4549-ad12-ff9f3e23409a-image.png

      Man kann natürlich auch das Netz etwas entlasten in dem man in größeren Schritten inkrementiert/dekrementiert (hier im Beispiel in 5er Schritten) oder auch das Intervall anpassen, damit der Dimmer langsamer reagiert... Einfach ausprobieren.

      Des Weiteren kann jedes Leuchtmittel mit Dimmfunktion (HUE, deCONZ, Shelly-DUO, etc.) damit ebenso gesteuert werden. Muss kein Shelly-Dimmer sein... Wichtig sind die Datenpunkte zum An-/Ausschalten und zum Dimmen

      Installationsanleitung, Tipps, Alias-Definitionen, FAQ für das Sonoff NSPanel mit lovelace UI unter ioBroker
      https://github.com/joBr99/nspanel-lovelace-ui/wiki

      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

      K L 2 Antworten Letzte Antwort
      1
      • ArmilarA Armilar

        @kuckuckmann

        So könnte das Blockly zur Steuerung mit den Tasten aussehen... :blush:

        Ich habe es eben getestet und es macht was es soll...

        • Mit beiden Tasten (kurzer Druck) lässt sich der Switch ein- bzw. ausschalten.
        • Mit der linken Taste (halten) wird runtergedimmt (bis Level=5)
        • Mit der rechten Taste (halten) wird hochgedimmt (bis Level=100)
        Rule2 0
        setOption1 1
        setOption73 1
        setOption32 10
        

        Im Script alle Objekt-ID's zu den Shelly-Datenpunkten ändern und das richtige NSPanel oben natürlich auch anpassen....

        Multipress.jpg

        <xml xmlns="https://developers.google.com/blockly/xml">
         <variables>
           <variable id="l*j7Q.FxcE:lZ69x}G;^">actionValue</variable>
           <variable id="Nb^92:ch0cC^j(j+t33F">valueDimmer</variable>
           <variable type="interval" id="Interval_Dec">Interval_Dec</variable>
           <variable type="interval" id="Interval_Inc">Interval_Inc</variable>
         </variables>
         <block type="comment" id="rWWRT_~08.nzIw/|fxM-" x="88" y="13">
           <field name="COMMENT">Rule2 0</field>
           <next>
             <block type="comment" id="r%BQ/rK4R-Nl!Uj{f!1{">
               <field name="COMMENT">setOption1 1&amp;#10;setOption73 1&amp;#10;setOption32 10</field>
               <next>
                 <block type="comment" id="C)zd^dECENBhpK;SoTsx">
                   <field name="COMMENT">Achtung Objekt ID's anpassen!!!</field>
                   <next>
                     <block type="on_ext" id="Z*WW:Hq=V/0/+D.7sBGj">
                       <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                       <field name="CONDITION">any</field>
                       <field name="ACK_CONDITION"></field>
                       <value name="OID0">
                         <shadow type="field_oid" id="s?5LPlVoKvrW,Gf/,d6(">
                           <field name="oid">default</field>
                         </shadow>
                         <block type="field_oid" id=";VZs-nq`+#GL`5jVspo^">
                           <field name="oid">mqtt.3.SmartHome.NSPanel_4.stat.RESULT</field>
                         </block>
                       </value>
                       <statement name="STATEMENT">
                         <block type="controls_if" id="1}vMU$?UKa4@0}B{fqKn">
                           <mutation elseif="1"></mutation>
                           <value name="IF0">
                             <block type="logic_compare" id="mTm#*=hyYX*)CJYL5{NT">
                               <field name="OP">NEQ</field>
                               <value name="A">
                                 <block type="get_attr" id="1Q!)MR6PliD8`wkY]7S/">
                                   <value name="PATH">
                                     <shadow type="text" id="K~f`:N`cq25E%3ryi2nU">
                                       <field name="TEXT">Button1.Action</field>
                                     </shadow>
                                   </value>
                                   <value name="OBJECT">
                                     <shadow type="get_object" id="8r]C+[oZpG=:z);{T:[p">
                                       <field name="OID">Object ID</field>
                                     </shadow>
                                     <block type="convert_json2object" id="fehyG;p`!1tx0T1W%pV~">
                                       <value name="VALUE">
                                         <block type="on_source" id=",3=zkk#_^9O$V_f5O:Nm">
                                           <field name="ATTR">state.val</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="logic_null" id="|tA/`.J:b`g@.BLam0$4"></block>
                               </value>
                             </block>
                           </value>
                           <statement name="DO0">
                             <block type="variables_set" id="jcJo!w:@}mbbZBL$Stq,">
                               <field name="VAR" id="l*j7Q.FxcE:lZ69x}G;^">actionValue</field>
                               <value name="VALUE">
                                 <block type="get_attr" id="P+@Cy[pN9B`cqe+4.oPg">
                                   <value name="PATH">
                                     <shadow type="text" id="9U){xFv714N6#}S1LA:f">
                                       <field name="TEXT">Button1.Action</field>
                                     </shadow>
                                   </value>
                                   <value name="OBJECT">
                                     <shadow type="get_object" id="8r]C+[oZpG=:z);{T:[p">
                                       <field name="OID">Object ID</field>
                                     </shadow>
                                     <block type="convert_json2object" id="Y4Q)D{,D=Q:jv^Y:M}l{">
                                       <value name="VALUE">
                                         <block type="on_source" id="MB[hr+aR(]]QaUTDND^X">
                                           <field name="ATTR">state.val</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <next>
                                 <block type="logic_switch_case" id="Ts$Zu%1v#ulw4BT}V@u6">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" case="1" default="1"></mutation>
                                   <value name="CONDITION">
                                     <block type="variables_get" id="=EX$cP2O|R3AkvRY)F@=">
                                       <field name="VAR" id="l*j7Q.FxcE:lZ69x}G;^">actionValue</field>
                                     </block>
                                   </value>
                                   <value name="CASECONDITION0">
                                     <block type="text" id="d7pS{i/+zm[D}lNnAzvO">
                                       <field name="TEXT">HOLD</field>
                                     </block>
                                   </value>
                                   <statement name="CASE0">
                                     <block type="variables_set" id="=-Tt;EP|Hk!S[.qyb@$j">
                                       <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                       <value name="VALUE">
                                         <block type="get_value" id="8,cvJwAtPy3n_*{GG+~8">
                                           <field name="ATTR">val</field>
                                           <field name="OID">deconz.0.Lights.38.level</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="timeouts_clearinterval" id="DYiz40:;%K-x]/9}p7Q~">
                                           <field name="NAME">Interval_Dec</field>
                                           <next>
                                             <block type="timeouts_setinterval" id="KComhhdpWduW@}Fiq0D5">
                                               <field name="NAME">Interval_Dec</field>
                                               <field name="INTERVAL">20</field>
                                               <field name="UNIT">ms</field>
                                               <statement name="STATEMENT">
                                                 <block type="variables_set" id="@Z#kb=PS0u11Hw4IE`7l">
                                                   <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                                   <value name="VALUE">
                                                     <block type="math_arithmetic" id="J84CCq2A7aJ1Z=n?@0.A">
                                                       <field name="OP">MINUS</field>
                                                       <value name="A">
                                                         <shadow type="math_number" id="h0{UJO#M$[KE.b6,eSgV">
                                                           <field name="NUM">1</field>
                                                         </shadow>
                                                         <block type="variables_get" id="cgiD`BkqRK.Iwx=tYN$M">
                                                           <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <shadow type="math_number" id="AF3wNi[)IvX!}3;U5%W2">
                                                           <field name="NUM">1</field>
                                                         </shadow>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="controls_if" id="agzjdvFYg(%]ZGU8h$Fa">
                                                       <mutation else="1"></mutation>
                                                       <value name="IF0">
                                                         <block type="logic_compare" id="D}R|i!t0?r8$Qo^Ae{Pj">
                                                           <field name="OP">GTE</field>
                                                           <value name="A">
                                                             <block type="variables_get" id=")5gncF$Wj$4xoa2S.H[l">
                                                               <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <block type="math_number" id="YSU(~@5K_Oi8%16EG3Ps">
                                                               <field name="NUM">5</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <statement name="DO0">
                                                         <block type="control" id="rww|kMC@cjy2NSN-GbSx">
                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                           <field name="OID">deconz.0.Lights.38.level</field>
                                                           <field name="WITH_DELAY">FALSE</field>
                                                           <value name="VALUE">
                                                             <block type="variables_get" id="nZ@M@-MmCIL)dG]B92W%">
                                                               <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </statement>
                                                       <statement name="ELSE">
                                                         <block type="variables_set" id="AKN,tJI[[S{R3e3WWecd">
                                                           <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                                           <value name="VALUE">
                                                             <block type="math_number" id=":9sQp13_tt{lDh^fD(oo">
                                                               <field name="NUM">5</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </statement>
                                                       <next>
                                                         <block type="debug" id="[?5*_^821;z,.5~{/1kV">
                                                           <field name="Severity">info</field>
                                                           <value name="TEXT">
                                                             <shadow type="text" id="ujO^`MJxA~f).3%lCLc%">
                                                               <field name="TEXT">test</field>
                                                             </shadow>
                                                             <block type="variables_get" id="k]h%z|g:JxbIF{CJx[M#">
                                                               <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </statement>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </statement>
                                   <value name="CASECONDITION1">
                                     <block type="text" id="L,//,7QC{=diw/jam,O-">
                                       <field name="TEXT">CLEAR</field>
                                     </block>
                                   </value>
                                   <statement name="CASE1">
                                     <block type="timeouts_clearinterval" id="Em#7bEE#wh,p!u1KOIu(">
                                       <field name="NAME">Interval_Dec</field>
                                     </block>
                                   </statement>
                                   <statement name="ONDEFAULT">
                                     <block type="toggle" id="^xLW-e6*gen2(wEm+-rv">
                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                       <field name="OID">deconz.0.Lights.38.on</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                     </block>
                                   </statement>
                                   <next>
                                     <block type="debug" id="lQGMUPlZMUqXC]g[@dMs">
                                       <field name="Severity">info</field>
                                       <value name="TEXT">
                                         <shadow type="text" id="pyJotej]:7d$r+/JHoKH">
                                           <field name="TEXT"></field>
                                         </shadow>
                                         <block type="variables_get" id="Lg87dPo-/mhLDKG/7xKN">
                                           <field name="VAR" id="l*j7Q.FxcE:lZ69x}G;^">actionValue</field>
                                         </block>
                                       </value>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </statement>
                           <value name="IF1">
                             <block type="logic_compare" id="[,~/Bj#ydFCn=cwVU,1%">
                               <field name="OP">NEQ</field>
                               <value name="A">
                                 <block type="get_attr" id="^s8B*$@/ql1jOJ~t_!eY">
                                   <value name="PATH">
                                     <shadow type="text" id="ZC=L;@)dR+k`O9}`Gl1-">
                                       <field name="TEXT">Button2.Action</field>
                                     </shadow>
                                   </value>
                                   <value name="OBJECT">
                                     <shadow type="get_object" id="8r]C+[oZpG=:z);{T:[p">
                                       <field name="OID">Object ID</field>
                                     </shadow>
                                     <block type="convert_json2object" id="9yY(:$40q-ooJ-qg7B7q">
                                       <value name="VALUE">
                                         <block type="on_source" id="gRZ|`e7XWk!pj1:[+`#3">
                                           <field name="ATTR">state.val</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="logic_null" id="[,dS7}4(c9v}iwmmlSm}"></block>
                               </value>
                             </block>
                           </value>
                           <statement name="DO1">
                             <block type="variables_set" id="3_ONTZ^LR-+|CpbsafME">
                               <field name="VAR" id="l*j7Q.FxcE:lZ69x}G;^">actionValue</field>
                               <value name="VALUE">
                                 <block type="get_attr" id="m9{a;/I-E(%9z==NLo+v">
                                   <value name="PATH">
                                     <shadow type="text" id="wpy3)J|o1ITOqf,)/PY^">
                                       <field name="TEXT">Button2.Action</field>
                                     </shadow>
                                   </value>
                                   <value name="OBJECT">
                                     <shadow type="get_object" id="8r]C+[oZpG=:z);{T:[p">
                                       <field name="OID">Object ID</field>
                                     </shadow>
                                     <block type="convert_json2object" id="Q.bKt5;Qp+c+Mx#FOm`V">
                                       <value name="VALUE">
                                         <block type="on_source" id="l~O(I:9W^H;e1yFQ9jRM">
                                           <field name="ATTR">state.val</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <next>
                                 <block type="logic_switch_case" id="uC.OLA+zsEibh:0P.g4~">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" case="1" default="1"></mutation>
                                   <value name="CONDITION">
                                     <block type="variables_get" id="%95o%]Whf6VG)]3RVf_F">
                                       <field name="VAR" id="l*j7Q.FxcE:lZ69x}G;^">actionValue</field>
                                     </block>
                                   </value>
                                   <value name="CASECONDITION0">
                                     <block type="text" id="wl.gaT75q@4,^E~_Rc3)">
                                       <field name="TEXT">HOLD</field>
                                     </block>
                                   </value>
                                   <statement name="CASE0">
                                     <block type="variables_set" id="u-rt-85(L[r~2z(cNp~^">
                                       <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                       <value name="VALUE">
                                         <block type="get_value" id="Yh};XYzcem,EFZw07(b)">
                                           <field name="ATTR">val</field>
                                           <field name="OID">deconz.0.Lights.38.level</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="timeouts_clearinterval" id="?@NH3@i!g,s.r:,N0_cO">
                                           <field name="NAME">Interval_Inc</field>
                                           <next>
                                             <block type="timeouts_setinterval" id="acO^L3Z1^z|#OnILeYAC">
                                               <field name="NAME">Interval_Inc</field>
                                               <field name="INTERVAL">20</field>
                                               <field name="UNIT">ms</field>
                                               <statement name="STATEMENT">
                                                 <block type="variables_set" id="-{RUj-XS}Tg_tTag]av;">
                                                   <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                                   <value name="VALUE">
                                                     <block type="math_arithmetic" id="{S]fnTBqe;:D^gMQP_jV">
                                                       <field name="OP">ADD</field>
                                                       <value name="A">
                                                         <shadow type="math_number" id="h0{UJO#M$[KE.b6,eSgV">
                                                           <field name="NUM">1</field>
                                                         </shadow>
                                                         <block type="variables_get" id=";W33JEQYL6ZG/B+F=nSq">
                                                           <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <shadow type="math_number" id="%Dg4pyifW:Ddg/_WI{hQ">
                                                           <field name="NUM">1</field>
                                                         </shadow>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="controls_if" id="A[awWI,/)@2_`mycDqN)">
                                                       <mutation else="1"></mutation>
                                                       <value name="IF0">
                                                         <block type="logic_compare" id="P[GHBPwIZj#No$O2$/jc">
                                                           <field name="OP">LTE</field>
                                                           <value name="A">
                                                             <block type="variables_get" id="=N#lxK,4X`:MKjcS,c]U">
                                                               <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <block type="math_number" id="EzI`ZO]e^D^v{.Cc[DZH">
                                                               <field name="NUM">100</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <statement name="DO0">
                                                         <block type="control" id="(.51~l5|92Rw|mf@fM;d">
                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                           <field name="OID">deconz.0.Lights.38.level</field>
                                                           <field name="WITH_DELAY">FALSE</field>
                                                           <value name="VALUE">
                                                             <block type="variables_get" id="zs)9,~y|nv/#gBJwp,r*">
                                                               <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </statement>
                                                       <statement name="ELSE">
                                                         <block type="variables_set" id="9b2dZ!#$m}0]re6~nf0/">
                                                           <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                                           <value name="VALUE">
                                                             <block type="math_number" id="3NBC$iZ)CXf|BxFb+^h1">
                                                               <field name="NUM">100</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </statement>
                                                       <next>
                                                         <block type="debug" id="Z=}Fo*FJP9J#.Jmz]CTG">
                                                           <field name="Severity">info</field>
                                                           <value name="TEXT">
                                                             <shadow type="text" id="ujO^`MJxA~f).3%lCLc%">
                                                               <field name="TEXT">test</field>
                                                             </shadow>
                                                             <block type="variables_get" id="8[K2z1~=}p}^?j%wu[GQ">
                                                               <field name="VAR" id="Nb^92:ch0cC^j(j+t33F">valueDimmer</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </statement>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </statement>
                                   <value name="CASECONDITION1">
                                     <block type="text" id="?6m~HShM~h./{Kgs6kdP">
                                       <field name="TEXT">CLEAR</field>
                                     </block>
                                   </value>
                                   <statement name="CASE1">
                                     <block type="timeouts_clearinterval" id="d|@HJ%={DTpMf#-x^]%D">
                                       <field name="NAME">Interval_Inc</field>
                                     </block>
                                   </statement>
                                   <statement name="ONDEFAULT">
                                     <block type="toggle" id="5d2!Bbz)FJ;Y$6yvcka2">
                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                       <field name="OID">deconz.0.Lights.38.on</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                     </block>
                                   </statement>
                                   <next>
                                     <block type="debug" id="9{k8FDr3$3p1KpkN;J$:">
                                       <field name="Severity">info</field>
                                       <value name="TEXT">
                                         <shadow type="text" id="pyJotej]:7d$r+/JHoKH">
                                           <field name="TEXT"></field>
                                         </shadow>
                                         <block type="variables_get" id="+aCgdAz{qlYKtN%ZeBmB">
                                           <field name="VAR" id="l*j7Q.FxcE:lZ69x}G;^">actionValue</field>
                                         </block>
                                       </value>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </statement>
                         </block>
                       </statement>
                     </block>
                   </next>
                 </block>
               </next>
             </block>
           </next>
         </block>
        </xml>
        

        EDIT:
        Na wenn es ins Wiki kommt.... habe das Bild noch schöner gemacht ;-)

        EDIT2:

        fe65eb6c-b15f-4549-ad12-ff9f3e23409a-image.png

        Man kann natürlich auch das Netz etwas entlasten in dem man in größeren Schritten inkrementiert/dekrementiert (hier im Beispiel in 5er Schritten) oder auch das Intervall anpassen, damit der Dimmer langsamer reagiert... Einfach ausprobieren.

        Des Weiteren kann jedes Leuchtmittel mit Dimmfunktion (HUE, deCONZ, Shelly-DUO, etc.) damit ebenso gesteuert werden. Muss kein Shelly-Dimmer sein... Wichtig sind die Datenpunkte zum An-/Ausschalten und zum Dimmen

        K Offline
        K Offline
        Kuckuckmann
        schrieb am zuletzt editiert von
        #6084

        @armilar

        Coole Sache, ich habs notiert und packe es mal ins Wicki :-)

        NSPanel Dokumentation im GitHub Wiki:

        https://github.com/joBr99/nspanel-lovelace-ui/wiki

        1 Antwort Letzte Antwort
        2
        • L lustig29

          @kuckuckmann
          Super vielen dank schon mal.
          Das anschließen überlasse ich lieber meinem Elektriker, oder ist das nur umzuklemmen?

          02b6c388-318c-41d9-a778-469c509f17d6-image.png

          e2afa3c6-4432-4ccb-a955-307165b0a3cb-image.png

          ArmilarA Offline
          ArmilarA Offline
          Armilar
          Most Active Forum Testing
          schrieb am zuletzt editiert von Armilar
          #6085

          @lustig29 sagte in SONOFF NSPanel mit Lovelace UI:

          Das anschließen überlasse ich lieber meinem Elektriker, oder ist das nur umzuklemmen?

          Du steuerst nur über den ioBroker (also per Software). Physisch werden die nicht miteinander verbunden.

          • Beim Shelly Dimmer die Kabel zum Taster entfernen ("SW1" und "SW2")
          • Der Shelly Dimmer bleibt mit der Lampe "0" verbunden und natürlich mit "L" und "N"
          • Das NSPanel bekommt nur L In (braun) und N (blau)
          • Die beiden NSPanel-Relays - L Out / L Out bleiben frei (auf keinen Fall den Shelly Dimmer an das NSPanel anschließen !!!)

          Installationsanleitung, Tipps, Alias-Definitionen, FAQ für das Sonoff NSPanel mit lovelace UI unter ioBroker
          https://github.com/joBr99/nspanel-lovelace-ui/wiki

          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

          L 1 Antwort Letzte Antwort
          0
          • ArmilarA Armilar

            @lustig29 sagte in SONOFF NSPanel mit Lovelace UI:

            Das anschließen überlasse ich lieber meinem Elektriker, oder ist das nur umzuklemmen?

            Du steuerst nur über den ioBroker (also per Software). Physisch werden die nicht miteinander verbunden.

            • Beim Shelly Dimmer die Kabel zum Taster entfernen ("SW1" und "SW2")
            • Der Shelly Dimmer bleibt mit der Lampe "0" verbunden und natürlich mit "L" und "N"
            • Das NSPanel bekommt nur L In (braun) und N (blau)
            • Die beiden NSPanel-Relays - L Out / L Out bleiben frei (auf keinen Fall den Shelly Dimmer an das NSPanel anschließen !!!)
            L Offline
            L Offline
            lustig29
            schrieb am zuletzt editiert von
            #6086

            @armilar
            @Kuckuckmann
            Super, vielen lieben Dank. Werde dann heute Abend oder morgen weiter machen.

            L 1 Antwort Letzte Antwort
            1
            • L lustig29

              @armilar
              @Kuckuckmann
              Super, vielen lieben Dank. Werde dann heute Abend oder morgen weiter machen.

              L Offline
              L Offline
              lustig29
              schrieb am zuletzt editiert von lustig29
              #6087

              Mal eine andere Frage zwischendurch🤭. Ich habe ja noch 2 Panels. Die habe ich beide parallel geflasht und habe auch auf beiden Tasmotazugriff.

              Jetzt hatte ich das eine früher Mal im Homeassitant laufen. Bei diesem Panel wird mir Stand jetzt der Homeassitant Bildschirm (siehe Bild) angezeigt. Und was auch noch auffällt ist das bei diesen Panel die 2 Schalter nicht gehen. Also ich höre kein schalten der Relais.
              Bei dem anderen „normalen“ schon.

              0c279dfa-f2c6-403b-a699-18b1158bc22a-image.jpeg

              ArmilarA 2 Antworten Letzte Antwort
              0
              • L lustig29

                Mal eine andere Frage zwischendurch🤭. Ich habe ja noch 2 Panels. Die habe ich beide parallel geflasht und habe auch auf beiden Tasmotazugriff.

                Jetzt hatte ich das eine früher Mal im Homeassitant laufen. Bei diesem Panel wird mir Stand jetzt der Homeassitant Bildschirm (siehe Bild) angezeigt. Und was auch noch auffällt ist das bei diesen Panel die 2 Schalter nicht gehen. Also ich höre kein schalten der Relais.
                Bei dem anderen „normalen“ schon.

                0c279dfa-f2c6-403b-a699-18b1158bc22a-image.jpeg

                ArmilarA Offline
                ArmilarA Offline
                Armilar
                Most Active Forum Testing
                schrieb am zuletzt editiert von Armilar
                #6088

                @lustig29

                Welches Bild?

                Die Voraussetzungen für den (naja "hust") Home Assistant und den coolen ioBroker sind völlig identisch. Dem NSPanel ist es egal, ob es die Daten vom HA oder ioBroker bekommt.

                Sobald der MQTT-Broker mit dem Script sendet (IP-Adressen zwischen den Systemen werden sicherlich unterschiedlich sein und im Tasmota-MQTT ja dann ebenfalls) verbindet es sich genauso. Lediglich der CustomSend muss im ioBroker neu angelegt werden.

                Wenn Schalter nicht zu hören sind, dann sind die entweder mit setOption73 oder setOption114 detached...

                Installationsanleitung, Tipps, Alias-Definitionen, FAQ für das Sonoff NSPanel mit lovelace UI unter ioBroker
                https://github.com/joBr99/nspanel-lovelace-ui/wiki

                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                L 1 Antwort Letzte Antwort
                0
                • L lustig29

                  Mal eine andere Frage zwischendurch🤭. Ich habe ja noch 2 Panels. Die habe ich beide parallel geflasht und habe auch auf beiden Tasmotazugriff.

                  Jetzt hatte ich das eine früher Mal im Homeassitant laufen. Bei diesem Panel wird mir Stand jetzt der Homeassitant Bildschirm (siehe Bild) angezeigt. Und was auch noch auffällt ist das bei diesen Panel die 2 Schalter nicht gehen. Also ich höre kein schalten der Relais.
                  Bei dem anderen „normalen“ schon.

                  0c279dfa-f2c6-403b-a699-18b1158bc22a-image.jpeg

                  ArmilarA Offline
                  ArmilarA Offline
                  Armilar
                  Most Active Forum Testing
                  schrieb am zuletzt editiert von Armilar
                  #6089

                  @lustig29

                  Okay anderes Projekt...

                  In dem Fall ist es ja ESPHome und nicht Tasmota --> d.h. neu flashen...

                  Ich hatte mich auf das NSPanel-Projekt von HA ( joBr99 ) bezogen...

                  Sollte da ebenfalls Tasmota drauf sein, dann reicht es den Berry-Driver zu tauschen und das TFT zu flashen...

                  Installationsanleitung, Tipps, Alias-Definitionen, FAQ für das Sonoff NSPanel mit lovelace UI unter ioBroker
                  https://github.com/joBr99/nspanel-lovelace-ui/wiki

                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                  1 Antwort Letzte Antwort
                  0
                  • ArmilarA Armilar

                    @lustig29

                    Welches Bild?

                    Die Voraussetzungen für den (naja "hust") Home Assistant und den coolen ioBroker sind völlig identisch. Dem NSPanel ist es egal, ob es die Daten vom HA oder ioBroker bekommt.

                    Sobald der MQTT-Broker mit dem Script sendet (IP-Adressen zwischen den Systemen werden sicherlich unterschiedlich sein und im Tasmota-MQTT ja dann ebenfalls) verbindet es sich genauso. Lediglich der CustomSend muss im ioBroker neu angelegt werden.

                    Wenn Schalter nicht zu hören sind, dann sind die entweder mit setOption73 oder setOption114 detached...

                    L Offline
                    L Offline
                    lustig29
                    schrieb am zuletzt editiert von
                    #6090

                    @armilar said in SONOFF NSPanel mit Lovelace UI:

                    Wenn Schalter nicht zu hören sind, dann sind die entweder mit setOption73 oder setOption114 detached...

                    Ok, wie aktiviere ich die wieder?

                    ArmilarA 1 Antwort Letzte Antwort
                    0
                    • L lustig29

                      @armilar said in SONOFF NSPanel mit Lovelace UI:

                      Wenn Schalter nicht zu hören sind, dann sind die entweder mit setOption73 oder setOption114 detached...

                      Ok, wie aktiviere ich die wieder?

                      ArmilarA Offline
                      ArmilarA Offline
                      Armilar
                      Most Active Forum Testing
                      schrieb am zuletzt editiert von Armilar
                      #6091

                      @lustig29

                      Wenn Tasmota, dann in der Konsole z.B.

                      setOption73 0
                      setOption114 0
                      

                      eingeben. Falls kein Tasmota... keine Ahnung

                      Die Einstellungen und setOptions sind aber auch auf der Tasmota-Seite zu finden:
                      https://tasmota.github.io/docs/Commands/

                      Installationsanleitung, Tipps, Alias-Definitionen, FAQ für das Sonoff NSPanel mit lovelace UI unter ioBroker
                      https://github.com/joBr99/nspanel-lovelace-ui/wiki

                      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                      L 1 Antwort Letzte Antwort
                      0
                      • ArmilarA Armilar

                        @lustig29

                        Wenn Tasmota, dann in der Konsole z.B.

                        setOption73 0
                        setOption114 0
                        

                        eingeben. Falls kein Tasmota... keine Ahnung

                        Die Einstellungen und setOptions sind aber auch auf der Tasmota-Seite zu finden:
                        https://tasmota.github.io/docs/Commands/

                        L Offline
                        L Offline
                        lustig29
                        schrieb am zuletzt editiert von
                        #6092

                        @armilar
                        Nächstes Problem. Kann das Tft nicht flashen.

                        20:52:03.422 CMD: FlashNextion http://nspanel.pky.eu/lovelace-ui/github/nspanel-v4.4.0.tft
                        20:52:03.429 MQT: SmartHome/NSPanel_Bad/stat/RESULT = {"Command":"Unknown"}
                        
                        ArmilarA 1 Antwort Letzte Antwort
                        0
                        • L lustig29

                          @armilar
                          Nächstes Problem. Kann das Tft nicht flashen.

                          20:52:03.422 CMD: FlashNextion http://nspanel.pky.eu/lovelace-ui/github/nspanel-v4.4.0.tft
                          20:52:03.429 MQT: SmartHome/NSPanel_Bad/stat/RESULT = {"Command":"Unknown"}
                          
                          ArmilarA Offline
                          ArmilarA Offline
                          Armilar
                          Most Active Forum Testing
                          schrieb am zuletzt editiert von
                          #6093

                          @lustig29

                          Wahrscheinlich fehlt der Berry-Driver:

                          https://github.com/joBr99/nspanel-lovelace-ui/wiki/ioBroker---Basisinstallation#step-für-step---anleitung

                          Installationsanleitung, Tipps, Alias-Definitionen, FAQ für das Sonoff NSPanel mit lovelace UI unter ioBroker
                          https://github.com/joBr99/nspanel-lovelace-ui/wiki

                          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                          L 1 Antwort Letzte Antwort
                          0
                          • ArmilarA Armilar

                            @lustig29

                            Wahrscheinlich fehlt der Berry-Driver:

                            https://github.com/joBr99/nspanel-lovelace-ui/wiki/ioBroker---Basisinstallation#step-für-step---anleitung

                            L Offline
                            L Offline
                            lustig29
                            schrieb am zuletzt editiert von
                            #6094

                            @armilar
                            Stimmt, hat wohl gefehlt. Jetzt bricht aber der Flashvorgang immer gleich ab...

                            21:05:27.720 CMD: FlashNextion http://nspanel.pky.eu/lovelace-ui/github/nspanel-v4.4.0.tft
                            21:05:27.728 MQT: SmartHome/NSPanel_Bad/stat/RESULT = {"FlashNextion":"Done"}
                            21:05:27.752 FLH: host: nspanel.pky.eu, port: 80, get: /lovelace-ui/github/nspanel-v4.4.0.tft
                            21:05:28.276 FLH: Send (High Speed) flash start
                            21:05:28.642 FLH: Something has gone wrong flashing display firmware [bytes('0D')]
                            
                            ArmilarA 1 Antwort Letzte Antwort
                            0
                            • L lustig29

                              @armilar
                              Stimmt, hat wohl gefehlt. Jetzt bricht aber der Flashvorgang immer gleich ab...

                              21:05:27.720 CMD: FlashNextion http://nspanel.pky.eu/lovelace-ui/github/nspanel-v4.4.0.tft
                              21:05:27.728 MQT: SmartHome/NSPanel_Bad/stat/RESULT = {"FlashNextion":"Done"}
                              21:05:27.752 FLH: host: nspanel.pky.eu, port: 80, get: /lovelace-ui/github/nspanel-v4.4.0.tft
                              21:05:28.276 FLH: Send (High Speed) flash start
                              21:05:28.642 FLH: Something has gone wrong flashing display firmware [bytes('0D')]
                              
                              ArmilarA Offline
                              ArmilarA Offline
                              Armilar
                              Most Active Forum Testing
                              schrieb am zuletzt editiert von
                              #6095

                              @lustig29 sagte in SONOFF NSPanel mit Lovelace UI:

                              flash start

                              Versuche das nacheinander... Dein Display steckt in einer anderen Geschwindigkeit fest...

                              FlashNextionAdv6 http://nspanel.pky.eu/lovelace-ui/github/nspanel-v4.4.0.tft
                              FlashNextionAdv5 http://nspanel.pky.eu/lovelace-ui/github/nspanel-v4.4.0.tft
                              FlashNextionAdv4 http://nspanel.pky.eu/lovelace-ui/github/nspanel-v4.4.0.tft
                              FlashNextionAdv3 http://nspanel.pky.eu/lovelace-ui/github/nspanel-v4.4.0.tft
                              FlashNextionAdv2 http://nspanel.pky.eu/lovelace-ui/github/nspanel-v4.4.0.tft
                              FlashNextionAdv1 http://nspanel.pky.eu/lovelace-ui/github/nspanel-v4.4.0.tft
                              

                              Installationsanleitung, Tipps, Alias-Definitionen, FAQ für das Sonoff NSPanel mit lovelace UI unter ioBroker
                              https://github.com/joBr99/nspanel-lovelace-ui/wiki

                              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                              L 1 Antwort Letzte Antwort
                              0
                              • ArmilarA Armilar

                                @lustig29 sagte in SONOFF NSPanel mit Lovelace UI:

                                flash start

                                Versuche das nacheinander... Dein Display steckt in einer anderen Geschwindigkeit fest...

                                FlashNextionAdv6 http://nspanel.pky.eu/lovelace-ui/github/nspanel-v4.4.0.tft
                                FlashNextionAdv5 http://nspanel.pky.eu/lovelace-ui/github/nspanel-v4.4.0.tft
                                FlashNextionAdv4 http://nspanel.pky.eu/lovelace-ui/github/nspanel-v4.4.0.tft
                                FlashNextionAdv3 http://nspanel.pky.eu/lovelace-ui/github/nspanel-v4.4.0.tft
                                FlashNextionAdv2 http://nspanel.pky.eu/lovelace-ui/github/nspanel-v4.4.0.tft
                                FlashNextionAdv1 http://nspanel.pky.eu/lovelace-ui/github/nspanel-v4.4.0.tft
                                
                                L Offline
                                L Offline
                                lustig29
                                schrieb am zuletzt editiert von
                                #6096

                                @armilar

                                5df9c8cf-f576-4481-8b04-d21a7aeeb74f-image.jpeg

                                1 Antwort Letzte Antwort
                                0
                                • ArmilarA Offline
                                  ArmilarA Offline
                                  Armilar
                                  Most Active Forum Testing
                                  schrieb am zuletzt editiert von
                                  #6097

                                  @lustig29

                                  Da ist aber kein ESPHome mehr drauf, oder?

                                  Installationsanleitung, Tipps, Alias-Definitionen, FAQ für das Sonoff NSPanel mit lovelace UI unter ioBroker
                                  https://github.com/joBr99/nspanel-lovelace-ui/wiki

                                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                  L 2 Antworten Letzte Antwort
                                  0
                                  • ArmilarA Armilar

                                    @lustig29

                                    Da ist aber kein ESPHome mehr drauf, oder?

                                    L Offline
                                    L Offline
                                    lustig29
                                    schrieb am zuletzt editiert von
                                    #6098

                                    @armilar
                                    Nee, das ist das andere, eigentlich frische Panel

                                    ArmilarA 1 Antwort Letzte Antwort
                                    0
                                    • ArmilarA Armilar

                                      @lustig29

                                      Da ist aber kein ESPHome mehr drauf, oder?

                                      L Offline
                                      L Offline
                                      lustig29
                                      schrieb am zuletzt editiert von
                                      #6099

                                      @armilar
                                      Gibt es keinen Befehl um das NsPanel komplett platt zu machen?

                                      1 Antwort Letzte Antwort
                                      0
                                      • L lustig29

                                        @armilar
                                        Nee, das ist das andere, eigentlich frische Panel

                                        ArmilarA Offline
                                        ArmilarA Offline
                                        Armilar
                                        Most Active Forum Testing
                                        schrieb am zuletzt editiert von
                                        #6100

                                        @lustig29

                                        Versuche mal

                                        FlashNextionAdv6 http://nspanel.pky.eu/lui.tft

                                        Installationsanleitung, Tipps, Alias-Definitionen, FAQ für das Sonoff NSPanel mit lovelace UI unter ioBroker
                                        https://github.com/joBr99/nspanel-lovelace-ui/wiki

                                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                        L 1 Antwort Letzte Antwort
                                        0
                                        • ArmilarA Armilar

                                          @lustig29

                                          Versuche mal

                                          FlashNextionAdv6 http://nspanel.pky.eu/lui.tft

                                          L Offline
                                          L Offline
                                          lustig29
                                          schrieb am zuletzt editiert von
                                          #6101

                                          @armilar said in SONOFF NSPanel mit Lovelace UI:

                                          FlashNextionAdv6 http://nspanel.pky.eu/lui.tft

                                          21:36:53.739 CMD: FlashNextionAdv6 http://nspanel.pky.eu/lui.tft
                                          21:36:53.747 MQT: SmartHome/NSPanel_Bad/stat/RESULT = {"FlashNextionAdv":"Done"}
                                          21:36:53.771 FLH: host: nspanel.pky.eu, port: 80, get: /lui.tft
                                          21:37:01.152 FLH: Something has gone wrong flashing display firmware [bytes('CFE7')]
                                          
                                          ArmilarA 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          387

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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