MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    My e-ink frame

    Scheduled Pinned Locked Moved Show your Mirror
    18 Posts 9 Posters 13.3k Views 10 Watching
    Loading More Posts
    • 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.
    • M Offline
      Matuki Module Developer
      last edited by

      Hi!

      1 year ago, I discovered MagicMirror and started my project. Now, I use it daily since months and I think it’s time to share with the community.

      r_r-final.jpg

      Basically, I wanted a nice little frame that displays my calendar and the weather and that is not on a LCD screen (I didn’t want the screen to be a light source).
      So I decided to use a e-ink screen… then wanted to add a temperature sensor and a capacitive sensor to have “buttons” that can manage display… And finally I created my own PCB to manage this components plus a raspberry and hide all that behind a frame.

      r_r-pcb.jpg
      r_r-back.jpg

      For those interested, the whole project is here: https://github.com/seb-ma/eInkFrame (hardware and software).
      And all created modules are also on the repo.

      KamiSchamiK SnilleS H 3 Replies Last reply Reply Quote 10
      • KamiSchamiK Offline
        KamiSchami @Matuki
        last edited by

        @Matuki WOW, looks great !!!

        Real programmers never work 9 to 5. If they are around at 9 AM, it's because they were up all night.

        1 Reply Last reply Reply Quote 0
        • SnilleS Offline
          Snille Module Developer @Matuki
          last edited by

          @Matuki Nice work!

          If you cant find it, make it and share it!
          Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

          1 Reply Last reply Reply Quote 0
          • J Offline
            jonathanperron
            last edited by

            Magnifique! Comment avez-vous intégré les transports en communs?

            M 1 Reply Last reply Reply Quote 0
            • JerryPJ Offline
              JerryP
              last edited by

              Looks nice

              1 Reply Last reply Reply Quote 0
              • M Offline
                Matuki Module Developer @jonathanperron
                last edited by

                @jonathanperron
                Dans ma ville, il y a de l’open data sur les transports en commun. Et il y a déjà quelqu’un qui avait fait un module pour récupérer les heures de prochains passages :
                https://github.com/normyx/MMM-Nantes-TAN

                Je l’ai simplement modifié pour ajouter les alertes sur les lignes affichées (+ quelques corrections mineures) :
                https://github.com/seb-ma/eInkFrame/blob/master/magicmirror_files/patches/MMM-Nantes-TAN.patch

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  jonathanperron @Matuki
                  last edited by

                  @Matuki intéressant ici à Québec, à ma connaissance, il n’y a d’api disponible pour les réseaux te transport en commun ou du trafic. J’ai essayé avec Google maps mais ça pas été un grand succès. C’est bien qu’à Nantes il le fournisse.

                  luisestradaL 1 Reply Last reply Reply Quote 0
                  • luisestradaL Offline
                    luisestrada @jonathanperron
                    last edited by luisestrada

                    @jonathanperron Pour moi, l’api Google ça marche parfaitement. Je n’ai pas réussi à faire fonctionner l’api de la STM

                    https://portail.developpeurs.stm.info/apihub/#/login

                    https://forum.magicmirror.builders/topic/12709/stm-module-société-de-transport-de-montréal?_=1677099514162

                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      jonathanperron @luisestrada
                      last edited by

                      @luisestrada ça donne un bon résultat? Vous pouvez voir les prochaines autobus près de chez vous ou des destinations pré-établies? J’avais suivi un guide pour l’intégrer mais avec les 10000 api de Google, j’ai jamais réussi à le faire fonctionner! Le guide était un peut vieux dans un anglais louche et j’avais de la difficulté à trouvé l’équivalent en français. J’ai abandonné pour l’instant l’intégration Google. Mais là mon MM m’a lâché!

                      luisestradaL 1 Reply Last reply Reply Quote 0
                      • luisestradaL Offline
                        luisestrada @jonathanperron
                        last edited by luisestrada

                        @jonathanperron Avec l’application que j’utilise, je peux voir à quelle heure j’arrive dans une destination spécifique, et aussi à quelle heure le bus quitte l’arrêt de bus où j’habite. Généralement, ces données peuvent être dues à l’horaire du bus mais aussi si le bus dispose d’un GPS.

                        Tu peux voir ci-dessous à quelle heure passe le bus: Próximo bus … (en espagnol :face_with_hand_over_mouth: )

                        Screen Shot 2023-03-03 at 2.03.01 PM.png

                        La partie la plus difficile à comprendre était de configurer l’API. Je peut vous aider.

                        Désolé pour mon français

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          MajorC Project Sponsor
                          last edited by

                          This looks very nice indeed.

                          Can you say what the two weather apps on the bottom left and right are and what modifications you made there? I didn’t find those on the git.

                          Thanks
                          Christian

                          M 1 Reply Last reply Reply Quote 0
                          • M Offline
                            Matuki Module Developer @MajorC
                            last edited by Matuki

                            @MajorC
                            Hello,
                            The left panel is the default weather module with minors modifications that can be found on the repository: https://github.com/seb-ma/eInkFrame/blob/master/magicmirror_files/patches/MagicMirror.patch

                            And the chart on the right is the module I made and shown here: https://forum.magicmirror.builders/topic/17604/mmm-weatherchartd3

                            Both of them rely on modifications I made on weather provider to retrieve pollution (only openweather is currently supported). And I also did another modification on openweather provider to fetch all data once instead of having multiple calls to the API.

                            Finally, I also did a module that acts as a proxy to weather provider to avoid a call to weather API each time a module wants data (openweather and others are limiting the number of calls by day, thus this helps having more updates without reaching the limit): https://github.com/seb-ma/mmm-weatherproviderunique

                            M 1 Reply Last reply Reply Quote 0
                            • M Offline
                              MajorC Project Sponsor @Matuki
                              last edited by

                              Thank you. Then I will try the components next time.

                              1 Reply Last reply Reply Quote 0
                              • H Offline
                                handfish @Matuki
                                last edited by

                                @Matuki Thank you for sharing. I’m in the process of doing something similar: your code is a godsend!

                                1 Reply Last reply Reply Quote 1
                                • N Offline
                                  nat.andrews
                                  last edited by

                                  perfect github page, thank you a lot!

                                  I’m following your instructions, but can’t see the step where we get Magic mirror to display on the e-ink panel.
                                  setting resolution etc. am I missing a step?

                                  M 1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    Matuki Module Developer @nat.andrews
                                    last edited by Matuki

                                    @nat-andrews hello,

                                    The display is done by the module I wrote: https://github.com/seb-ma/MMM-IT8951

                                    The configuration is done like any module: https://github.com/seb-ma/eInkFrame/blob/4defe289e4ebbc873d0e68418e278ff21a976e08/magicmirror_files/config.js#L81

                                    And the resolution is automatically found when initializing driver.
                                    It can be forced in config file when using mock for tests: electronOptions: { fullscreen: true, width: 1872, height: 1404 }

                                    Be sure to set the correct value of VCOM to not damage your eink.
                                    Also, I never had success running my module without the root user. So, unless you find a way (this interest me) you must run MagicMirror as root.

                                    I let you read the readme of the MMM-IT8951 module, but if you need more details or have some questions, let me know.

                                    –
                                    edited to correct behavior on resolution

                                    H 2 Replies Last reply Reply Quote 0
                                    • H Offline
                                      handfish @Matuki
                                      last edited by

                                      @Matuki Thanks again for you help with this. I’m trying to get my eink working without the touch pads.

                                      Can I confirm how you run the mirror as root? Just using sudo? Also the VCOM needs to be given to the MMM-IT8951 module as “driverParam: { VCOM: -1.25 },” in the config? I didn’t see anything about this in the instructions.

                                      Thanks!

                                      1 Reply Last reply Reply Quote 0
                                      • H Offline
                                        handfish @Matuki
                                        last edited by

                                        @Matuki Also just wondering what version of nodejs you need and why? Just checking whether I need a new version of nodejs or if RPi distribution has caught up?

                                        1 Reply Last reply Reply Quote 0

                                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                        With your input, this post could be even better 💗

                                        Register Login
                                        • 1 / 1
                                        • First post
                                          Last post
                                        Enjoying MagicMirror? Please consider a donation!
                                        MagicMirror created by Michael Teeuw.
                                        Forum managed by Sam, technical setup by Karsten.
                                        This forum is using NodeBB as its core | Contributors
                                        Contact | Privacy Policy