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.

    Frameless Bathroom Mirror - Part 1: Software and Preparations

    Scheduled Pinned Locked Moved Show your Mirror
    21 Posts 9 Posters 17.3k Views 9 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.
    • L Offline
      Lx
      last edited by

      @Meidlmarkus said in Glass on the way, but still eager to share my first try:

      I’m a bit proud of the next module to be honest.

      And you have every reason to be! That’s great. I can’t even get any map displayed on the mirror.

      To have it appear in a matching style I used filter:greyscale 100% plus invert 100% within the js of the module. This way I managed a quite decent google display without the need of an API key.

      Would you mind sharing the module’s code from your config file, as well as the modified MMM-iFrameReload.js ?

      MeidlmarkusM 1 Reply Last reply Reply Quote 0
      • MeidlmarkusM Offline
        Meidlmarkus @Lx
        last edited by

        @Lx said in Glass on the way, but still eager to share my first try:

        Would you mind sharing the module’s code from your config file, as well as the modified MMM-iFrameReload.js ?

        Absolutely no problem, glad if I can help :-)

        Here is the MMM-iFrameReload configuration in config/config.js:

        {
        			module: 'MMM-iFrameReload',
        			position: 'top_right',	// This can be any of the regions.
        			config: {
        				url: "https://www.google.com/maps/embed?pb=!1m28!1m12!1m3!1d42533.999773346404!2d16.411988327113605!3d48.2186535328082!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!4m13!3e0!4m5!1s0x476d015a39ef4d09%3A0x9517276e2c623b28!2sGunertweg%204%2C%201220%20Wien%2C%20%C3%96sterreich!3m2!1d48.249941799999995!2d16.4780513!4m5!1s0x476d00ab0878e79f%3A0x27ed9084b744849a!2sErdbergstra%C3%9Fe%20236%2C%20Wien!3m2!1d48.1851841!2d16.4259021!5e0!3m2!1sde!2sat!4v1581209652324!5m2!1sde!2sat",	
        				width: "100%", // Optional. Default: 400px
        				height: "400px", // Optional. Default: 800px
        				refreshInterval: 900  //Optional. Default: 3600 = 1 hour
        			}
        		},
        

        So this shows the way from my home to my office. To show a route of your own liking, process as follows:

        1. go to https://www.google.at/maps/
        2. search your destination in the left-hand google maps search box
        3. switch to navigation, enter your origin and let google calculate the route
        4. this is the important part: get the iFrame url: click the menu button on the left, select ‘share or embed map’ and select embed map.
        5. copy the iframe src into your clipboard, use the whole part between the double quotes including the https
        6. paste it in the url: part of your MMM-iFrameReload config.js

        Now you should see a colorful map after saving and restarting mm.
        If you want to have the dark-grey appearance, go into the MMM-iFrameReload.js in ~/MagicMirror/modules/MMM-iFrameReload/
        Find the line iframe.style = “border:0” and replace it with

        iframe.style = "border:0;filter: grayscale(95%) invert(100%);"
        

        Hope this helps, pls let me know if it worked!
        Cheers
        Markus

        L 1 Reply Last reply Reply Quote 1
        • L Offline
          Lx @Meidlmarkus
          last edited by

          Hey @Meidlmarkus, thanks for the quick and kind reply. Actually, I’ve deleted the whole installation so there is no working environment right now. I’m just downloading the Raspbian 13 Feb build. Will give it a try soon and get back to you with the results!

          1 Reply Last reply Reply Quote 1
          • L Offline
            linsenpago
            last edited by

            Hi!

            Did you already received your Spy Glass? If yes, how satisfied are you with the glass? I am thinking about to order this kind of spy glass from glass-star.de too.

            Hast du deinen Spion Spiegel bereits bekommen? Falls ja, wie zufrieden bist du damit? Ich bin auch gerade am Smart Mirror planen und überlege mir ebenfalls so einen Spionspiegel von glass-star.de zu bestellen.

            Grüße aus Wien!

            MeidlmarkusM 1 Reply Last reply Reply Quote 0
            • MeidlmarkusM Offline
              Meidlmarkus @linsenpago
              last edited by Meidlmarkus

              @linsenpago
              Hi, no, unfortunately I’m still waiting… It’s been over a month now, and no news. I wrote a mail yesterday with no response yet :-(

              Nein, leider immer noch nicht da. Habe gestern mail geschrieben, bis jetzt noch keine Reaktion. Werde morgen mal anrufen…

              Grüße zurück aus Wien!

              Edit: it is announced to arrive tomorrow! Die Spedition kommt morgen :-) Yeeeyy!

              MeidlmarkusM 1 Reply Last reply Reply Quote 0
              • MeidlmarkusM Offline
                Meidlmarkus @Meidlmarkus
                last edited by

                @linsenpago The mirror has arrived like 2 weeks ago, and I have already finished the project, just preparing an update to my original post. Will describe everything there, how it worked, what I think about the glass etc (the glass is great by the way!)

                1 Reply Last reply Reply Quote 1
                • P Offline
                  patrickgruber
                  last edited by

                  WOW!
                  Echt tolle config! :smiling_face_with_heart-eyes:

                  Ich bekomme mein MMM-WienerLinien Modul iwie nicht zum Laufen.
                  API-Key wird ja laut WienerLinien nicht mehr benötigt.
                  Ich sehe jedoch kein Modul :(

                  MeidlmarkusM 1 Reply Last reply Reply Quote 0
                  • MeidlmarkusM Offline
                    Meidlmarkus @patrickgruber
                    last edited by

                    Hi @patrickgruber da hab ich eigentlich nix groß gemacht dran. Nur die Konfig angepasst.
                    Probier mal diese aus:

                    {
                                            module: "MMM-WienerLinien",
                                            position: "top_right",
                                            config: {
                                                api_key: "",
                                                stations: ["941","3185"],
                    			    shortenDestination: 20 
                                            }
                                    },
                    

                    Danke fürs Lob :-)

                    1 Reply Last reply Reply Quote 1
                    • C Offline
                      cyberphox
                      last edited by

                      What region is your MMM-ScreenCast placed in here?
                      Care to share your config?

                      Full time Dad, DJ and entertainer and lover of technology.

                      MeidlmarkusM 1 Reply Last reply Reply Quote 0
                      • MeidlmarkusM Offline
                        Meidlmarkus @cyberphox
                        last edited by Meidlmarkus

                        @cyberphox sure, no problem, here you go:

                        		{
                        			module: 'MMM-Screencast',
                        			position: 'bottom_right', // This position is for a hidden <div /> and not the screencast window
                        			config: {
                        				position: 'bottomCenter',
                        				height: 800,
                        				width: 1200,
                        			}
                                	},
                        
                        

                        cheers
                        Markus

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • 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