Navigation

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

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    E-INK Display OpenEPaperLink - Displayanzeige mit Batterie

    This topic has been deleted. Only users with topic management privileges can see it.
    • draexler
      draexler @bimmi last edited by 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 1 Reply Last reply Reply Quote 0
      • B
        bimmi @draexler last edited by

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

        Leg deinen ap doch auf den Schrank?

        draexler 1 Reply Last reply Reply Quote 0
        • draexler
          draexler @bimmi last edited by

          @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 Reply Quote 0
          • B
            bimmi @draexler last edited by

            @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

            draexler 1 Reply Last reply Reply Quote 0
            • draexler
              draexler @bimmi last edited by

              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 GR 2 Replies Last reply Reply Quote 0
              • B
                bimmi @draexler last edited by

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

                draexler 1 Reply Last reply Reply Quote 1
                • draexler
                  draexler @bimmi last edited by

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

                  B GR 2 Replies Last reply Reply Quote 0
                  • B
                    bimmi @draexler last edited by

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

                    GR 1 Reply Last reply Reply Quote 0
                    • GR
                      GR @bimmi last edited by

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

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        bimmi @GR last edited by

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

                        Dann mit exec / curl ?

                        MartinP 1 Reply Last reply Reply Quote 0
                        • MartinP
                          MartinP @bimmi last edited by

                          @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 1 Reply Last reply Reply Quote 0
                          • B
                            bimmi @MartinP last edited by

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

                            MartinP 1 Reply Last reply Reply Quote 0
                            • MartinP
                              MartinP @bimmi last edited by

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

                              B 1 Reply Last reply Reply Quote 0
                              • B
                                bimmi @MartinP last edited by bimmi

                                @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

                                1 Reply Last reply Reply Quote 0
                                • GR
                                  GR @draexler last edited by

                                  @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

                                  draexler 1 Reply Last reply Reply Quote 0
                                  • draexler
                                    draexler @GR last edited by draexler

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

                                    draexler 1 Reply Last reply Reply Quote 0
                                    • draexler
                                      draexler @draexler last edited by 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....

                                      GR 1 Reply Last reply Reply Quote 0
                                      • GR
                                        GR @draexler last edited by GR

                                        @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 Reply Quote 0
                                        • GR
                                          GR @draexler last edited by

                                          @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]}
                                          ]
                                          
                                          draexler 1 Reply Last reply Reply Quote 0
                                          • draexler
                                            draexler @GR last edited by draexler

                                            @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 Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            628
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            41
                                            987
                                            222565
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo