Search found 1 match

by jonos
Monday 25 March 2019 23:01
Forum: Python
Topic: Sunset and sunrise times in DomoticzEvents
Replies: 0
Views: 669

Sunset and sunrise times in DomoticzEvents

Hello all!

Assigning the code below to a Device event


import DomoticzEvents

print ("This will only show up in the shell where you start domoticz");
DomoticzEvents.Log("Hi Domoticz! Hello world")
DomoticzEvents.Log("Minutes until sun sets: " + str(DomoticzEvents.sunset_in_minutes ...