| ECS-L Home Automation and Security Archives |
| Subject: From: Date: | Re: [ECS] Question about use of ACE Bill Walters Wed, 2 Feb 2000 14:24:55 -0600 |
Joe,
I'm a user of both ECS and ACE and yes, when you first get started, it's more than a
little confusing......
Basically, ECS has no "Commands" for ACE. You create TEXT items in ECS that get sent
to the ACE Server, which in turn, communicates to the various ACE clients... All ACE
commands are explained (?) in the API section of HELP.... Basically, it's try-try-and-try-again...
Here's a "typical" configuration:
1. Run ECS and ACE server on the same computer
2. Run an ACE Client on a separate computer
Here's what you need to make sure of:
1. In the AUTOEXEC.BAT file of the computer running ECS and ACE Server, make sure you
have the following lines:
SET ECS DDE RET DLY=5
SET ECS DDE CLN DLY=5
SET ECS S DDE CLN TRYS=10
SET ECS DDE RETRY DLY=500
(if you don't have these lines in your AUTOEXEC.BAT file, edit them into it, then shut
down ECS, ACE SErver and re-boot your computer to activate them)
2. When you have problems tracking states of ECS items from within an ACE client, make
sure that you are properly tracking the state, and trying to display it in the desired
place in your ACE client.... To check where monitored info will be displayed, and what
the name of that item is, from your ACE Client select:
SETUP
ECS
and click on VIEW button next to "Enable State Monitoring"
- that will show you the item you have "named" in ECS that you want to track, and on
which button you want it displayed... Often I found when I was setting up ACE Client,
that as I changed buttons around, I left numerous extra locations in the monitored database....
the only way to remove them (I think) is to use this technique and manually remove the
old items or old button locations that no longer exist within your client......
MAKE SURE that you are spelling the ECS name of whatever item you want to track EXACTLY....
Spelling, capitalization, whatever...... it must be an EXACT match to the item name
you use in ECS for ACE to be able to do anything with it.....
Here's my ECS Text item, and ECS event that continually updates my ACE clients:
(sorry about the formatting!)
Item:ACE Update Command Type:Text Acc:User/Owner
Initial State:(none) Backup:No
Text :ACEC:0:ECSUIS:
|Item:Flag ACE Update Type:True/False Acc:User/Owner
| Initial State:False Backup:No
|Event: ACE Update Called ?:No
|
| ; Created 4/20/99
|
| ; Provides for ACE clients to be updated every 30 minutes
|
| ; Edited 1/20/00
| ; Event-Exit if during normal sleep times
|
|
| If Time Is GT Time Bedtime
| Or Time Is LT Time pre-wake
| Then Event-Exit Set True
|
| If Minute Is Now 16
| Or Minute Is Now 46
| Or Flag ACE Update Is Now True
|
| Then ACE Update Command Set Send->ID:A
| Then Flag ACE Update Set False
| End
Hope this helps some.....
Bill Walters
----- Original Message -----
From: Joseph Schwartz
To: ecs-list@netbloc.com
Sent: Wednesday, February 02, 2000 10:57 AM
Subject: [ECS] Question about use of ACE
I have been trying to use ECS with ACE but I seem to have 2 problems:
1) When ACE starts , it tries to get the status of the items from ECS , but then it
gives me an error saying " ECS did not respond within 5 seconds". This is happening
despite my prolonging the response time in the ACE ini file. I am not sure why ECS is
not updating the status in the alloted time. I have ECS broadcast messages to all ACE
clients enabled and it still gives me the same error.
2) This problem may be related to the first. I have an item in ECS which is a time
item. I have a button in ACE which is supposed to get the time from ECS and display
it. When I start the ACE client the time button does not seem to update. Only after
I go into config button and exit again does it seem to finally update the time. Again
this is despite the fact that I have the "monitor status" checked in ACE.
If anyone has any ideas I would appreciate it
Thanks
Joe
jjsmd@concentric.net
------------------------------------------------------------------------------
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
Item:ACE Update Command Type:Text Acc:User/Owner
Initial State:(none) Backup:No
Text :ACEC:0:ECSUIS:
|Item:Flag ACE Update Type:True/False Acc:User/Owner
| Initial State:False Backup:No
|Event: ACE Update Called ?:No
|
| ; Created 4/20/99
|
| ; Provides for ACE clients to be updated every 30 minutes
|
| ; Edited 1/20/00
| ; Event-Exit if during normal sleep times
|
|
| If Time Is GT Time Bedtime
| Or Time Is LT Time pre-wake
| Then Event-Exit Set True
|
| If Minute Is Now 16
| Or Minute Is Now 46
| Or Flag ACE Update Is Now True
|
| Then ACE Update Command Set Send->ID:A
| Then Flag ACE Update Set False
| End
Hope this helps some.....
Bill Walters
----- Original Message -----From: Joseph SchwartzSent: Wednesday, February 02, 2000 10:57 AMSubject: [ECS] Question about use of ACEI have been trying to use ECS with ACE but I seem to have 2 problems:
1) When ACE starts , it tries to get the status of the items from ECS , but then it gives me an error saying " ECS did not respond within 5 seconds". This is happening despite my prolonging the response time in the ACE ini file. I am not sure why ECS is not updating the status in the alloted time. I have ECS broadcast messages to all ACE clients enabled and it still gives me the same error.
2) This problem may be related to the first. I have an item in ECS which is a time item. I have a button in ACE which is supposed to get the time from ECS and display it. When I start the ACE client the time button does not seem to update. Only after I go into config button and exit again does it seem to finally update the time. Again this is despite the fact that I have the "monitor status" checked in ACE.
If anyone has any ideas I would appreciate it
Thanks
Joe
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.