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 16.3k 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @nhl
      last edited by

      @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

        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

        Mykle1M 1 Reply Last reply Reply Quote 0
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer @nhl
          last edited by

          @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
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @poekel
            last edited by

            @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

              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)

              Mykle1M 1 Reply Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @stephenmelody
                last edited by

                @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 Reply Quote 1
                • S Offline
                  stephenmelody @Mykle1
                  last edited by

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

                  Mykle1M 1 Reply Last reply Reply Quote 0
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @stephenmelody
                    last edited by Mykle1

                    @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 Reply Quote 1
                    • S Offline
                      stephenmelody @Mykle1
                      last edited by

                      @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

                        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 Reply Quote 0
                        • 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