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

MMM-Events

Scheduled Pinned Locked Moved Entertainment
25 Posts 9 Posters 14.1k Views 9 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 @stephenmelody
    last edited by Oct 30, 2017, 2:43 PM

    @stephenmelody said in MMM-Events:

    Am I doing something wrong?

    useHeader: true, (no quotes, no capital T)

    rotateInterval: "6000", is only 6 seconds. You might want to raise this

    Otherwise, it works for me with my API key and corrections:

    {
    		module: 'MMM-Events',
    		position: 'bottom_left',
    		config: {
    			city: "Pittsburgh, PA",            // Your City
    			eventType: "music_country",
    	//      eventType: "sports",
    	//      eventType: "food",
    	//      eventType: "comedy",               // Choose from Events List below
    			when: "This Week",                 // "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: "20000",     // New Event Appears every 5 minutes
    			useHeader: true,                 // Set to true if you want a header
    			header: "Upcoming Events",
    			animationSpeed: "3000",              // Event fades in and out
    			picture: "false"                     // true, false = no image
    		}
    		},
    

    0_1509374567364_a1.JPG 0_1509374581857_a2.JPG 0_1509374597143_a3.JPG

    Create a working config
    How to add modules

    S 1 Reply Last reply Oct 30, 2017, 2:59 PM Reply Quote 1
    • S Offline
      stephenmelody @Mykle1
      last edited by Oct 30, 2017, 2:59 PM

      @Mykle1 Thanks, I changed my code to yours but I’m still not getting anything… is there anything else I can do to debug?

      M 1 Reply Last reply Oct 30, 2017, 3:05 PM Reply Quote 0
      • M Offline
        Mykle1 Project Sponsor Module Developer @stephenmelody
        last edited by Mykle1 Oct 30, 2017, 3:06 PM Oct 30, 2017, 3:05 PM

        @stephenmelody said in MMM-Events:

        is there anything else I can do to debug?

        You can post any errors from your teminal or console (from Dev Tools) so we can see what is going on there. You can see that it works for me using your config that I corrected. Are you absolutely sure that your API key is correct and entered correctly within the config entry?

        Create a working config
        How to add modules

        S 1 Reply Last reply Oct 30, 2017, 3:20 PM Reply Quote 1
        • S Offline
          stephenmelody @Mykle1
          last edited by Oct 30, 2017, 3:20 PM

          @Mykle1 100% sure the API key is correct… I’m not sure about how to access the dev tools, pardon my naivety.

          I could give you access to the device if you’d have a couple of minutes to look?

          1 Reply Last reply Reply Quote 0
          • S Offline
            stephenmelody
            last edited by stephenmelody Oct 30, 2017, 6:09 PM Oct 30, 2017, 5:11 PM

            Scrap my messages… it started working after a reboot…

            However, is it possible to have multiple categories?

            does this:

            eventType: "music_country",
            eventType: "sports",
            eventType: "food",
            eventType: "comedy",  
            

            or this:

            eventType: ["music_country", "sports", "food", "comedy"]
            
            

            work?

            S 1 Reply Last reply Oct 30, 2017, 6:32 PM Reply Quote 0
            • S Offline
              stephenmelody @stephenmelody
              last edited by Oct 30, 2017, 6:32 PM

              I just tried it, an array works well!!

              M 1 Reply Last reply Oct 30, 2017, 9:00 PM Reply Quote 1
              • M Offline
                Mykle1 Project Sponsor Module Developer @stephenmelody
                last edited by Oct 30, 2017, 9:00 PM

                @stephenmelody said in MMM-Events:

                I just tried it, an array works well!!

                That’s good news! I’m glad it’s working for you. It happens to be one of my favorite modules. I hope you enjoy it and find it useful, too.

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 1
                • A Offline
                  albertlwj
                  last edited by Apr 8, 2018, 7:44 PM

                  is there anyway for it to show more than 1 event at a time?

                  M 1 Reply Last reply Apr 8, 2018, 10:14 PM Reply Quote 0
                  • M Offline
                    Mykle1 Project Sponsor Module Developer @albertlwj
                    last edited by Apr 8, 2018, 10:14 PM

                    @albertlwj said in MMM-Events:

                    is there anyway for it to show more than 1 event at a time?

                    As it is, no. It was designed to loop through the events so as to minimize the space it occupies on the mirror. I don’t have any plans to modify it from it’s current state but feel free to modify it yourself. If you make that an option then you can send a PR to the repo and I’ll add it to the module.

                    In any case, thanks for your interest and I hope you enjoy the module.

                    Peace.

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      albertlwj
                      last edited by Apr 9, 2018, 4:54 AM

                      alright thanks! i’ll see if i manage to tweak it :D

                      it’s a great module thanks for all the work!

                      1 Reply Last reply Reply Quote 2
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      • 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