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.

    I wish there was a module that would show local events...

    Scheduled Pinned Locked Moved Requests
    19 Posts 3 Posters 9.9k Views 3 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.
    • cowboysdudeC Offline
      cowboysdude Module Developer @Mykle1
      last edited by

      @Mykle1 said in I wish there was a module that would show local events...:

      Shameless plug.
      0_1495663485507_plug2.png

      NO such thing… LOL

      1 Reply Last reply Reply Quote 1
      • joela85J Offline
        joela85
        last edited by

        Tried to get this working, only showing “Upcoming Events…” text on the mirror.

        This is my config, can you see why it might not be loading any events?

         {
                            module: 'MMM-Events',
                            position: 'bottom_left',
                            config: {
                                city: "Leamington Spa, United Kingdom",            // Your City
                                eventType: "music, comedy, performing_arts, sports, food, food_beer, outdoors_recreation",                 // Choose from Events List below
                                when: "Future",                 // "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: "verified_api",
                                rotateInterval: 2 * 60 * 1000,     // New Event Appears every 2 minutes
                                useHeader: false,                  // Set to true if you want a header
                                header: "",
                                animationSpeed: 3000,              // Event fades in and out
                                picture: true,                     // true, false = no image
                            }
        ...
        Mykle1M 3 Replies Last reply Reply Quote 0
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer @joela85
          last edited by

          {
                              module: 'MMM-Events',
                              position: 'top_left',
                              config: {
                                  city: "Leamington, England",            // Your City
                                  eventType: "music",                 // Choose from Events List below
                                  when: "Future",                 // "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: 2 * 60 * 1000,     // New Event Appears every 2 minutes
                                  useHeader: false,                  // Set to true if you want a header
                                  header: "",
                                  animationSpeed: 3000,              // Event fades in and out
                                  picture: true,                     // true, false = no image
                              }
          		},
          

          This will work. More info to follow shortly . . .

          Create a working config
          How to add modules

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

            You can only choose one eventType at a time. I’ll look into multiple entries when I have the time to do so. With Leamington as your city, there is limited data from the API, especially the pictures. If you choose a larger city nearby, say Birmingham, you will have much better results, as the data is more prevalent.

            Leamington does return events, but if you don’t like the fallback picture appearing so often (it does that when the API returns no picture) you can choose picture: false, in the config.

            Please let me know how you like the module.

            Create a working config
            How to add modules

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

              @joela85 said in I wish there was a module that would show local events...:

              This is my config, can you see why it might not be loading any events?

              The above two posts should get you up and running

              Create a working config
              How to add modules

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

                @joela85
                0_1495903654061_Capture21.JPG .0_1495903672132_Capture33.JPG .0_1495903692329_Capture44.JPG

                As you can see, the data from the API for Leamington uses the fallback picture quite often

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • joela85J Offline
                  joela85
                  last edited by

                  Ah, that’s great thanks. I was wondering if multiple events were causing that. It would be great to have a few multiple event types. Ye, there aren’t many events in Leamington itself. Can you put a distance radius around your home post code?
                  Thank you for your help, great little module.

                  Mykle1M 2 Replies Last reply Reply Quote 0
                  • joela85J Offline
                    joela85
                    last edited by

                    Is there also a way to show the date of the event in dd-mm-yy format? instead of yyyy-dd-mm?

                    cowboysdudeC 1 Reply Last reply Reply Quote 0
                    • cowboysdudeC Offline
                      cowboysdude Module Developer @joela85
                      last edited by cowboysdude

                      @joela85 LOL I’m looking at the pictures I’m not seeing it as yyyy-dd-mm… I"m seeing mm/dd/yyyy.

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

                        @joela85 said in I wish there was a module that would show local events...:

                        Is there also a way to show the date of the event in dd-mm-yy format? instead of yyyy-dd-mm?

                        I don’t have any plans to reformat the date. If I change it then undoubtedly, someone will want it the way it was.

                        . It would be great to have a few multiple event types.

                        I’ll get back to you on that. I don’t even think it will require editing the module.

                        Ye, there aren’t many events in Leamington itself. Can >you put a distance radius around your home post code?

                        Not at the moment. Cities are the best route right now. If you want to extend a radius around your post code then you can just choose the nearest major city.

                        Thank you for your help, great little module.

                        You’re welcome, and thank you.

                        Create a working config
                        How to add modules

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

                          @joela85 said in I wish there was a module that would show local events...:

                          It would be great to have a few multiple event types.

                          Ok, so, your config entry for eventType was not incorrect. You had it formatted correctly, categories separated by commas, all within a single pair of quotes.

                          eventType: "music, comedy, performing_arts, sports, food, food_beer, outdoors_recreation",
                          

                          Caveat: The module GET’s 50 events per updateInterval. If the first category in eventType has 50 or more events, you may never see the secondary categories appear. The module does not, for example, GET 10 events from each of the categories.

                          Create a working config
                          How to add modules

                          1 Reply Last reply Reply Quote 0
                          • joela85J Offline
                            joela85
                            last edited by

                            Ah ok, so could put them in preference order then. My dates now appear in dd-mm-yyyy format. Could be doing that on location basis.

                            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 / 1
                            • 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