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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Praktische Anwendungen (Showcase)
  4. E-INK Display OpenEPaperLink - Displayanzeige mit Batterie

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    2.8k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.1k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.4k

E-INK Display OpenEPaperLink - Displayanzeige mit Batterie

Scheduled Pinned Locked Moved Praktische Anwendungen (Showcase)
1.0k Posts 49 Posters 365.8k Views 52 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O oxident

    @beowolf 75 Tags? Hast Du damit tapeziert??

    B Offline
    B Offline
    Beowolf
    wrote on last edited by
    #835

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

    @beowolf 75 Tags? Hast Du damit tapeziert??

    Die sind nur alle am AP angemeldet. Nur zum Testen.

    Die Natur braucht nicht unseren Schutz, sie braucht unsere Abwesenheit.

    1 Reply Last reply
    1
    • haselchenH haselchen

      @bimmi

      Und schon ist das Projekt gestorben :disappointed_relieved:

      S Offline
      S Offline
      Stefan341
      wrote on last edited by
      #836

      @haselchen
      Ich löte das gerne für dich :)

      haselchenH 1 Reply Last reply
      0
      • S Stefan341

        @haselchen
        Ich löte das gerne für dich :)

        haselchenH Offline
        haselchenH Offline
        haselchen
        Most Active
        wrote on last edited by
        #837

        @stefan341

        Was genau? 🤔

        Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

        1 Reply Last reply
        0
        • haselchenH haselchen

          @bimmi

          Und schon ist das Projekt gestorben :disappointed_relieved:

          HomoranH Do not disturb
          HomoranH Do not disturb
          Homoran
          Global Moderator Administrators
          wrote on last edited by
          #838

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

          @bimmi

          Und schon ist das Projekt gestorben :disappointed_relieved:

          das

          kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

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

          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

          haselchenH 1 Reply Last reply
          0
          • HomoranH Homoran

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

            @bimmi

            Und schon ist das Projekt gestorben :disappointed_relieved:

            das

            haselchenH Offline
            haselchenH Offline
            haselchen
            Most Active
            wrote on last edited by haselchen
            #839

            @homoran
            @stefan341

            Da muss ich mich natürlich entschuldigen, dass ich einen 1,5 Jahre alten Post nicht mehr weiß 😂

            Edit: Dank eines Forumsmitgliedes ist der Lötkolben nichts Fremdes mehr ☺️

            Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

            1 Reply Last reply
            2
            • B Beowolf

              Die Batteriespannung kann ich mir aber holen.

              batterie.jpg

              Ich habe dieses Skript ja am laufen.

              // HIER DIE IP ADRESSE VOM OEPL ACCESS POINT EINTRAGEN
              const serverIP = 'xxx.xxx.xxx.xxx';  // z.B. 192.168.1.71
              
              // AB HIER NICHTS MEHR ÄNDERN!
              const WebSocket = require('ws');
              const http = require('http');
              const wsUrl = `ws://${serverIP}/ws`;  // WebSocket-URL
              
              let ws;
              let pingInterval;
              let scriptStopping = false;  // Flag, um zu prüfen, ob das Skript gestoppt wird
              
              const controlState = '0_userdata.0.Tag_Buttons.Button_Skript_Steuerung.Button_Tags_Dachgeschoss';  // Datenpunkt zur Steuerung des Skripts
              
              function ensureOpenEPaperLinkFolderExists(callback) {
                  const OpenEPaperLinkFolderPath = '0_userdata.0.Tag_Buttons.Dachgeschoss';
                  getObject(OpenEPaperLinkFolderPath, (err, obj) => {
                      if (err || !obj) {
                          setObject(OpenEPaperLinkFolderPath, {
                              type: 'channel',
                              common: { name: 'Open E-Paper Link' },
                              native: {}
                          }, callback);
                      } else {
                          callback();
                      }
                  });
              }
              
              function ensureChannelExists(path, alias, callback) {
                  getObject(path, (err, obj) => {
                      if (err || !obj) {
                          setObject(path, {
                              type: 'channel',
                              common: { name: alias || 'Unbekanntes Gerät' },
                              native: {}
                          }, callback);
                      } else if (obj.common.name !== alias) {
                          extendObject(path, { common: { name: alias } }, callback);
                      } else {
                          callback();
                      }
                  });
              }
              
              function createStateAndSet(statePath, value) {
                  setObject(statePath, {
                      type: 'state',
                      common: {
                          name: statePath.split('.').pop(),
                          type: 'string',
                          role: 'value',
                          read: true,
                          write: true
                      },
                      native: {}
                  }, (err) => {
                      if (!err) {
                          setState(statePath, String(value), true);
                      }
                  });
              }
              
              function updateStateIfChanged(statePath, value) {
                  getState(statePath, (err, state) => {
                      if (err || !state) {
                          createStateAndSet(statePath, String(value));
                      } else if (state.val !== String(value)) {
                          setState(statePath, String(value), true);
                      }
                  });
              }
              
              function fetchDimensions(hwType, callback) {
                  const hwTypeHex = hwType.toString(16).padStart(2, '0').toUpperCase();  // Convert hwType to two-digit uppercase hexadecimal
                  const url = `http://${serverIP}/tagtypes/${hwTypeHex}.json`;
                  http.get(url, (res) => {
                      let data = '';
                      res.on('data', (chunk) => data += chunk);
                      res.on('end', () => {
                          if (res.statusCode === 200) {
                              try {
                                  const dimensions = JSON.parse(data);
                                  callback(null, dimensions);
                              } catch (e) {
                                  callback(`Error parsing JSON from ${url}: ${e}`);
                              }
                          } else {
                              callback(`HTTP Error ${res.statusCode} from ${url}`);
                          }
                      });
                  }).on('error', (err) => {
                      callback(`Error fetching ${url}: ${err.message}`);
                  });
              }
              
              function handleHWType(basePath, hwType) {
                  createStateAndSet(`${basePath}.hwType`, String(hwType));  // Save hwType as a state
                  fetchDimensions(hwType, (err, dimensions) => {
                      if (!err && dimensions) {
                          createStateAndSet(`${basePath}.height`, String(dimensions.height));
                          createStateAndSet(`${basePath}.width`, String(dimensions.width));
                          createStateAndSet(`${basePath}.name`, String(dimensions.name));
                          if (dimensions.colors) {
                              createStateAndSet(`${basePath}.colors`, String(dimensions.colors));
                          }
                          if (dimensions.colortable) {
                              createStateAndSet(`${basePath}.colortable`, JSON.stringify(dimensions.colortable));
                          }
                      } else {
                          // console.error(`Failed to fetch or set dimensions for hwType ${hwType}: ${err}`);
                      }
                  });
              }
              
              function connectWebSocket() {
                  if (scriptStopping) {
                      return;  // Wenn das Skript gestoppt wird, keine Verbindung mehr herstellen
                  }
              
                  ws = new WebSocket(wsUrl);
                  ws.on('open', function open() {
                      // console.log('Verbunden mit WebSocket');
                      startHeartbeat();
                  });
              
                  ws.on('message', function incoming(data) {
                      // console.log('Daten empfangen:', data);
                      if (data) {
                          try {
                              let parsedData = JSON.parse(data);
                              // console.log('Verarbeitete Daten:', JSON.stringify(parsedData, null, 2));
                              handleData(parsedData);
                          } catch (err) {
                              // console.error('Fehler bei der Verarbeitung der Daten:', err);
                          }
                      } else {
                          // console.log('Keine Daten oder leere Nachricht empfangen');
                      }
                  });
              
                  ws.on('close', function close() {
                      if (!scriptStopping) {
                          // console.log('WebSocket-Verbindung geschlossen, versuche neu zu verbinden...');
                          clearInterval(pingInterval);
                          setTimeout(connectWebSocket, 5000);
                      }
                  });
              
                  ws.on('error', function error(err) {
                      // console.error('WebSocket-Fehler:', err);
                  });
              }
              
              function startHeartbeat() {
                  pingInterval = setInterval(() => {
                      if (ws.readyState === WebSocket.OPEN) {
                          ws.ping(() => {
                              // console.log('Ping sent');
                          });
                      }
                  }, 10000); // Send ping every 10 seconds
              
                  ws.on('pong', () => {
                      // console.log('Pong received');
                  });
              }
              
              function handleData(parsedData) {
                  if (parsedData.tags && Array.isArray(parsedData.tags)) {
                      parsedData.tags.forEach(tag => {
                          let basePath = `0_userdata.0.Tag_Buttons.Dachgeschoss.${tag.mac.replace(/:/g, '')}`;
                          ensureChannelExists(basePath, tag.alias, () => {
                              Object.keys(tag).forEach(key => {
                                  let statePath = `${basePath}.${key}`;
                                  let value = tag[key];
                                  updateStateIfChanged(statePath, value);
                                  if (key === 'hwType') {
                                      handleHWType(basePath, tag.hwType);
                                  }
                              });
                          });
                      });
                  }
              }
              
              function disconnectWebSocket() {
                  if (ws) {
                      ws.close();
                      ws = null;
                  }
                  clearInterval(pingInterval);
              }
              
              // Skript-Start und -Stopp basierend auf einem Datenpunkt steuern
              function setupScriptControl() {
                  setObject(controlState, {
                      type: 'state',
                      common: {
                          name: 'EPaper Script Control',
                          type: 'boolean',
                          role: 'switch',
                          read: true,
                          write: true,
                          def: false
                      },
                      native: {}
                  });
              
                  on({id: controlState, change: 'ne'}, (obj) => {
                      const state = obj.state.val;
                      if (state) {
                          // Skript starten
                          scriptStopping = false;
                          ensureOpenEPaperLinkFolderExists(connectWebSocket);
                      } else {
                          // Skript stoppen
                          scriptStopping = true;
                          disconnectWebSocket();
                          // console.log('Skript beendet durch Steuer-Datenpunkt');
                      }
                  });
              }
              
              // Initiale Einrichtung
              setupScriptControl();
              
              BananaJoeB Online
              BananaJoeB Online
              BananaJoe
              Most Active
              wrote on last edited by
              #840

              @beowolf tja, da gewinne ich wohl keinen Blumentopf mit:
              7e631b71-5c68-4da9-9966-3756fe0e8416-image.png
              Da steht immer 2600
              wobei einen habe ich gefunden wo der wert niedriger ist, dann zeigt der Datenpunkt etwas an wenn der Wert unter dem Schwellwert liegt?

              ioBroker@Ubuntu 24.04 LTS (VMware) für: >260 Geräte, 5 Switche, 7 AP, 9 IP-Cam, 1 NAS 42TB, 1 ESXi 15TB, 4 Proxmox 1TB, 1 Hyper-V 48TB, 14 x Echo, 5x FireTV, 5 x Tablett/Handy VIS || >=160 Tasmota/Shelly || >=95 ZigBee || PV 8.1kW / Akku 14kWh || 2x USV 750W kaskadiert || Creality CR-10 SE 3D-Drucker

              S B 2 Replies Last reply
              0
              • BananaJoeB BananaJoe

                @beowolf tja, da gewinne ich wohl keinen Blumentopf mit:
                7e631b71-5c68-4da9-9966-3756fe0e8416-image.png
                Da steht immer 2600
                wobei einen habe ich gefunden wo der wert niedriger ist, dann zeigt der Datenpunkt etwas an wenn der Wert unter dem Schwellwert liegt?

                S Offline
                S Offline
                sameOne
                wrote on last edited by sameOne
                #841

                @bananajoe Der Mikrocontroller in den M2 Displays hat keinen ADC, deswegen wird als Hack das E-Paper Display genutzt um die aktuelle Spannung zu erfahren, dieses hat aber nur eine Range von 2.1-2.6 V also ist jede Batterie über 2.6V nicht detektierbar und wird als 2.6V angezeigt

                1 Reply Last reply
                1
                • BananaJoeB BananaJoe

                  @beowolf tja, da gewinne ich wohl keinen Blumentopf mit:
                  7e631b71-5c68-4da9-9966-3756fe0e8416-image.png
                  Da steht immer 2600
                  wobei einen habe ich gefunden wo der wert niedriger ist, dann zeigt der Datenpunkt etwas an wenn der Wert unter dem Schwellwert liegt?

                  B Offline
                  B Offline
                  Beowolf
                  wrote on last edited by
                  #842

                  @bananajoe

                  Ich habe diese hier

                  https://github.com/OpenEPaperLink/OpenEPaperLink/wiki/2.9″-EL029H3WRA

                  Dort funktioniert es.

                  Die Natur braucht nicht unseren Schutz, sie braucht unsere Abwesenheit.

                  S B 2 Replies Last reply
                  0
                  • B Beowolf

                    @bananajoe

                    Ich habe diese hier

                    https://github.com/OpenEPaperLink/OpenEPaperLink/wiki/2.9″-EL029H3WRA

                    Dort funktioniert es.

                    S Offline
                    S Offline
                    sameOne
                    wrote on last edited by
                    #843

                    @beowolf Das nutzt einen anderen Mikrocontroller, nRF52811/ARM und ist ein M3, die M2 nutzen den ZBS243/8051 der keinen ADC hat

                    1 Reply Last reply
                    1
                    • B Offline
                      B Offline
                      bimmi
                      wrote on last edited by
                      #844

                      @atc ah hi Aaron! Jetzt seh ich es erst an deinem Nic! Schön das du auch hier bist!

                      Gruß Bimmi

                      iobroker in einer Proxmox Umgebung auf einem ausrangierten DELL OptiPlex 3080 24GB i5 in der VM auf SSD. Nutze den slaeh zigbee Router mit Tür- und Temperatursensoren von Aqara, viele Tasmota Devices, Unifi AP, Sprinklecontrol, günstige E-INK Displays, Adguard und noch vieles mehr 😬

                      1 Reply Last reply
                      1
                      • B Beowolf

                        @bananajoe

                        Ich habe diese hier

                        https://github.com/OpenEPaperLink/OpenEPaperLink/wiki/2.9″-EL029H3WRA

                        Dort funktioniert es.

                        B Offline
                        B Offline
                        bimmi
                        wrote on last edited by
                        #845

                        @beowolf das mit dem rescale hat sich denke ich erledigt. Lag wohl am ersten update vom tag. Die neuesten gehen wieder einwandfrei!

                        Gruß Bimmi

                        iobroker in einer Proxmox Umgebung auf einem ausrangierten DELL OptiPlex 3080 24GB i5 in der VM auf SSD. Nutze den slaeh zigbee Router mit Tür- und Temperatursensoren von Aqara, viele Tasmota Devices, Unifi AP, Sprinklecontrol, günstige E-INK Displays, Adguard und noch vieles mehr 😬

                        1 Reply Last reply
                        1
                        • B Offline
                          B Offline
                          Beowolf
                          wrote on last edited by Beowolf
                          #846

                          Ich habe plötzlich diese Meldungen:

                          puppeteer.0
                          	2025-01-06 23:42:16.640	error	Could not take screenshot of "http://192.168.49.38:8082/vis/index.html?E-Paper-Obergeschoss#EPaper-Schlafzimmer-Manfred": Page.captureScreenshot timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed.
                          javascript.0
                          	2025-01-06 23:40:49.337	warn	script.js.common.EPaper-Displays.Obergeschoss.Schlafzimmer_Manfred: Fehler beim Aufruf der View: http://192.168.49.38:8082/vis/index.html?E-Paper-Obergeschoss#EPaper-Schlafzimmer-Manfred => undefined
                          javascript.0
                          	2025-01-06 23:40:20.117	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%C3%BCftung => undefined
                          javascript.0
                          	2025-01-06 23:40:01.357	warn	script.js.common.EPaper-Displays.Erdgeschoss.Büro_Manfred: Fehler beim Aufruf der View: http://192.168.49.38:8082/vis/index.html?E-Paper-Erdgeschoss#B%C3%BCro_Manfred => undefined
                          javascript.0
                          	2025-01-06 23:39:58.468	warn	script.js.common.EPaper-Displays.Obergeschoss.Wohnzimmer: Fehler beim Aufruf der View: http://192.168.49.38:8082/vis/index.html?E-Paper-Obergeschoss#EPaper-Wohnzimmer => undefined
                          javascript.0
                          	2025-01-06 23:39:44.153	warn	script.js.common.EPaper-Displays.Obergeschoss.Küche: Fehler beim Aufruf der View: http://192.168.49.38:8082/vis/index.html?E-Paper-Obergeschoss#EPaper-K%C3%BCche => undefined
                          puppeteer.0
                          	2025-01-06 23:39:16.372	error	Could not take screenshot of "http://192.168.49.38:8082/vis/index.html?E-Paper-Erdgeschoss#CopyShop": Page.captureScreenshot timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed.
                          javascript.0
                          	2025-01-06 23:39:05.643	warn	script.js.common.EPaper-Displays.Obergeschoss.Hauswirtschaftsraum: Fehler beim Aufruf der View: http://192.168.49.38:8082/vis/index.html?E-Paper-Obergeschoss#EPaper-HWR => undefined
                          javascript.0
                          	2025-01-06 23:37:42.794	warn	script.js.common.EPaper-Displays.Erdgeschoss.Papierraum: Fehler beim Aufruf der View: http://192.168.49.38:8082/vis/index.html?E-Paper-Erdgeschoss#Papierraum => undefined
                          javascript.0
                          	2025-01-06 23:36:57.889	warn	script.js.common.EPaper-Displays.Obergeschoss.Hauswirtschaftsraum: Fehler beim Aufruf der View: http://192.168.49.38:8082/vis/index.html?E-Paper-Obergeschoss#EPaper-HWR => undefined
                          puppeteer.0
                          	2025-01-06 23:36:15.488	error	Could not take screenshot of "http://192.168.49.38:8082/vis/index.html?E-Paper-Erdgeschoss#B%C3%BCro_Manfred": Page.captureScreenshot timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed.
                          

                          Hatte mal alles wieder upgedatet.
                          Jetzt bin ich mir nicht sicher wo das Problem liegt.

                          Die "VIS-Ansichten" sind alle da.

                          Die Natur braucht nicht unseren Schutz, sie braucht unsere Abwesenheit.

                          1 Reply Last reply
                          0
                          • B Offline
                            B Offline
                            Beowolf
                            wrote on last edited by Beowolf
                            #847

                            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?

                            Die Natur braucht nicht unseren Schutz, sie braucht unsere Abwesenheit.

                            ? D 2 Replies Last reply
                            0
                            • B 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?

                              ? Offline
                              ? Offline
                              A Former User
                              wrote on last edited by
                              #848

                              @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
                              0
                              • ? A Former User

                                @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 Offline
                                B Offline
                                Beowolf
                                wrote on last edited by Beowolf
                                #849

                                @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?

                                Die Natur braucht nicht unseren Schutz, sie braucht unsere Abwesenheit.

                                ? 1 Reply Last reply
                                0
                                • B 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?

                                  ? Offline
                                  ? Offline
                                  A Former User
                                  wrote on last edited by
                                  #850

                                  @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
                                  0
                                  • B Offline
                                    B Offline
                                    Beowolf
                                    wrote on last edited by Beowolf
                                    #851

                                    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?

                                    Die Natur braucht nicht unseren Schutz, sie braucht unsere Abwesenheit.

                                    ? BananaJoeB 2 Replies Last reply
                                    0
                                    • B 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?

                                      ? Offline
                                      ? Offline
                                      A Former User
                                      wrote on last edited by
                                      #852

                                      @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
                                      0
                                      • ? A Former User

                                        @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 Offline
                                        B Offline
                                        Beowolf
                                        wrote on last edited by
                                        #853

                                        @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?

                                        Die Natur braucht nicht unseren Schutz, sie braucht unsere Abwesenheit.

                                        ? 1 Reply Last reply
                                        0
                                        • B Beowolf

                                          @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?

                                          ? Offline
                                          ? Offline
                                          A Former User
                                          wrote on last edited by
                                          #854

                                          @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
                                          1
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          350

                                          Online

                                          32.6k

                                          Users

                                          82.3k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe