thx I will take a look/shot at it... I looked for like 2 seconds and it's seems like your right and it should trigger stuff but not really show a calender.
I think both will be perfect... this and that
one showing it... the other triggering.
just a small problem with the code I get.
When I use it it gives me a erro 500.
I tried with Notepad++ to change all the '&' to just '&' like a post said... but no luck
Great job @jenntress, that worked for me too, am able to see an Agenda view now.
@vmsman and @gertjan.deprez - I had also tried to generate the embed code through the Google web site and had similar issues, hence my comment about 100 other attempts. I had also tried messing with the embed code and ampersands in Notepad++. The main difference (I think) is that in the iframe in @jenntress 's post, the src is just your gmail address, not the guid generated by the Google web site. I took @jenntress 's iframe, put in my own email address and time-zone, pasted this into the URL of the HE virtual device and can now see my Calendar coming up on the device edit page and a dashboard.
If you want to play with the settings a little, go through the exercise of setting one up in the Google web site, copy the embed iframe code and incorporate it into a URL in the same format as @jenntress 's, making sure ampersands, etc are converted or used where necessary. Hope that makes sense...
For anyone else who may be still seeing a 400 error, I have noticed that this worked for me in Chrome, but when I opened the Device Edit page in Microsoft Edge, I too saw a 400 error. Not sure what this means in terms of solving the issue, but just wanted to share what I found.
I believe I have significant information for those who have not been able to get this working.
As it turns out, I was using Chrome and Brave as my browsers. They both produced the 400 and 500 errors consistently. I used Firefox and I got the calendar to display without the 400 error:
Unfortunately, the "Month" view ends up all squished vertically despite changing the sizing parameters in the URI. So, we are much closer now.
In summary, I believe that any "Google Chrome" derived browser is not working. This is a problem because my target use case was to use the CATT Server to display a monthly calendar dashboard on my Google Chromecast Ultra via voice command.
If we can figure out why this URI from Google Calendar has issues displaying in the Chrome browser, we will have a solution.
Thanks @bptworld! And thanks for this driver.. I've discovered (actually, more like been told about) several of the other drivers you've written and I'm trying to support them out of the box in my dashboard app.'
Any idea why the hub returns a 500 error when trying to set the URL to a customized calendar? I verified the URL works and nothing looks too crazy to me.. I pasted it below - just replaced the src= with REMOVED but that's it.
FWIW - I tried replacing & with & and no changes
looks like our replies crossed paths.. I do notice that my full URL is 285 characters.. I'm going to try to get it down below 255 and see if that fixes this