I’m having issues with a calendar module not updating. Is there a way to schedule a restart of MagicMirror? Something that would exit MM at 3am, and then pm2 would restart it.
Thanks!
I’m having issues with a calendar module not updating. Is there a way to schedule a restart of MagicMirror? Something that would exit MM at 3am, and then pm2 would restart it.
Thanks!
@sdetweil Right there in front of me. Thanks!
I can’t find it in the documentation anywhere. How do I increase the size of upcoming events text? I assume it’s some kind of custom css?
Thanks in advance.
@sdetweil Thank you again! I’ll give it a try.
The code executes fine on startup. It also updates fine on another Pi3b also running on Wifi. Daily temperature updates just fine. So the question is two-fold. Is there something I can change so the events are updated as they change?
Or alternatively, is it okay to plug the pi into a smart plug that cycles daily?
{
module: "calendar",
header: "Upcoming Events",
position: "top_left",
config: {
fade: false,
displaySymbol: true,
MaxTitleLength: 30,
fetchInterval: 10000,
displayRepeatingCountTitle: false,
colored: true,
calendars: [
{
maximumNumberOfDays: 22,
symbol: "Cleaning",
color: "#00ffff",
url: "https://calendar.google.com/calendar/ical/3macalester%40gmail.com/private-69b6bd37705fa371daed31b164fac4fb/basic.ics"
},
{
symbol: "calendar-check",
symbol: "Home",
url: "https://calendar.google.com/calendar/ical/xxxxxx%40gmail.com/private-33242322e68764d9cdxxxxxxxx2/basic.ics"
},
{
maximumNumberOfDays: 22,
symbol: "Jets",
color: "#FFFF00",
// blue is 0066CC
url: "http://sync.roktcalendar.com/webcal/bf459b5e-d2e6-"
},
{
maximumNumberOfDays: 22,
symbol: "holidays",
color: "#009900",
// blue is 0066CC
url:"https://calendar.google.com/calendar/ical/en.canadian%23holiday%40group.v.calendar.google.com/public/basic.ics"
}
]
}
I’m having issues with a calendar module not updating. Is there a way to schedule a restart of MagicMirror? Something that would exit MM at 3am, and then pm2 would restart it.
Thanks!
@sdetweil I did not know that was possible. Another thanks!
@sdetweil Thanks for the quick reply. I use your upgrade script and it is nothing short of amazing. I’ll take your advice and do updates with the script.
The problem I constantly battle is pm2 is just a little aggressive on restarting MM, and it takes me many tries to finally do a ‘pm2 stop all’ so I can have a command line. I wish I knew how to increase the time for pm2 restarts.
I’m running MagicMirror using pm2 if that matters. What I am looking for, if it’s possible, is some way to update MagicMirror and modules on startup. Is such a thing possible, or even desirable?
There is no module that addresses this city. There is an api available:
api.winnipegtransit.com
I have zero experience coding modules, but I have some outdated coding skills. Is there a transit module I might possibly use as a starting point? One that I could modify with my Winnipeg api?