EventSystem reset at midnight

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
Akerboom
Posts: 36
Joined: Thursday 15 March 2018 19:40
Target OS: -
Domoticz version:
Contact:

EventSystem reset at midnight

Post by Akerboom »

Why is the EventSystem reset at midnight, and all scripts regenerated? Is this related to dzVents or Domoticz in general?

Code: Select all

2018-05-13 00:00:01.775  Sunrise: 05:51:00 SunSet: 21:26:00
2018-05-13 00:00:01.776  Day length: 15:35:00 Sun at south: 13:05:00
2018-05-13 00:00:01.776  Civil twilight start: 05:09:00 Civil twilight end: 22:08:00
2018-05-13 00:00:01.776  Nautical twilight start: 04:12:00 Nautical twilight end: 23:04:00
2018-05-13 00:00:01.776  Astronomical twilight start: 02:47:00 Astronomical twilight end: 00:30:00
2018-05-13 00:00:01.776  EventSystem: reset all events...
2018-05-13 00:00:01.791  dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/...
SweetPants

Re: EventSystem reset at midnight

Post by SweetPants »

I think this is done to re-calculate sun-rise/set. Do you have a problem with that?
Akerboom
Posts: 36
Joined: Thursday 15 March 2018 19:40
Target OS: -
Domoticz version:
Contact:

Re: EventSystem reset at midnight

Post by Akerboom »

It's regenerating dzVents scripts unnecessary and polluting my logs :geek:
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: EventSystem reset at midnight

Post by dannybloe »

You value your logs too much. It’s not a thing of beauty. Just reflects what is happening. No big deal.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Akerboom
Posts: 36
Joined: Thursday 15 March 2018 19:40
Target OS: -
Domoticz version:
Contact:

Re: EventSystem reset at midnight

Post by Akerboom »

All my old scripting is now ported to dzVents, status-logging the bare minimal and started to notice it.

But I guess you're right :) dzVents is a thing of beauty btw. loving it! Bedankt :)
ak97
Posts: 39
Joined: Saturday 03 February 2018 18:42
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: EventSystem reset at midnight

Post by ak97 »

Hm.
starting with some beta version, the eventsystem began to reset at 0:00
this is normal?

Code: Select all

...
2021-03-11 00:00:01.773 Status: EventSystem: reset all events...
2021-03-11 00:00:01.783 Status: dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/dz_script1.lua
2021-03-11 00:00:01.784 Status: dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/dz_script2.lua
2021-03-11 00:00:01.784 Status: dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/dz_script3.lua
2021-03-11 00:00:01.785 Status: dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/dz_script4.lua
2021-03-11 00:00:01.785 Status: dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/dz_script5.lua
2021-03-11 00:00:01.785 Status: dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/dz_script6.lua
2021-03-11 00:00:01.786 Status: dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/dz_script7.lua
2021-03-11 00:00:01.786 Status: dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/dz_script8.lua
...
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: EventSystem reset at midnight

Post by waaren »

ak97 wrote: Thursday 11 March 2021 6:17 starting with some beta version, the eventsystem began to reset at 0:00
this is normal?
Yes. It's normal and no, it did not start with some beta version. It is there since a very long time.
... "before the stars were born"
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest