Read the statement by Michael Teeuw here.
MMM-Events
-
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
![alt text](image url)
-
@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 thisOtherwise, 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 } },
-
@Mykle1 Thanks, I changed my code to yours but I’m still not getting anything… is there anything else I can do to debug?
-
@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?
-
@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?
-
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?
-
I just tried it, an array works well!!
-
@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.
-
is there anyway for it to show more than 1 event at a time?
-
@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.