09.01.2019, 11:58
Hi
1. I stored the script above in library ecl_yrno (don't forget to change URL according to your location)
2. I added script below into my scheduler. You have to change GAs to addresses you use in your project.
7/2/30 and 7/2/31 are 9.001 (temperature, float)
7/2/32 is 11.3 (date)
1. I stored the script above in library ecl_yrno (don't forget to change URL according to your location)
2. I added script below into my scheduler. You have to change GAs to addresses you use in your project.
7/2/30 and 7/2/31 are 9.001 (temperature, float)
7/2/32 is 11.3 (date)
Code:
function forecast_write(low,high,next_day)
low = low or 0
high = high or 0
next_day = next_day or 0
grp.write('7/2/30', low, dt.float16)
grp.write('7/2/31', high, dt.float16)
grp.write('7/2/32', next_day, dt.date)
end
require ('user.ecl_yrno')
forecast_write(minmax_temp_tomorrow())
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259