With Homeseer, I had the ability to read calendar events from Google Calendar which was very helpful. If I was taking PTO for the day, adding an entry to my calendar would stop my normal weekday routines. If I wanted to get up early that day, an entry called "UP" would start my wake up routine early, This is one of the features what stops me from turning off HS and going 100% with HE.
There was interest at one point for porting an app, but that flame seems to have died out. Probably due to the fact that IFTTT works and you're not really gaining much with a local app that has to access the cloud anyway.
I looked at the IFTTT option, but that can only really trigger something. I am looking to have it read the event and then trigger something like read the event over my speakers. I was using Vera before and there was Google Calendar plugin that would do this. It would read a google calendar then the subject of the event, I would send to my Sonos speakers. Any way of doing this with Hubitat? It would be a really nice feature. I looked at Google assist and did not see how this would work.
Need a way to have hubitat read/accept the details of the calendar event, not just trigger something.
I have this working with hubitat but I have been suing WebCoRE for this function. When an event starts on my calendar, it sends the description in a webcall to WebCoRE. WebCoRE then parses that info out of the JSON data and then speaks that through my speakers.
I've not found an app in Hubitat that will parse JSON data for an unsolicited webcall, otherwise I wouldn't have to do this with webCoRE.
Everything in bold requires you to substitute something else in for it.
If you want to send other data to WebCoRE, you just have to format it like any other GET message. For example, I send the start time, end time and description which is then parsed by webcore. That link looks like this:
and you can sub in through IFTTT the particulars for your trigger by picking them in the applet by clicking on Add Ingredient. Just be careful, it puts extra spaces in that you have to remove manually or the link won't work.
Not sure that is what I am looking for. But will look at all the apps there, looks interesting. I have a google calendar where my wife and I put events for the home on it. Put trash at the curb, change air filter, etc. With Vera, I had a app/script that would read google calendar events, then announce them over my Sonos Speakers. I think WebCore will do this exactly with IFTTT. Just need to figure out how to read the info passed from IFTTT to WebCore. If I can read the Get parameters or Json payload, WebCore will these perfectly.
@Ryan780 The part you mentioned and I asked how to do you replied you do not know how. Now I am lost on your lasted post. The key part is to have WebCore read the get parameters. Without that, the process does not work. How to speak the event title, description over Speakrs, I need to get values from GET parms. I know how to build the parms in IFTT to pass, but again, how to read them in WebCore was my ask.
You asked how to do it with the Execution Link, and that I don't know how to do, (or if it's possible). You have to set up a trigger within the piston of the virtual device "IFTTT". Do you understand how to do that?
And how do you know how to set it up in IFTTT when you don't know how to parse it? It's not the sender that dictates the format, it's the receiver. You have to format it in a way that WebCoRE can read. Do you understand that?
If you follow the steps that I outlined above, each of the things you pass, in my example they were "start", "end" and "description", will parse as arguments. So, you just have to set up some local variables within the piston, and then set the variable equal to the argument.
As I am new to WebCore, no clue how to read parms until now.
With that, I have all the steps.
IFTTT will trigger based on google Calendar event.
IFTTT will then call Hubitat WebCore via URL and passing parms
WebCore Piston will get triggered via URL and then use parms to build TTS to my Sonos Speakers.