Hi there,
Love the basecalendar. It's just what i was looking for.
However, I can't seem to get it to authenticate. I'm sure I'm doing something wrong.
I put basecalendar/ and gcal.yaml into my /config/appdaemon/custom_widgets (basecalendar directory and gcal.yaml are the only things in there).
custom_widgets $ ls -al
total 16
drwxr-xr-x 3 root root 4096 Dec 16 19:11 .
drwxr-xr-x 8 root root 4096 Dec 16 18:53 ..
drwxr-xr-x 2 root root 4096 Dec 16 19:11 basecalendar
-rw-r--r-- 1 root root 581 Dec 16 19:13 gcal.yaml
custom_widgets $ pwd
/config/appdaemon/custom_widgets
custom_widgets $
I copied the example.dash into "/config/appdaemon/dashboards", but when I load it, I get the following:
{
"error": {
"code": 400,
"message": "API key not valid. Please pass a valid API key.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "API_KEY_INVALID",
"domain": "googleapis.com",
"metadata": {
"service": "calendar-json.googleapis.com"
}
}
]
}
}
And here's how it renders in HAD.

I created a new user for this, bound to a "Web Application", and the javascript Origins are set appropriately for the servers hosting this app.
I THINK, based on my amateur debugging skills, that something isn't raising the Google authentication pop-up that i'd expect and as I've had for other apps. The Authentication button doesn't seem to do anything either, but if i run:
gapi.auth2.getAuthInstance().signIn();
in the console, the window pops up... logging in doesn't seem to change anything though.
I've cleared cache, CTRL-F5 refreshed, restarted AppDaemon, HA and even rebooted the VM HA and AD run on. Still, nothing has changed.
Is there anything I can do to get this working?
Cheers,
Joel
Hi there,
Love the basecalendar. It's just what i was looking for.
However, I can't seem to get it to authenticate. I'm sure I'm doing something wrong.
I put basecalendar/ and gcal.yaml into my /config/appdaemon/custom_widgets (basecalendar directory and gcal.yaml are the only things in there).
I copied the example.dash into "/config/appdaemon/dashboards", but when I load it, I get the following:
And here's how it renders in HAD.
I created a new user for this, bound to a "Web Application", and the javascript Origins are set appropriately for the servers hosting this app.
I THINK, based on my amateur debugging skills, that something isn't raising the Google authentication pop-up that i'd expect and as I've had for other apps. The Authentication button doesn't seem to do anything either, but if i run:
gapi.auth2.getAuthInstance().signIn();in the console, the window pops up... logging in doesn't seem to change anything though.
I've cleared cache, CTRL-F5 refreshed, restarted AppDaemon, HA and even rebooted the VM HA and AD run on. Still, nothing has changed.
Is there anything I can do to get this working?
Cheers,
Joel