Domotica gratuit › Forums › Report a bug › Yahoo weather doesn`work anymore › Répondre à : Yahoo weather doesn`work anymore
février 7, 2019 à 10:44
#12036
Participant
Workaround (at least for “Sunset” & “Sunrise”)
1) New Scene “sunset”: IF manually startet, THEN PHP-Block: file_put_contents(‘sunset’,date(“H:i”));
2) Add in Prescene “_Variables”:
$sunset = file_get_contents(‘sunset’, FILE_USE_INCLUDE_PATH);
3) In all other scenes you can now work just with the variable $sunset
4) IFTTT: IF WeatherUndergrund = Sunset, THEN make Webhook to Pulse-Station start Scene “sunset.xml”
If you need more infos, give me a hint
Andi