hello,
I would like to create a scene that sends a message at sunset.
so the trigger is no problem,
but what about the message?
action: send message with « the sun set on (date) at (time) »
how do I retrieve and insert the date and time into my message?
any idea?
Yes, just the message « the sun has just set » will suffice.
You have all the info.
The problem is that I would like the information to be contained in my message
because in Telegram at the top of the message you have very vague info: « sent 2h ago », « sent 3d ago »
so it’s very general information lacking precision
You can make an API request to fetch the date and time in your scene and add it to your Telegram message.
For example TimeAPI | Simple and Free Time API
1 Like
