• 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.

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

Scheduled Pinned Locked Moved Requests
19 Posts 3 Posters 9.1k 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.
  • C Offline
    cowboysdude Module Developer @Mykle1
    last edited by May 24, 2017, 10:20 PM

    @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
    • J Offline
      joela85
      last edited by May 27, 2017, 3:55 PM

      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
                          }
      ...
      M 3 Replies Last reply May 27, 2017, 4:25 PM Reply Quote 0
      • M Offline
        Mykle1 Project Sponsor Module Developer @joela85
        last edited by May 27, 2017, 4:25 PM

        {
                            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
        • M Offline
          Mykle1 Project Sponsor Module Developer
          last edited by May 27, 2017, 4:33 PM

          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
          • M Offline
            Mykle1 Project Sponsor Module Developer @joela85
            last edited by May 27, 2017, 4:34 PM

            @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
            • M Offline
              Mykle1 Project Sponsor Module Developer @joela85
              last edited by May 27, 2017, 4:48 PM

              @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
              • J Offline
                joela85
                last edited by May 27, 2017, 7:49 PM

                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.

                M 2 Replies Last reply May 28, 2017, 12:55 AM Reply Quote 0
                • J Offline
                  joela85
                  last edited by May 27, 2017, 11:02 PM

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

                  C 1 Reply Last reply May 27, 2017, 11:39 PM Reply Quote 0
                  • C Offline
                    cowboysdude Module Developer @joela85
                    last edited by cowboysdude May 27, 2017, 11:42 PM May 27, 2017, 11:39 PM

                    @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
                    • M Offline
                      Mykle1 Project Sponsor Module Developer @joela85
                      last edited by May 28, 2017, 12:55 AM

                      @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
                      • 1
                      • 2
                      • 2 / 2
                      2 / 2
                      • First post
                        12/19
                        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