IP Cam PTZ

Author(s):



**************************************************************************************
NEW > Snapshot button updated in version 1.4+. Button now can be set in
the options to auto refresh the snapshot image every 'X' seconds. This saves on
CPU load over streaming the video feed.

NEW > If you have an IP Camera, you may also be interested in another addon I wrote "TimeLapse for Firefox" https://addons.mozilla.org/en-US/firefox/addon/firefox-timelapse/

FIX > Default Foscam move commands corrected in options. Sorry if this cause any confusion.
Thanks to Bubbah of http://www.gadgetvictims.com for pointing this out.
**************************************************************************************
Most IP Pan/Tilt/Zoom cameras accept URL control commands. With this add-on, you can control the camera and view the Sidebar video stream in seconds. Going through the official cameras web portal can be slow and cumbersome, usually the thing you wanted to look at would be long gone, so the idea was get to the stream as quick as possible.

The add-on will add 6 buttons to the right of the Address Bar, these are obviously pan the camera Left, Right, Up, Down, Snapshot, and the very last button in the shape of a camera will fire up the video stream in the Sidebar.

The add-on is fully setup to work with the FOSCAM IP PTZ camera, all you'll need to do is change the IP address in the option menu. If it isn't a FOSCAM, you'll need to enter your cameras URL commands in the options menu. Your cameras URL commands will be listed all over the web, so it'll just take a little searching. It's pretty generic as you define the URL commands yourself, but if there is any questions, feel free to email me.

I strongly recommend you add the username and password to the URL commands. For the Foscam the format is as follows. This saves you being asked for a login when the camera is first accessed. Other camera makes URL command formats will be available on the web.
Video stream command = videostream.cgi?user=username&pwd=password
Snapshot command = snapshot.cgi?user=username&pwd=password
Control commands all should be in the format = decoder_control.cgi?user=username&pwd=password&command=6

I also recommend you move your Sidebar to the right, this can be done with the RightBar addon https://addons.mozilla.org/en-US/firefox/addon/7865/ , I also recommend you remove the max width limit on the Sidebar which can be done by following these instructions http://www.ghacks.net/2007/10/20/two-firefox-sidebar-tweaks/ . The userChrome.css file is in C:\Users\*user*\AppData\Roaming\Mozilla\Firefox\Profiles\*profile*\chrome\ , the file may be called userChrome-example.css, just add the lines in the instructions and rename to userChrome.css like in the screenshot below & restart Firefox.

Lines to add to userChrome.css
/* remove Sidebar maximum width restriction */
#sidebar {
max-width: none !important;
min-width: 0px !important;
}

Hope you enjoy the add-on.

Cheers
Phil

Download files:

ip-cam-ptz-1.4.xpi
ip-cam-ptz-1.8.1-signed.1-signed.xpi
ip-cam-ptz-1.9.1-signed.1-signed.xpi


This page is part of the LegacyCollector website.
Disclaimer: All material on this site is property of their respective owners and available under
open licenses to the best of our knowledge. If you are an author and would like anything removed,
then please write an e-mail to legacy [at] collector dot org.