Ticket #4636 (closed Feature Requests: fixed)

Opened 3 years ago

Last modified 3 years ago

Add auto-resetting manual override feature code to time conditions

Reported by: p_lindheimer Assigned to:
Priority: minor Milestone: 2.9
Component: Time Conditions Version: 2.8-branch
Keywords: daynight DAY NIGHT Cc:
Confirmation: Unreviewed Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

Currently it is possible to override a Time Condition by associating a Day/Night toggle control to one or more Time Conditions. This works though requires manually changing it back to automatic mode. It is also quite confusing to most users how to take advantage of this.

This feature request will automatically add a feature code, optionally BLF enabled, to each Time Condition that is create. The BLF will display the current state of the Time Condition.

  • INUSE, led on, means the time if matched (truegoto) is currently active
  • NOT_INUSE, led off, means the time if not matched (falsegoto) is currently active

The BLF enabled feature code will allow for the current state to be manually changed (close early, open late, etc.). If not manually reset by the user, the override will automatically reset when the next time condition transition occurs.

Because of the confusion that many users have with the DAYNIGHT toggle association, the Time Condition will present the GUI to create this association unless there is currently an association in place, or the system is configured to display this association with the amportal.conf variable: DAYNIGHTTCHOOK=true (default is false).

This change to Time Conditions requires a few minor change to the daynight module as well to be compatible.

Change History

11/12/10 16:41:58 changed by p_lindheimer

(In [10549]) add amportal.conf configuration variables for now Time Conditions overrides re #4636

11/12/10 16:44:32 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to fixed.

(In [10550]) closes #4636 adds auto resetting time condition manual override and necessary tweaks to daynight to accomodate, make sure to update both modules if any associations are being used

11/12/10 20:54:16 changed by p_lindheimer

(In [10551]) create feature codes at install time and some other tweaks re #4636

11/12/10 23:38:46 changed by p_lindheimer

(In [10554]) make falsegoto (closed) set INUSE for BLF (was the opposite) re #4636

11/16/10 15:22:45 changed by p_lindheimer

(In [10568]) fix broken destination re #4636

11/18/10 17:37:56 changed by p_lindheimer

(In [10571]) additional logic to implement sticky true/false overrides and settable/checkable in GUI re #4636

11/20/10 01:38:26 changed by p_lindheimer

(In [10593]) improper offsets re #4636 republishing under same version