• 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.6k 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.
  • 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
                • M Offline
                  Mykle1 Project Sponsor Module Developer @joela85
                  last edited by May 28, 2017, 2:58 PM

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

                    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
                    • 1
                    • 2
                    • 2 / 2
                    2 / 2
                    • First post
                      11/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