Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Mqtt Import EspEasy Software?

    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

    Mqtt Import EspEasy Software?

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

      Hallo zusammen,

      ich habe mir in China ein kleines I2C oled Display gekauft und mit der Software ESPEasy in Betrieb genommen. Soweit hat alles gut geklappt. Die ESPEasy Software kommuniziert mit dem Iobroker über den Mqtt Adapter. Ich arbeite gerne mit dem Wemos D1 mit der Sonoff Tasmota Software. Davon sind einige im Einsatz. Ich würde gerne Zustände, Temperaturen über den Mqtt aus dem Sonoff Adapter auf dem Display anzeigen, bis jetzt kann ich lediglich die Daten aus dem Mqtt Adapter per Import anzeigen lassen. Ich könnte jetzt alle Wemos mit der ESPEasy Software flashen dann würde es gehen. Diesen Weg wollte ich mir ersparen. Besteht die Möglichkeit bei der ESPEasy Software die Daten von anderen Mqtt Server zu importieren?

      Für jede Antwort immer dankbar

      Peter

      1 Reply Last reply Reply Quote 0
      • L
        Linedancer last edited by

        Hallo Peter,

        ich bin mir nicht ganz sicher, ob du sowas hier suchet:

        Mit einem Blockly Script schicke ich Infos über geöffnete Fenster und den Alarm Status auf das OLED Display.

        Hier das Blockly dazu:

        ! ````
        <xml xmlns="http://www.w3.org/1999/xhtml"><block type="comment" id="T3c/]6F#Z6B!o6q3TP_v" x="613" y="-12"><field name="COMMENT">Sendet den Fensterstatus und Alarmstatus an Haustür Wemos</field>
        <next><block type="on_ext" id="NN[:mKB=dzr(O=D7/,"><mutation items="4"></mutation>
        <field name="CONDITION">ne</field>

            <value name="OID0"><shadow type="field_oid" id="8.AnYUp2,JlFL2r4xmhY"><field name="oid">javascript.0.zählen_Fenster.anzahlFensterauf</field></shadow></value> 
            <value name="OID1"><shadow type="field_oid" id="k*Iyc#JuWon|@}]^4YNx"><field name="oid">javascript.0.zählen_Fenster_EG.anzahlFensterauf</field></shadow></value> 
            <value name="OID2"><shadow type="field_oid" id="kb:+9RPL9Z!|[(jUx-2W"><field name="oid">javascript.0.zählen_Fenster_Keller.anzahlFensterauf</field></shadow></value> 
            <value name="OID3"><shadow type="field_oid" id="DR)860lZMxNYM7]=U%%m"><field name="oid">javascript.0.SysVar.SV_Alarm_extern</field></shadow></value> 
            <statement name="STATEMENT"><block type="comment" id="3~U7K0|RI.F0FN]Le#a]"><field name="COMMENT">OLED löschen</field>
                <next><block type="request" id="9kv#]KU;{OuOazMJ),jx"><mutation with_statement="false"></mutation>
                    <field name="WITH_STATEMENT">FALSE</field>
        
                    <value name="URL"><shadow type="text" id="[o)SxpLbQKl|LqFzGGeg"><field name="TEXT">http://192.168.178.77/control?cmd=oledcmd,clear</field></shadow></value> 
                    <next><block type="variables_set" id="k`{`gXIRPw2/r)T)QHAn"><field name="VAR">Ausgabetext</field>
                        <value name="VALUE"><block type="text" id="Z^qe%*1)ZLY%UIK0eeqH"><field name="TEXT">http://192.168.178.77/control?cmd=oled,0,0,</field></block></value> 
                        <next><block type="controls_if" id="1Gr)C_HUq)G3aJ!-i4xT"><value name="IF0"><block type="logic_compare" id="jj!D|i2aeoz%OiITo8v+"><field name="OP">GT</field>
                                <value name="A"><block type="get_value" id="W^18SyO#tw5f1LGvi`q`"><field name="ATTR">val</field>
                                    <field name="OID">javascript.0.zählen_Fenster.anzahlFensterauf</field></block></value> 
                                <value name="B"><block type="math_number" id=":o-mr:vT=e:nxe9IlY8q"><field name="NUM">0</field></block></value></block></value> 
                            <statement name="DO0"><block type="variables_set" id="W#Pw/j:9i[99+p-5gyBs"><field name="VAR">Ausgabetext</field>
                                <value name="VALUE"><block type="text_join" id="4-La2VNJ+zd69EY5T0L9"><mutation items="2"></mutation>
                                    <value name="ADD0"><block type="variables_get" id="xja@Xv21@2Z#+G5bQnaP"><field name="VAR">Ausgabetext</field></block></value> 
                                    <value name="ADD1"><block type="text" id="3G-)B}h)gb!8}rSaXpFD"><field name="TEXT">DG / OG</field></block></value></block></value></block></statement> 
                            <next><block type="controls_if" id="9{2eC,SA?1Eh#O?wv*ql"><value name="IF0"><block type="logic_compare" id="H~9?Ps)}!4GpM55)nN56"><field name="OP">GT</field>
                                    <value name="A"><block type="get_value" id="8U#/7X2s80sn_rz,.nJS"><field name="ATTR">val</field>
                                        <field name="OID">javascript.0.zählen_Fenster_EG.anzahlFensterauf</field></block></value> 
                                    <value name="B"><block type="math_number" id="hxM`;=kn4Y*hyH;YBsAQ"><field name="NUM">0</field></block></value></block></value> 
                                <statement name="DO0"><block type="variables_set" id="Px.w+cDvZTN4+;3jP:Dr"><field name="VAR">Ausgabetext</field>
                                    <value name="VALUE"><block type="text_join" id="s@/6)7eudY7tH?*mQtCY"><mutation items="2"></mutation>
                                        <value name="ADD0"><block type="variables_get" id="O*7YoW-Faw=UP{k0ubo~"><field name="VAR">Ausgabetext</field></block></value> 
                                        <value name="ADD1"><block type="text" id="!]?*Y[!N09A3r6mHXlG`"><field name="TEXT">Erdgesch</field></block></value></block></value></block></statement> 
                                <next><block type="controls_if" id="t3y3M6DkuP7*H_PvbY1p"><value name="IF0"><block type="logic_compare" id="PN.PSq1[oDtyaQ=!q@#}"><field name="OP">GT</field>
                                        <value name="A"><block type="get_value" id="-Tz!W;6=asmOZFk;bw~?"><field name="ATTR">val</field>
                                            <field name="OID">javascript.0.zählen_Fenster_Keller.anzahlFensterauf</field></block></value> 
                                        <value name="B"><block type="math_number" id="/(rBkLm8f2jsOG[NS-VE"><field name="NUM">0</field></block></value></block></value> 
                                    <statement name="DO0"><block type="variables_set" id="0K51UwX/-A/=qgvy~x3H"><field name="VAR">Ausgabetext</field>
                                        <value name="VALUE"><block type="text_join" id="zSs(yjSWc84Ok.G}5Hkp"><mutation items="2"></mutation>
                                            <value name="ADD0"><block type="variables_get" id="x`4,{5RZn^1?}ibas=(*"><field name="VAR">Ausgabetext</field></block></value> 
                                            <value name="ADD1"><block type="text" id="zu@8F_Gy-5|z}U%GMtkb"><field name="TEXT">Keller</field></block></value></block></value></block></statement> 
                                    <next><block type="variables_set" id="R3gMK~E7~nY/5wEADZ+x"><field name="VAR">Ausgabetext2</field>
                                        <value name="VALUE"><block type="text" id="yR=uAL{;mNDPCrc]s{M_"><field name="TEXT">http://192.168.178.77/control?cmd=oled,5,0,</field></block></value> 
                                        <next><block type="controls_if" id="#uU-K8WAGyb!N;_,@b_i"><mutation else="1"></mutation>
                                            <value name="IF0"><block type="logic_compare" id="dB,~7ftD]xf*=4U}}9TR"><field name="OP">EQ</field>
                                                <value name="A"><block type="get_value" id="Kfqx.Qu8D`JsHI#E{rc*"><field name="ATTR">val</field>
                                                    <field name="OID">javascript.0.SysVar.SV_Alarm_extern</field></block></value> 
                                                <value name="B"><block type="logic_boolean" id="9cnc0;L6~bcVIYQIUjCD"><field name="BOOL">TRUE</field></block></value></block></value> 
                                            <statement name="DO0"><block type="variables_set" id="hNLsW!}T_|ehJ#Tw|zn;"><field name="VAR">Ausgabetext2</field>
                                                <value name="VALUE"><block type="text_join" id="jf0s4iCGBH}020GIIj)_"><mutation items="2"></mutation>
                                                    <value name="ADD0"><block type="variables_get" id="6A{UziV5gV!(LHx%gzq8"><field name="VAR">Ausgabetext2</field></block></value> 
                                                    <value name="ADD1"><block type="text" id="%cn(e[D+4wq4^3mzIs,9"><field name="TEXT">Alarm ON</field></block></value></block></value></block></statement> 
                                            <statement name="ELSE"><block type="variables_set" id="%S)BCPO,h)19*?l+Ra:d"><field name="VAR">Ausgabetext2</field>
                                                <value name="VALUE"><block type="text_join" id="eN8M8RY}@a_m)8i[Dr6D"><mutation items="2"></mutation>
                                                    <value name="ADD0"><block type="variables_get" id=",%;S:}DYZ?{dlBcjVuZ."><field name="VAR">Ausgabetext2</field></block></value> 
                                                    <value name="ADD1"><block type="text" id="=#ZE#7CNs3W@[_aTCRyc"><field name="TEXT">Alarm OFF</field></block></value></block></value></block></statement> 
                                            <next><block type="request" id="uMZJ:YvxudyE,sPzzY`R"><mutation with_statement="false"></mutation>
                                                <field name="WITH_STATEMENT">FALSE</field>
        
                                                <value name="URL"><shadow type="text" id="39|Vt8b,Nd4@(2+wG4,P"><field name="TEXT">text</field></shadow> 
                                                  <block type="variables_get" id="-,y#5y46#+u(sH-g0~5?"><field name="VAR">Ausgabetext</field></block></value> 
                                                <next><block type="request" id="R7:S-UmbJ^Y;v7b7@NXm"><mutation with_statement="false"></mutation>
                                                    <field name="WITH_STATEMENT">FALSE</field>
        
                                                    <value name="URL"><shadow type="text" id="39|Vt8b,Nd4@(2+wG4,P"><field name="TEXT">text</field></shadow> 
                                                      <block type="variables_get" id="rfYx=iB{5(MA/DG~9)PU"><field name="VAR">Ausgabetext2</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></xml> 
        
        1 Reply Last reply Reply Quote 0
        • peter pan01
          peter pan01 last edited by

          Hallo Gerhard,

          erstmal Danke für die Antwort.

          Du schickst die Daten zu dem Display über http.

          Ich wollte die über mqtt Import holen. Der espeasy kommuniziert mit mqtt Adapter im iobroker und ich kann dann alle Datenpunkte im mqtt Adapter abfragen und importieren. Was nicht geht ist zB. Zugriff auf die Daten aus dem Sonoff Adapter oder andere Datenpunkte. Die Frage ist eigentlich ist es möglich die Daten aus anderen mqtt Servern zu importieren? Wenn ja wie?

          Das wird wahrscheinlich die Lösung sein über http

          Gruß

          Peter

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

          Support us

          ioBroker
          Community Adapters
          Donate
          FAQ Cloud / IOT
          HowTo: Node.js-Update
          HowTo: Backup/Restore
          Downloads
          BLOG

          901
          Online

          31.9k
          Users

          80.1k
          Topics

          1.3m
          Posts

          3
          3
          858
          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