21.01.2019, 07:56
Use this for sunrise/sunset. Object data type must be set to text/string.
You can also use built-in rscalc function for this: https://forum.logicmachine.net/showthread.php?tid=1010
Code:
astro = data.forecast.forecastday[ 1 ].astro
grp.write('32/4/1', astro.sunrise)
grp.write('32/4/2', astro.sunset)
grp.write('32/4/3', astro.moonrise)
grp.write('32/4/4', astro.moonset)
You can also use built-in rscalc function for this: https://forum.logicmachine.net/showthread.php?tid=1010