• 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 15.6k 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
    last edited by May 26, 2017, 12:31 AM

    Description:

    Added a config option so that you could display the events from a specific time frame.

    “All”, “Future”, “Past”, “Today”, “Last Week”, “This Week”, “Next week”,
    and months by name, e.g. “January”, “February”, “March”, etc . . .

    Download:

    [card:mykle1/MMM-Events]

    Version 1.0.1

    Create a working config
    How to add modules

    1 Reply Last reply Reply Quote 2
    • N Offline
      nhl
      last edited by May 28, 2017, 8:29 PM

      Is there a way to keep the header from fading in and out when the event changes?

      M 2 Replies Last reply May 29, 2017, 1:09 AM Reply Quote 0
      • M Offline
        Mykle1 Project Sponsor Module Developer @nhl
        last edited by May 29, 2017, 1:09 AM

        @nhl

        Not at the moment but I hope you enjoy the module in its current state. Peace!

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • P Offline
          poekel
          last edited by Sep 29, 2017, 7:33 PM

          Mykle,

          I want to display a tabular report of workshops on the mirror (static, no scrolling)

          like this:

          image - date - description
          image - date - description
          etc

          Can that be done with the MMM-events module ?
          Can i take the event from a webserver or local file ?

          Help appreciated!

          Thanx!
          Poekel

          M 1 Reply Last reply Sep 29, 2017, 10:36 PM Reply Quote 0
          • M Offline
            Mykle1 Project Sponsor Module Developer @nhl
            last edited by Sep 29, 2017, 10:29 PM

            @nhl said in MMM-Events:

            Is there a way to keep the header from fading in and out when the event changes?

            I think I was asleep when you first asked this question.

            You can set the animationSpeed: in your config to 0

            That should eliminate the fade altogether (for the entire module), not just the header

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer @poekel
              last edited by Sep 29, 2017, 10:36 PM

              @poekel said in MMM-Events:

              Can that be done with the MMM-events module ?
              Can i take the event from a webserver or local file ?

              That probably depends on the data format. If it’s .ics then it would work in your calendar module. If it’s json, or maybe xml, then it might be usable, but even then much modification would have to be done to the module. As it is, you couldn’t just pop it in and have it display as you described it above

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • S Offline
                stephenmelody
                last edited by stephenmelody Oct 30, 2017, 1:58 PM Oct 30, 2017, 1:57 PM

                I have an issue with this module on my mirror, it just shows “upcoming events…” on the screen but nothing else.

                Here’s my code, I’ve changed my API key so it’s not publicly shared.

                Am I doing something wrong?

                    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: "QbpDjd6SXXXXXXXX",
                        rotateInterval: "6000",     // 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_1509371886264_bfcf6860-d3fe-4941-9278-36870ac3bd07-image.png ![alt text](image url)

                M 1 Reply Last reply Oct 30, 2017, 2:43 PM Reply Quote 0
                • 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
                      • 1
                      • 2
                      • 3
                      • 1 / 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