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

    rohazon

    @rohazon

    1
    Reputation
    289
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    rohazon Unfollow Follow

    Best posts made by rohazon

    • (Solved) Need help loading iframe

      Hello everyone,

      First off, the magicmirror project is my first experience with coding so complete noob here (but willing to learn).

      I’ve been able to setup MMM-GoogleMapsTraffic module but would like to replace it by an iframe of waze/livemaps. https://developers.google.com/waze/iframe/
      so i replace googleMapsTraffic module by this module https://github.com/alberttwong/MMM-iFrame

                      {
      			module: "MMM-iFrame",
      			position: "top-left",	// This can be any of the regions.
      			config: {
      				// See 'Configuration options' for more information.
      					url: ["https://embed.waze.com/fr/iframe?zoom=13&lat=48.6159324&lon=-1.9995349"],  // as many URLs you want or you can just ["ENTER IN URL"] if single URL.
      					updateInterval: 0.5 * 60 * 1000, // rotate URLs every 30 seconds
      					width: "100%", // Optional. Default: 100%
      					height: "300px" //Optional. Default: 100px
      			}
      		}
      	},
      

      when launching npm, i now have a syntax error message, did try to mess around like i did with previous module but can’t figure out what i did wrong.

      any help will be appreciated
      Thanks

      my mirror: https://photos.app.goo.gl/UJScmWhd87KozjRn1

      EDIT:

      after editing code by deleting one of the last bracket

      	{
      			module: "MMM-iFrame",
      			position: "top-left",	// This can be any of the regions.
      			config: {
      				// See 'Configuration options' for more information.
      						url: ["https://embed.waze.com/fr/iframe?zoom=13&lat=48.6159324&lon=-1.9995349"],  // as many URLs you want or you can just ["ENTER IN URL"] if single URL.
      						updateInterval: 0.5 * 60 * 1000, // rotate URLs every 30 seconds
      						width: "100%", // Optional. Default: 100%
      						height: "300px" //Optional. Default: 100px
      			}
      		},
      

      I do not have anymore syntax error now when launching npm but no visual of the map,
      Any idea?

      EDIT 2:

      Finally got it working by changing of iframe module, do use MMM-iFrameReload now and working great :)

      posted in Troubleshooting
      R
      rohazon

    Latest posts made by rohazon

    • (Solved) Need help loading iframe

      Hello everyone,

      First off, the magicmirror project is my first experience with coding so complete noob here (but willing to learn).

      I’ve been able to setup MMM-GoogleMapsTraffic module but would like to replace it by an iframe of waze/livemaps. https://developers.google.com/waze/iframe/
      so i replace googleMapsTraffic module by this module https://github.com/alberttwong/MMM-iFrame

                      {
      			module: "MMM-iFrame",
      			position: "top-left",	// This can be any of the regions.
      			config: {
      				// See 'Configuration options' for more information.
      					url: ["https://embed.waze.com/fr/iframe?zoom=13&lat=48.6159324&lon=-1.9995349"],  // as many URLs you want or you can just ["ENTER IN URL"] if single URL.
      					updateInterval: 0.5 * 60 * 1000, // rotate URLs every 30 seconds
      					width: "100%", // Optional. Default: 100%
      					height: "300px" //Optional. Default: 100px
      			}
      		}
      	},
      

      when launching npm, i now have a syntax error message, did try to mess around like i did with previous module but can’t figure out what i did wrong.

      any help will be appreciated
      Thanks

      my mirror: https://photos.app.goo.gl/UJScmWhd87KozjRn1

      EDIT:

      after editing code by deleting one of the last bracket

      	{
      			module: "MMM-iFrame",
      			position: "top-left",	// This can be any of the regions.
      			config: {
      				// See 'Configuration options' for more information.
      						url: ["https://embed.waze.com/fr/iframe?zoom=13&lat=48.6159324&lon=-1.9995349"],  // as many URLs you want or you can just ["ENTER IN URL"] if single URL.
      						updateInterval: 0.5 * 60 * 1000, // rotate URLs every 30 seconds
      						width: "100%", // Optional. Default: 100%
      						height: "300px" //Optional. Default: 100px
      			}
      		},
      

      I do not have anymore syntax error now when launching npm but no visual of the map,
      Any idea?

      EDIT 2:

      Finally got it working by changing of iframe module, do use MMM-iFrameReload now and working great :)

      posted in Troubleshooting
      R
      rohazon