0
Отвечен
Yahoo Weather Module - Need to extract data
Hi everyone -
I'm currently working on a project to close the shutters at a certain time. I can set that time manually and the function works. Now, I would like to close the shutters at the sunset time.
I am using the Yahoo Weather Module, and I would like to know how to extract this sunset time to use it in my script.
Thank you for your support! :)
Сервис поддержки клиентов работает на платформе UserEcho
Hello
You can get sunset time with this path json.results.channel ["astronomy"]["sunset"]
Thanks for the quick feedback. Unfortunately I'm not an expert so would it be possible to write few rows to execute this:
if system time is greater than sunset time, then close the shutters.
Thank you so much for your support!