After publishing a piece on how to connect an Internet enabled camera to WMC, iPhones and iPads yesterday, I received a couple of emails basically saying, “great, but I want to monitor more than one camera in a master view like stand alone IP surveillance software”.
I thought about this for a bit and then tested to see if an HTML page could be hosted locally, placed in the C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\Media Center\Media Center Programs folder with the appropriate MCL and PNG file. The answer was yes, and this now opens the door to more customizations.
Further, I thought that the still images needed to be refreshed. Not much value in watching an image on the screen that just sits there. I fired up Microsoft Expression Web and created a page and added in a META REFRESH tag to reload every xx seconds (I used 30 seconds as the interval). While tables should not be used for layout on a page designed to be viewed in a real web browser (a deprecated means of coding), a nested table structure proved perfect for display inside Windows Media Center. I specified the Segoe UI font and ended up with something that looked pretty decent and worked. Here is the view inside Windows Media Center:
Here is the HTML code. You will need to replace the hostname, port, image path as I documented in the post linked above. The mycameras.html file I created contains the following:
<body style="color: #99CCFF; ">
<p class="style3"> </p>
The MCL file (mycameras.mcl) is as follows:
After removing the files I created and used yesterday, I placed the html file, the MCL file, and the new PNG file in the C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\Media Center\Media Center Programs folder. Next I launched Windows Media Center,and opened Extras.
I finished by adding my new My Cameras extra as a top level Extras menu item.
Now, if I add more cameras, I can just edit the existing HTML. I’m sure I’ll have to change (reduce) the size of the displayed image to get more on a single page, but I now have a personal IP Camera viewport inside Windows Media Center. (And naturally, I’ve added the second camera to my iPhone and iPad Smartvue configuration).
Motivated by the upcoming yearly Halloween onslaught of youngsters and the not so young about to come through my condo complex, I started thinking about how to integrate an Internet capable surveillance camera with my connected home and devices. I’m not a “real” developer, but I’m a pretty smart geek (IMO) and I started looking around for ideas that I could borrow and customize.
My goals were to be able to check activity in my parking lot/walkway on demand from Windows Media Center, my iPhone, and my iPad. The web is a wonderful wealth of information, and putting this together was not really difficult. And definitely worth sharing with others.
I’m not easily impressed, but my jaw is hanging open today after installing two Sonos S5 Music Players to cover my home with end to end music. I’ve used computers, Media Center Extenders and all kinds of hardware and software in the past to move music around my home, but I always had to cobble together pieces and use separate devices and controllers to get what I wanted. What did I want? Well, everything imaginable. The list below is not in any particular order:
1. The ability to stream from ANY of my computers (using Play To or anything else) to more than one music player/renderer simultaneously.
2. To be able to control the volume above individually or together.
3. Play Pandora Radio and other Internet sourced digital music
4. Use existing/create new playlists
5. Use iPhones, iPads and iPxxx whatever to control and manage the device as a remote control (including graphical menus).
6. Use the system as an alarm clock with choices to wake from alarm, music, Internet music, whatever
7. Wireless connectivity in my Living Room
8. A system that was upgradeable.
9. Quality sound
I’m still stunned that I found a system that does ALL of the above. (And I’m betting I discover more features – I’ve only had a few hours experience with this all, so my exploration and discovery has only just begun).