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 18.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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer
      last edited by Mykle1

      Description:

      Choose a category and this module will rotate through the upcoming events in your city.

      Concerts, Performances, Comedy Shows, Sporting Events, Theatre, Exhibits, Art Galleries, Museums, Festivals, Food & Drink and many more.

      Examples:

      css file included for coloring and aligning text.

      0_1495660403551_Capture1.JPG .0_1495660473192_rock3.jpg. 0_1495660540858_33.JPG

      0_1495660710208_yanks.JPG . 0_1495660732685_mets.JPG .0_1495660762243_Events.jpg

      Download:

      [card:mykle1/MMM-Events]

      Version 1.0.0

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 1
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer
        last edited by

        Description:

        Added a config option so that you could display the events from a specific time frame.

        “All”, “Future”, “Past”, “Today”, “Last Week”, “This Week”, “Next week”,
        and months by name, e.g. “January”, “February”, “March”, etc . . .

        Download:

        [card:mykle1/MMM-Events]

        Version 1.0.1

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 2
        • N Offline
          nhl
          last edited by

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

          Mykle1M 2 Replies Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @nhl
            last edited by

            @nhl

            Not at the moment but I hope you enjoy the module in its current state. Peace!

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • P Offline
              poekel
              last edited by

              Mykle,

              I want to display a tabular report of workshops on the mirror (static, no scrolling)

              like this:

              image - date - description
              image - date - description
              etc

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

              Help appreciated!

              Thanx!
              Poekel

              Mykle1M 1 Reply Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @nhl
                last edited by

                @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
                • Mykle1M Offline
                  Mykle1 Project Sponsor Module Developer @poekel
                  last edited by

                  @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

                    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)

                    Mykle1M 1 Reply Last reply Reply Quote 0
                    • Mykle1M Offline
                      Mykle1 Project Sponsor Module Developer @stephenmelody
                      last edited by

                      @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 Reply Quote 1
                      • S Offline
                        stephenmelody @Mykle1
                        last edited by

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

                        Mykle1M 1 Reply Last reply Reply Quote 0
                        • Mykle1M Offline
                          Mykle1 Project Sponsor Module Developer @stephenmelody
                          last edited by Mykle1

                          @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 Reply Quote 1
                          • S Offline
                            stephenmelody @Mykle1
                            last edited by

                            @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

                              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 Reply Quote 0
                              • S Offline
                                stephenmelody @stephenmelody
                                last edited by

                                I just tried it, an array works well!!

                                Mykle1M 1 Reply Last reply Reply Quote 1
                                • Mykle1M Offline
                                  Mykle1 Project Sponsor Module Developer @stephenmelody
                                  last edited by

                                  @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
                                  • A Offline
                                    albertlwj
                                    last edited by

                                    is there anyway for it to show more than 1 event at a time?

                                    Mykle1M 1 Reply Last reply Reply Quote 0
                                    • Mykle1M Offline
                                      Mykle1 Project Sponsor Module Developer @albertlwj
                                      last edited by

                                      @albertlwj said in MMM-Events:

                                      is there anyway for it to show more than 1 event at a time?

                                      As it is, no. It was designed to loop through the events so as to minimize the space it occupies on the mirror. I don’t have any plans to modify it from it’s current state but feel free to modify it yourself. If you make that an option then you can send a PR to the repo and I’ll add it to the module.

                                      In any case, thanks for your interest and I hope you enjoy the module.

                                      Peace.

                                      Create a working config
                                      How to add modules

                                      1 Reply Last reply Reply Quote 0
                                      • A Offline
                                        albertlwj
                                        last edited by

                                        alright thanks! i’ll see if i manage to tweak it :D

                                        it’s a great module thanks for all the work!

                                        1 Reply Last reply Reply Quote 2
                                        • Mykle1M Offline
                                          Mykle1 Project Sponsor Module Developer
                                          last edited by Mykle1

                                          As per @E3V3A @thiagofneves

                                          You can choose multiple eventTypes at the same time using this format:

                                          "music_electronic,music_jazz,music_vocal,music_rap_hiphop"

                                          I do believe that is posted somewhere above. :-)

                                          README file updated on git.

                                          Thanks for the heads up guys. :-)

                                          Create a working config
                                          How to add modules

                                          1 Reply Last reply Reply Quote 0
                                          • B Offline
                                            benderstwin
                                            last edited by

                                            I would love the ability to add a layout, like 2 events sidexside. Is this possible?

                                            I’d like to also create another profile that just shows a list of events for the next 30 days or so. Can this be done?

                                            Thank you,

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 1 / 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