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

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

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

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

E-INK Display OpenEPaperLink - Displayanzeige mit Batterie

Scheduled Pinned Locked Moved Praktische Anwendungen (Showcase)
1.0k Posts 49 Posters 349.4k 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.
  • B bimmi

    @draexler ist seit heute integriert. https://github.com/jjwbruijn/OpenEPaperLink/wiki/Json-template

    draexlerD Do not disturb
    draexlerD Do not disturb
    draexler
    wrote on last edited by draexler
    #19

    @bimmi Dann noch eine ganz andere Frage. Ich habe den AP jetzt mal zwei Danke im Schrank aufbewahrt. In der zwischen haben die Tags anzeigt das sie keine Verbindung mehr haben. Weißt du wann die eventuell wieder von alleine auf die Suche gehen würden? Konnte sie jetzt nur Wiederleben in dem ich die Batterien rein und rausgemacht habe.

    B 1 Reply Last reply
    0
    • draexlerD draexler

      @bimmi Dann noch eine ganz andere Frage. Ich habe den AP jetzt mal zwei Danke im Schrank aufbewahrt. In der zwischen haben die Tags anzeigt das sie keine Verbindung mehr haben. Weißt du wann die eventuell wieder von alleine auf die Suche gehen würden? Konnte sie jetzt nur Wiederleben in dem ich die Batterien rein und rausgemacht habe.

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

      @draexler normal finden sie den ap automatisch wieder. Kann man in der Tag config zumindest ein schalten.

      Leg deinen ap doch auf den Schrank?

      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 😬

      draexlerD 1 Reply Last reply
      0
      • B bimmi

        @draexler normal finden sie den ap automatisch wieder. Kann man in der Tag config zumindest ein schalten.

        Leg deinen ap doch auf den Schrank?

        draexlerD Do not disturb
        draexlerD Do not disturb
        draexler
        wrote on last edited by
        #21

        @bimmi gute Idee 😂 nö, „im Schrank“ meine ich ausgeschalten.
        Was für eine Einstellung wäre das mit dem automatischen reconnect? Anscheinend bin ich blind…

        B 1 Reply Last reply
        0
        • draexlerD draexler

          @bimmi gute Idee 😂 nö, „im Schrank“ meine ich ausgeschalten.
          Was für eine Einstellung wäre das mit dem automatischen reconnect? Anscheinend bin ich blind…

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

          @draexler ach so. Ja die Tags verlieren die Verbindung wenn der ap offline ist. Suchen aber periodisch nach einem ap!

          Tag options!

          Screenshot_2023-07-16-21-16-40-867_com.chrome.beta.jpg

          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 😬

          draexlerD 1 Reply Last reply
          0
          • B bimmi

            @draexler ach so. Ja die Tags verlieren die Verbindung wenn der ap offline ist. Suchen aber periodisch nach einem ap!

            Tag options!

            Screenshot_2023-07-16-21-16-40-867_com.chrome.beta.jpg

            draexlerD Do not disturb
            draexlerD Do not disturb
            draexler
            wrote on last edited by
            #23

            Habe mich jetzt mal ein bisschen mit dem JSON Template beschäftig.
            Es gibt ja das "Json-template-demo" Template. Leider werde ich daraus nicht ganz schlau

            Es gibt ein paar Stellen wo ich etwas eintragen soll (Mac oder halt die eingentliche Ausgabe). Aber irgendwie kapier ich das nicht. Es gibt eine Stelle wo steht "Place the JSON String here" und weiter unten kommt es nochmal, also der Textaufbau? Also irgendwie stehe ich voll auf dem Schlauch.

            Frage 1:
            Kann mir jemand sagen wie der Testcode aussehen muss damit ich ein einfaches "Hallo Welt" hinbekommen?

            Frage 2:
            Und wie muss die URL im Tag für die JSON aussehen?

            <!DOCTYPE html>
            <html>
            
            <head>
            	<meta charset="UTF-8">
            	<title>Json template Upload Form</title>
            </head>
            
            <body>
            	<h3>demo Json template form</h3>
            	<p>You can use this as an example how to push json templates to a tag by an external server/script. Make sure your json is valid. Check the syntax on <a href="https://jsonlint.com/" target="_blank">https://jsonlint.com/</a>.<br>
                Documentation: <a href="https://github.com/jjwbruijn/OpenEPaperLink/wiki/Json-template">https://github.com/jjwbruijn/OpenEPaperLink/wiki/Json-template</a></p>
            	<p>
            		<form method="POST" action="/jsonupload">
            
            			<p>
            			<label for="mac">Enter a 6 or 8 byte MAC address:</label><br>
            			<input type="text" id="mac" name="mac">
            			</p>
            
            			<p>
            			<label for="image">Place the json string here</label><br>
            			<textarea id="image" name="json" style="width:500px;height:80px;">
            [
            { "text": [5, 5, "Bahnschrift 20", "fonts/bahnschrift20", 1] },
            { "box": [10, 30, 20, 20, 2] }
            ]
                        </textarea>
            			</p>
            
            			<p>
            			<input type="submit" value="Upload">
            			</p>
            
            		</form>
            	</p>
            </body>
            
            </html>
            
            
            B GRG 2 Replies Last reply
            0
            • draexlerD draexler

              Habe mich jetzt mal ein bisschen mit dem JSON Template beschäftig.
              Es gibt ja das "Json-template-demo" Template. Leider werde ich daraus nicht ganz schlau

              Es gibt ein paar Stellen wo ich etwas eintragen soll (Mac oder halt die eingentliche Ausgabe). Aber irgendwie kapier ich das nicht. Es gibt eine Stelle wo steht "Place the JSON String here" und weiter unten kommt es nochmal, also der Textaufbau? Also irgendwie stehe ich voll auf dem Schlauch.

              Frage 1:
              Kann mir jemand sagen wie der Testcode aussehen muss damit ich ein einfaches "Hallo Welt" hinbekommen?

              Frage 2:
              Und wie muss die URL im Tag für die JSON aussehen?

              <!DOCTYPE html>
              <html>
              
              <head>
              	<meta charset="UTF-8">
              	<title>Json template Upload Form</title>
              </head>
              
              <body>
              	<h3>demo Json template form</h3>
              	<p>You can use this as an example how to push json templates to a tag by an external server/script. Make sure your json is valid. Check the syntax on <a href="https://jsonlint.com/" target="_blank">https://jsonlint.com/</a>.<br>
                  Documentation: <a href="https://github.com/jjwbruijn/OpenEPaperLink/wiki/Json-template">https://github.com/jjwbruijn/OpenEPaperLink/wiki/Json-template</a></p>
              	<p>
              		<form method="POST" action="/jsonupload">
              
              			<p>
              			<label for="mac">Enter a 6 or 8 byte MAC address:</label><br>
              			<input type="text" id="mac" name="mac">
              			</p>
              
              			<p>
              			<label for="image">Place the json string here</label><br>
              			<textarea id="image" name="json" style="width:500px;height:80px;">
              [
              { "text": [5, 5, "Bahnschrift 20", "fonts/bahnschrift20", 1] },
              { "box": [10, 30, 20, 20, 2] }
              ]
                          </textarea>
              			</p>
              
              			<p>
              			<input type="submit" value="Upload">
              			</p>
              
              		</form>
              	</p>
              </body>
              
              </html>
              
              
              B Offline
              B Offline
              bimmi
              wrote on last edited by
              #24

              @draexler leider hab ich mich mit der json noch nicht beschäftigt... Kommt noch. Ist ganz neu 😊

              Hier für alle: https://www.tindie.com/stores/electronics-by-nic/

              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 😬

              draexlerD 1 Reply Last reply
              1
              • B bimmi

                @draexler leider hab ich mich mit der json noch nicht beschäftigt... Kommt noch. Ist ganz neu 😊

                Hier für alle: https://www.tindie.com/stores/electronics-by-nic/

                draexlerD Do not disturb
                draexlerD Do not disturb
                draexler
                wrote on last edited by
                #25

                @bimmi kein Ding 😊 ich kriegs leider gar nicht hin… aber es eilt ja nichts.

                B GRG 2 Replies Last reply
                0
                • draexlerD draexler

                  @bimmi kein Ding 😊 ich kriegs leider gar nicht hin… aber es eilt ja nichts.

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

                  @draexler versuch es mal so:

                  http://192.xxx.xxx.xxx/jsonupload?mac=0000000000000&json=[{"text":[5,5,"Bahnschrift 20","fonts/bahnschrift20",1]},{"box":[10,30,20,20,1]},{"box":[35,30,20,20,2]},{"triangle":[60,30,60,50,80,40,1]},{"text":[5,80,"Plain text glasstown_nbp_tf","glasstown_nbp_tf",1]},{"text":[5,95,"Plain text 7x14_tf","7x14_tf",2]},{"text":[5,110,"Plain text t0_14b_tf","t0_14b_tf",1]},{"text":[135,5,"30","fonts/bahnschrift30",2]},{"text":[215,5,"70","fonts/bahnschrift70",1]},{"text":[150,80,"50","fonts/calibrib50",2,0]},{"text":[205,60,"80","fonts/calibrib80",2]},{"text":[90,35,"calibrib30","fonts/calibrib30",1]},{"line":[10,120,290,120,1]},{"line":[10,115,290,115,2]}]

                  IP Adresse und MAC musst du natürlich anpassen!

                  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 😬

                  GRG 1 Reply Last reply
                  0
                  • B bimmi

                    @draexler versuch es mal so:

                    http://192.xxx.xxx.xxx/jsonupload?mac=0000000000000&json=[{"text":[5,5,"Bahnschrift 20","fonts/bahnschrift20",1]},{"box":[10,30,20,20,1]},{"box":[35,30,20,20,2]},{"triangle":[60,30,60,50,80,40,1]},{"text":[5,80,"Plain text glasstown_nbp_tf","glasstown_nbp_tf",1]},{"text":[5,95,"Plain text 7x14_tf","7x14_tf",2]},{"text":[5,110,"Plain text t0_14b_tf","t0_14b_tf",1]},{"text":[135,5,"30","fonts/bahnschrift30",2]},{"text":[215,5,"70","fonts/bahnschrift70",1]},{"text":[150,80,"50","fonts/calibrib50",2,0]},{"text":[205,60,"80","fonts/calibrib80",2]},{"text":[90,35,"calibrib30","fonts/calibrib30",1]},{"line":[10,120,290,120,1]},{"line":[10,115,290,115,2]}]

                    IP Adresse und MAC musst du natürlich anpassen!

                    GRG Offline
                    GRG Offline
                    GR
                    wrote on last edited by
                    #27

                    @bimmi Das geht so nicht, hab ich auch schon versucht. Die Daten müssen per $POST geschickt werden.

                    B 1 Reply Last reply
                    0
                    • GRG GR

                      @bimmi Das geht so nicht, hab ich auch schon versucht. Die Daten müssen per $POST geschickt werden.

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

                      @gr https://everything.curl.dev/http/multipart

                      Dann mit exec / curl ?

                      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 😬

                      MartinPM 1 Reply Last reply
                      0
                      • B bimmi

                        @gr https://everything.curl.dev/http/multipart

                        Dann mit exec / curl ?

                        MartinPM Online
                        MartinPM Online
                        MartinP
                        wrote on last edited by
                        #29

                        @bimmi. 802.15.4 ist ja auch die Grundlage von Zigbee. Es wäre ja schön, wenn der womöglich eh vorhandene Zigbee USB Stick gleich die Access Point Rolle für die Displays übernehmen könnte.

                        Offtopic: Ist die Kommunikation eigentlich in irgendeiner Form gesichert?
                        Da die Dinger ja Primär im Supermarkt eingesetzt werden, könnte womöglich jemand auf Basis des Konzeptes im Supermarkt Unsinn mit den dortigen Preisschildern treiben

                        Intel(R) Celeron(R) CPU N3000 @ 1.04GHz 8G RAM 480G SSD
                        Virtualization : unprivileged lxc container (debian 12 on Proxmox 8.4.14)
                        Linux pve 6.8.12-16-pve
                        6 GByte RAM für den Container
                        Fritzbox 6591 FW 8.03 (Vodafone Leih-Box)
                        Remote-Access über Wireguard der Fritzbox

                        B 1 Reply Last reply
                        0
                        • MartinPM MartinP

                          @bimmi. 802.15.4 ist ja auch die Grundlage von Zigbee. Es wäre ja schön, wenn der womöglich eh vorhandene Zigbee USB Stick gleich die Access Point Rolle für die Displays übernehmen könnte.

                          Offtopic: Ist die Kommunikation eigentlich in irgendeiner Form gesichert?
                          Da die Dinger ja Primär im Supermarkt eingesetzt werden, könnte womöglich jemand auf Basis des Konzeptes im Supermarkt Unsinn mit den dortigen Preisschildern treiben

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

                          @martinp ist habe diesbezüglich bei Koenkk schon vor Wochen ein issue eröffnet 👌

                          Nein. Keine Verschlüsselung! Jedoch können die EPS im Supermarkt ohne Firmware Modifikation nicht mit dem esp ap kommunizieren.

                          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 😬

                          MartinPM 1 Reply Last reply
                          0
                          • B bimmi

                            @martinp ist habe diesbezüglich bei Koenkk schon vor Wochen ein issue eröffnet 👌

                            Nein. Keine Verschlüsselung! Jedoch können die EPS im Supermarkt ohne Firmware Modifikation nicht mit dem esp ap kommunizieren.

                            MartinPM Online
                            MartinPM Online
                            MartinP
                            wrote on last edited by
                            #31

                            @bimmi Interessant wäre ein freier Input-Pin des Chips. Fensterkontakt damit aufzubauen wäre bei dem Preis auch interessant...

                            Intel(R) Celeron(R) CPU N3000 @ 1.04GHz 8G RAM 480G SSD
                            Virtualization : unprivileged lxc container (debian 12 on Proxmox 8.4.14)
                            Linux pve 6.8.12-16-pve
                            6 GByte RAM für den Container
                            Fritzbox 6591 FW 8.03 (Vodafone Leih-Box)
                            Remote-Access über Wireguard der Fritzbox

                            B 1 Reply Last reply
                            0
                            • MartinPM MartinP

                              @bimmi Interessant wäre ein freier Input-Pin des Chips. Fensterkontakt damit aufzubauen wäre bei dem Preis auch interessant...

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

                              @martinp https://github.com/jjwbruijn/OpenEPaperLink/wiki/Hardware-mods

                              Steht ja alles noch in den Kinder Schuhen. Aber der erste Hardware mod ist schon da 😅 immerhin ein wakeup

                              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
                              0
                              • draexlerD draexler

                                @bimmi kein Ding 😊 ich kriegs leider gar nicht hin… aber es eilt ja nichts.

                                GRG Offline
                                GRG Offline
                                GR
                                wrote on last edited by
                                #33

                                @draexler
                                hab jetzt mal ein CURL-Anfrage gebaut. Das JSON muss URL-Encoded werden. Ich schick das mit dem EXEC-Blockly raus.

                                 curl 'http://192.168.11.11/jsonupload' \
                                  -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7' \
                                  -H 'Accept-Language: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7' \
                                  -H 'Cache-Control: no-cache' \
                                  -H 'Connection: keep-alive' \
                                  -H 'Content-Type: application/x-www-form-urlencoded' \
                                  -H 'Origin: http://192.168.11.11' \
                                  -H 'Pragma: no-cache' \
                                  -H 'Referer: http://192.168.11.11/jsontemplate-demo.html' \
                                  -H 'Upgrade-Insecure-Requests: 1' \
                                  -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36' \
                                  --data-raw 'mac=0000021EDC223B15&json=%5B%0D%0A++++%7B%22text%22%3A+%5B5%2C5%2C%22Bahnschrift+20%22%2C%22fonts%2Fbahnschrift20%22%2C1%5D%7D%2C%0D%0A++++%7B%22box%22%3A+%5B10%2C30%2C20%2C20%2C1%5D%7D%2C%0D%0A++++%7B%22box%22%3A+%5B35%2C30%2C20%2C20%2C2%5D%7D%2C%0D%0A++++%7B%22triangle%22%3A+%5B60%2C30%2C60%2C50%2C80%2C40%2C1%5D%7D%2C%0D%0A++++%7B%22text%22%3A+%5B5%2C80%2C%22Plain+text+glasstown_nbp_tf%22%2C%22glasstown_nbp_tf%22%2C1%5D%7D%2C%0D%0A++++%7B%22text%22%3A+%5B5%2C95%2C%22Plain+text+7x14_tf%22%2C%227x14_tf%22%2C2%5D%7D%2C%0D%0A++++%7B%22text%22%3A+%5B5%2C110%2C%22Plain+text+t0_14b_tf%22%2C%22t0_14b_tf%22%2C1%5D%7D%2C%0D%0A++++%7B%22text%22%3A+%5B135%2C5%2C%2230%22%2C%22fonts%2Fbahnschrift30%22%2C2%5D%7D%2C%0D%0A++++%7B%22text%22%3A+%5B215%2C5%2C%2270%22%2C%22fonts%2Fbahnschrift70%22%2C1%5D%7D%2C%0D%0A++++%7B%22text%22%3A+%5B150%2C80%2C%2250%22%2C%22fonts%2Fcalibrib50%22%2C2%2C0%5D%7D%2C%0D%0A++++%7B%22text%22%3A+%5B205%2C60%2C%2280%22%2C%22fonts%2Fcalibrib80%22%2C2%5D%7D%2C%0D%0A++++%7B%22text%22%3A+%5B90%2C35%2C%22calibrib30%22%2C%22fonts%2Fcalibrib30%22%2C1%5D%7D%2C%0D%0A++++%7B%22line%22%3A+%5B10%2C120%2C290%2C120%2C1%5D%7D%2C%0D%0A++++%7B%22line%22%3A+%5B10%2C115%2C290%2C115%2C2%5D%7D%0D%0A%5D%0D%0A++++++++++++' \
                                  --compressed \
                                  --insecure
                                

                                Das funktioniert jetzt mal für JSON-Inputs

                                draexlerD 1 Reply Last reply
                                0
                                • GRG GR

                                  @draexler
                                  hab jetzt mal ein CURL-Anfrage gebaut. Das JSON muss URL-Encoded werden. Ich schick das mit dem EXEC-Blockly raus.

                                   curl 'http://192.168.11.11/jsonupload' \
                                    -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7' \
                                    -H 'Accept-Language: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7' \
                                    -H 'Cache-Control: no-cache' \
                                    -H 'Connection: keep-alive' \
                                    -H 'Content-Type: application/x-www-form-urlencoded' \
                                    -H 'Origin: http://192.168.11.11' \
                                    -H 'Pragma: no-cache' \
                                    -H 'Referer: http://192.168.11.11/jsontemplate-demo.html' \
                                    -H 'Upgrade-Insecure-Requests: 1' \
                                    -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36' \
                                    --data-raw 'mac=0000021EDC223B15&json=%5B%0D%0A++++%7B%22text%22%3A+%5B5%2C5%2C%22Bahnschrift+20%22%2C%22fonts%2Fbahnschrift20%22%2C1%5D%7D%2C%0D%0A++++%7B%22box%22%3A+%5B10%2C30%2C20%2C20%2C1%5D%7D%2C%0D%0A++++%7B%22box%22%3A+%5B35%2C30%2C20%2C20%2C2%5D%7D%2C%0D%0A++++%7B%22triangle%22%3A+%5B60%2C30%2C60%2C50%2C80%2C40%2C1%5D%7D%2C%0D%0A++++%7B%22text%22%3A+%5B5%2C80%2C%22Plain+text+glasstown_nbp_tf%22%2C%22glasstown_nbp_tf%22%2C1%5D%7D%2C%0D%0A++++%7B%22text%22%3A+%5B5%2C95%2C%22Plain+text+7x14_tf%22%2C%227x14_tf%22%2C2%5D%7D%2C%0D%0A++++%7B%22text%22%3A+%5B5%2C110%2C%22Plain+text+t0_14b_tf%22%2C%22t0_14b_tf%22%2C1%5D%7D%2C%0D%0A++++%7B%22text%22%3A+%5B135%2C5%2C%2230%22%2C%22fonts%2Fbahnschrift30%22%2C2%5D%7D%2C%0D%0A++++%7B%22text%22%3A+%5B215%2C5%2C%2270%22%2C%22fonts%2Fbahnschrift70%22%2C1%5D%7D%2C%0D%0A++++%7B%22text%22%3A+%5B150%2C80%2C%2250%22%2C%22fonts%2Fcalibrib50%22%2C2%2C0%5D%7D%2C%0D%0A++++%7B%22text%22%3A+%5B205%2C60%2C%2280%22%2C%22fonts%2Fcalibrib80%22%2C2%5D%7D%2C%0D%0A++++%7B%22text%22%3A+%5B90%2C35%2C%22calibrib30%22%2C%22fonts%2Fcalibrib30%22%2C1%5D%7D%2C%0D%0A++++%7B%22line%22%3A+%5B10%2C120%2C290%2C120%2C1%5D%7D%2C%0D%0A++++%7B%22line%22%3A+%5B10%2C115%2C290%2C115%2C2%5D%7D%0D%0A%5D%0D%0A++++++++++++' \
                                    --compressed \
                                    --insecure
                                  

                                  Das funktioniert jetzt mal für JSON-Inputs

                                  draexlerD Do not disturb
                                  draexlerD Do not disturb
                                  draexler
                                  wrote on last edited by draexler
                                  #34

                                  @gr super 👍 danke 👍 wie wäre dann der Aufbau der json url in im Tag selber?

                                  draexlerD 1 Reply Last reply
                                  0
                                  • draexlerD draexler

                                    @gr super 👍 danke 👍 wie wäre dann der Aufbau der json url in im Tag selber?

                                    draexlerD Do not disturb
                                    draexlerD Do not disturb
                                    draexler
                                    wrote on last edited by draexler
                                    #35

                                    @GR Aber wenn ich richtige verstehe schiebst du das ganze in den jsonupload Ordner (in deinem Fall hat der AP die IP 192.168.11.11) und gibt in dem Dara-raw nur noch die MAC des Tags mit. Korrekt?! Aber wieso enthält dein Code Fragmente (oder Verweis keine Ahnung) auf das "jsontemplate-demo.html?
                                    Sorry für die doofen Fragen, aber das ist mir zu hoch....

                                    GRG 1 Reply Last reply
                                    0
                                    • draexlerD draexler

                                      @GR Aber wenn ich richtige verstehe schiebst du das ganze in den jsonupload Ordner (in deinem Fall hat der AP die IP 192.168.11.11) und gibt in dem Dara-raw nur noch die MAC des Tags mit. Korrekt?! Aber wieso enthält dein Code Fragmente (oder Verweis keine Ahnung) auf das "jsontemplate-demo.html?
                                      Sorry für die doofen Fragen, aber das ist mir zu hoch....

                                      GRG Offline
                                      GRG Offline
                                      GR
                                      wrote on last edited by GR
                                      #36

                                      @draexler Den Referrer könnte ich wahrscheinlich löschen. Ich hab den Datenverkehr kopiert, als ich über die Webseite "jsontemplate-demo.html" mein JSON hochgeladen habe.
                                      Dann hab ich das Ergebnis in einBlockly-Exec kopiert. Das hat funktioniert.
                                      Hier die Anleitung:

                                      https://everything.curl.dev/usingcurl/copyas
                                      
                                      1 Reply Last reply
                                      0
                                      • draexlerD draexler

                                        Habe mich jetzt mal ein bisschen mit dem JSON Template beschäftig.
                                        Es gibt ja das "Json-template-demo" Template. Leider werde ich daraus nicht ganz schlau

                                        Es gibt ein paar Stellen wo ich etwas eintragen soll (Mac oder halt die eingentliche Ausgabe). Aber irgendwie kapier ich das nicht. Es gibt eine Stelle wo steht "Place the JSON String here" und weiter unten kommt es nochmal, also der Textaufbau? Also irgendwie stehe ich voll auf dem Schlauch.

                                        Frage 1:
                                        Kann mir jemand sagen wie der Testcode aussehen muss damit ich ein einfaches "Hallo Welt" hinbekommen?

                                        Frage 2:
                                        Und wie muss die URL im Tag für die JSON aussehen?

                                        <!DOCTYPE html>
                                        <html>
                                        
                                        <head>
                                        	<meta charset="UTF-8">
                                        	<title>Json template Upload Form</title>
                                        </head>
                                        
                                        <body>
                                        	<h3>demo Json template form</h3>
                                        	<p>You can use this as an example how to push json templates to a tag by an external server/script. Make sure your json is valid. Check the syntax on <a href="https://jsonlint.com/" target="_blank">https://jsonlint.com/</a>.<br>
                                            Documentation: <a href="https://github.com/jjwbruijn/OpenEPaperLink/wiki/Json-template">https://github.com/jjwbruijn/OpenEPaperLink/wiki/Json-template</a></p>
                                        	<p>
                                        		<form method="POST" action="/jsonupload">
                                        
                                        			<p>
                                        			<label for="mac">Enter a 6 or 8 byte MAC address:</label><br>
                                        			<input type="text" id="mac" name="mac">
                                        			</p>
                                        
                                        			<p>
                                        			<label for="image">Place the json string here</label><br>
                                        			<textarea id="image" name="json" style="width:500px;height:80px;">
                                        [
                                        { "text": [5, 5, "Bahnschrift 20", "fonts/bahnschrift20", 1] },
                                        { "box": [10, 30, 20, 20, 2] }
                                        ]
                                                    </textarea>
                                        			</p>
                                        
                                        			<p>
                                        			<input type="submit" value="Upload">
                                        			</p>
                                        
                                        		</form>
                                        	</p>
                                        </body>
                                        
                                        </html>
                                        
                                        
                                        GRG Offline
                                        GRG Offline
                                        GR
                                        wrote on last edited by
                                        #37

                                        @draexler
                                        Die Seite musst Du im Browser aufrufen mit http://ip-deines-AP/jsontemplate-demo.html

                                        Hier kannst Du dann die Mac Deines Tags eingeben und das JSON mit dem Inhalt z.B.

                                        [
                                            {"box": [0,0,296,40,1]},
                                            {"text": [46,10,"BATTERIESTAND","fonts/calibrib30",0]},
                                            {"text": [82,40,"99","fonts/calibrib120",2]},
                                            {"text": [200,102,"%","fonts/calibrib30",2]}
                                        ]
                                        
                                        draexlerD 1 Reply Last reply
                                        0
                                        • GRG GR

                                          @draexler
                                          Die Seite musst Du im Browser aufrufen mit http://ip-deines-AP/jsontemplate-demo.html

                                          Hier kannst Du dann die Mac Deines Tags eingeben und das JSON mit dem Inhalt z.B.

                                          [
                                              {"box": [0,0,296,40,1]},
                                              {"text": [46,10,"BATTERIESTAND","fonts/calibrib30",0]},
                                              {"text": [82,40,"99","fonts/calibrib120",2]},
                                              {"text": [200,102,"%","fonts/calibrib30",2]}
                                          ]
                                          
                                          draexlerD Do not disturb
                                          draexlerD Do not disturb
                                          draexler
                                          wrote on last edited by draexler
                                          #38

                                          @gr sagte in EPS E-INK Display Ansteuerung -> Statusdisplay für 2€:

                                          http://ip-deines-AP/jsontemplate-demo.html

                                          Ah, langsam wird ein Schuh draus und was kommt hier als URL?

                                          Bildschirmfoto 2023-07-22 um 12.09.32.png

                                          Gibt es eine Möglichkeiten damit auch mehrere Displays gleichzeitig mit dem gleichen Inhalt anzusteuern? Also nur unterschiedliche MAC Adressen?

                                          B 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          776

                                          Online

                                          32.4k

                                          Users

                                          81.6k

                                          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