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.3k 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.
    • joela85J Offline
      joela85
      last edited by

      That’s a good idea, quick thought…
      Can’t you do this using the calendar or news module?

      I had a quick search at local events in my area and found two different websites in my local area with key events.

      One website you could export all the events into a your own google calendar or ical. you could then tailor these to show up in a different colour or start with a different heading?

      The other website had their events under and RS feed and you could show the RSS feed up on the news module?

      Do you have something like that for your area?

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

        @joela85 great ideas :)

        But…

        https://github.com/mykle1/MMM-Events

        :)

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

          That looks spot on. I think I’ll be adding that module later.
          Requesting an API key, what do you put in the “Application URL” box etc

          Mykle1M 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...:

            Requesting an API key, what do you put in the “Application URL” box etc

            You can just use the url of this forum.

            https://forum.magicmirror.builders/

            Create a working config
            How to add modules

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

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

              https://github.com/mykle1/MMM-Events

              Oh, no you d’int! You old some beach! ;-)

              Well, seeing as you wished for it, and seeing as you forced my hand, here it is.

              https://forum.magicmirror.builders/topic/2628/mmm-events

              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

                Shameless plug.
                0_1495663485507_plug2.png

                Create a working config
                How to add modules

                cowboysdudeC 1 Reply Last reply Reply Quote 1
                • 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
                        • 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