First off, I have been exploring the new capabilities of 4.2.18.x and I want to thank those that did so much work to bring us this new capability. I have managed to streamline several of my Events and eliminate many that were virtually identical with the exception of a qualifying condition.
While streamlining one such event group, I seem to have stumbled upon a minor warning that suddenly started to pop up into my Log file. I had an event that triggered at a specific time every night and was using the Security Feature to vary the trigger time slightly. My new logic is quite different and the only Time qualifier that I needed was to ensure that it is Nighttime. This is when the warning message appeared.
The new event condition includes the following qualifier:
AND IF The time is nighttime (after sunset, before sunrise). (S)
In which case the system generates the following warning in the Log file
Incorrect trigger date/time format in event Val=1/1/0001 12:00:00 AM: Master Bedroom Lights - Off
I have done some testing and discovered that if I take away the Security feature to the Event, the error goes away. The explanation is really quite simple, a Security Override on the trigger time is in conflict with a Nighttime constraint. I raise this only because I have not seen this message before when I used Nightime in combination with Security in my events.
I also created a slight variation to the event logic where I inserted an additional OR WHEN criteria which specified that the time was a specified value. If I add the Security Feature to the event, the Log file displays multiple Warning messages.
While streamlining one such event group, I seem to have stumbled upon a minor warning that suddenly started to pop up into my Log file. I had an event that triggered at a specific time every night and was using the Security Feature to vary the trigger time slightly. My new logic is quite different and the only Time qualifier that I needed was to ensure that it is Nighttime. This is when the warning message appeared.
The new event condition includes the following qualifier:
AND IF The time is nighttime (after sunset, before sunrise). (S)
In which case the system generates the following warning in the Log file
Incorrect trigger date/time format in event Val=1/1/0001 12:00:00 AM: Master Bedroom Lights - Off
I have done some testing and discovered that if I take away the Security feature to the Event, the error goes away. The explanation is really quite simple, a Security Override on the trigger time is in conflict with a Nighttime constraint. I raise this only because I have not seen this message before when I used Nightime in combination with Security in my events.
I also created a slight variation to the event logic where I inserted an additional OR WHEN criteria which specified that the time was a specified value. If I add the Security Feature to the event, the Log file displays multiple Warning messages.
Comment