I’m not looking to sync more than one calendar, the issue is that the events from the public calendar from Google itself is not loading on the Magic Mirror.
The public calendar test I’m trying to load on the Mirror is this one:
https://calendar.google.com/calendar/embed?src=83j7tsjdivl1q2mquioftrnqsk%40group.calendar.google.com&ctz=America%2FSao_Paulo
It keeps showing me “No Upcoming Events” even with the events on the callendar
When I run curl https://calendar.google.com/calendar/embed?src=83j7tsjdivl1q2mquioftrnqsk%40group.calendar.google.com&ctz=America%2FSao_Paulo
This is the result.
It says something like the Browser does not support JavaScript and asks to go over the HTML version of the calendar which also doesn’t load on the MMM
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Teste my pi</title>
<script>gcal$perf$serverTime=84;gcal$perf$headStartTime=new Date().getTime()</script>
<style type="text/css">body{margin:0;padding:0;overflow-y:hidden;}
html{overflow-y:hidden;}</style>
<link type="text/css" rel="stylesheet" href="//calendar.google.com/calendar/static/efe15270419ec4455d268950727cfe24embedcompiled_fastui.css">
<script type="text/javascript">
function _DumpException(e) { throw e; }
</script>
<script type="text/javascript" src="/calendar/_/scs/calendar-static/_/js/k=calendar.embed.pt_BR.Ky11ZlicIEc.O/m=embed/rt=j/d=1/rs=ANwU0p6j3GKjPGvDPRsOr7ahxQV-JSKFaQ"></script>
<script>function _onload() {window._init({"features":[0,1,1,1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,1,0,1,1,1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,0,0,1,0,0,1,0,1,0,1,1,0,1,0,0,0,1,1,0,1,1,1,1,0,1,0,0,1,0,0,1,1,0,0,0,0,0,0,0,1,1,0,1,0,0,0,1,0,0,0,1,1,0,1,1,0,1,1,0,0,0,0,1,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,0,0,1,0,1,1,0,1,1,1,0,1,0,0,1,0,0,0,0,1,0,1,1,0,1,1,1,1,0,1,1,0,0,1,1,0,0,0,1,0,1,1,0,0,0,0,1,0,1,1,0],"loggedin":false,"cids":{"83j7tsjdivl1q2mquioftrnqsk@group.calendar.google.com":{"color":"#2952a3","access":20,"title":"Teste my pi"}},"view":"month","weekstart":0,"format24hour":true,"dateFieldOrder":1,"preloadStart":"20180224","preloadEnd":"20180407","container":"container","baseUrl":"/","imagePath":"//calendar.google.com/googlecalendar/images/","showNavigation":true,"showDateMarker":true,"showTabs":true,"showCalendarMenu":true,"showCurrentTime":false,"showTz":false,"showPrintButton":true,"showElementsLogo":false,"collapseAllday":false,"showSubscribeButton":true,"embedStyle":"WyJhdDplbWI6c3QiXQo\u003d","proxyUrl":"https://clients6.google.com","calendarApiVersion":"v3","developerKey":"AIzaSyBNlYH01_9Hc5S1J9vuFmu2nUqBZJNAXxs"});}</script>
<script type="text/javascript">
var pageLoaded_ = false;
var clientLibraryLoaded_ = false;
function clientLibraryLoaded() {
clientLibraryLoaded_ = true;
if (pageLoaded_) _onload();
}
function pageLoaded() {
pageLoaded_ = true;
if (clientLibraryLoaded_) _onload();
}
</script>
<script type="text/javascript" src="https://apis.google.com/js/client.js?onload=clientLibraryLoaded"></script>
<style type="text/css">
</style></head>
<body onload="pageLoaded()" style="background-color:#fff">
<span id="calendarTitle">Teste my pi</span>
<noscript><p></p>
Seu navegador parece não ser compatível com JavaScript, que é necessário para exibir esta página corretamente.
Visite a versão apenas HTML dessa página em:
<a href="https://calendar.google.com/calendar/htmlembed?src=83j7tsjdivl1q2mquioftrnqsk%40group.calendar.google.com">https://calendar.google.com/calendar/htmlembed?src=83j7tsjdivl1q2mquioftrnqsk%40group.calendar.google.com</a></noscript>
<div id="container" style="width:100%" class="locale-pt_br locale-pt "></div></body></html>