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 11.4k 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.
    • 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
                        • 1
                        • 2
                        • 2 / 2
                        • 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