Hello, new to HA and it’s been a chore to learn. Somethings are more straightforward then others. I’m attempting to pull a start and stop time from a email to start and stop automations. I can’t find any working examples and am stuck trying to figure out how to pull the times out, hopefully with the ability to find just the times in a email that might have more or less text (location may not be static).
This doesn’t have anything to do with the time the email is sent or received.
Any help would be appreciated, not exactly sure if this should be a blueprint either, or if I can just write it into the automation itself. Thanks.
I’m willing to roleplay if that’s what you’re after.
Hi Your Name,
This is random filler text that would take place before the event that’s about to happen which start at 4:00 PM CT on Monday, 12/19/2088. This event will last about X number of hours, we’ll all be making it happen, and be ending at 7:00 PM CT on Monday, 12/19/2088. Be aware that these times may or may not change, but would appreciate you participating!
The person sending this email.
Date syntax should, hopefully, always be the same. I assumed more people would be interested or have looked at integrating time elements from emails into HA as it really has a lot of uses when it can integrate with the real world.
What is the reason you asked for what you did? If you’re searching for keywords, I added the syntax already. I can just make up stuff if you want to see XYZ characters before the time stamp, between, and after.
I’m not giving you full emails because it’s a privacy concern and I find people focus too much on stuff that doesn’t matter rather then on task at hand.
Just looking to pull time stamps out of a email to use them for automation, that’s it.
I’ll look into this, thanks. Also considering using chatGPT to write something, but figured there was already a working solution here. Emails are like the fax machine, some people still use them instead of having a API somewhere you can easily pull from.