MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Egnos
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    E
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 29
    • Posts 269
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-iFrame-Ping in two different page

      Someone help me please? :crying_face:

      posted in Troubleshooting
      E
      Egnos
    • MMM-iFrame-Ping in two different page

      Hi everyone,
      I have some problems with the MMM-iFrame-Ping module, I explain:
      Right now my Magic Mirror rotates on three pages. On each page I call up the module to view various news, in this way:

      {
      		module: 'MMM-iFrame-Ping',
      		//position: 'middle_center',	// This can be any of the regions.
      		pages: {Welcome: "middle_center"},
      		config: {
      			// See 'Configuration options' for more information.
      			url: "xxxxxxxxxx",
      			//height:"100%", 
      			//width:"100%",
      			autoRefresh: false, //set to false for video
      			updateInterval: 1, //in min. Only if autoRefresh: true
      			displayLastUpdate: false,
      			width: "50%", // Optional. Default: 100%
      			height: "500px", //Optional. Default: 100px
      			scrolling: "no" 
      				}
      		},
      
      		{
      		module: 'MMM-iFrame-Ping',
      		//position: 'middle_center',	// This can be any of the regions.
      		pages: {Sport: "middle_center"},
      		config: {
      			// See 'Configuration options' for more information.
      			url: "xxxxxxxxxx",
      			//height:"100%", 
      			//width:"100%",
      			 autoRefresh: false, //set to false for video
      			updateInterval: 1, //in min. Only if autoRefresh: true
      			displayLastUpdate: false,
      			width: "50%", // Optional. Default: 100%
      			height: "500px", //Optional. Default: 100px			
      			scrolling: "no" 
      				}
      		},
      

      When the MM starts on the first page the video is shown, when it rotates on the second page the video does not start and I only hear the audio.
      The iFrame that starts is always the first that is loaded, on the second page it always hears the audio.
      I checked the URLs and they are working properly.

      Can you help me?

      Many thanks!

      posted in Troubleshooting
      E
      Egnos
    • RE: MMM-Lunartic

      For you:

      {
      "Distance from Earth's core = ": "Distanza dal nucleo della Terra",
      "Distance from sun = ": "Distanza dal Sole",
      "The next full moon is ": "La prossima Luna piena è",
      "The next new moon is ": "La prossima Luna nuova è",
      "The current moon is ": "La fase lunare corrente è",
      "The moon is ": "La Luna è",
      "% illuminated": "% illuminata",
      " days old": "Giorni trascorsi",
      "New Moon Phase": "Luna Nuova",
      "Waxing Crescent Moon": "Luna Crescente",
      "First Quarter Half Moon": "Primo Quarto di Luna",
      "Waxing Gibbous Moon": "Luna Gibbosa Crescente",
      "Full Moon": "Luna Piena",
      "Waning Gibbous Moon": "Luna Gibbosa Calante",
      "Third Quarter Half Moon": "Ultimo Quarto di Luna",
      "Waning Crescent Moon": "Luna Calante",
      "When the Moon hits your eye . . .": "Quando la Luna illumina i tuoi occhi..."
      }
      

      @Mykle1 said in MMM-Lunartic:

      Are you using a Pi? I think the PSEye cam works well from what I’ve read here. I really don’t know. I don’t use Pi’s any longer.

      No, now for convenience I’m using a virtual machine with VirtualBox, could it work?

      posted in Education
      E
      Egnos
    • RE: Move a module with custom.css

      Ok then I try!
      Thanks guys for the support. :winking_face:

      posted in Development
      E
      Egnos
    • Move a module with custom.css

      Hello to all,
      I’m a beginner and I can’t move to positions other than the standard settable ones in config.js.
      For example “top_bar”, “bottom_bar”, “upper_third”, etc…

      I tried to build a “custom.css” to move the “mmm-suncalc” module down (the module pictured below left), as shown in the following image:

      2020-03-05-163618-1600x795-scrot-MOD

      Here is the custom.css that I made:

      /*****************************************************
       * Magic Mirror                                      *
       * Custom CSS                                        *
       *                                                   *
       * By Michael Teeuw http://michaelteeuw.nl           *
       * MIT Licensed.                                     *
       *                                                   *
       * Add any custom CSS below.                         *
       * Changes to this files will be ignored by GIT. *
       *****************************************************/
      
      header {
        text-transform: uppercase;
        font-size: 15px;
        font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
        font-weight: 400;
        border-bottom: 1px solid #666;
        line-height: 15px;
        padding-bottom: 5px;
        margin-bottom: 10px;
        color: #999;
      }
      
      body {
        margin: 60px;
        position: absolute;
        height: calc(100% - 120px);
        width: calc(100% - 120px);
        background: #000;
        color: #aaa;
        font-family: "Roboto Condensed", sans-serif;
        font-weight: 400;
        font-size: 2em;
        line-height: 1.5em;
        -webkit-font-smoothing: antialiased;
       }
      
      .mmm-suncalc, div#module_7_mmm-suncalc {
      	position: absolute;
      	top: 100px;
      	left: 30px;
      	bottom: 10px;
      	padding-left: 10px;
      }
      

      But the form does not move!

      Where am I wrong?
      Can you help me?

      Thanks so much.

      posted in Development
      E
      Egnos
    • RE: MMM-iFrame-Ping

      Thank you very much to the developer for the excellent work!

      I would have a problem:
      In my MM I call the “MMM-iFrame-Ping” module twice, it appear on two different pages.
      The problem is if I want to set two different sizes.
      For some reason the size of one module affects the other, not allowing to have two distinct measures.

      Here is my config.js:

      		{
      		module: 'MMM-iFrame-Ping',
      		//position: 'middle_center',	// This can be any of the regions.
      		pages: {Welcome: "middle_center"},
      		config: {
      			// See 'Configuration options' for more information.
      			url: "xxxxxxxxxx",
      			//height:"100%", 
      			//width:"100%",
      			autoRefresh: false, //set to false for video
      			updateInterval: 1, //in min. Only if autoRefresh: true
      			displayLastUpdate: false,
      			width: "50%", // Optional. Default: 100%
      			height: "500px", //Optional. Default: 100px
      			scrolling: "no" 
      				}
      		},
      
      		{
      		module: 'MMM-iFrame-Ping',
      		//position: 'middle_center',	// This can be any of the regions.
      		pages: {Sport: "middle_center"},
      		config: {
      			// See 'Configuration options' for more information.
      			url: "xxxxxxxxxx",
      			//height:"100%", 
      			//width:"100%",
      			 autoRefresh: false, //set to false for video
      			updateInterval: 1, //in min. Only if autoRefresh: true
      			displayLastUpdate: false,
      			width: "30%", // Optional. Default: 100%
      			height: "350px", //Optional. Default: 100px			
      			//width: "50%", // Optional. Default: 100%
      			//height: "500px", //Optional. Default: 100px
      			scrolling: "no" 
      				}
      		},
      

      Does it happen to you too?
      Is this behavior correct?

      I hope I explained myself!

      Thanks.

      posted in Utilities
      E
      Egnos
    • RE: MMM-Lunartic

      HI @Mykle1
      I don’t know why but the module started working!
      I have some questions:

      • How should I modify the config.js to not display the image of the moon but only the text?

      • I am Italian, how can I translate the text?

      • If you want to use “Hello Lucy” to call up the page with my voice, could you recommend a good microphone?

      Thank you so much for your patience.:winking_face:

      posted in Education
      E
      Egnos
    • RE: MMM-MyCommute

      @sdetweil said in MMM-MyCommute:

      @Egnos

      This API project is not authorized to use this API.

      seems pretty clear… the api Project you selected, doesn’t authorize use of the API…

      open the google developers console, find the api project and check for the api… maybe Javascript

      Dear @sdetweil.
      Thee same behavior also has it @wagon40, I thought it was something about the module…but if you’re sure it’s just an API problem … I’ll do a check!

      Thanks.

      posted in Transport
      E
      Egnos
    • RE: MMM-Lunartic

      @Mykle1 Hello Lucy allows you to create pages like MMM-Page Selector?

      Is it possible to change the pages automatically after a set time?

      Many thanks @Mykle1.

      PS: I try your advice as soon as possible!👍

      posted in Education
      E
      Egnos
    • RE: MMM-MyCommute

      Is anybody there? 🤔

      posted in Transport
      E
      Egnos
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @BKeyport and @evroom this is my environment:

      • PC Hp Intel I5.

      • Raspbian on Virtual Box (using Debian…).

      First I try to make everything work on the virtual machine and then I transfer everything to PI.

      Many thanks.

      posted in Utilities
      E
      Egnos
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @BKeyport and @evroom I tried to install omxplayer but i always get the same error:

      E: Impossibile trovare il pacchetto omxplayer
      

      Can you help me?

      Many thanks!

      posted in Utilities
      E
      Egnos
    • RE: MMM-Lunartic

      @Mykle1 said in MMM-Lunartic:

      @Egnos

      Well, first a question. Does it work with the default config entry after you’ve done the temporary fix?

      Yes, if you comment the line

      //	pages: {Prova: "top_left"},
      

      the module seems to work correctly.

      I did this test using a new “config.js”, without the other 21 modules.
      It is also possible that Lunartic conflicts with some other module.
      Here are the modules I installed:

      MMM-iFrame-Ping
      MMM-Page-Selector
      MM-orrery
      MMM-DarkSkyForecast
      MMM-ISS
      MMM-RTSPStream
      planetrise
      MMM-EARTH-Live
      MMM-ISS-Live
      MMM-Screencast
      MMM-Formula1
      MMM-Lunartic
      MMM-SoccerLiveScore
      MMM-Globe
      MMM-MyCommute
      mmm-suncalc
      MMM-GoogleMapsTraffic
      MMM-page-indicator
      MMM-Voice-Commands

      Thanks.

      posted in Education
      E
      Egnos
    • RE: MMM-Lunartic

      @Mykle1 said in MMM-Lunartic:

      hen the Moon hits your eye…” at

      Thanks @Mykle1.
      My MM has multiple pages and uses the “MMM-Page-Selector” module.
      Using the configuration below I should display your module on the “Prova” page, but showing only "When the Moon hits your eye…”

      pages: {Prova: "top_left"},
      

      All other modules (about 21 …) respect this rule …

      Could you do something?

      Thanks a lot!

      posted in Education
      E
      Egnos
    • RE: MMM-GoogleMapsTraffic

      @sdetweil so you also entered your credit card?
      How many accesses does this module make per day?

      posted in Transport
      E
      Egnos
    • RE: MMM-Lunartic

      @Mykle1 said in MMM-Lunartic:

      @Vauxdvihl said in MMM-Lunartic:

      Unfortunately no image is shown
      And i am not able to reach the linked homepage here (location germany)
      Is there a workaround?

      Yes, the API is down. However, there is a workaround. (temporary fix)

      1. Do a “git pull” in the MMM-Lunartic directory to make sure the module is up to date
      2. Rename your current MMM-Lunartic.js file to MMM-Lunartic.bak
      3. You will now notice a folder named “temporary fix” inside the module folder. Inside the “temporary fix” folder is another MMM-Lunartic.js file. Copy and paste that to the root of the MMM-Lunartic folder.
      4. Restart MM

      Hi @Mykle1,
      I tried to do your work around but I only see this writing: “When the Moon hits your eye…”

      This is my configuration:

      {
      			disabled: false,
      			module: 'MMM-Lunartic',
      			//position: 'bottom_center', // Best in left, center, or right regions
      			pages: {Prova: "top_left"},
      			config: {
      				mode: "rotating", // rotating or static
      				image: "current", // animation, current, DayNight or static
      				distance: "miles", // miles or km
      				sounds: "yes", // howling wolf, only on a full moon
      				useHeader: false, // true if you want a header
      				header: "The Lunartic is in my head", // Any text you want
      				maxWidth: "300px",
      				animationSpeed: 0,
      				rotateInterval: 15000,
      					}
      		},
      

      Could you help me?

      Many thanks!

      posted in Education
      E
      Egnos
    • RE: MMM-GoogleMapsTraffic

      Hi @sdetweil
      It would seem that to have a valid API Key you need to “Enabling billing on Google Cloud Platform …”.
      To receive the API Key, you need to enter a valid credit card number.

      Did you do this too?
      Do you agree?

      Thanks.

      posted in Transport
      E
      Egnos
    • RE: MMM-MyCommute

      @wagon40 said in MMM-MyCommute:

      @wagon40
      I checked the apikey and Google is showing a count of apikey request. So that leads me to believe that it is a MM issue or module issue. Any help would be be great.

      Hello to all,
      I have the same problem as @wagon40 , can you help us?

      The log of the MM shows:

      [13:48:15.263] [LOG]    MMM-MyCommute: This API project is not authorized to use this API.
      [13:48:15.268] [LOG]    MMM-MyCommute: This API project is not authorized to use this API.
      
      

      I use the same Google API that uses “MMM-GoogleMapsTraffic” … could it be the cause of the problem?

      Thanks a lot!

      posted in Transport
      E
      Egnos
    • RE: MMM-GoogleMapsTraffic

      @sdetweil
      What does it mean when this message appears:
      “This page didn’t load Google Maps correctly”

      posted in Transport
      E
      Egnos
    • RE: MMM-GoogleMapsTraffic

      @sdetweil are there problems with Magic Mirror if using VirtualBox?

      Thanks

      posted in Transport
      E
      Egnos
    • 1 / 1