No announcement yet.

Webserve security camera files from second computer?

  • Filter
  • Time
  • Show
Clear All
new posts

    Webserve security camera files from second computer?

    This is a long post! So... here's the short question, then if you want the eye strain, you can read the rest.

    How can I have HomeSeer's webserver serve files from another computer that is on my local network?

    As I add more and more to my HS computer's list of things to do, I fear it will soon reach the limits of reliable operation.

    My current project, "home security cameras", will take a lot of processing power and drive space... so... I'm considering putting it on a computer of it's own ...BUT... I'll need to come up with a solutions for accessing all the images/avi/sound stored on the second computer using the HomeSeer computer's web interface.

    So... my question is... how to have HomeSeer's webserver serve the images/sound/avi? It's my understanding that HomeSeer's webserver will only serve files that are located in it's html directory.

    I currently have it ALL on the HomeSeer computer. I'm having WebCam32 store one image per 10 seconds of what ever camera is currently displayed (which will be determined by motion eventually). I have an ASP page that I can access from anywhere that makes a pulldown list of the available files that you can select to be displayed, (it displays the most current image by default). The page refreshes every 10 seconds with the latest image unless you click on the pause button, which stops the page so you can select from the pulldown list, and I have 7 buttons to switch between the 7 cameras. This all works fine, but if I take it to the next step, I'm afraid it would BOG down the HS computer.

    I already have all the cameras with sound coming into my video switcher and I can control the video switcher with HomeSeer via an ASP webpage.

    On the computer that the video switcher will be connected to, I'd like to...
    -capture 1 or more images per second -or- good quality avi
    -capture sound (all camera areas have microphones)
    -via a program or script, be able to set how many days it saves, then deletes the old files.

    On the HomeSeer ASP page, I'd like to...
    -be able to manually switch between the cameras (already have this)
    -be able to view live video and sound
    -be able to view archives, (an hour ago, yesterday, etc.)

    Question #1 is...
    How to have HomeSeer ASP pages use files that are located on another computer?
    (the first thought that comes to my mind is, have the ASP page copy the files on demand from the other computer to the html directory)

    And Question #2 is...
    Anyone have any suggestions on a better/easier way to do all this?
    (I'll take all the help I can get)

    ... is not to serve the camera's from Homeseer webser but serve both homeseer and the camera's from a single reverse proxy.

    I have just answered another question about using the (free) Apache HTTP Server as a reverse proxy here:
    Using Apache HTTP Server as a reverse proxy

    Might be usefull.



      Jake, you are probably right about the capture package bogging down HomeSeer - at the very least it could introduce minor delays if you are using CPU-intensive stuff like voice recognition in HS.

      In order for the HS web server to see the files anywhere other than the <hsdir>\html subdir, you need to have the remote shares visible in that subdir structure. Alas, I know of no way to mount a remote filesystem under a Windows subdir tree (often called a soft link) - maybe someone out there does? It can easily be done in Unix/Linux, but apparently there is no equivalent method in Windows even using NFS. Windows wants mount points based on letters or words that always start at volume root levels.

      Does anyone know how to insert a soft link into an NTFS directory tree?

      - Gordon

      "Security is EVERYONE'S business!"
      | - Gordon

      "I'm a Man, but I can change, if I have to, I guess." - Man's Prayer, Possum Lodge, The Red Green Show - -


        The easiest solution is to not use HS's server but IIS on the other machine or the web cams streaming softwares server. This is my setup which sounds a lot like what you are migrating toward. I have HS on its own server so its stable and stand alone. I have Weather Display and 2 web cam server packages ( WebCam32 and iVista) on a separate server. Then using different ports through the firewall in my router I can access all 4 web servers. This makes integrating it all via HomeSeers server easy. One other major benefit is if for some reason something happens to one machine or the other one is still available on the web.

        If you need more details just ask and I can provide them.

        Isn't Disney World a people trap operated by a mouse?


          bogging down with capture package -

          My USB capture device (Dazzle 80), when opened for use gives my 1.8GHz PC a constant 40% CPU load. Preview display on/off has no effect. Motion detection adds just a little more, not a lot. I conclude this is the bloatware in the Microsoft WDM and DirectX layers, plus the USB interface for this is high I/O overhead (not much DMA).

          I wrote a VB6 program which disconnects the video source software connection at will. This avoids the CPU load if there are no viewers or other users of the video (e.g., no motion detection).

          The best way to do this is with motion detection inside the camera, as (costly) network cams do.


            Just the opposite here. I use 2 capture packages at the same time iVista and Netmeeting and when both are streaming it only uses around 25 % of a 1GHZ AMD processor. When idle 2-3 %. iVista serves a WinTV capture card and WebCam32 serves a USB camera. I tried one of those USB capture devices and the throughput was so low I returned it and bought a PCI TV card. Works much better.

            Isn't Disney World a people trap operated by a mouse?


              Thanks for all the info! I'm still formulating my final solutions.

              ha, Ha, HA... did I actually say "FINAL" above... Dur... ya right!

              I have made some progress in this project, however. While I still have this all on the HomeSeer machine, I'm writing a lot of the code, placing the cameras, microphones and motion sensors, etc. One kinda k00l thing I've got goin' on with my system is that I have some of the audio, (mostly music), going over my little FM radio station, so, when I'm setting up my cams and motion sensors I can actually turn on a debug routine that speaks to me over my Rio MP3/FM. I just put the Rio in my pocket, put the earbud in my ear, then run all over the house and outside placing motion sensors and testing ranges. As I'm doing this, I hear something like this... "area 1, front door", "switch to camera 1", "aera 1, front door", "aera 1, front door", "area 2, front yard", "switch to camera 2", "aera 3, driveway", "switch to camera 3"...etc. I have the motion sensors for the security and cameras set to only stay on for 5 seconds, so that allows me to place the sensor, walk around, get a few readings, adjust the placement of the sensor, walk around some more, etc., utill I get the best setup. I'm also using duck tape to make masks for the sensors. I cut a piece of duck tape the size of the sensor window, then cut a diamond shaped hole in the center, then place it on the sensor window. I use different size holes for different effects, then, I guess, once I have them right, I'll paint the sensor window to make it permanant. Oh yeah, I also use a big roll of Velcro that I have to place the sensors so they are easy to move. I put the "hooks" Velcro on the back of the sensor and use the "fuzz" Velcro to stick around where ever I need to test. I've been able to use the same "fuzz" piece over and over for the testing, I've probally used each one up to 10 times and I stuck it to wood, bricks, glass, metal, all without a problem.

              ehhh... I guess that's enough ramblin' for now. Just passing on and reliving the adventure!


                I see a couple of different ways to do this, depending on what's available, and what you're willing to spend.

                The cheapest and easiest would be to copy the files you want over the PC with homeseer on a scheduled basis, like you originally mentioned. You're not going to get live video or sound this way though.

                You could also setup a webserver on the second pc and use it to serve the video and sound. It should be relatively "simple" to reverse proxy that connection as was suggested. Or embed the page inside of a homeseer webpage using a iframe.

                If you're feeling lucky you could setup a Windows 2003 server and use DFS maps. I know with DFS you can make "virtual" filesystems. You can mount a DFS share inside a folder. So you could have C:\dir1 and D:\dir2, show up like c:\dir1\dir2. More or less.

                As I'm typing all this I thought of one other. You could map a drive from the second PC to the homeseer PC. Then you could have whatever capture app you're using save it files onto that drive. Then the files would automatically available to homeseer.


                  Shor answer:
                  Check out
                  The software is shareware ($10) US and has its own server. You add the following script to you web page. You can see live streaming video.

                  <SCRIPT LANGUAGE="JavaScript">

                  errorimg1= 0;
                  function LoadImage1()
                  uniq1 = Math.random();
                  document.images.webcam1.src = "http://eros:8181/ccam.jpg?uniq="+uniq1;
                  window.status = "[powered by webcamXP]" + uniq1;

                  function ErrorImage1()
                  if (errorimg1>1){
                  document.images.webcam1.onload = "";
                  document.images.webcam1.src = "";
                  uniq1 = Math.random();
                  document.images.webcam1.src = "http://eros:8181/ccam.jpg?uniq="+uniq1;

                  function DoIt1()
                  window.setTimeout("LoadImage1();", 15);
                  document.write('<img src="loading.jpg" id="webcam1" name="webcam1" onload="DoIt1()" onerror="ErrorImage1()" width=320 height=240 border=0 style="border-color:#000000; border-style:solid;">');

                  The Long answer:

                  I have 8 vidoe cameras plus sound coming into a multiplexer. The multiplexer is pluged into a product called XBOB. XBOB allows me to overlay text over the vidoe signal. I use if primary for call ID. The XBOB is pluged into a modulator which puts the signal onto channel 125. This is combined with the cable signal. I can get security vido on any TV by turning to channel 125 (as long as it is not attached to a cable smart box). I can also bring up the websit from any computer and view the same image from the security cameras.

                  Radio shack has an expensive modulator product number 15-1243. While I have a expensive dual quad multiplexer I found an inexpensee four camera switch at Compusa for $49.00. Swann AV multi-Switcher with remote control. Their websit is



                    Just to give my 10 year old 486X66, 16mb ram, box something to do, I've hooked one of my cams to it. Not the speediest at ~1 fps, but still could be useful. With nobody watching, the cpu useage is only 10%, and 90% with a viewer (frame rate drops by half with two viewers). Capture cards are the way to go in the cpu area. I'll probably connect a switcher to it and add my $30 harbor freight cam (demo good vs cheap cams). Old boxes can be made into somewhat useful webcam setups. this box is in another part of the house and connected to the router with a long run of cat3 phone wire.

                    Why I like my 2005 rio yellow Honda S2000 with the top down, and more!


                      The near extinct webmedia webcam software can be found at the below link. The webmedia 2.3.4 and webvideo 2.2.2 are still there. Shareware, but I think the chat feature is what is limited with out registration ($10). Seems to be pretty well setup for shareware.

                      Why I like my 2005 rio yellow Honda S2000 with the top down, and more!


                        I am intereseted in usingthe live feed script from above with conqueer cam. what are the details for setup?



                          Just as a followup on the webmedia webcam software, I've put up a temporary page below to check it out. It could use an enhansemet or two, and I'm still figuring it out, but the price is low.

                          Why I like my 2005 rio yellow Honda S2000 with the top down, and more!