EventSystem reset at midnight

Easy to use, 100% Lua-based event scripting framework.
Post Reply
Akerboom
Posts: 39
Joined: Thursday 15 March 2018 20:40
Target OS: -
Domoticz version:
Contact:

EventSystem reset at midnight

Post by Akerboom » Sunday 13 May 2018 9:39

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
Posts: 2099
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V4.9701
Location: The Netherlands
Contact:

Re: EventSystem reset at midnight

Post by SweetPants » Sunday 13 May 2018 10:17

I think this is done to re-calculate sun-rise/set. Do you have a problem with that?
Ubuntu 16.04.3 LTS, Intel NUC, MySensors 2.3.0-alpha, Pro Mini 3.3/8M RFM69(HW), ESP8266 (SDK2.2.0), Sonoff, RFLink, RFXcom, MQTT, NodeRed, Domoticz Beta (source)

Akerboom
Posts: 39
Joined: Thursday 15 March 2018 20:40
Target OS: -
Domoticz version:
Contact:

Re: EventSystem reset at midnight

Post by Akerboom » Sunday 13 May 2018 21:45

It's regenerating dzVents scripts unnecessary and polluting my logs :geek:

dannybloe
Posts: 1448
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi
Domoticz version:
Location: Ermelo
Contact:

Re: EventSystem reset at midnight

Post by dannybloe » Sunday 13 May 2018 22:38

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: 39
Joined: Thursday 15 March 2018 20:40
Target OS: -
Domoticz version:
Contact:

Re: EventSystem reset at midnight

Post by Akerboom » Sunday 13 May 2018 22:50

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 :)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest