• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

MMM-Events

Scheduled Pinned Locked Moved Entertainment
25 Posts 9 Posters 15.4k 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.
  • M Offline
    Mykle1 Project Sponsor Module Developer @nhl
    last edited by Sep 29, 2017, 10:29 PM

    @nhl said in MMM-Events:

    Is there a way to keep the header from fading in and out when the event changes?

    I think I was asleep when you first asked this question.

    You can set the animationSpeed: in your config to 0

    That should eliminate the fade altogether (for the entire module), not just the header

    Create a working config
    How to add modules

    1 Reply Last reply Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @poekel
      last edited by Sep 29, 2017, 10:36 PM

      @poekel said in MMM-Events:

      Can that be done with the MMM-events module ?
      Can i take the event from a webserver or local file ?

      That probably depends on the data format. If it’s .ics then it would work in your calendar module. If it’s json, or maybe xml, then it might be usable, but even then much modification would have to be done to the module. As it is, you couldn’t just pop it in and have it display as you described it above

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • S Offline
        stephenmelody
        last edited by stephenmelody Oct 30, 2017, 1:58 PM Oct 30, 2017, 1:57 PM

        I have an issue with this module on my mirror, it just shows “upcoming events…” on the screen but nothing else.

        Here’s my code, I’ve changed my API key so it’s not publicly shared.

        Am I doing something wrong?

            module: 'MMM-Events',
            position: 'bottom_left',
            config: {
                city: "Pittsburgh, PA",            // Your City
                eventType: "music_country",
        //      eventType: "sports",
        //      eventType: "food",
        //      eventType: "comedy",               // Choose from Events List below
                when: "This Week",                 // "All", "Future", "Past", "Today", "Last Week", "This Week", "Next week", and months by name, e.g. "October"
                mode: "noFrame",                   // "Frame" or "noFrame" (around picture)
                apikey: "QbpDjd6SXXXXXXXX",
                rotateInterval: "6000",     // New Event Appears every 5 minutes
                useHeader: "True",                 // Set to true if you want a header
                header: "Upcoming Events",
                animationSpeed: "3000",              // Event fades in and out
                picture: "false"                     // true, false = no image
        
        

        0_1509371886264_bfcf6860-d3fe-4941-9278-36870ac3bd07-image.png ![alt text](image url)

        M 1 Reply Last reply Oct 30, 2017, 2:43 PM Reply Quote 0
        • M Offline
          Mykle1 Project Sponsor Module Developer @stephenmelody
          last edited by Oct 30, 2017, 2:43 PM

          @stephenmelody said in MMM-Events:

          Am I doing something wrong?

          useHeader: true, (no quotes, no capital T)

          rotateInterval: "6000", is only 6 seconds. You might want to raise this

          Otherwise, it works for me with my API key and corrections:

          {
          		module: 'MMM-Events',
          		position: 'bottom_left',
          		config: {
          			city: "Pittsburgh, PA",            // Your City
          			eventType: "music_country",
          	//      eventType: "sports",
          	//      eventType: "food",
          	//      eventType: "comedy",               // Choose from Events List below
          			when: "This Week",                 // "All", "Future", "Past", "Today", "Last Week", "This Week", "Next week", and months by name, e.g. "October"
          			mode: "noFrame",                   // "Frame" or "noFrame" (around picture)
          			apikey: "YOUR API KEY",
          			rotateInterval: "20000",     // New Event Appears every 5 minutes
          			useHeader: true,                 // Set to true if you want a header
          			header: "Upcoming Events",
          			animationSpeed: "3000",              // Event fades in and out
          			picture: "false"                     // true, false = no image
          		}
          		},
          

          0_1509374567364_a1.JPG 0_1509374581857_a2.JPG 0_1509374597143_a3.JPG

          Create a working config
          How to add modules

          S 1 Reply Last reply Oct 30, 2017, 2:59 PM Reply Quote 1
          • S Offline
            stephenmelody @Mykle1
            last edited by Oct 30, 2017, 2:59 PM

            @Mykle1 Thanks, I changed my code to yours but I’m still not getting anything… is there anything else I can do to debug?

            M 1 Reply Last reply Oct 30, 2017, 3:05 PM Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer @stephenmelody
              last edited by Mykle1 Oct 30, 2017, 3:06 PM Oct 30, 2017, 3:05 PM

              @stephenmelody said in MMM-Events:

              is there anything else I can do to debug?

              You can post any errors from your teminal or console (from Dev Tools) so we can see what is going on there. You can see that it works for me using your config that I corrected. Are you absolutely sure that your API key is correct and entered correctly within the config entry?

              Create a working config
              How to add modules

              S 1 Reply Last reply Oct 30, 2017, 3:20 PM Reply Quote 1
              • S Offline
                stephenmelody @Mykle1
                last edited by Oct 30, 2017, 3:20 PM

                @Mykle1 100% sure the API key is correct… I’m not sure about how to access the dev tools, pardon my naivety.

                I could give you access to the device if you’d have a couple of minutes to look?

                1 Reply Last reply Reply Quote 0
                • S Offline
                  stephenmelody
                  last edited by stephenmelody Oct 30, 2017, 6:09 PM Oct 30, 2017, 5:11 PM

                  Scrap my messages… it started working after a reboot…

                  However, is it possible to have multiple categories?

                  does this:

                  eventType: "music_country",
                  eventType: "sports",
                  eventType: "food",
                  eventType: "comedy",  
                  

                  or this:

                  eventType: ["music_country", "sports", "food", "comedy"]
                  
                  

                  work?

                  S 1 Reply Last reply Oct 30, 2017, 6:32 PM Reply Quote 0
                  • S Offline
                    stephenmelody @stephenmelody
                    last edited by Oct 30, 2017, 6:32 PM

                    I just tried it, an array works well!!

                    M 1 Reply Last reply Oct 30, 2017, 9:00 PM Reply Quote 1
                    • M Offline
                      Mykle1 Project Sponsor Module Developer @stephenmelody
                      last edited by Oct 30, 2017, 9:00 PM

                      @stephenmelody said in MMM-Events:

                      I just tried it, an array works well!!

                      That’s good news! I’m glad it’s working for you. It happens to be one of my favorite modules. I hope you enjoy it and find it useful, too.

                      Create a working config
                      How to add modules

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