This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

3 byte date/time
#11
Thanks,

And i see i can use the following script to get these values:
Code:
require('uci')
lat = uci.get('genohm-scada.core.latitude')
lat = tonumber(lat)
lng = uci.get('genohm-scada.core.longitude')
lng = tonumber(lng)

Is it also possible to get the Sunset and Sunrise time without using the rscalc function, because internally the sunset and Sunrise is also used for the scheduler (how is that calculated)?

So i like to get directly, in a script, the Sunrise and Sunset times used in the scheduler.
Reply


Messages In This Thread
3 byte date/time - by gjniewenhuijse - 04.10.2017, 14:12
RE: 3 byte date/time - by Erwin van der Zwart - 04.10.2017, 14:50
RE: 3 byte date/time - by gjniewenhuijse - 04.10.2017, 14:52
RE: 3 byte date/time - by Mrinj - 23.10.2017, 16:55
RE: 3 byte date/time - by Erwin van der Zwart - 23.10.2017, 17:18
RE: 3 byte date/time - by gjniewenhuijse - 24.10.2017, 06:26
RE: 3 byte date/time - by Erwin van der Zwart - 24.10.2017, 06:54
RE: 3 byte date/time - by Mrinj - 23.10.2017, 19:23
RE: 3 byte date/time - by admin - 24.10.2017, 06:46
RE: 3 byte date/time - by gjniewenhuijse - 24.10.2017, 06:51
RE: 3 byte date/time - by gjniewenhuijse - 24.10.2017, 06:59
RE: 3 byte date/time - by Mrinj - 24.10.2017, 19:38
RE: 3 byte date/time - by Erwin van der Zwart - 24.10.2017, 20:00
RE: 3 byte date/time - by gjniewenhuijse - 25.10.2017, 06:03
RE: 3 byte date/time - by admin - 25.10.2017, 06:41
RE: 3 byte date/time - by gjniewenhuijse - 25.10.2017, 14:57
RE: 3 byte date/time - by admin - 25.10.2017, 15:46

Forum Jump: