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.

W4KNX, position of Sun (time)
#1
Hello all,

I'm the new one and I'm using the W4KNX device as KNX gateway for ETS software only.
I don't have any weather station at the moment, but need to switch ON/OF the door lights in the late evening and early morning.

I found the fbeditor on the W4KNX device and tried to use block "position of Sun (time)". This blocks provides sunset and sunrise times, which I could use.
Unfortunately the time is in decimal format (example 7:30min -> 7:50) , and this time has data type 14 byte ASCII string (orther types don't provide any values). How to get sunrise time and sunset time as "normal  3 byte time" ?


And second question about this script:
Change the Scheduled program time parameters dynamically from visualization
I add this user function in to user function library. As soon as this script is running I see following errors:

Resident script:1: attempt to call global 'scheduler' (a nil value)
stack traceback:

Lss100100 firmware v2.70

Please advise. Best regards.
Reply


Messages In This Thread
W4KNX, position of Sun (time) - by eurosting - 06.12.2022, 19:59

Forum Jump: