Skip to content
ggodart edited this page Jan 1, 2021 · 1 revision

Base_Item

See original

SYNOPSIS

Use one of the derived objects: Door_Item, Motion_Item, Presence_Item, Photocell_Item, and Light_Restriction_Item.

You can use the function delay_off() (also can be called as delay()) to set how long it takes for the derived object's effects to expire (for Door_Item, Motion_Item, and Presence_Item). For Light_Item it sets how long until the light will turn off, unless the object that activated the light has its own value.

For example, if you have a Light_Object set with a delay_off(120), the light will turn off 2 minutes after the last event. But, if it contains a motion detector with a delay_off(60), then the light will be turned off 60 seconds after the last motion was detected.

DESCRIPTION

The base object that Door_Item, Motion_Item, Presence_Item, Photocell_Item, and Light_Restriction_Item are derived from. These are all used to provide predictive lighting when used along with Occupancy_Monitor

INHERITS

Generic_Item

METHODS

INI PARAMETERS

None

AUTHOR

Jason Sharpee jason@sharpee.com

Special Thanks to: Bruce Winter - MH

SEE ALSO

None

Clone this wiki locally