| ECS-L Home Automation and Security Archives |
| Subject: From: Date: | Re: [ECS] New beta -Reply Mark Gilmore Sat, 12 Feb 2000 08:41:46 -0500 |
Hi Brad, That's wierd - I assume you are installed at "/program files/ecs" ? Are you saying that you SET an Item, but it doesn't "take" ? If you turn on DEBUG, ECS will dsp various web I/O activity. -- Mark Gilmore Omnipotence (ECS home automation software) http://www.usit.com/omnip 423-745-0026 Brad Chamberlain wrote: > > Mark, > > I am working with the latest beta using the web piece. Here's what I'm > seeing. First it appears you documentationl citing the url for the remote > browser is incorrect. From my testing it appears the root of the web > server is at the program files level. For instance your following example > doesn't work on my machine. > > 216.80.147.178/program files/ecs/ecs_group_1.htm > > This works on my machine > > 216.80.147.178/ecs/ecs_group_1.htm > > No big deal thought I mention it in case others are trying it out and > experiencing the same problem I was seeing. > > Second thing. It doesn't appear like the web server is updating the html > page with changes. I have set the client refresh time to 15 seconds. This > appears to be working but the pages do not reflect any changes. My html > files never get updated once they are created by ecs at startup. > Attached is my debug file. Let me know if I can help you with any testing. > > Brad > > >>> Mark Gilmore <omnip@usit.net> 02/11/00 08:53am >>> > I just uploaded a new beta. > NEW web-server instructions follow. > > If you have problems with the web-server: > 1) Run ECS with a SMALL cfg (perhaps with only one Item and one > Group). > 2) Press ALT-Z (DEBUG=1). > 3) Select ECS_GROUPS.HTM in your browser and click one of the links. > 4) Press ALT-Z (DEBUG=0). > 5) Email me ELG.TMP & DBG.TMP. > > 215) ECS now generates/maintains web pages and acts as a "web > server": > > NOTE: These features are still in the EARLY stages > (numerous changes/enhancements are forthcoming). > > ************************************************************** > WEB PAGE GENERATION > -------------------------------------------------------------- > ECS now creates/maintains a web page for each Group, plus a > "directory" page (ECS_GROUPS.HTM) which contains links to the > others. > > Note that these pages may serve as examples of what ECS > "expects > to see" when it's web server searches pages for Item States > (below). > > The default refresh rate for these pages is NONE. > To make ECS generate web pages with auto-refresh commands, > enter this command in \AUTOEXEC.BAT: > SET ECS_HTM_GEN={d} > where {d} is the auto-refresh rate (in seconds). > > When generating pages, ECS normally uses SELECTION inputs > (dropdowns) > for Items having <= 500 States, and TEXT inputs (text entry boxes) > for those having > 500 States (to save on browser memory & > load-time). > This default 500-count threshold may be overridden by > SET ECS_HTM_SEL_MXC={d} > where {d} is the desired count. > > To DISABLE all web-page generation, enter this command in > \AUTOEXEC.BAT: > SET ECS_HTM_GEN=NO > > ************************************************************** > WEB SERVER > -------------------------------------------------------------- > ECS's web server will read any requested web page, update any > Item States within it, and return the modified page to the > browser. It also supports State modifications via web pages > (provided that they conform to the conventions established in > the ECS-generated web pages). > > Then to make ECS process a page, enter the page as follows: > {host}/{file} > where {host} may be "localhost" (for local control) or an IP > address (for remote control). > Examples: > > localhost/program files/ecs/ecs_group_1.htm (local) > 216.80.147.178/program files/ecs/ecs_group_1.htm > (remote) > c:/program files/ecs/ecs_groups.htm (links to > all) > > See "Accessing Your PC Via The > Internet" in ECS.HTM for a discussion of IP addresses. > > To DISABLE the ECS web server, enter this command in > \AUTOEXEC.BAT: > SET ECS_WEB_SERVER=0 > > 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. > > 216) A problem whereby one-time TVL codes could trigger an > announce/ > view/record of the desired show PRIOR to the desired airing has > been corrected (when the same show aired previous to the > desired > day/time). For one-time codes, the weekday & time are now > preserved > when the line is appended to TVLFAV.TXT. I still clear the date, > so as to help assure that the show will be processed if the user > selects a line having a date PRIOR to the current. > > * 217) Item States values have been changes as follows: > > OLD: NEW: > Low/High/Unknown Low/High/Unknown > ---------------- ---------------- > Digital-Input-A 0/32767/na 0/1/na > Digital-Input-C 0/32767/na 0/1/na > Digital-Output-F 0/32767/9999 0/1/2 > Digital-Input-F 0/32767/9999 0/1/2 > Digital-Input-G 0/32767/na 0/1/na > Digital-Input-I 0/32767/na 0/1/na > Digital-Input-J 0/32767/na 0/1/na > > * 218) SECURITY-RTS-C States have been renamed as follows (for > consistency): > > Old New > ------------------- ------------------ > Alarm-Super-Restore Alarm-Super-Rst > Burg-Bell-Silen Burg-Bell-Silence > Bus-2-Restore Bus-2-Rst > Comm-Restored Comm-Rst > EZM-Restore EZM-Rst > Keypad-Ambush KP-Ambush > Keypad-Bus-Fail KP-Bus-Fail > Keypad-Bus-Rst KP-Bus-Rst > Keypad-Fire KP-Fire > Keypad-Medical KP-Medical > Keypad-Panic KP-Panic > Keypad-Tamper KP-Tamper > Keypad-Tamper-Rst KP-Tamper-Rst > KP-Restore KP-Rst > Panel-Gnd-Flt Panel-GF > Panel-Gnd-Flt-Rst Panel-GF-Rst > Printer-Restore Printer-Rst > Ql-Keypad-Reset Ql-KP-Reset > Restore Rst > Self-Test-Failure Self-Test-Fail > Sil-Pls-Burg Silence-Pls-Burg > Srv-Msg-Activated Srv-Msg-Activated > Telem-Failure Telem-Fail > Telem-Failure-Rest Telem-Fail-Rst > Telem-Restore Telem-Rst > Telem-Trouble Telem-Tbl > Trouble Tbl > V61-FEZM-GndFlt V61-FEZM-GF > V61-FEZM-GndFlt-Rst V61-FEZM-GF-Rst > -- > Mark Gilmore > Omnipotence (ECS home automation software) > http://www.usit.com/omnip > 423-745-0026 > > ------------------------------------------------------------------------ > > Name: DBG.TMP > DBG.TMP Type: unspecified type (application/octet-stream) > Encoding: base64 > > Name: DBG1.TMP > DBG1.TMP Type: unspecified type (application/octet-stream) > Encoding: base64 > > Name: ELG.TMP > ELG.TMP Type: unspecified type (application/octet-stream) > Encoding: base64 > > Name: ELG1.TMP > ELG1.TMP Type: unspecified type (application/octet-stream) > Encoding: base64