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] New beta -Reply -Reply
Steve Rauco
Sat, 12 Feb 2000 10:49:11 -0800 (PST)

I can't have a space in mine, so I moved the html files to their own folder.
You can, however, use progra~1/ecs and it should work fine.  I guess it's
browser dependent.  I'm using Netscape Navigator.  Not sure what Microshaft
would do with it.


On Sat, 12 Feb 2000 12:15:20 -0500, ecs-list@netbloc.com wrote:

>  Yeah it's installed at /program files/ecs. Can you even have a space in a
>  web url? Attached is another debug file of me trying to set a light to
100%
>  on. Later tonight I'll try to dive in and see if I can figure out
anything. The
>  only thing maybe different about my machine is the fact that I have MS
>  personal web server installed. I have to diasable it to get your web
>  server to run.
>  
>  Thanks,
>  
>  Brad
>  
>  
>  
>  >>> Mark Gilmore <omnip@usit.net> 02/12/00 08:41am >>>
>  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
>  
>  
>  12:08:44:DDE_CALLBACK:
>  12:08:44:	uType=80d2 uFmt=0 clncnv=0
>  12:08:44:	&hsz1=c5a8 bf1=ACE Server
>  12:08:44:	&hsz2=f88c5a8 bf2=ACE Server:(0f88)
>  12:08:44:	hdata=0 bf3=ACE Server:(0f88)
>  12:08:44:	dwData1=0 dwData2=0
>  12:08:44:	XTYP_UNREGISTER:
>  12:08:44:		base-service=ACE Server
>  12:08:44:		spec-service=ACE Server:(0f88)
>  12:08:44:DDE_CALLBACK:
>  12:08:44:	uType=80a2 uFmt=0 clncnv=0
>  12:08:44:	&hsz1=c5a8 bf1=ACE Server
>  12:08:44:	&hsz2=f88c5a8 bf2=ACE Server:(0f88)
>  12:08:44:	hdata=0 bf3=ACE Server:(0f88)
>  12:08:44:	dwData1=0 dwData2=0
>  12:08:44:	XTYP_REGISTER:
>  12:08:44:		base-service=ACE Server
>  12:08:44:		spec-service=ACE Server:(0f88)
>  
>  12:08:55:DDE_CALLBACK:
>  12:08:55:	uType=80d2 uFmt=0 clncnv=0
>  12:08:55:	&hsz1=c5a8 bf1=ACE Server
>  12:08:55:	&hsz2=f88c5a8 bf2=ACE Server:(0f88)
>  12:08:55:	hdata=0 bf3=ACE Server:(0f88)
>  12:08:55:	dwData1=0 dwData2=0
>  12:08:55:	XTYP_UNREGISTER:
>  12:08:55:		base-service=ACE Server
>  12:08:55:		spec-service=ACE Server:(0f88)
>  12:08:55:DDE_CALLBACK:
>  12:08:55:	uType=80a2 uFmt=0 clncnv=0
>  12:08:55:	&hsz1=c5a8 bf1=ACE Server
>  12:08:55:	&hsz2=f88c5a8 bf2=ACE Server:(0f88)
>  12:08:55:	hdata=0 bf3=ACE Server:(0f88)
>  12:08:55:	dwData1=0 dwData2=0
>  12:08:55:	XTYP_REGISTER:
>  12:08:55:		base-service=ACE Server
>  12:08:55:		spec-service=ACE Server:(0f88)
>  
>  12:10:12:DDE_CALLBACK:
>  12:10:12:	uType=80d2 uFmt=0 clncnv=0
>  12:10:12:	&hsz1=c5a8 bf1=ACE Server
>  12:10:12:	&hsz2=f88c5a8 bf2=ACE Server:(0f88)
>  12:10:12:	hdata=0 bf3=ACE Server:(0f88)
>  12:10:12:	dwData1=0 dwData2=0
>  12:10:12:	XTYP_UNREGISTER:
>  12:10:12:		base-service=ACE Server
>  12:10:12:		spec-service=ACE Server:(0f88)
>  12:10:12:DDE_CALLBACK:
>  12:10:12:	uType=80a2 uFmt=0 clncnv=0
>  12:10:12:	&hsz1=c5a8 bf1=ACE Server
>  12:10:12:	&hsz2=f88c5a8 bf2=ACE Server:(0f88)
>  12:10:12:	hdata=0 bf3=ACE Server:(0f88)
>  12:10:12:	dwData1=0 dwData2=0
>  12:10:12:	XTYP_REGISTER:
>  12:10:12:		base-service=ACE Server
>  12:10:12:		spec-service=ACE Server:(0f88)
>  
>  12:10:21:WS_SRV:ws_sock[0]=408 accept_addr.sin_addr=10.1.1.2
sin_port=1146
>  12:10:21:WS_SRV:check sx=0
>  12:10:21:WS_SRV:recv sz1=340 bf0=GET
/ecs/ecs_main_menu.htm?Dining_Room_Light=100% HTTP/1.1
>  Accept: image/gif, image/x-xbitmap, image/jp
>  12:10:21:WS_SRV:fnam=/ecs/ecs_main_menu.htm
>  12:10:21:WS_SRV:data=Dining_Room_Light=100%
>  12:10:21:CMD_PLC_TX_FF (12:10:21): hc=6/A uc=6/1 fnc=20/6381-Level lvl=63
cnt=0
>  12:10:21:PLC2J_SRV: hc=6/A uc=6/1 fnc=20/6381-Level lvl=63
>  12:10:21:PLC2J_IN_SRV:tx_tic2/hs=2cd405b/c8
>  12:10:21:CMD_PLC_RX_FF (12:10:21): hc=6/A uc=6/1 fnc=20/6381-Level lvl=63
tx=1 cnt=0 
>  12:10:21:WS_SEND:sx=0 ws_sock[sx]=408 bf=HTTP/1.0 404 NOT FOUND
>  
>  <HTML>File "/e...
>  12:10:21:WS_SEND:	sz1=87 x=0 bfsz=87
>  12:10:22:PLC2J_IN_SRV:tx_tic1=ffffffff
>  12:10:22:PLC_RX_FF_SRV: hc=6/A uc=6/1 fnc=20/6381-Level lvl=63 tx=1 cnt=0
>  12:10:22:STT_CUR_STT(57):Dining Room Light=100%
>  12:10:22:DDE_CALLBACK:
>  12:10:22:	uType=80d2 uFmt=0 clncnv=0
>  12:10:22:	&hsz1=c5a8 bf1=ACE Server
>  12:10:22:	&hsz2=f88c5a8 bf2=ACE Server:(0f88)
>  12:10:22:	hdata=0 bf3=ACE Server:(0f88)
>  12:10:22:	dwData1=0 dwData2=0
>  12:10:22:	XTYP_UNREGISTER:
>  12:10:22:		base-service=ACE Server
>  12:10:22:		spec-service=ACE Server:(0f88)
>  12:10:22:DDE_CALLBACK:
>  12:10:22:	uType=80a2 uFmt=0 clncnv=0
>  12:10:22:	&hsz1=c5a8 bf1=ACE Server
>  12:10:22:	&hsz2=f88c5a8 bf2=ACE Server:(0f88)
>  12:10:22:	hdata=0 bf3=ACE Server:(0f88)
>  12:10:22:	dwData1=0 dwData2=0
>  12:10:22:	XTYP_REGISTER:
>  12:10:22:		base-service=ACE Server
>  12:10:22:		spec-service=ACE Server:(0f88)
>  12:08:36: DE_BUG=1
>  12:08:44: DDE_CALLBACK:
>  12:08:44:         uType=80d2 uFmt=0 clncnv=0
>  12:08:44:         &hsz1=c5a8 bf1=ACE Server
>  12:08:44:         &hsz2=f88c5a8 bf2=ACE Server:(0f88)
>  12:08:44:         hdata=0 bf3=ACE Server:(0f88)
>  12:08:44:         dwData1=0 dwData2=0
>  12:08:44:         XTYP_UNREGISTER:
>  12:08:44:                 base-service=ACE Server
>  12:08:44:                 spec-service=ACE Server:(0f88)
>  12:08:44: DDE_CALLBACK:
>  12:08:44:         uType=80a2 uFmt=0 clncnv=0
>  12:08:44:         &hsz1=c5a8 bf1=ACE Server
>  12:08:44:         &hsz2=f88c5a8 bf2=ACE Server:(0f88)
>  12:08:44:         hdata=0 bf3=ACE Server:(0f88)
>  12:08:44:         dwData1=0 dwData2=0
>  12:08:44:         XTYP_REGISTER:
>  12:08:44:                 base-service=ACE Server
>  12:08:44:                 spec-service=ACE Server:(0f88)
>  12:08:55: DDE_CALLBACK:
>  12:08:55:         uType=80d2 uFmt=0 clncnv=0
>  12:08:55:         &hsz1=c5a8 bf1=ACE Server
>  12:08:55:         &hsz2=f88c5a8 bf2=ACE Server:(0f88)
>  12:08:55:         hdata=0 bf3=ACE Server:(0f88)
>  12:08:55:         dwData1=0 dwData2=0
>  12:08:55:         XTYP_UNREGISTER:
>  12:08:55:                 base-service=ACE Server
>  12:08:55:                 spec-service=ACE Server:(0f88)
>  12:08:55: DDE_CALLBACK:
>  12:08:55:         uType=80a2 uFmt=0 clncnv=0
>  12:08:55:         &hsz1=c5a8 bf1=ACE Server
>  12:08:55:         &hsz2=f88c5a8 bf2=ACE Server:(0f88)
>  12:08:55:         hdata=0 bf3=ACE Server:(0f88)
>  12:08:55:         dwData1=0 dwData2=0
>  12:08:55:         XTYP_REGISTER:
>  12:08:55:                 base-service=ACE Server
>  12:08:55:                 spec-service=ACE Server:(0f88)
>  12:10:04: DE_BUG=1
>  12:10:12: DDE_CALLBACK:
>  12:10:12:         uType=80d2 uFmt=0 clncnv=0
>  12:10:12:         &hsz1=c5a8 bf1=ACE Server
>  12:10:12:         &hsz2=f88c5a8 bf2=ACE Server:(0f88)
>  12:10:12:         hdata=0 bf3=ACE Server:(0f88)
>  12:10:12:         dwData1=0 dwData2=0
>  12:10:12:         XTYP_UNREGISTER:
>  12:10:12:                 base-service=ACE Server
>  12:10:12:                 spec-service=ACE Server:(0f88)
>  12:10:12: DDE_CALLBACK:
>  12:10:12:         uType=80a2 uFmt=0 clncnv=0
>  12:10:12:         &hsz1=c5a8 bf1=ACE Server
>  12:10:12:         &hsz2=f88c5a8 bf2=ACE Server:(0f88)
>  12:10:12:         hdata=0 bf3=ACE Server:(0f88)
>  12:10:12:         dwData1=0 dwData2=0
>  12:10:12:         XTYP_REGISTER:
>  12:10:12:                 base-service=ACE Server
>  12:10:12:                 spec-service=ACE Server:(0f88)
>  12:10:21: WS_SRV:ws_sock[0]=408 accept_addr.sin_addr=10.1.1.2
sin_port=1146
>  12:10:21: WS_SRV:check sx=0
>  12:10:21: WS_SRV:recv sz1=340 bf0=GET
/ecs/ecs_main_menu.htm?Dining_Room_Light=100% HTTP/1.1
>  Accept: image/gif, image/x-xbit...
>  12:10:21: WS_SRV:fnam=/ecs/ecs_main_menu.htm
>  12:10:21: WS_SRV:data=Dining_Room_Light=100%
>  12:10:21: WS:Dining_Room_Light=100%
>  12:10:21: WS:Setting Dining Room Light to 100%
>  12:10:21: CMD_PLC_TX_FF (12:10:21): hc=6/A uc=6/1 fnc=20/6381-Level
lvl=63 cnt=0
>  12:10:21: PLC2J_SRV: hc=6/A uc=6/1 fnc=20/6381-Level lvl=63
>  12:10:21: PLC2J-TX:,g003C3f31<CR> RX:37 Cmd: 
>  12:10:21: PLC2J_IN_SRV:tx_tic2/hs=2cd405b/c8
>  12:10:21: CMD_PLC_RX_FF (12:10:21): hc=6/A uc=6/1 fnc=20/6381-Level
lvl=63 tx=1 cnt=0 
>  12:10:21: WS_SEND:sx=0 ws_sock[sx]=408 bf=HTTP/1.0 404 NOT FOUND
>  
>  <HTML>File "/e...
>  12:10:21: WS_SEND:        sz1=87 x=0 bfsz=87
>  12:10:22: PLC2J-RX:Done<CR><LF>
>  <SOH>
>  12:10:22: PLC2J_IN_SRV:tx_tic1=ffffffff
>  12:10:22: PLC_RX_FF_SRV: hc=6/A uc=6/1 fnc=20/6381-Level lvl=63 tx=1
cnt=0
>  12:10:22: STT_CUR_STT(57):Dining Room Light=100%
>  12:10:22: DDE_CALLBACK:
>  12:10:22:         uType=80d2 uFmt=0 clncnv=0
>  12:10:22:         &hsz1=c5a8 bf1=ACE Server
>  12:10:22:         &hsz2=f88c5a8 bf2=ACE Server:(0f88)
>  12:10:22:         hdata=0 bf3=ACE Server:(0f88)
>  12:10:22:         dwData1=0 dwData2=0
>  12:10:22:         XTYP_UNREGISTER:
>  12:10:22:                 base-service=ACE Server
>  12:10:22:                 spec-service=ACE Server:(0f88)
>  12:10:22: DDE_CALLBACK:
>  12:10:22:         uType=80a2 uFmt=0 clncnv=0
>  12:10:22:         &hsz1=c5a8 bf1=ACE Server
>  12:10:22:         &hsz2=f88c5a8 bf2=ACE Server:(0f88)
>  12:10:22:         hdata=0 bf3=ACE Server:(0f88)
>  12:10:22:         dwData1=0 dwData2=0
>  12:10:22:         XTYP_REGISTER:
>  12:10:22:                 base-service=ACE Server
>  12:10:22:                 spec-service=ACE Server:(0f88)





_______________________________________________________
Get 100% FREE Internet Access powered by Excite
Visit http://freeworld.excite.com


  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
.