Logic Machine Forum
sunrise and sunset - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: General (https://forum.logicmachine.net/forumdisplay.php?fid=2)
+--- Thread: sunrise and sunset (/showthread.php?tid=5636)



sunrise and sunset - Frank68 - 27.09.2024

Hello

I would need some clarifications on the astronomical function of the LM, I saw that I can insert the GPS coordinates of the place and then with the sunrise and sunset schedulation I can do some functions, if I wanted to report the binary value day or night on a group address how can I do it?

Thank you very much


RE: sunrise and sunset - Daniel - 27.09.2024

Just create a schedule and set two events for sunrise and sunset.


RE: sunrise and sunset - Frank68 - 27.09.2024

(Yesterday, 14:04)Daniel Wrote: Just create a schedule and set two events for sunrise and sunset.
If I want use in script from group address is possible associate the event on a object value

Thank's


RE: sunrise and sunset - Daniel - 27.09.2024

There is no other way, the schedule must be linked with object which will be updated when the event will happen. You can then make any script based on this.