06.12.2022, 20:58
(06.12.2022, 19:59)eurosting Wrote: Hello all,Hi,
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.
Use a simple schedule and add event on at the sun down and a off event on the sun rise. You can adjust the event time.
Remember to set up time, date and your position.
Best regards Cristian