Navigation

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

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    E-INK Display OpenEPaperLink - Displayanzeige mit Batterie

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

                                    @draexler du könntest Dein Blockly dementsprechend einfach mehrerer "exec" hinzufügen. Aktuell wird aber an einer "Gruppierung" gearbeitet.

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

                                      @bimmi Aktuell verfolge ich das ganze Thema ohne ioBroker. Und da finde ich die Eingabemöglichkeit bzw. das absenden der JSON innerhalb des AP als Perfekte Idee.

                                      Aber was muss nun in das URL Feld im Tag? (Siehe Post davor)

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

                                        @draexler ich habe mich mit dem json noch nicht beschäftigt. ich denke da muss gar nichts rein. einfach mal die jsonupload html mal testen. die funktioniert ja unabhängig.

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

                                          @bimmi Stimmt, GR hat ja gepostet 🙂 Dir natürlich auch Danke für die ganze Hilfe.

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

                                            @draexler beschäftige mich ja selber erst seit 3 oder 4 wochen damit 😄

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            645
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            41
                                            987
                                            222417
                                            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