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 : nothing to display on my Magic Mirror

    Scheduled Pinned Locked Moved Troubleshooting
    20 Posts 3 Posters 3.4k 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @RIKKO14
      last edited by Mykle1

      @RIKKO14 said in MMM-Events : nothing to display on my Magic Mirror:

      Any idea to solve the problem ?

      If the api does not recognize your city then you will have to choose a city as close to you as possible that does work. This is not something that can be fixed by the module, sorry.

      1 Reply Last reply Reply Quote 0
      • R Offline
        RIKKO14
        last edited by

        however when I go to the website: https://eventful.com/caen/events
        I did have some results (I tried eventful Movies but nothing found even in Paris …).
        Maybe it’s a city precision problem? if MMM-Events could specify “city, country” (Caen, France), that might work, right?

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

          @RIKKO14

          In theory, yes, but it does not seem to accept Caen, France.

          From the api documentation:
          location string
          A location name to use in filtering the search results. Locations in the form “San Diego”, “San Diego, TX”, “London, United Kingdom”, and “Calgary, Alberta, Canada” are accepted, as are postal codes (“92122”) and venue IDs (“V0-001-000268633-5”). Common geocoordinate formats (“32.746682, -117.162741”) are also accepted, but the “within” parameter is required in order to set a search radius. (optional)

          1 Reply Last reply Reply Quote 0
          • R Offline
            RIKKO14
            last edited by RIKKO14

            @Mykle1
            and how to put the «within» parameter with the Common geocoordinate formats (“32.746682, -117.162741”) ? it’s more easier with this.
            (optional) = it’s a eventful option ? I’m not a developper so I can’t modify the module.

            Mykle1M 2 Replies Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @RIKKO14
              last edited by

              @RIKKO14

              I will take a look at it when I have the time.

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

                @RIKKO14

                Ok, I’ve updated the module and tested it for your area. Run git pull in the MMM-Events directory. Things to mention:

                1. Use the new config entry. I used the coordinates for Caen, France.
                2. There are not many ‘hits’ for your area. Try using different eventType’s in the config.
                3. Increase the radius for possibly more events. I set it to 100km.
                4. There is a placeholder image for when the api does not provide an image for the event.
                1 Reply Last reply Reply Quote 0
                • Mykle1M Offline
                  Mykle1 Project Sponsor Module Developer @Mykle1
                  last edited by

                  @Mykle1

                  Regarding item #4 in my previous post. If you would rather use a placeholder image of your own (for when the api does not provide an image) you can make or find one and name it ‘go.jpg’. Put that in the modules ‘icons’ folder. However, I caution you to make the replacement image the same dimensions as the default image. Otherwise, the formatting of the module may get screwed up.

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    RIKKO14
                    last edited by

                    I 've made a mistacke but I don’t know where :
                    As you said I run git pull

                    pi@raspberrypi:~/MagicMirror/modules/MMM-GoogleAssistant $ cd ~/MagicMirror/modules/MMM-Events
                    pi@raspberrypi:~/MagicMirror/modules/MMM-Events $ git pull
                    Mise à jour 2522a1a..384b255
                    Fast-forward
                     MMM-Events.js | 85 +++++++++++++++++++++++++++++++----------------------------
                     README.md     | 52 ++++++++++++++++++------------------
                     2 files changed, 71 insertions(+), 66 deletions(-)
                    pi@raspberrypi:~/MagicMirror/modules/MMM-Events $ pm restart mm
                    bash: pm : commande introuvable
                    pi@raspberrypi:~/MagicMirror/modules/MMM-Events $ pm2 restart mm
                    

                    I change in my config.js :
                    city:"49.1811, -0.375565",

                    but I have this : it is not events for Caen :
                    [url=https://zupimages.net/viewer.php?id=20/37/65ps.png][img]https://zupimages.net/up/20/37/65ps.png[/img][/url]

                    if i change config.js :
                    city:"Caen, France", : it’s doesn’t work

                    and how to Increase the radius ?

                    Mykle1M S 3 Replies Last reply Reply Quote 0
                    • Mykle1M Offline
                      Mykle1 Project Sponsor Module Developer @RIKKO14
                      last edited by

                      @RIKKO14

                      Using your city:"49.1811, -0.375565", I get this:
                      Screenshot from 2020-09-09 20-29-37.png

                      If the api has no data (events) for Caen, that can not be helped.

                      When I use city:"Caen, France", I get this:
                      Screenshot from 2020-09-09 20-36-48.png

                      So, the module is working. I added the ability to use coordinates for you. If the api does not give back events for those coordinates it means the api does not have data in the free api for that location. I suggested you increase the radius and you asked, ‘and how to Increase the radius ?’ My answer to that is, Look at the new config in the readme. I mentioned that 2 posts above.

                      I 've made a mistacke but I don’t know where :

                      No, you haven’t. You showed me that the module is working. You’re just not seeing the results you expected

                      Mykle1M 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @RIKKO14
                        last edited by

                        @RIKKO14 from the code

                        city: "", // Your City or lat,long ex "40.123456,-74.123456",
                        radius: "", // search radius
                        radiusDistance:"",
                        

                        so in config.js for this module in it config section

                        radius:???
                        radiusDistance: “km”, or “miles”

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • Mykle1M Offline
                            Mykle1 Project Sponsor Module Developer @RIKKO14
                            last edited by Mykle1

                            @RIKKO14

                            This is what you should have used. From the readme:

                            {
                            module: 'MMM-Events',
                                position: 'top_right',
                                config: {
                                    city: "49.1829,0.3707", // "new york", or lat,long ex "40.123456,-74.123456",
                                    radius: "100", // search radius
                                    radiusDistance: "km", // mi or km
                                    eventType: "music,movies_film,art,sports", // Choose from Events List below
                                    when: "This Week",  // "All", "Future", "Past", "Today", "Last Week", "This Week", "Next week", and months
                                    mode: "noFrame",   // "Frame" or "noFrame" (around picture)
                                    apikey: "YOUR API KEY",
                                    rotateInterval: 5 * 60 * 1000,     // New Event Appears every 5 minutes
                                    useHeader: true,	           // Set to true if you want a header
                                    header: "Spectacle a proximité",
                                    animationSpeed: 3000,              // Event fades in and out
                                    picture: true,                     // true, false = no image
                                }
                              },
                            
                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              RIKKO14
                              last edited by

                              this is my config.js :

                              				disabled: false,
                              				module: 'MMM-Events',
                              				position: 'top_left',
                              				config: {
                              					city: "caen, france", // "new york", or lat,long ex "40.123456,-74.123456",
                              					radius: "50", // search radius
                              					radiusDistance: "km", // mi or km
                              					eventType: "music", // Choose from Events List below
                              					when: "This Week",  // "All", "Future", "Past", "Today", "Last Week", "This Week", "Next week", and months
                              					mode: "noFrame",   // "Frame" or "noFrame" (around picture)
                              					apikey: "Pq4n9Vh5zbshSVfS",
                              					rotateInterval: 15 * 1000,     // New Event Appears every 5 minutes
                              					useHeader: true,	           // Set to true if you want a header
                              					header: "Spectacle a proximité",
                              					animationSpeed: 3000,              // Event fades in and out
                              					picture: false,                     // true, false = no image
                              				}
                              			  },
                              

                              and the problem still here…

                              when I use the gps coordinates of caen (49.1811, -0.3712) it’s the same …
                              I uninstalled and reinstalled the module, + git pull and nmp install: still the same …
                              I tried with the gps coordinates of several cities: Las Vegas, Baltimore, New york, Paris, Lyon, Toulouse it works, with Marseille (the 2nd city in France in population it does not work …), the same for Rouen a city 130 kms from Caen and larger that does not work …
                              If I put 200 km of radius the module comes to look for concerts in Paris.
                              However on the Eventful site there are many concerts of music displayed (even if there are not many posted concerning the largest concert hall compared to the concerts displayed on the concert hall’s website. ).

                              2020-09-14-160041_1080x1920_scrot.png
                              it’s incomprehensible and crazy …

                              There is indeed an error when you put “Caen, France” because on your photo posted above it says “Brussel Ouderenplatform” and Brussel is the capital of Belgium so nothing to do with demand …

                              same, when you using : “49.1811, -0.375565” for Caen,
                              the sainte thérèse basilica is in Lisieux (town 67 km from Caen) with a population of 20,771 inhabitants while CAEN has a population of over 100,000 inhabitants.

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

                                @RIKKO14

                                Copy and pasted from my earlier post.

                                If the api does not give back events for those coordinates it means the api does not have data in the free api for that location.

                                1 Reply Last reply Reply Quote 0
                                • R Offline
                                  RIKKO14
                                  last edited by

                                  So if I understand correctly we can consult the various concerts (not exhaustive) in caen for free on the eventful site, but that this is not available with the free API. it would take a paid API to do it … Thank you for your feedback, I understand better even if I find it a little weird.
                                  thanks you.

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

                                    @RIKKO14 said in MMM-Events : nothing to display on my Magic Mirror:

                                    it would take a paid API to do it …

                                    Not necessarily. Possible. I would inquire with them before paying anything.

                                    Thank you for your feedback, I understand better even if I find it a little weird.

                                    It IS weird but the module can only display the data that is given.

                                    1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      RIKKO14
                                      last edited by

                                      Great, thank you for your approach. Please keep me posted when you get a response from them.

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

                                        Uhhhhhhhh

                                        1 Reply Last reply Reply Quote 0

                                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                        With your input, this post could be even better 💗

                                        Register Login
                                        • 1 / 1
                                        • 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