| ECS-L Home Automation and Security Archives |
| Subject: From: Date: | BETA (web server) Mark Gilmore Sun, 06 Feb 2000 12:20:09 -0500 |
I am now uploading this beta, primarily so you can
play with the new web server stuff (see #215 below).
Ready in 15 minutes....
4.2.010 (02/06/00)
207) On Group saves, the height/width of windows withOUT icons are
now preserved.
208) Corrected WEATHER-SETTING-A DAILY-RAIN/YEARLY-RAIN problem,
whereby decimal place was off.
* 209) Numerous TVL-related Items/Events have been updated in
EXAMPLE.CFG,
so as to support a custom TV-CHAN Type (whose State names are your
{lineup}.CHN channels), and channels from multiple programming
sources.
A new utility program TVLM.EXE will merge 2 TV-listings into 1
(example of usage: "TVLM TVLNEW0.TXT TVLNEW1.TXT TVLNEW.TXT").
I leave the specific use of this program (presumably in TVL.BAT)
to the user.
NOTE: YOU NEED NOT MAKE ANY CHANGES TO YOUR FILES, UNLESS YOU REALLY
DESIRE THESE ENHANCEMENTS. Merging the required Items/Events from
EXAMPLE.CFG into your ECS.CFG WILL require a "significant effort".
But if you choose to do so:
1) Backup ECS.CFG & ITPCST.DEF.
2) Edit ITPCST.DEF and append these lines to the bottom:
|TYPE: TV-Chan
| Unknown
3) Start a DOS session, and enter the following:
CD "/PROGRAM FILES/ECS"
EDM {lineup}.CHN /K:CHNITPCST.EDM
This will define the States of the TV-CHAN Custom Item
Type (in ITPCST.DEF) so as to reflect your channels.
4) Replace all your TVL/CBAND-related Events with those listed below.
Then attempt to read ECS.CFG and correct errors as they are
reported. Note that the easiest way to re-read the cfg is to
enter <ALT-F><Enter<Enter>.
GOOD LUCK!.
TVL DL
TVL
TVL Parse
TVL Chan Parse
TVR
TVR Stop Check
TVR Rec Bypass
TV-Guide
TV-Listings
TV Chan Monitor
TV Chan Set
CBand Monitor
210) A new Adjustment Operator (STT<-T1) is now supported which sets
the 1st Item to the State whose name is specified in the Text-Line
associated with the 2nd Item. For example, if a TEXT's Text-Line
was "ON", this Event-Line would set LIGHT to ON:
Do Light Stt<-T1 Text
211) TVL4.EXE (which generates TV-GUIDE.TXT) now completes in approx
1/3 the time taken by the previous version.
212) State VALUES for custom Item Types are now optional:
Where none exists, ECS will define the value to be 1 greater
then the previous State value (or 0 if the 1st).
* 213) Corrected some problems related to the control/monitoring of
SECURITY-AREA-C (NAPCO) Items, AND changed this Type's State
names from OFF/ON to DISARMED/ARMED.
214) A bug has been corrected could result in a "TTS not operational"
error on a KEYPAD-SESSION Item with "Voice Help=NO".
215) ECS can now act as a "web server" which will read any requested
web page, update any Item States within it, and return the
modified page to the browser.
NOTE: This feature is still in the EARLY stages
(numerous changes/enhancements are forthcoming).
TO ENABLE THE ECS WEB SERVER, enter:
SET ECS_WEB_SERVER=1
ECS
Then to make ECS process a page, enter the page as follows:
http://{host}/{file}
where {host} may be "localhost" (for local control) or an IP
address (for remote control). See "Accessing Your Pc Via The
Internet" in ECS.HTM for a discussion of IP addresses.
TO MAKE ECS CREATE/MAINTAIN WEB PAGES FOR EACH GROUP, enter:
SET ECS_HTM_GEN={d}
ECS
The resulting pages may then serve as examples of what ECS
"expects to see" when searching pages for Item States.
NOTE: If you get this message on startup:
A REQUIRED .DLL FILE, WS2_32.DLL, WAS NOT FOUND
Then your W95 PC does not have the "WINDOWS SOCKET 2 UPDATE" installed.
You can do so via:
http://www.microsoft.com/windows95/downloads/contents/wuadmintools/s_wunetworkingtools/w95sockets2/default.asp.
You should only get this message if you are running W95.
where {d} is the auto-refresh rate in seconds (0 for NONE).
--
Mark Gilmore
Omnipotence (ECS home automation software)
http://www.usit.com/omnip
423-745-0026