• 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 8.8k 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.
  • J Offline
    joela85
    last edited by joela85 May 24, 2017, 1:15 PM May 24, 2017, 1:04 PM

    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

    M 1 Reply Last reply May 24, 2017, 6:24 PM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @joela85
      last edited by May 24, 2017, 6:24 PM

      @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
      • M Offline
        Mykle1 Project Sponsor Module Developer @cowboysdude
        last edited by Mykle1 May 24, 2017, 9:26 PM May 24, 2017, 6:29 PM

        @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
        • M Offline
          Mykle1 Project Sponsor Module Developer
          last edited by May 24, 2017, 10:04 PM

          Shameless plug.
          0_1495663485507_plug2.png

          Create a working config
          How to add modules

          C 1 Reply Last reply May 24, 2017, 10:20 PM Reply Quote 1
          • 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
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        8/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