ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
Re: [ECS] What is this error?
Mark Gilmore
Tue, 16 Nov 1999 08:05:49 -0500

Below are the changes required to avoid the problem found by Mark.
RANDOM 70% is a NEW Item and LIVED-IN ON/OFF has been changed to
a STATE-HOLDER Item. Changes to the LIVED-IN LOOK Event are marked
below.

|Item:Random 70%		Type:Random-High/Low		Acc:Owner/Owner
|	Initial State:Low					Backup:No
|	Percent High :70
-------------------------------------------------------------------------------
|Item:Lived-In On/Off		Type:State-Holder		Acc:Owner/Owner
|	Initial State:(none)					Backup:No
|	Sub-Type     :Light
-------------------------------------------------------------------------------
|Event:	Lived-In Look			Called ?:No
|	;----------------------------------------------------------------
|	; Gives the house a "lived-in" look.
|	;
|	; When "Lived-In Look" is ON:
|	;
|	;	A "start" message is displayed (once only).
|	;
|	;	The radio is turned on (once only).
|	;
|	;	From dark till daylight, lights are randomly turned
|	;	on/off every 2 minutes, with each light having a 70%
|	;	chance of being turned on.
|	;
|	;	At daylight, all lights are turned off.
|	;
|	; When "Lived-In Look" is OFF:
|	;
|	;	A "stop" message is displayed (once only).
|	;
|	;	The radio is turned off (once only).
|	;----------------------------------------------------------------
|	If	Lived-In Look		Is Now		Off
|	Then	Radio			Set		Off
|	Then	Lived-In Timer		Set		0
|	Then	Event-Call		Set		Speak-Speaker ON
|	Then	Lived-In Stop Msg	Set		Speak->VC
|	If	Lived-In Look		Is		Off
|	Then	Event-Exit		Set		True
|
|	If	Lived-In Look		Is Now		On
|	Then	Radio			Set		On
|	Then	Event-Call		Set		Speak-Speaker ON
|	Then	Lived-In Start Msg	Set		Speak->VC
|
|	If	Daytime			Is Now		True
|	Then	All Lights		Set		Off
|
|	If	Daytime			Is		True
|	Then	Event-Exit		Set		True

THESE ARE THE CHANGES:

|
|	If	Random 70%		Is		Low
|	Then	Lived-In On/Off		Set		Off
|	Else	Lived-In On/Off		Set		On
|
|	If	Lived-In Timer		Is Now		6
|	Then	Master-BR Light		Set		Lived-In On/Off
|	Else If	Lived-In Timer		Is Now		4
|	Then	Guest Room Light	Set		Lived-In On/Off
|	Else If	Lived-In Timer		Is Now		2
|	Then	Living Room Light 1	Set		Lived-In On/Off
|	Else If	Lived-In Timer		Is		0
|	Then	Living Room Light 2	Set		Lived-In On/Off
|	Then	Lived-In Timer		Set		8
|	End
-- 
Mark Gilmore
Omnipotence (ECS home automation software)
http://www.usit.com/omnip
423-745-0026


Mark Sekelsky wrote:
> 
> Mark,
> 
> The last couple of days I have been finding errors like this in my log:
> 
> 0084 O 11/15  5:20 PM:Value 32767 > 101("Lived-in-look" line 23)
> 0085 O 11/15  5:24 PM:Value 32767 > 101("Lived-in-look" line 66)
> 
> Lived-in-look is my event to turn lights on/off when we are away.  I have
> not touched this event in three+ years.  I am running 4.2.001.  What does
> the error mean?
> 
> Mark S

  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.