Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [Problem] Dream btw. Enigma2 Adapter

    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

    [Problem] Dream btw. Enigma2 Adapter

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

      Also, noch Mal für die neuen unwissenden:

      <u>Enigma2 Adapter installieren und Instanz erstellen</u>

      1. Im Tab "Adapter" erst einmal den pro Modus aktivieren
      3476_screenshot_20190105_105851.jpg

      2. Enigma2 Adapter installieren, indem man auf das GitHub Symbol klickt,
      3476_screenshot_20190105_111857.jpg
      und dann auf "beliebig" klickt.

      Im Feld "URL oder Dateipfad" muss man dann folgende Zeile eingeben

      https://github.com/Matten-Matten/ioBroker.enigma2.git
      

      3476_screenshot_20190105_105734.jpg

      3. Ein Adapter Upload machen, in dem ihr auf den installierten Adapter geht und auf das Upload Symbol klickt
      3476_screenshot_20190105_110003.jpg

      4. Nun könnt ihr wie gewohnt eine Instanz erstellen lassen.
      3476_screenshot_20190105_112918.jpg

      Wenn das erfolgreich war wird anschließend die Instanz Config Maske angezeigt, wo ihr eure IP,Port usw eintragen könnt. Wenn ihr den Receiver über euren Cloud Adapter ein/ausschalten wollt, könnt ihr das im Reiter Alexa aktivieren, damit die Objekte für ein/aus und mute/unmute erstellt werden.

      3476_screenshot_20190105_105612.jpg

      Am Ende auf speichern gehen und die Adapter Instanz starten.

      Fertig.

      Gruß

      Matten Matten

      1 Reply Last reply Reply Quote 0
      • D
        dos1973 last edited by

        Danke für die Erklärung, wenn ich kein Alexa/Cloud nutze, brauche ich das upload nicht, oder?

        so schaut es jetzt bei mir aus, was absolut komisch ist, ich habe jetzt alle commands zum steuern der box,wahrscheinlich nach reboot der Vu+

        Das einzige was mir zu meinem Glück fehlt fehlt sind die Startzeiten und Laufzeiten

        8724_bildschirmfoto_2019-01-06_um_11.29.40.png

        1 Reply Last reply Reply Quote 0
        • Matten Matten
          Matten Matten last edited by

          @dos1973:

          Danke für die Erklärung, wenn ich kein Alexa/Cloud nutze, brauche ich das upload nicht, oder? `

          Der Upload ist wichtig damit alles vollständig in iobroker hochgeladen wird.

          ` > so schaut es jetzt bei mir aus, was absolut komisch ist, ich habe jetzt alle commands zum steuern der box,wahrscheinlich nach reboot der Vu+

          Das einzige was mir zu meinem Glück fehlt fehlt sind die Startzeiten und Laufzeiten

          Bildschirmfoto 2019-01-06 um 11.29.40.png `

          enigma2.0.enigma2.EVENTDURATION

          Und

          enigma2.0.enigma2.EVENTREMAINING

          Daraus kannst du dir die Laufzeit errechnen lassen.

          (Wenn ich noch Mal ne Muse hab Pflege ich das im Adapter mit ein.)

          Start und endzeiten sind lange zahlen, kann ich aber auch noch Mal mit einpflegen. Das scheint ein "Unix Timecode" zu sein. Ich weiß aber noch nicht wie ich

          den umcodiert bekomme. Hat jemand eine Idee?

          Gruß

          Matten Matten

          1 Reply Last reply Reply Quote 0
          • dslraser
            dslraser Forum Testing Most Active last edited by

            @Matten Matten:

            @dos1973:

            Danke für die Erklärung, wenn ich kein Alexa/Cloud nutze, brauche ich das upload nicht, oder? `

            Der Upload ist wichtig damit alles vollständig in iobroker hochgeladen wird.

            ` > so schaut es jetzt bei mir aus, was absolut komisch ist, ich habe jetzt alle commands zum steuern der box,wahrscheinlich nach reboot der Vu+

            Das einzige was mir zu meinem Glück fehlt fehlt sind die Startzeiten und Laufzeiten

            Bildschirmfoto 2019-01-06 um 11.29.40.png `

            enigma2.0.enigma2.EVENTDURATION

            Und

            enigma2.0.enigma2.EVENTREMAINING

            Daraus kannst du dir die Laufzeit errechnen lassen.

            (Wenn ich noch Mal ne Muse hab Pflege ich das im Adapter mit ein.)

            Start und endzeiten sind lange zahlen, kann ich aber auch noch Mal mit einpflegen. Das scheint ein "Unix Timecode" zu sein. Ich weiß aber noch nicht wie ich

            den umcodiert bekomme. Hat jemand eine Idee?

            Gruß

            Matten Matten ` keine Ahnung ob das hilft…

            https://www.unixtime.de

            ![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201901 ... d18e3b.jpg">https://uploads.tapatalk-cdn.com/20190106/0779d522e406f42bf349b7aa2ad18e3b.jpg</link_text>" />

            1 Reply Last reply Reply Quote 0
            • dslraser
              dslraser Forum Testing Most Active last edited by

              oder das hier ?

              https://www.w3resource.com/java-exercis … ise-36.php

              1 Reply Last reply Reply Quote 0
              • Matten Matten
                Matten Matten last edited by

                Das hatte ich im Alexa2 Post gelesen aber ich weiß noch nicht wie ich das anwenden könnte….

                1 Reply Last reply Reply Quote 0
                • Matten Matten
                  Matten Matten last edited by

                  @dslraser:

                  oder das hier ?

                  https://www.w3resource.com/java-exercis … ise-36.php `

                  Muss ich Mal schauen ob ich das integriert bekomme.

                  Aber danke für den tip

                  1 Reply Last reply Reply Quote 0
                  • D
                    dos1973 last edited by

                    ich hatte das vor ioBroker in php so gelöst…

                    $vu_startzeit_next_sendung_php = $vudata_current["next"]["begin_timestamp"];
                    
                    $timestamp = $vu_startzeit_next_sendung_php;
                    $vu_startzeit_next_sendung = date("H:i", $timestamp);					// Filmstart nächste Sendung - Timestamp formatiert
                    
                    echo $timestamp;
                    echo '
                    ';
                    echo $vu_startzeit_next_sendung;
                    
                    

                    Ergebnis

                    1546779300
                    13:55
                    
                    

                    in php wurde der unix timestamp einfach damit formatiert

                    $vu_startzeit_next_sendung = date("H:i", $timestamp);	
                    
                    1 Reply Last reply Reply Quote 0
                    • D
                      dos1973 last edited by

                      ich habe gerade nochmals in meinem alten code geschaut.

                      die Start/ End zeiten der aktuellen Sendung werden in "Uhrzeit" dargestellt.

                      hier zu finden

                      $vu_ip/api/statusinfo

                      $vu_startzeit = $vudata_info["currservice_begin"]; 											// Filmstart
                      $vu_endzeit = $vudata_info["currservice_end"]; 	
                      
                      

                      nur die nächste Sendung wird mittels Unix Timesatmp dargestellt

                      1 Reply Last reply Reply Quote 0
                      • Matten Matten
                        Matten Matten last edited by

                        @dos1973:

                        die Start/ End zeiten der aktuellen Sendung werden in "Uhrzeit" dargestellt.

                        hier zu finden

                        $vu_ip/api/statusinfo `

                        Das ist richtig jedoch wird das nur für die Open webif Freunde funktionieren.

                        Beim normalen webif kommt dann

                        ` > No Such Resource

                        File not found. `

                        1 Reply Last reply Reply Quote 0
                        • D
                          dos1973 last edited by

                          :oops:

                          ups.

                          na dann will ich nix gesagt haben, ich hatte natürlich nur für meine Bedürfnisse gebastelt.

                          wenn mir noch jemand einen hilfreichen Weg/ link zeigt wie ich das hier mache??
                          @Matten Matten:

                          enigma2.0.enigma2.EVENTDURATION

                          Und

                          enigma2.0.enigma2.EVENTREMAINING

                          Daraus kannst du dir die Laufzeit errechnen lassen.

                          (Wenn ich noch Mal ne Muse hab Pflege ich das im Adapter mit ein.)

                          Gruß

                          Matten Matten `

                          muss ich extra ein Script dafür anlegen, oder kann ich die Ausgabe im VIS in Minuten darstellen.

                          im Endeffekt durch 60 dividieren und aufrunden - nur wie :lol:

                          1 Reply Last reply Reply Quote 0
                          • Matten Matten
                            Matten Matten last edited by

                            Blockly Script

                             <xml xmlns="http://www.w3.org/1999/xhtml"><block type="on_ext" id="te)?/ioqu8,@[[v!{W(#" x="87" y="-37"><mutation items="2"></mutation>
                                <field name="CONDITION">ne</field>
                            
                                <value name="OID0"><shadow type="field_oid" id="X1F92n*LUX5S:z-=LHVy"><field name="oid">enigma2.0.enigma2.EVENTDURATION</field></shadow></value> 
                                <value name="OID1"><shadow type="field_oid" id="G|S8?1**UMzDrMXCC-g%"><field name="oid">enigma2.0.enigma2.EVENTREMAINING</field></shadow></value> 
                                <statement name="STATEMENT"><block type="variables_set" id="I}FG+HyYhp-7EFSF:/r~"><field name="VAR">xxx</field>
                                    <value name="VALUE"><block type="convert_tonumber" id="79k(+jF,@|m,BPp}Dtj~"><value name="VALUE"><block type="math_arithmetic" id="XcwS-88CR,Y2htN;uK|c"><field name="OP">MINUS</field>
                                            <value name="A"><shadow type="math_number" id="B84fO,!*zwW}p1d(33Z}"><field name="NUM">1</field></shadow> 
                                              <block type="convert_tonumber" id="|uKx[zKyHozvcdMI-eW,"><value name="VALUE"><block type="get_value" id="8+yYHwEBTrE4TM:3z6j)"><field name="ATTR">val</field>
                                                    <field name="OID">enigma2.0.enigma2.EVENTDURATION</field></block></value></block></value> 
                                            <value name="B"><shadow type="math_number" id="V@90:G71=Xn43FK=Js2_"><field name="NUM">1</field></shadow> 
                                              <block type="convert_tonumber" id="k6w}y`T@}.61.X8L_|l|"><value name="VALUE"><block type="get_value" id="e!@0TOj.dQ3.GfDgcNGR"><field name="ATTR">val</field>
                                                    <field name="OID">enigma2.0.enigma2.EVENTREMAINING</field></block></value></block></value></block></value></block></value> 
                                    <next><block type="variables_set" id=":t_5~lVIDvnwKkSK2Q6c"><field name="VAR">endex</field>
                                        <value name="VALUE"><block type="convert_tonumber" id="`DQ#pW#`w*Yr_!t[Zf=y"><value name="VALUE"><block type="math_arithmetic" id="=aR{Qm=~61?-2#S,erbu"><field name="OP">DIVIDE</field>
                                                <value name="A"><shadow type="math_number" id="B84fO,!*zwW}p1d(33Z}"><field name="NUM">1</field></shadow> 
                                                  <block type="variables_get" id="JxBd;?|7[l=NTxcv#ga:"><field name="VAR">xxx</field></block></value> 
                                                <value name="B"><shadow type="math_number" id="Izt2.snc.Z3#oW[IiwJr"><field name="NUM">1</field></shadow> 
                                                  <block type="convert_tonumber" id="gG]}/BOG:@66%WutXH8_"><value name="VALUE"><block type="get_value" id="PKt4l{Lc)br[WklcgC=."><field name="ATTR">val</field>
                                                        <field name="OID">enigma2.0.enigma2.EVENTDURATION</field></block></value></block></value></block></value></block></value> 
                                        <next><block type="variables_set" id="6ydM]*]dDDttk/YGl|e!"><field name="VAR">fertig</field>
                                            <value name="VALUE"><block type="convert_tonumber" id="-1SDYcL^J*S6F3d5(Z`W"><value name="VALUE"><block type="math_round" id="d}).~wTFOyic](r;9%dx"><field name="OP">ROUND</field>
                                                    <value name="NUM"><shadow type="math_number" id="adp[Sw1v:Gskc+#U[^A`"><field name="NUM">3.1</field></shadow> 
                                                      <block type="math_arithmetic" id="trd)Q*CR@BKhw1Z-|wz1"><field name="OP">MULTIPLY</field>
                                                        <value name="A"><shadow type="math_number" id="B84fO,!*zwW}p1d(33Z}"><field name="NUM">1</field></shadow> 
                                                          <block type="variables_get" id="X-o{oIj@yfYLt}n20*d5"><field name="VAR">endex</field></block></value> 
                                                        <value name="B"><shadow type="math_number" id="LN.^4IuAI1I1eH#=KWL_"><field name="NUM">100</field></shadow></value></block></value></block></value></block></value> 
                                            <next><block type="debug" id="^x#`;YoNyM4Dr0s0d}`7"><field name="Severity">log</field>
                                                <value name="TEXT"><shadow type="text" id="Sz3J5YEP^hi]XKR;^q,8"><field name="TEXT">test</field></shadow> 
                                                  <block type="variables_get" id="@+E!Mo80mkA##!P(/#8]"><field name="VAR">fertig</field></block></value></block></next></block></next></block></next></block></statement></block></xml> 
                            

                            3476_screenshot_20190106_122237.jpg
                            Nicht über meine Namensgebung lachen :oops: Hauptsache es funktioniert. Kannst ja noch umändern

                            1 Reply Last reply Reply Quote 0
                            • D
                              dos1973 last edited by

                              @Matten Matten:

                              Nicht über meine Namensgebung lachen :oops: Hauptsache es funktioniert. Kannst ja noch umändern `

                              niemals, jeder code ist ein Unikat 😉

                              hmm, klappt nicht, oder ich bin zu doof.

                              er rechnet zwar im log irgendwas, aber ich verstehe nicht was?

                              und wo wird denn der DP hingeschrieben.

                              oder fehlt noch etwas, da folgendes in script angezeigt wird

                              • setze xxx

                              • setze Endex

                              • setze fertig

                              werden da variablen geschrieben, die ich nicht habe?

                              Hätte nicht gedacht, dass es in iobroker so kompliziert ist eine simple division durchzuführen

                              1 Reply Last reply Reply Quote 0
                              • Matten Matten
                                Matten Matten last edited by

                                Du musst das passende Objekt erstellen. Damit der geschrieben werden kann.

                                Sonst Pflege ich noch was an warte…

                                Welche enigma2 Instanz hast du? enigma2.0?

                                1 Reply Last reply Reply Quote 0
                                • D
                                  dos1973 last edited by

                                  Ja,

                                  enigma2.0

                                  1 Reply Last reply Reply Quote 0
                                  • Matten Matten
                                    Matten Matten last edited by

                                    @dos1973:

                                    Ja,

                                    enigma2.0 `

                                    Also, du musst wenn du das blockly Skript erstellt hast einmal das "<u>enigma2.0 Objekt erstellen</u>" aktivieren,
                                    3476_screenshot_20190106_134400.jpg

                                    Dann speichern

                                    Dann das Skript starten, dann das "<u>enigma2.0 Objekt erstellen</u>" wieder deaktivieren. (Damit nur einmal Warnungen im Log auftreten)

                                    Und zuletzt noch Mal speichern.

                                     <xml xmlns="http://www.w3.org/1999/xhtml"><block type="procedures_defcustomnoreturn" id="3,{3*DQFDJIdsOuWpXR:" x="163" y="38"><mutation statements="false"></mutation>
                                        <field name="NAME">enigma2.0 Objekt erstellen</field>
                                        <field name="SCRIPT">Ly8iZW5pZ21hMi4wLmVuaWdtYTIuRVZFTlREVVJBVElPTiIvKkVWRU5UIERVUkFUSU9OKi8KLy8KY29uc3QgcGF0aCA9ICdlbmlnbWEyLjAuJzsKY29uc3QgaWQgPSBwYXRoICsgJ2VuaWdtYTIuRVZFTlRfUEVSQ0VOVCc7Cgp2YXIgb2JqID0ge307Cm9iai50eXBlID0gJ3N0YXRlJzsKb2JqLmNvbW1vbiA9IHt9OwpvYmouY29tbW9uLm5hbWUgPSAnWmVpdCBpbiAlJzsKb2JqLmNvbW1vbi50eXBlID0gJ251bWJlcic7Cm9iai5jb21tb24ucm9sZSA9ICdudW1iZXInOwpvYmouY29tbW9uLmRlc2MgPSAnJzsKb2JqLmNvbW1vbi5yZWFkID0gdHJ1ZTsKb2JqLmNvbW1vbi53cml0ZSA9IHRydWU7Cm9iai5jb21tb24uZGVmID0gMDsKb2JqLmNvbW1vbi5taW4gPSAwOwpvYmouY29tbW9uLnVuaXQgPSAnJzsKCnNldE9iamVjdChpZCwgb2JqLCBmdW5jdGlvbihlcnIpIHsKICAgIGlmKGVycikgbG9nKCdDYW5ub3Qgd3JpdGUgb2JqZWN0OiAnICsgZXJyKTsKICAgIGVsc2Ugc2V0U3RhdGUoaWQsIG9iai5jb21tb24uZGVmKTsKfSk7Ci8v</field>
                                        <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment></block> 
                                      <block type="procedures_callcustomnoreturn" id="y]oa(rI-E).uP1Ec766O" disabled="true" x="13" y="88"><mutation name="enigma2.0 Objekt erstellen"></mutation>
                                        <next><block type="on_ext" id="/Euq=alJz?/P6Ccs`z@U"><mutation items="2"></mutation>
                                            <field name="CONDITION">ne</field>
                                    
                                            <value name="OID0"><shadow type="field_oid" id="}:s|!wPDynez/3UfiB^I"><field name="oid">enigma2.0.enigma2.EVENTDURATION</field></shadow></value> 
                                            <value name="OID1"><shadow type="field_oid" id="3s+JH9y8I4!fz-2LB7b7"><field name="oid">enigma2.0.enigma2.EVENTREMAINING</field></shadow></value> 
                                            <statement name="STATEMENT"><block type="variables_set" id="[QA62LWtP)6bT9GeXv}j"><field name="VAR">xxx</field>
                                                <value name="VALUE"><block type="convert_tonumber" id="v314i/n]L3uh649s#`6M"><value name="VALUE"><block type="math_arithmetic" id=",*p8{2%.i6c]l:%V(Pm."><field name="OP">MINUS</field>
                                                        <value name="A"><shadow type="math_number" id="B84fO,!*zwW}p1d(33Z}"><field name="NUM">1</field></shadow> 
                                                          <block type="convert_tonumber" id="f76}o{mf{6cMZ5gXxyv:"><value name="VALUE"><block type="get_value" id="!uBbtPOwTOUW3CTx5Nt!"><field name="ATTR">val</field>
                                                                <field name="OID">enigma2.0.enigma2.EVENTDURATION</field></block></value></block></value> 
                                                        <value name="B"><shadow type="math_number" id="V@90:G71=Xn43FK=Js2_"><field name="NUM">1</field></shadow> 
                                                          <block type="convert_tonumber" id="*^4t98lWA^tp{zg`U77:"><value name="VALUE"><block type="get_value" id="zq9Z2VgGBZh{sVpSlwN2"><field name="ATTR">val</field>
                                                                <field name="OID">enigma2.0.enigma2.EVENTREMAINING</field></block></value></block></value></block></value></block></value> 
                                                <next><block type="variables_set" id="JwaCjKE7;;%YTz.O*!{N"><field name="VAR">endex</field>
                                                    <value name="VALUE"><block type="convert_tonumber" id="=OtW:,EKXd^6ZFV!x9wT"><value name="VALUE"><block type="math_arithmetic" id="1+B^A;cQJ1yS;jB[QF/3"><field name="OP">DIVIDE</field>
                                                            <value name="A"><shadow type="math_number" id="B84fO,!*zwW}p1d(33Z}"><field name="NUM">1</field></shadow> 
                                                              <block type="variables_get" id="{a;]+08#JAv%RVmK3Q~|"><field name="VAR">xxx</field></block></value> 
                                                            <value name="B"><shadow type="math_number" id="Izt2.snc.Z3#oW[IiwJr"><field name="NUM">1</field></shadow> 
                                                              <block type="convert_tonumber" id="1k!=)(P.(z%w9.KMa-OV"><value name="VALUE"><block type="get_value" id="`GhPy}XPpT+_+9PRTxZ!"><field name="ATTR">val</field>
                                                                    <field name="OID">enigma2.0.enigma2.EVENTDURATION</field></block></value></block></value></block></value></block></value> 
                                                    <next><block type="variables_set" id="YgQU{aw?Uq2oFm#%?_-;"><field name="VAR">fertig</field>
                                                        <value name="VALUE"><block type="convert_tonumber" id=",YGVdc+vidv~K_MkW;2b"><value name="VALUE"><block type="math_round" id=".{5e/?m!#aBm.jx,s,L+"><field name="OP">ROUND</field>
                                                                <value name="NUM"><shadow type="math_number" id="adp[Sw1v:Gskc+#U[^A`"><field name="NUM">3.1</field></shadow> 
                                                                  <block type="math_arithmetic" id="]O0=3Lu(o4O)(:9ojL%E"><field name="OP">MULTIPLY</field>
                                                                    <value name="A"><shadow type="math_number" id="B84fO,!*zwW}p1d(33Z}"><field name="NUM">1</field></shadow> 
                                                                      <block type="variables_get" id=")Tbo.AB/b@R,Ta,0WaO#"><field name="VAR">endex</field></block></value> 
                                                                    <value name="B"><shadow type="math_number" id="Bvaw0DX%_.C!l6KZuPPd"><field name="NUM">100</field></shadow></value></block></value></block></value></block></value> 
                                                        <next><block type="controls_if" id="rm*iAtd12na4U;GX8Ina"><value name="IF0"><block type="logic_compare" id="(RMqIJR~-J+z0pa?]vJN"><field name="OP">NEQ</field>
                                                                <value name="A"><block type="variables_get" id="O`4CB/%W`iQn_]6FOp8="><field name="VAR">fertig</field></block></value> 
                                                                <value name="B"><block type="get_value" id="8~?#JqDPicx;6EyrBY;-"><field name="ATTR">val</field>
                                                                    <field name="OID">enigma2.0.enigma2.EVENT_PERCENT</field></block></value></block></value> 
                                                            <statement name="DO0"><block type="control_ex" id="e*=x-#M/#XTA@|r.F,}S"><field name="TYPE">true</field>
                                                                <field name="CLEAR_RUNNING">FALSE</field>
                                                                <value name="OID"><shadow type="field_oid" id="]sJq*jQ.~XinW_-k{m(R"><field name="oid">enigma2.0.enigma2.EVENT_PERCENT</field></shadow></value> 
                                                                <value name="VALUE"><shadow type="logic_boolean" id="9%Pdu^@2L:,0Q2vjnow4"><field name="BOOL">TRUE</field></shadow> 
                                                                  <block type="convert_tonumber" id="Uk(r=%-uB}Wj3}Zfo((D"><value name="VALUE"><block type="variables_get" id="E]2?}X;gPKsB9):|}._n"><field name="VAR">fertig</field></block></value></block></value> 
                                                                <value name="DELAY_MS"><shadow type="math_number" id="5bnI,e4=l#3IX{l(prYU"><field name="NUM">0</field></shadow></value> 
                                                                <next><block type="debug" id="7BRCRs[`@[*7vMYwC`#%" disabled="true"><field name="Severity">log</field>
                                                                    <value name="TEXT"><shadow type="text" id="Sz3J5YEP^hi]XKR;^q,8"><field name="TEXT">test</field></shadow> 
                                                                      <block type="variables_get" id="=/LJC(`;gfc|L@H~-2N3"><field name="VAR">fertig</field></block></value></block></next></block></statement></block></next></block></next></block></next></block></statement></block></next></block></xml> 
                                    
                                    

                                    Gruß

                                    Matten Matten

                                    1 Reply Last reply Reply Quote 0
                                    • D
                                      dos1973 last edited by

                                      Ich versuche das später, bin derzeit noch unterwegs. Melde mich dann.

                                      Vorab Vielen Dank für deine Mühe!

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Schweiz last edited by

                                        @Matten Matten:

                                        Ohne debug Log ist es schwer nachzuvollziehen. `

                                        Naja, wie gesagt da ich gezwungen wurde den Javascript Adapter zurück zu setzen leider nicht vorhanden… sorry!

                                        Aktuell startet er denoch mal wider nicht...

                                        ! ````
                                        host.Homesteuerung 2019-01-06 18:41:17.029 info Restart adapter system.adapter.enigma2.0 because enabled
                                        host.Homesteuerung 2019-01-06 18:41:17.029 error instance system.adapter.enigma2.0 terminated with code 0 (OK)
                                        host.Homesteuerung 2019-01-06 18:41:17.029 error Caught by controller[0]: at SAXParser.write (/opt/iobroker/node_modules/sax/lib/sax.js:1436:13)
                                        host.Homesteuerung 2019-01-06 18:41:17.029 error Caught by controller[0]: at closeTag (/opt/iobroker/node_modules/sax/lib/sax.js:889:7)
                                        host.Homesteuerung 2019-01-06 18:41:17.029 error Caught by controller[0]: at emitNode (/opt/iobroker/node_modules/sax/lib/sax.js:629:5)
                                        host.Homesteuerung 2019-01-06 18:41:17.028 error Caught by controller[0]: at emit (/opt/iobroker/node_modules/sax/lib/sax.js:624:35)
                                        host.Homesteuerung 2019-01-06 18:41:17.028 error Caught by controller[0]: at SAXParser.onclosetag (/opt/iobroker/node_modules/xml2js/lib/parser.js:261:26)
                                        host.Homesteuerung 2019-01-06 18:41:17.028 error Caught by controller[0]: at Parser.emit (events.js:211:7)
                                        host.Homesteuerung 2019-01-06 18:41:17.028 error Caught by controller[0]: at emitOne (events.js:116:13)
                                        host.Homesteuerung 2019-01-06 18:41:17.028 error Caught by controller[0]: at Parser. <anonymous>(/opt/iobroker/node_modules/xml2js/lib/parser.js:303:18)
                                        host.Homesteuerung 2019-01-06 18:41:17.027 error Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.enigma2/enigma2.js:312:7
                                        host.Homesteuerung 2019-01-06 18:41:17.027 error Caught by controller[0]: at evaluateCommandResponse (/opt/iobroker/node_modules/iobroker.enigma2/enigma2.js:419:79)
                                        host.Homesteuerung 2019-01-06 18:41:17.026 error Caught by controller[0]: TypeError: Cannot read property 'e2webifversion' of undefined
                                        enigma2.0 2019-01-06 18:41:16.492 error TypeError: Cannot read property 'e2webifversion' of undefined at evaluateCommandResponse (/opt/iobroker/node_modules/iobroker.enigma2/enigma2.js:419:79) at /opt/iobroker/node_modules/iobroker.
                                        enigma2.0 2019-01-06 18:41:16.491 error uncaught exception: Cannot read property 'e2webifversion' of undefined
                                        enigma2.0 2019-01-06 18:41:16.477 debug evaluating response for command 'DEVICEINFO': {"html":{"head":[{"title":["web.Server Traceback (most recent call last)"]}],"body":[{"b":["web.Server Traceback (most recent call last):"],"div":[{"style
                                        enigma2.0 2019-01-06 18:41:15.779 debug using authorization with user 'root'
                                        enigma2.0 2019-01-06 18:41:15.779 debug creating request for command 'DEVICEINFO' (deviceId: 1, host: 192.168.178.25, port: 80, path: '/web/deviceinfo')
                                        enigma2.0 2019-01-06 18:41:15.779 info starting Polling every 5000 ms
                                        enigma2.0 2019-01-06 18:41:15.779 debug setObject Message.Timeout (type=state) property common.name missing, using id as name
                                        enigma2.0 2019-01-06 18:41:15.779 debug config Passworddreambox
                                        enigma2.0 2019-01-06 18:41:15.779 debug config Username: root
                                        enigma2.0 2019-01-06 18:41:15.779 debug config Port: 80
                                        enigma2.0 2019-01-06 18:41:15.779 debug config IPAddress: 192.168.178.25
                                        enigma2.0 2019-01-06 18:41:15.779 info starting. Version 1.1.6 in /opt/iobroker/node_modules/iobroker.enigma2, node: v8.12.0
                                        host.Homesteuerung 2019-01-06 17:41:12.277 info instance system.adapter.enigma2.0 started with pid 13803
                                        host.Homesteuerung 2019-01-06 17:41:12.242 info object change system.adapter.enigma2.0
                                        host.Homesteuerung 2019-01-06 17:41:04.034 info instance system.adapter.tvspielfilm.0 terminated with code 0 (OK)
                                        tvspielfilm.0 2019-01-06 17:41:03.493 info force terminating adapter after 1 minute
                                        host.Homesteuerung 2019-01-06 17:40:55.207 info Restart adapter system.adapter.enigma2.0 because enabled
                                        host.Homesteuerung 2019-01-06 17:40:55.207 error instance system.adapter.enigma2.0 terminated with code 0 (OK)
                                        Caught 2019-01-06 17:40:55.206 error by controller[0]: at SAXParser.write (/opt/iobroker/node_modules/sax/lib/sax.js:1436:13)
                                        Caught 2019-01-06 17:40:55.206 error by controller[0]: at closeTag (/opt/iobroker/node_modules/sax/lib/sax.js:889:7)
                                        Caught 2019-01-06 17:40:55.206 error by controller[0]: at emitNode (/opt/iobroker/node_modules/sax/lib/sax.js:629:5)
                                        Caught 2019-01-06 17:40:55.206 error by controller[0]: at emit (/opt/iobroker/node_modules/sax/lib/sax.js:624:35)
                                        Caught 2019-01-06 17:40:55.206 error by controller[0]: at SAXParser.onclosetag (/opt/iobroker/node_modules/xml2js/lib/parser.js:261:26)
                                        Caught 2019-01-06 17:40:55.205 error by controller[0]: at Parser.emit (events.js:211:7)
                                        Caught 2019-01-06 17:40:55.205 error by controller[0]: at emitOne (events.js:116:13)
                                        Caught 2019-01-06 17:40:55.205 error by controller[0]: at Parser. <anonymous>(/opt/iobroker/node_modules/xml2js/lib/parser.js:303:18)
                                        Caught 2019-01-06 17:40:55.205 error by controller[0]: at /opt/iobroker/node_modules/iobroker.enigma2/enigma2.js:312:7
                                        Caught 2019-01-06 17:40:55.205 error by controller[0]: at evaluateCommandResponse (/opt/iobroker/node_modules/iobroker.enigma2/enigma2.js:419:79)
                                        Caught 2019-01-06 17:40:55.204 error by controller[0]: TypeError: Cannot read property 'e2webifversion' of undefined
                                        enigma2.0 2019-01-06 17:40:55.155 info terminating
                                        enigma2.0 2019-01-06 17:40:54.645 error at SAXParser.write (/opt/iobroker/node_modules/sax/lib/sax.js:1436:13)
                                        enigma2.0 2019-01-06 17:40:54.645 error at closeTag (/opt/iobroker/node_modules/sax/lib/sax.js:889:7)
                                        enigma2.0 2019-01-06 17:40:54.645 error at emitNode (/opt/iobroker/node_modules/sax/lib/sax.js:629:5)
                                        enigma2.0 2019-01-06 17:40:54.645 error at emit (/opt/iobroker/node_modules/sax/lib/sax.js:624:35)
                                        enigma2.0 2019-01-06 17:40:54.645 error at SAXParser.onclosetag (/opt/iobroker/node_modules/xml2js/lib/parser.js:261:26)
                                        enigma2.0 2019-01-06 17:40:54.645 error at Parser.emit (events.js:211:7)
                                        enigma2.0 2019-01-06 17:40:54.645 error at emitOne (events.js:116:13)
                                        enigma2.0 2019-01-06 17:40:54.645 error at Parser. <anonymous>(/opt/iobroker/node_modules/xml2js/lib/parser.js:303:18)
                                        enigma2.0 2019-01-06 17:40:54.645 error at /opt/iobroker/node_modules/iobroker.enigma2/enigma2.js:312:7
                                        enigma2.0 2019-01-06 17:40:54.645 error at evaluateCommandResponse (/opt/iobroker/node_modules/iobroker.enigma2/enigma2.js:419:79)
                                        enigma2.0 2019-01-06 17:40:54.645 error TypeError: Cannot read property 'e2webifversion' of undefined
                                        enigma2.0 2019-01-06 17:40:54.643 error uncaught exception: Cannot read property 'e2webifversion' of undefined
                                        enigma2.0 2019-01-06 17:40:53.904 info starting Polling every 5000 ms
                                        enigma2.0 2019-01-06 17:40:53.883 info starting. Version 1.1.6 in /opt/iobroker/node_modules/iobroker.enigma2, node: v8.12.0
                                        host.Homesteuerung 2019-01-06 17:40:50.475 info instance system.adapter.enigma2.0 started with pid 13785
                                        host.Homesteuerung 2019-01-06 17:40:20.373 info Restart adapter system.adapter.enigma2.0 because enabled
                                        host.Homesteuerung 2019-01-06 17:40:20.373 error instance system.adapter.enigma2.0 terminated with code 0 (OK)
                                        Caught 2019-01-06 17:40:20.372 error by controller[0]: at SAXParser.write (/opt/iobroker/node_modules/sax/lib/sax.js:1436:13)
                                        Caught 2019-01-06 17:40:20.372 error by controller[0]: at closeTag (/opt/iobroker/node_modules/sax/lib/sax.js:889:7)
                                        Caught 2019-01-06 17:40:20.372 error by controller[0]: at emitNode (/opt/iobroker/node_modules/sax/lib/sax.js:629:5)
                                        Caught 2019-01-06 17:40:20.372 error by controller[0]: at emit (/opt/iobroker/node_modules/sax/lib/sax.js:624:35)
                                        Caught 2019-01-06 17:40:20.372 error by controller[0]: at SAXParser.onclosetag (/opt/iobroker/node_modules/xml2js/lib/parser.js:261:26)
                                        Caught 2019-01-06 17:40:20.371 error by controller[0]: at Parser.emit (events.js:211:7)
                                        Caught 2019-01-06 17:40:20.371 error by controller[0]: at emitOne (events.js:116:13)
                                        Caught 2019-01-06 17:40:20.371 error by controller[0]: at Parser. <anonymous>(/opt/iobroker/node_modules/xml2js/lib/parser.js:303:18)
                                        Caught 2019-01-06 17:40:20.371 error by controller[0]: at /opt/iobroker/node_modules/iobroker.enigma2/enigma2.js:312:7
                                        Caught 2019-01-06 17:40:20.370 error by controller[0]: at evaluateCommandResponse (/opt/iobroker/node_modules/iobroker.enigma2/enigma2.js:419:79)
                                        Caught 2019-01-06 17:40:20.370 error by controller[0]: TypeError: Cannot read property 'e2webifversion' of undefined
                                        enigma2.0 2019-01-06 17:40:20.332 info terminating
                                        enigma2.0 2019-01-06 17:40:19.822 error at SAXParser.write (/opt/iobroker/node_modules/sax/lib/sax.js:1436:13)
                                        enigma2.0 2019-01-06 17:40:19.822 error at closeTag (/opt/iobroker/node_modules/sax/lib/sax.js:889:7)
                                        enigma2.0 2019-01-06 17:40:19.822 error at emitNode (/opt/iobroker/node_modules/sax/lib/sax.js:629:5)
                                        enigma2.0 2019-01-06 17:40:19.822 error at emit (/opt/iobroker/node_modules/sax/lib/sax.js:624:35)
                                        enigma2.0 2019-01-06 17:40:19.822 error at SAXParser.onclosetag (/opt/iobroker/node_modules/xml2js/lib/parser.js:261:26)
                                        enigma2.0 2019-01-06 17:40:19.822 error at Parser.emit (events.js:211:7)
                                        enigma2.0 2019-01-06 17:40:19.822 error at emitOne (events.js:116:13)
                                        enigma2.0 2019-01-06 17:40:19.822 error at Parser. <anonymous>(/opt/iobroker/node_modules/xml2js/lib/parser.js:303:18)
                                        enigma2.0 2019-01-06 17:40:19.822 error at /opt/iobroker/node_modules/iobroker.enigma2/enigma2.js:312:7
                                        enigma2.0 2019-01-06 17:40:19.822 error at evaluateCommandResponse (/opt/iobroker/node_modules/iobroker.enigma2/enigma2.js:419:79)
                                        enigma2.0 2019-01-06 17:40:19.822 error TypeError: Cannot read property 'e2webifversion' of undefined
                                        enigma2.0 2019-01-06 17:40:19.820 error uncaught exception: Cannot read property 'e2webifversion' of undefined</anonymous></anonymous></anonymous></anonymous></anonymous>

                                        
                                        Grüsse Schweiz
                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          dos1973 last edited by

                                          also irgendwie klappt es bei immer noch nicht…

                                          ich habe dein Script neu erstellt und auch, m.E befolgt,

                                          der DP Event Percent wurde neu angelegt, aber die anderen DP werden weiterhin Sekunden dargestellt.

                                          so schaut es aus.
                                          8724_bildschirmfoto_2019-01-06_um_21.37.03.png
                                          habe ich etwas falsch gemacht??

                                          1 Reply Last reply Reply Quote 0
                                          • Matten Matten
                                            Matten Matten last edited by

                                            @dos1973:

                                            habe ich etwas falsch gemacht?? `

                                            Nee das ist nur für die % Balken Anzeige.

                                            Ein Prozent Wert von 0 bis 100

                                            Das andere muss ich erst im Adapter ändern

                                            Gruß

                                            Matten Matten

                                            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

                                            560
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            82
                                            739
                                            184219
                                            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