Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Praktische Anwendungen (Showcase)
    4. E-INK Display OpenEPaperLink - Displayanzeige mit Batterie

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    E-INK Display OpenEPaperLink - Displayanzeige mit Batterie

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

      Muß hier noch etwas rein?

      pupp.jpg

      Ich verstehe das nicht.

      Mit diesem Skript

      sendTo('puppeteer.0', 'screenshot', { 
          url: urlOfVISView,                     
          path: imageSaveToFilenameWithPath,     
          width: viewWidth,                      
          height: viewHeight,                    
          quality: jpgQuality,                   
      
          waitOption: {
              waitForSelector: waitForSelector,  
              waitForTimeout: 25000              
          },
      
          fullPage: false,                       
      
          clip: {         
              x: cutoutX,                        
              y: cutoutY,                        
              width: cutoutWidth,                
              height: cutoutHeight               
          }
      }, obj => {
          if (obj.error) {
              console.warn("Fehler beim Aufruf der View: " + urlOfVISView + " => " + obj.error.message);
          } else {
              const http = require('http'); 
              const https = require('https');
              const { URL } = require('url');
      
              const boundary = '--------------------------' + Date.now().toString(16);
              const CRLF = '\r\n';
      
              // Payload-Erstellung
              const payload = Buffer.concat([
                  Buffer.from(`--${boundary}${CRLF}Content-Disposition: form-data; name="dither"${CRLF}${CRLF}0${CRLF}`),
                  Buffer.from(`--${boundary}${CRLF}Content-Disposition: form-data; name="mac"${CRLF}${CRLF}${ePaperMAC}${CRLF}`),
                  Buffer.from(`--${boundary}${CRLF}Content-Disposition: form-data; name="image"; filename="screenshot.jpg"${CRLF}Content-Type: image/jpeg${CRLF}${CRLF}`),
                  Buffer.from(Object.values(obj.result), 'binary'),
                  Buffer.from(`${CRLF}--${boundary}--${CRLF}`)
              ]);
      
              // URL Parsing
              const url = new URL(imageUploadURL);
              const options = {
                  hostname: url.hostname,
                  port: url.port || (url.protocol === 'https:' ? 443 : 80),
                  path: url.pathname + (url.search || ''),
                  method: 'POST',
                  headers: {
                      'Content-Type': 'multipart/form-data; boundary=' + boundary,
                      'Content-Length': payload.length
                  }
              };
      
              // Protokollwahl
              const protocol = url.protocol === 'https:' ? https : http;
      
              // HTTP Request
              const req = protocol.request(options, function(res) {
                  console.log('ImageUploadStatusCode:', res.statusCode);
                  res.on('data', function(chunk) {
                      console.log('Response:', chunk.toString());
                  });
              });
      
              req.on('error', function(e) {
                  console.error('Fehler beim Hochladen:', e.message);
              });
      
              req.write(payload);
              req.end();
          }
      });
      

      hat es bis jetzt funktioniert.

      Jetzt kommt immer das.

      puppeteer.0
      	2025-01-07 10:33:06.343	error	Could not take screenshot of "http://192.168.49.38:8082/vis/index.html?E-Paper-Allgemein#Kellerlüftung": Page.captureScreenshot timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed.
      mqtt.0
      	2025-01-07 10:32:45.479	warn	script.js.common.EPaper-Displays.Allgemein.Kellerlüfter_1: Fehler beim Aufruf der View: http://192.168.49.38:8082/vis/index.html?E-Paper-Allgemein#Kellerlüftung => undefined
      

      Der "VIS-Link" funktioniert. Dort wird auch sofort die Änderung sichtbar.

      Was kann ich noch testen?

      Neuschwansteini 1 Reply Last reply Reply Quote 0
      • Neuschwansteini
        Neuschwansteini @Beowolf last edited by

        @beowolf

        Hello,
        die Fehlermeldung sagt, dass deine 25000ms timeout im Script nicht ausreichen, also den mal hoeher stellen.

        Wird denn der Screenshot richtig erstellt?
        oder kommt da schon nix?

        Ansonsten das Script mal auf debug stellen und laufen lassen.

        B 1 Reply Last reply Reply Quote 0
        • B
          Beowolf @Neuschwansteini last edited by Beowolf

          @ilovegym

          Es kommt nur diese Nachricht.

          javascript.0
          	2025-01-08 10:50:48.385	warn	script.js.common.EPaper-Displays.Allgemein.Kellerlüfter_1: Fehler beim Aufruf der View: http://192.168.49.38:8082/vis/index.html?E-Paper-Allgemein#Kellerlüftung => undefined
          javascript.0
          	2025-01-08 10:50:28.385	info	script.js.common.EPaper-Displays.Allgemein.Kellerlüfter_1: TAG-Lüftung1 wurde aktualisiert
          

          Das "ü" in Kellerlüftung ist egal. Es kommt solche eine Meldung auch bei anderen TAGs. Diesen kann ich aber einfacher schalten.

          Egal welche Zeit ich bei

          waitForTimeout: 25000 
          

          eingebe.

          Die Meldung erscheint immer nach genau 20 Sekunden.

          Zu Deiner Frage:

          Wird denn der Screenshot richtig erstellt?
          

          Nein, er erscheint auch nicht im /tmp Ordner.
          Rufe ich den Link manuell auf, erscheint der TAG-Inhalt so wie es sein soll.

          Wenn ich Puppeteer neu starte, funktioniert es ein paar mal.

          Wenn es dann funktioniert, erscheint die neue Bilddatei sofort im /tmp Ordner.

          Wenn ich bei

          waitForTimeout: 25000 
          

          das einstelle, sollte die neue Datei doch eigentlich erst nach 25 Sekunden erscheinen, oder?

          Neuschwansteini 1 Reply Last reply Reply Quote 0
          • Neuschwansteini
            Neuschwansteini @Beowolf last edited by

            @beowolf

            das Problem ist, dass Puppeteer zu lange braucht..
            Schau mal nach der Systemlast..

            Das Timeout 25000 bedeutet, er wartet bis 25 sek. - falls bis dahin der Screenshot nicht gemacht wurde, gibts n Fehler.

            1 Reply Last reply Reply Quote 0
            • B
              Beowolf last edited by Beowolf

              Die Systemlast ist kaum vorhanden (PI5).

              Ich habe jetzt 100000 eingestellt.

              Es kommt aber doch nach exakt 20 Sekunden die Fehlermeldung.

              puppeteer.0
              	2025-01-08 16:12:19.171	error	Could not take screenshot of "http://192.168.49.38:8082/vis/index.html?E-Paper-Allgemein#Kellerlüftung": Page.captureScreenshot timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed.
              javascript.0
              	2025-01-08 16:08:55.368	warn	script.js.common.EPaper-Displays.Allgemein.Kellerlüfter_1: Fehler beim Aufruf der View: http://192.168.49.38:8082/vis/index.html?E-Paper-Allgemein#Kellerlüftung => undefined
              javascript.0
              	2025-01-08 16:08:35.368	info	script.js.common.EPaper-Displays.Allgemein.Kellerlüfter_1: TAG-Lüftung1 wurde aktualisiert
              

              Hat jemand eine Idee wo die 20 Sekunden her kommen?

              Neuschwansteini BananaJoe 2 Replies Last reply Reply Quote 0
              • Neuschwansteini
                Neuschwansteini @Beowolf last edited by

                @beowolf

                vielleicht weil er erst garnicht die View aufrufen kann, wie da steht?
                Ich hatte sowas auch schonmal, hab dann den ganzen Vis Kram rausgeworfen, sende Text zu den TAGS, das funktioniert zuverlässig und ich brauche keinen Puppeteer mehr...

                B 1 Reply Last reply Reply Quote 0
                • B
                  Beowolf @Neuschwansteini last edited by

                  @ilovegym sagte in E-INK Display OpenEPaperLink - Displayanzeige mit Batterie:

                  sende Text zu den TAGS, das funktioniert zuverlässig und ich brauche keinen Puppeteer mehr...

                  Könntest du beschreiben wie du das machst?

                  Neuschwansteini 1 Reply Last reply Reply Quote 0
                  • Neuschwansteini
                    Neuschwansteini @Beowolf last edited by

                    @beowolf

                    ganz einfach gemacht, importier dir mal das Blockly, sind mehrere, siehste dann schon.
                    Das Script ist nur fuer die im Keller, fuer die anderen habe ich Scripte pro Etage, ist uebersichtlicher.

                    Screenshot 2025-01-08 at 16.20.43.png

                    <xml xmlns="https://developers.google.com/blockly/xml">
                     <variables>
                       <variable id="e.-?J1RG(1E03apliOsd">url</variable>
                       <variable id="eMqV!m8?ZCdqN2].w`xb">TagMini1</variable>
                       <variable id=":@-BjGIrlW;6s.wsm,H1">TagMini3</variable>
                       <variable id="J7_nqV5RB)3Xtr2Agt{K">TagMini2</variable>
                       <variable id="*)}|9mHpKcV3YN}|a_t5">jsonMini1</variable>
                       <variable id="6?NWQNLa]M0Yq[b$W|)N">jsonMini3</variable>
                       <variable id="pe_dxl:`24ESVOeIPS5r">TagMini4</variable>
                       <variable id="}~WaJ7B[@XQb_cLmXLNl">jsonMini2</variable>
                       <variable id="H4XUdZS8yaP.w7;rCrg}">TagMini5</variable>
                       <variable id=":N+EDar.l3MY8{Amoc+q">jsonMini4</variable>
                       <variable id="xOv6nT!vNvHQGOy_PS-q">Tag6</variable>
                       <variable id="Aly#RFALB]77GLNK89a,">jsonMini5</variable>
                       <variable id=",_7cnfYi5l2U3!LG#0f`">json6</variable>
                     </variables>
                     <block type="procedures_defcustomreturn" id="Q)=N/g,e;;C$aa#GZ/g6" x="712" y="412">
                       <mutation statements="false">
                         <arg name="url" varid="e.-?J1RG(1E03apliOsd"></arg>
                       </mutation>
                       <field name="NAME">encodeURL</field>
                       <field name="SCRIPT">dXJsID0gZW5jb2RlVVJJQ29tcG9uZW50KHVybCk7DQpyZXR1cm4gdXJsOw==</field>
                       <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                     </block>
                     <block type="on_ext" id="P$af/8byEUS#qCA]5B-P" x="713" y="463">
                       <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                       <field name="CONDITION">ne</field>
                       <field name="ACK_CONDITION"></field>
                       <value name="OID0">
                         <shadow type="field_oid" id="qKgG$O[{3RUIQEMyX@84">
                           <field name="oid">zigbee.0.00158d0002437883.temperature</field>
                         </shadow>
                       </value>
                       <value name="OID1">
                         <shadow type="field_oid" id="m58HHRDlFl5dQ~p*5[ii">
                           <field name="oid">zigbee.0.00158d0002437883.humidity</field>
                         </shadow>
                       </value>
                       <statement name="STATEMENT">
                         <block type="variables_set" id="}kvQ}B#.rViPjfKc-HTi">
                           <field name="VAR" id="eMqV!m8?ZCdqN2].w`xb">TagMini1</field>
                           <value name="VALUE">
                             <block type="text" id="AS0{YNAIOlM%S|LO,c(?">
                               <field name="TEXT">0000018152EC3B36</field>
                             </block>
                           </value>
                           <next>
                             <block type="variables_set" id="k02GjbFfyHgTN`gcO-Da">
                               <field name="VAR" id="*)}|9mHpKcV3YN}|a_t5">jsonMini1</field>
                               <value name="VALUE">
                                 <block type="procedures_callcustomreturn" id="m+$OB%}5|)Pwa;Sp_8Xz">
                                   <mutation name="encodeURL">
                                     <arg name="url"></arg>
                                   </mutation>
                                   <value name="ARG0">
                                     <block type="text_join" id="%7M,-4ru#q{/k6KDWMHm">
                                       <mutation items="5"></mutation>
                                       <value name="ADD0">
                                         <block type="text" id="n|(:Q;;@|/rl*,,eDMQ0">
                                           <field name="TEXT">[    {"text": [10,10,"Technikkeller","fonts/calibrib30",1]},     {"text": [10,40,"</field>
                                         </block>
                                       </value>
                                       <value name="ADD1">
                                         <block type="get_value" id="Ivop[TTx6k8izC(a}Lh$">
                                           <field name="ATTR">val</field>
                                           <field name="OID">zigbee.0.00158d0002437883.temperature</field>
                                         </block>
                                       </value>
                                       <value name="ADD2">
                                         <block type="text" id="-TrP7)yat_@i@EoM![@s">
                                           <field name="TEXT"> Grad","fonts/calibrib30",2]},     {"text": [10,70,"Feuchtigkeit","fonts/calibrib30",1]},   {"text": [10,100,"</field>
                                         </block>
                                       </value>
                                       <value name="ADD3">
                                         <block type="get_value" id=",q|-s|A[N!n.HVB![149">
                                           <field name="ATTR">val</field>
                                           <field name="OID">zigbee.0.00158d0002437883.humidity</field>
                                         </block>
                                       </value>
                                       <value name="ADD4">
                                         <block type="text" id="8Mjb{3)XGWhzToz{:.]t">
                                           <field name="TEXT"> %","fonts/calibrib30",2]}  ] </field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <next>
                                 <block type="http_post" id="AoQ+~mSdktWzhHgxGz#C">
                                   <field name="TIMEOUT">15</field>
                                   <field name="UNIT">sec</field>
                                   <field name="TYPE">text</field>
                                   <value name="URL">
                                     <shadow type="text" id="qh|GfefbC0op9nMhC4nk">
                                       <field name="TEXT">http://10.1.1.92/jsonupload</field>
                                     </shadow>
                                   </value>
                                   <value name="DATA">
                                     <block type="text_join" id="YiM(/:1NU2PK@ysCbT8$">
                                       <mutation items="4"></mutation>
                                       <value name="ADD0">
                                         <block type="text" id="sY#__Tq@9.DrJShh~Ant">
                                           <field name="TEXT">mac=</field>
                                         </block>
                                       </value>
                                       <value name="ADD1">
                                         <block type="variables_get" id="^ag2u;YyTY9!dP{tJ|}c">
                                           <field name="VAR" id="eMqV!m8?ZCdqN2].w`xb">TagMini1</field>
                                         </block>
                                       </value>
                                       <value name="ADD2">
                                         <block type="text" id="k:I$k7w),ZmO9hEwr:$W">
                                           <field name="TEXT">&amp;json=</field>
                                         </block>
                                       </value>
                                       <value name="ADD3">
                                         <block type="variables_get" id="MEQ/.CHU]v1WHbuc@`Ly">
                                           <field name="VAR" id="*)}|9mHpKcV3YN}|a_t5">jsonMini1</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </statement>
                     </block>
                     <block type="on_ext" id="?~4v|6OH]}sl{hNo:ATQ" x="-362" y="538">
                       <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                       <field name="CONDITION">ne</field>
                       <field name="ACK_CONDITION"></field>
                       <value name="OID0">
                         <shadow type="field_oid" id="-^D,ElPSAtI:c;f7+%w4">
                           <field name="oid">zigbee.0.00158d000208ee42.temperature</field>
                         </shadow>
                       </value>
                       <value name="OID1">
                         <shadow type="field_oid" id="OyKz3~oa6O;#:)F{pBIs">
                           <field name="oid">zigbee.0.00158d000208ee42.humidity</field>
                         </shadow>
                       </value>
                       <statement name="STATEMENT">
                         <block type="variables_set" id="nVF(2NMH%o#9y@5u*VP:">
                           <field name="VAR" id=":@-BjGIrlW;6s.wsm,H1">TagMini3</field>
                           <value name="VALUE">
                             <block type="text" id="(mbTkNOla4p-$|{Z4)e5">
                               <field name="TEXT">00000238AF0C3B19</field>
                             </block>
                           </value>
                           <next>
                             <block type="variables_set" id="O*TBY9:OM/w341m7)j.@">
                               <field name="VAR" id="6?NWQNLa]M0Yq[b$W|)N">jsonMini3</field>
                               <value name="VALUE">
                                 <block type="procedures_callcustomreturn" id="@G=iE/Dq!WdfX3S/p9Od">
                                   <mutation name="encodeURL">
                                     <arg name="url"></arg>
                                   </mutation>
                                   <value name="ARG0">
                                     <block type="text_join" id="R{=_;Q(6(Yk~eaR(GfrM">
                                       <mutation items="5"></mutation>
                                       <value name="ADD0">
                                         <block type="text" id="6:y;OFO`exqYDsacnGs-">
                                           <field name="TEXT">[    {"text": [10,10,"Werkzeugkeller","fonts/calibrib30",1]},     {"text": [10,40,"</field>
                                         </block>
                                       </value>
                                       <value name="ADD1">
                                         <block type="get_value" id="OC%8E2|zlfs~w:5TC%!?">
                                           <field name="ATTR">val</field>
                                           <field name="OID">zigbee.0.00158d000208ee42.temperature</field>
                                         </block>
                                       </value>
                                       <value name="ADD2">
                                         <block type="text" id="ip~~)?.D,D1^2T.N3^bG">
                                           <field name="TEXT"> Grad","fonts/calibrib30",2]},     {"text": [10,70,"Feuchtigkeit","fonts/calibrib30",1]},   {"text": [10,100,"</field>
                                         </block>
                                       </value>
                                       <value name="ADD3">
                                         <block type="get_value" id="rVC8-I,ww0UPG/nNfcY?">
                                           <field name="ATTR">val</field>
                                           <field name="OID">zigbee.0.00158d000208ee42.humidity</field>
                                         </block>
                                       </value>
                                       <value name="ADD4">
                                         <block type="text" id="iKi~E~zvgD~36L15~?#r">
                                           <field name="TEXT"> %","fonts/calibrib30",2]}  ] </field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <next>
                                 <block type="http_post" id="8$x(fLa`X*r;:5i3@~C@">
                                   <field name="TIMEOUT">15</field>
                                   <field name="UNIT">sec</field>
                                   <field name="TYPE">text</field>
                                   <value name="URL">
                                     <shadow type="text" id="h|b-/,h~am%|{V%X33P0">
                                       <field name="TEXT">http://10.1.1.92/jsonupload</field>
                                     </shadow>
                                   </value>
                                   <value name="DATA">
                                     <block type="text_join" id="`8}P;_}YpH9#ew`C(D^@">
                                       <mutation items="4"></mutation>
                                       <value name="ADD0">
                                         <block type="text" id="Kk;o[1wh;KLJ!ota%9|%">
                                           <field name="TEXT">mac=</field>
                                         </block>
                                       </value>
                                       <value name="ADD1">
                                         <block type="variables_get" id="P8In9B^pVi8v6kNE1W86">
                                           <field name="VAR" id=":@-BjGIrlW;6s.wsm,H1">TagMini3</field>
                                         </block>
                                       </value>
                                       <value name="ADD2">
                                         <block type="text" id="|0;K_+Cr7$psPSyVMC~.">
                                           <field name="TEXT">&amp;json=</field>
                                         </block>
                                       </value>
                                       <value name="ADD3">
                                         <block type="variables_get" id="8OBzun_Y~5G)]FGC3vPb">
                                           <field name="VAR" id="6?NWQNLa]M0Yq[b$W|)N">jsonMini3</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </statement>
                       <next>
                         <block type="on_ext" id="cYJ)r,mW[1zJD8*H5O!$">
                           <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                           <field name="CONDITION">ne</field>
                           <field name="ACK_CONDITION"></field>
                           <value name="OID0">
                             <shadow type="field_oid" id="paCSlr:Iv=cHN2djhgIH">
                               <field name="oid">zigbee.0.00158d00036b4cda.temperature</field>
                             </shadow>
                           </value>
                           <value name="OID1">
                             <shadow type="field_oid" id="@68i@tj%N%n=;gEe3%e4">
                               <field name="oid">zigbee.0.00158d00036b4cda.humidity</field>
                             </shadow>
                           </value>
                           <statement name="STATEMENT">
                             <block type="variables_set" id="xyrAsL=WpE+T{hj;G/(*">
                               <field name="VAR" id="pe_dxl:`24ESVOeIPS5r">TagMini4</field>
                               <value name="VALUE">
                                 <block type="text" id="smOX,PN9ev|~T/5]#:q%">
                                   <field name="TEXT">0000023902D53B1B</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="variables_set" id="CBD!)m$9d(Nm$}SptXxv">
                                   <field name="VAR" id=":N+EDar.l3MY8{Amoc+q">jsonMini4</field>
                                   <value name="VALUE">
                                     <block type="procedures_callcustomreturn" id="|MBh.4VZ-=GB%zV^P)`,">
                                       <mutation name="encodeURL">
                                         <arg name="url"></arg>
                                       </mutation>
                                       <value name="ARG0">
                                         <block type="text_join" id="ST:Pv`|%I-tFF7.vVQrV">
                                           <mutation items="5"></mutation>
                                           <value name="ADD0">
                                             <block type="text" id="Z9G0aU_]1Zq5H3zno[%4">
                                               <field name="TEXT">[    {"text": [10,10,"Heizungsraum","fonts/calibrib30",1]},     {"text": [10,40,"</field>
                                             </block>
                                           </value>
                                           <value name="ADD1">
                                             <block type="get_value" id="^cmYDD)1oZVjd!37?,fF">
                                               <field name="ATTR">val</field>
                                               <field name="OID">zigbee.0.00158d00036b4cda.temperature</field>
                                             </block>
                                           </value>
                                           <value name="ADD2">
                                             <block type="text" id="tiar^GJG*Z7VQt]}3g-c">
                                               <field name="TEXT"> Grad","fonts/calibrib30",2]},     {"text": [10,70,"Feuchtigkeit","fonts/calibrib30",1]},   {"text": [10,100,"</field>
                                             </block>
                                           </value>
                                           <value name="ADD3">
                                             <block type="get_value" id="_ghimrRIdG%ER#8E0yz]">
                                               <field name="ATTR">val</field>
                                               <field name="OID">zigbee.0.00158d00036b4cda.humidity</field>
                                             </block>
                                           </value>
                                           <value name="ADD4">
                                             <block type="text" id="^vFi@/b^z6LPO]8R~JXX">
                                               <field name="TEXT"> %","fonts/calibrib30",2]}  ] </field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="http_post" id="AuFTfFud^K|P:O{@MSvY">
                                       <field name="TIMEOUT">15</field>
                                       <field name="UNIT">sec</field>
                                       <field name="TYPE">text</field>
                                       <value name="URL">
                                         <shadow type="text" id="N+!Rt`=+Ifse?2mB(MQc">
                                           <field name="TEXT">http://10.1.1.92/jsonupload</field>
                                         </shadow>
                                       </value>
                                       <value name="DATA">
                                         <block type="text_join" id=";Te,w1U?vK0]([}evtWq">
                                           <mutation items="4"></mutation>
                                           <value name="ADD0">
                                             <block type="text" id="2},.CBl]O]ECdb]H|^!:">
                                               <field name="TEXT">mac=</field>
                                             </block>
                                           </value>
                                           <value name="ADD1">
                                             <block type="variables_get" id="/@~?S:{|`~1F~v|G+.G,">
                                               <field name="VAR" id="pe_dxl:`24ESVOeIPS5r">TagMini4</field>
                                             </block>
                                           </value>
                                           <value name="ADD2">
                                             <block type="text" id="uB[J?j/L6R_g3Yn=V]4~">
                                               <field name="TEXT">&amp;json=</field>
                                             </block>
                                           </value>
                                           <value name="ADD3">
                                             <block type="variables_get" id="LYc1$r^LPALbEqFrnkr$">
                                               <field name="VAR" id=":N+EDar.l3MY8{Amoc+q">jsonMini4</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </statement>
                           <next>
                             <block type="on_ext" id="H3U%|$[i*TJ2Su6_xI_M" disabled="true">
                               <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                               <field name="CONDITION">ne</field>
                               <field name="ACK_CONDITION"></field>
                               <value name="OID0">
                                 <shadow type="field_oid" id="blz`i?G8MWOuRvh._Y!h">
                                   <field name="oid">alias.0.Haus.Keller.Vorratskeller.Wasser-Salzvorrat.LEVEL</field>
                                 </shadow>
                               </value>
                               <value name="OID1">
                                 <shadow type="field_oid" id="|qQ%q5A3*k)KH8$/l?T+">
                                   <field name="oid">0_userdata.0.Zaehler.SyrLexPlusVentil</field>
                                 </shadow>
                               </value>
                               <statement name="STATEMENT">
                                 <block type="variables_set" id="mz87Bu@ZG`sK/ATEC/)7">
                                   <field name="VAR" id="xOv6nT!vNvHQGOy_PS-q">Tag6</field>
                                   <value name="VALUE">
                                     <block type="text" id="iB$.7P%/%f+e]stW=vOg">
                                       <field name="TEXT">000001811F763B3C</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="variables_set" id="y8:+MA./_h6=+CLB[k3k">
                                       <field name="VAR" id=",_7cnfYi5l2U3!LG#0f`">json6</field>
                                       <value name="VALUE">
                                         <block type="procedures_callcustomreturn" id="zzSncjL4DdncD9hJWS7Y">
                                           <mutation name="encodeURL">
                                             <arg name="url"></arg>
                                           </mutation>
                                           <value name="ARG0">
                                             <block type="text_join" id="vD{gj!v%cvW:s`~H8kgY">
                                               <mutation items="5"></mutation>
                                               <value name="ADD0">
                                                 <block type="text" id="tKiQf}Nf`5%#y]E@uXEQ">
                                                   <field name="TEXT">[    {"text": [10,10,"Salzvorrat der Anlage:","fonts/calibrib30",1]},     {"text": [10,40,"       </field>
                                                 </block>
                                               </value>
                                               <value name="ADD1">
                                                 <block type="get_value" id="NW#/]]JO{~C{VO.RcgU$">
                                                   <field name="ATTR">val</field>
                                                   <field name="OID">alias.0.Haus.Keller.Vorratskeller.Wasser-Salzvorrat.LEVEL</field>
                                                 </block>
                                               </value>
                                               <value name="ADD2">
                                                 <block type="text" id="kF$h$c/vT}Yr%Qw8[,(H">
                                                   <field name="TEXT">  kg","fonts/calibrib30",2]},     {"text": [10,70,"Ventil: ","fonts/calibrib30",1]},   {"text": [10,100,"</field>
                                                 </block>
                                               </value>
                                               <value name="ADD3">
                                                 <block type="get_value" id="zuED]OaN,$VW*ShvHNQo">
                                                   <field name="ATTR">val</field>
                                                   <field name="OID">0_userdata.0.Zaehler.SyrLexPlusVentil</field>
                                                 </block>
                                               </value>
                                               <value name="ADD4">
                                                 <block type="text" id="Tp@]p.YJBW!5I#S?sy+;">
                                                   <field name="TEXT">","fonts/calibrib30",2]}  ] </field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="http_post" id="Gr`uJ7ZHM-SKasG:mZ$w">
                                           <field name="TIMEOUT">15</field>
                                           <field name="UNIT">sec</field>
                                           <field name="TYPE">text</field>
                                           <value name="URL">
                                             <shadow type="text" id="NUCvl}u~4yEQz{kPrl`-">
                                               <field name="TEXT">http://10.1.1.92/jsonupload</field>
                                             </shadow>
                                           </value>
                                           <value name="DATA">
                                             <block type="text_join" id="mhGswVx^8k2LK5|T@$%T">
                                               <mutation items="4"></mutation>
                                               <value name="ADD0">
                                                 <block type="text" id="#NWZ}[Y|m#O)Qp4[8}BE">
                                                   <field name="TEXT">mac=</field>
                                                 </block>
                                               </value>
                                               <value name="ADD1">
                                                 <block type="variables_get" id="Ui4!1b;Gt0#gY)$RP/,u">
                                                   <field name="VAR" id="xOv6nT!vNvHQGOy_PS-q">Tag6</field>
                                                 </block>
                                               </value>
                                               <value name="ADD2">
                                                 <block type="text" id="!@IP}(!m=!|Q8;9zEixE">
                                                   <field name="TEXT">&amp;json=</field>
                                                 </block>
                                               </value>
                                               <value name="ADD3">
                                                 <block type="variables_get" id="v#MRCFb~ZWuX}T=an~h+">
                                                   <field name="VAR" id=",_7cnfYi5l2U3!LG#0f`">json6</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                     <block type="on_ext" id="GDP;%D7=S5XJbumtiGm*" x="662" y="1263">
                       <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                       <field name="CONDITION">ne</field>
                       <field name="ACK_CONDITION"></field>
                       <value name="OID0">
                         <shadow type="field_oid" id="-1jhD_PIRIJ{}Jcv2~0j">
                           <field name="oid">zigbee.0.00158d0002325798.temperature</field>
                         </shadow>
                       </value>
                       <value name="OID1">
                         <shadow type="field_oid" id="x3H2G$Brcp,F}z7N`It6">
                           <field name="oid">zigbee.0.00158d0002325798.humidity</field>
                         </shadow>
                       </value>
                       <statement name="STATEMENT">
                         <block type="variables_set" id="5`.NP,WfKu}qSxlp%C3a">
                           <field name="VAR" id="J7_nqV5RB)3Xtr2Agt{K">TagMini2</field>
                           <value name="VALUE">
                             <block type="text" id="E+k[6wmOSOjoGt!5$It,">
                               <field name="TEXT">0000027C4C943B15</field>
                             </block>
                           </value>
                           <next>
                             <block type="variables_set" id="x=QXbOTPF-Xty;:b(X=A">
                               <field name="VAR" id="}~WaJ7B[@XQb_cLmXLNl">jsonMini2</field>
                               <value name="VALUE">
                                 <block type="procedures_callcustomreturn" id=",,mhUF4f}!??(yJM26f6">
                                   <mutation name="encodeURL">
                                     <arg name="url"></arg>
                                   </mutation>
                                   <value name="ARG0">
                                     <block type="text_join" id="ggT/tKjtKpMN8Je:Sq!?">
                                       <mutation items="5"></mutation>
                                       <value name="ADD0">
                                         <block type="text" id="kxbn*CndRzsNHRu5J1LL">
                                           <field name="TEXT">[    {"text": [10,10,"Fitnessraum","fonts/calibrib30",1]},     {"text": [10,40,"</field>
                                         </block>
                                       </value>
                                       <value name="ADD1">
                                         <block type="get_value" id="^:9TV?Q|$`uQjK=$S2wC">
                                           <field name="ATTR">val</field>
                                           <field name="OID">zigbee.0.00158d0002325798.temperature</field>
                                         </block>
                                       </value>
                                       <value name="ADD2">
                                         <block type="text" id="s-6q1sS2~}6rJFi2BAO?">
                                           <field name="TEXT"> Grad","fonts/calibrib30",2]},     {"text": [10,70,"Feuchtigkeit","fonts/calibrib30",1]},   {"text": [10,100,"</field>
                                         </block>
                                       </value>
                                       <value name="ADD3">
                                         <block type="get_value" id="nCzi5h.Mk)U^Ca%+.PF{">
                                           <field name="ATTR">val</field>
                                           <field name="OID">zigbee.0.00158d0002325798.humidity</field>
                                         </block>
                                       </value>
                                       <value name="ADD4">
                                         <block type="text" id="ru,`ItoubF)#;h/*syy2">
                                           <field name="TEXT"> %","fonts/calibrib30",2]}  ] </field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <next>
                                 <block type="http_post" id="$*_FP8[*y9`ov8HtuffF">
                                   <field name="TIMEOUT">15</field>
                                   <field name="UNIT">sec</field>
                                   <field name="TYPE">text</field>
                                   <value name="URL">
                                     <shadow type="text" id="$];9:eaA/=.|K`WV^.{V">
                                       <field name="TEXT">http://10.1.1.92/jsonupload</field>
                                     </shadow>
                                   </value>
                                   <value name="DATA">
                                     <block type="text_join" id="uB9s?Ee~ow7fmueW_~0R">
                                       <mutation items="4"></mutation>
                                       <value name="ADD0">
                                         <block type="text" id="9!|2_|.JVE/t0l)$vQRF">
                                           <field name="TEXT">mac=</field>
                                         </block>
                                       </value>
                                       <value name="ADD1">
                                         <block type="variables_get" id="SUz(5x~L54?f5Cf4SMEi">
                                           <field name="VAR" id="J7_nqV5RB)3Xtr2Agt{K">TagMini2</field>
                                         </block>
                                       </value>
                                       <value name="ADD2">
                                         <block type="text" id="a8|=KU-Jf@MUtm3^`,yZ">
                                           <field name="TEXT">&amp;json=</field>
                                         </block>
                                       </value>
                                       <value name="ADD3">
                                         <block type="variables_get" id="6@bg1Pe1pM/bZRzMq^fL">
                                           <field name="VAR" id="}~WaJ7B[@XQb_cLmXLNl">jsonMini2</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </statement>
                       <next>
                         <block type="on_ext" id="4D5e[CTrCz0!WX?s[2wA">
                           <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                           <field name="CONDITION">ne</field>
                           <field name="ACK_CONDITION"></field>
                           <value name="OID0">
                             <shadow type="field_oid" id="cmCn8_zd7jY_ZaC`lldw">
                               <field name="oid">zigbee.0.60a423fffe39d80d.temperature</field>
                             </shadow>
                           </value>
                           <value name="OID1">
                             <shadow type="field_oid" id="gdKMGf=Z?9x#;m3.vKTD">
                               <field name="oid">zigbee.0.60a423fffe39d80d.humidity</field>
                             </shadow>
                           </value>
                           <statement name="STATEMENT">
                             <block type="variables_set" id="k7;n0#EAur3gr)lf1@dr">
                               <field name="VAR" id="H4XUdZS8yaP.w7;rCrg}">TagMini5</field>
                               <value name="VALUE">
                                 <block type="text" id="CjE:@w-c]dH|=Yn/A$~#">
                                   <field name="TEXT">0000026C3A3F3B14</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="variables_set" id="::Xzq1pwFk^u?@?SEZr@">
                                   <field name="VAR" id="Aly#RFALB]77GLNK89a,">jsonMini5</field>
                                   <value name="VALUE">
                                     <block type="procedures_callcustomreturn" id=":/-Cz|ahaOPhs]2{fT*I">
                                       <mutation name="encodeURL">
                                         <arg name="url"></arg>
                                       </mutation>
                                       <value name="ARG0">
                                         <block type="text_join" id="@I%0-#E;V},/yW1(~YI*">
                                           <mutation items="5"></mutation>
                                           <value name="ADD0">
                                             <block type="text" id="W)lmL{}-3`.H%!VR|7,,">
                                               <field name="TEXT">[    {"text": [10,10,"Vorratsraum","fonts/calibrib30",1]},     {"text": [10,40,"</field>
                                             </block>
                                           </value>
                                           <value name="ADD1">
                                             <block type="get_value" id="jE${$sZ=z^yQvTl(butH">
                                               <field name="ATTR">val</field>
                                               <field name="OID">zigbee.0.60a423fffe39d80d.temperature</field>
                                             </block>
                                           </value>
                                           <value name="ADD2">
                                             <block type="text" id="pR.sAY[5RVMU.=9gfA$b">
                                               <field name="TEXT"> Grad","fonts/calibrib30",2]},     {"text": [10,70,"Feuchtigkeit","fonts/calibrib30",1]},   {"text": [10,100,"</field>
                                             </block>
                                           </value>
                                           <value name="ADD3">
                                             <block type="get_value" id="]?H.^VlPVMS!b~lu,~[W">
                                               <field name="ATTR">val</field>
                                               <field name="OID">zigbee.0.60a423fffe39d80d.humidity</field>
                                             </block>
                                           </value>
                                           <value name="ADD4">
                                             <block type="text" id="F+(.qA]]%=[9zdN^BvB`">
                                               <field name="TEXT"> %","fonts/calibrib30",2]}  ] </field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="http_post" id="|fU1:-;S97v!Dm[Duwke">
                                       <field name="TIMEOUT">15</field>
                                       <field name="UNIT">sec</field>
                                       <field name="TYPE">text</field>
                                       <value name="URL">
                                         <shadow type="text" id="yWFLwW(|dIrbohq|]nYG">
                                           <field name="TEXT">http://10.1.1.92/jsonupload</field>
                                         </shadow>
                                       </value>
                                       <value name="DATA">
                                         <block type="text_join" id="LqeHR]Bo+AE|2IbT6,es">
                                           <mutation items="4"></mutation>
                                           <value name="ADD0">
                                             <block type="text" id="Kg8a;H1?`,@ilFJ7TM:4">
                                               <field name="TEXT">mac=</field>
                                             </block>
                                           </value>
                                           <value name="ADD1">
                                             <block type="variables_get" id="//~_6MuzW](V1`.O*Nat">
                                               <field name="VAR" id="H4XUdZS8yaP.w7;rCrg}">TagMini5</field>
                                             </block>
                                           </value>
                                           <value name="ADD2">
                                             <block type="text" id="?/LH{*XRg=b=IS!`Da67">
                                               <field name="TEXT">&amp;json=</field>
                                             </block>
                                           </value>
                                           <value name="ADD3">
                                             <block type="variables_get" id="kj#:uvl00//!tO|E2j;C">
                                               <field name="VAR" id="Aly#RFALB]77GLNK89a,">jsonMini5</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </statement>
                         </block>
                       </next>
                     </block>
                    </xml>
                    
                    

                    B 2 Replies Last reply Reply Quote 1
                    • B
                      Beowolf @Neuschwansteini last edited by

                      @ilovegym

                      Das ist ja viel einfacher als der ganze andere Kram.

                      Vielen Dank für die Hilfe. 👍 👍 👍

                      1 Reply Last reply Reply Quote 1
                      • B
                        Beowolf @Neuschwansteini last edited by

                        @ilovegym

                        Hast du auch eine Idee wie ich den Google-Kalender besser auf die grossen Displays bekomme?

                        1 Reply Last reply Reply Quote 0
                        • BananaJoe
                          BananaJoe Most Active @Beowolf last edited by BananaJoe

                          @beowolf weiter oben steht

                          waitForSelector: waitForSelector,
                          

                          Auf welchen wartest du denn? wenn es den nicht gibt bzw. der nicht kommt schlägt das ganze fehl bzw. das von dir beschriebene verhalten kann auftreten

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            Beowolf @BananaJoe last edited by

                            @bananajoe
                            Muß das immer der niedrigste sein, oder eicht wenn es einer aus dem View ist?

                            BananaJoe 1 Reply Last reply Reply Quote 0
                            • BananaJoe
                              BananaJoe Most Active @Beowolf last edited by

                              @beowolf es muss einer sein der auf der Seite zu sehen ist.

                              Im Zweifel der Höchste.

                              Zur Kontrolle:
                              Schau dir die Seite im Webbrowser an, rechte Maustaste und Quelltext anzeigen
                              Im Quelltext dann nach #w000 suchen und kontrollieren ob deine gewünschte auch vorkommt.

                              B 1 Reply Last reply Reply Quote 0
                              • B
                                Beowolf @BananaJoe last edited by

                                @bananajoe sagte in E-INK Display OpenEPaperLink - Displayanzeige mit Batterie:

                                Schau dir die Seite im Webbrowser an

                                Du meinst die VIS erzeugte Web-Seite, richtig?

                                Also das z.B.:

                                http://192.168.49.38:8082/vis/index.html?E-Paper-Allgemein#EmsPegel
                                

                                Dort gibt es nur eine Zeile in der überhaupt etwas mit #w000 steht

                                data-vis-prev='<div id="prev_tplSTab" style=" position: relative; text-align: initial;padding: 4px "><div class="vis-widget_prev ui-selectee" style="top: 76px; left: 23px; width: 138px; height: 121px; position: absolute;" > <div class="vis-widget-prev-body"> <span style="width:100%;height:100%" class="ui-slider-tabs"> <!-- Unordered list representing the tabs --> <div class="ui-slider-tabs-list-wrapper"><div class="ui-slider-tabs-list-container" style="margin: 0px 35px;"><ul class="ui-slider-tabs-list" style="margin-left: 0px; width: 166px;"> <li class="selected" style="height: 32px;"><a href="#w00016_st1" style="height: 32px;">Tab</a></li><li style="height: 32px;"><a href="#w00016_st2" style="height: 32px;">Tab</a></li><li style="height: 32px;"><a href="#w00016_st3" style="height: 32px;">Tab</a></li></ul><a href="#" class="ui-slider-left-arrow edge" style="width: 35px; height: 32px;"><div></div></a><a href="#" class="ui-slider-right-arrow" style="width: 35px; height: 32px;"><div></div></a></div></div><div class="ui-slider-tabs-content-container" style="height: 86px;"><div style="padding-left: 0px; height: 100%; display: block; left: 0px; width: 126px;" class="ui-slider-tab-content selected"> <div class="editmode-helper"></div> <div data-vis-contains="hallo" class="vis-widget-body vis-view-container"></div> </div><div style="padding-left: 0px; height: 100%; left: 138px; width: 126px;" class="ui-slider-tab-content"> <div class="editmode-helper"></div> <div data-vis-contains="" class="vis-widget-body vis-view-container"></div> </div><div style="padding-left: 0px; height: 100%; left: 138px; width: 126px;" class="ui-slider-tab-content"> <div class="editmode-helper"></div> <div data-vis-contains="" class="vis-widget-body vis-view-container"></div> </div></div></span> </div> </div>'
                                        data-vis-set="tabs"
                                
                                
                                
                                BananaJoe 1 Reply Last reply Reply Quote 0
                                • BananaJoe
                                  BananaJoe Most Active @Beowolf last edited by

                                  @beowolf sagte in E-INK Display OpenEPaperLink - Displayanzeige mit Batterie:

                                  #w00016

                                  finde ich da - welchen hast du genommen und wie klappt es wenn du #w00016 nimmst?

                                  B 1 Reply Last reply Reply Quote 0
                                  • B
                                    Beowolf @BananaJoe last edited by Beowolf

                                    @bananajoe sagte in E-INK Display OpenEPaperLink - Displayanzeige mit Batterie:

                                    @beowolf sagte in E-INK Display OpenEPaperLink - Displayanzeige mit Batterie:

                                    #w00016

                                    finde ich da - welchen hast du genommen und wie klappt es wenn du #w00016 nimmst?

                                    Einen #w00016 gibt es dort nicht.

                                    Das komische ist, egal welchen "VIS-TAG Bild" ich in einem Browserfenster aufrufe, es steht immer der #w00016 drin.

                                    Trage ist die #w00016 ein kommt die Fehlermeldung auch.

                                    Ich habe das jetzt mal mit einem neuen VIS-View gemacht. Hat nichts mit den TAGs zu tun. Einfach ein paar Widgets eingefügt. Der Seitenqelltext ist auch dort identisch mit den VIEWs der TAGs.

                                    vis.txt

                                    BananaJoe 1 Reply Last reply Reply Quote 0
                                    • BananaJoe
                                      BananaJoe Most Active @Beowolf last edited by

                                      @beowolf naja, wird ja auch per JavaScript nachgeladen. Ich lag wohl falsch

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

                                        Gibt es irgendwo eine Quelle wo man die displays kaufen kann?

                                        Habe hier schon eins liegen von hanshow aber das ist irgendwie nicht die richtige Version bzw sieht die Platine nicht so aus wie in den Anleitungen die ich bisher gefunden habe

                                        1 Reply Last reply Reply Quote 0
                                        • B
                                          Beowolf last edited by

                                          Da der ganze VIS Kram mit Puppeteer anscheinend nicht mehr so richtig funktioniert, gibt es eine andere schöne Möglichkeit wie man Kalenderdaten usw. auf größeren Displays darstellen kann?

                                          ical usw. gibt die Daten ja als html oder json raus.

                                          Nur wie bekomme ich das an die Displays gesendet?

                                          H 1 Reply Last reply Reply Quote 0
                                          • H
                                            holgerwolf @Beowolf last edited by

                                            @beowolf Ich nehme das Script von weiter oben und sende die Texte als json an Displays.
                                            Den ical Text muss man halt nach Bedarf mit den String Funktionen bearbeiten.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            778
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            43
                                            993
                                            255924
                                            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