Edimax - Perl extension for managing Edimax IC1500-series network cameras
use Net::Camera::Edimax::IC1500; my $camera = Net::Camera::Edimax::IC1500->new( hostname => 'camera.example.com', port => '80', username => 'admin', password => '1234', ); $camera->getImageSettings(); $camera->imageSettingsResolution(1); $camera->setImageSettings();
The Edimax IC1500-series network cameras are managed via a web interface. This module provides methods to control various aspects of the camera's operation.
This module also supports the wireless version (the IC1500Wg), as the interface is essentially identical (insofar as this module was developed using the Wg model)
Creates a new Net::Camera::Edimax::IC1500 object.
my $camera = Net::Camera::Edimax::IC1500->new( hostname => 'camera.example.com', port => '80', username => 'admin', password => '1234', );
Gets the current image settings from the camera. This needs to be called before changing any image settings
Activates the requested image settings.
Gets the current system settings. These are currently read-only, so there is no corresponding setSystemSettings.
Gets the current status. These are read-only.
Gets the current entries in the logfile.
Retrieves a snapshot from the device. The JPEG data is returned directly from this function.
Gets/sets the image resolution. 0 is 640x480, 1 is 320x240 and 2 is 176x144.
Gets/sets the image quality. 3, 6, 9, 12 and 15 refer to 'Highest', 'High', 'Normal', 'Low' and 'Lowest' respectively.
Gets/sets the maximum frame rate for the MJPEG stream.
Gets/sets the image frequency. '60' is 60Hz, '50' is 50Hz, and '0' is the 'Outdoor' setting.
Gets/sets the image brightness. Value is an integer between 0 (lowest) and 99 (highest).
Gets/sets the image contrast. Value is an integer between 0 (lowest) and 99 (highest).
Gets/sets the image saturation. Value is an integer between 0 (lowest) and 99 (highest).
Gets/sets the image hue. Value is an integer between 0 (lowest) and 99 (highest).
Gets/sets the image hue. Value is an integer between 0 (lowest) and 30 (highest).
Sets the image auto exposure. Pass it 'ON' to turn it on, and (predictably) 'OFF' to turn it off.
Returns the firmware version running on the camera.
Returns the camera's uptime.
Returns the device's date and time.
Returns the device's IP address.
Returns the device's netmask.
Returns the device's default gateway.
Returns the device's DNS server.
Returns the device's MAC address.
Returns the TCP port used by the video streaming applet.
Returns the TCP port used for the web front end.
Returns the device's name.
Returns the device's password.
Returns the LED visiblity status.
Turns on/off the LEDs on the front of the device.
Reboots the device.
http://meh.org.uk/perl/Net-Camera-Edimax-IC1500/
Andy Smith, <ams@meh.org.uk>
Copyright (C) 2008, 2009 by Andy Smith
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install Net::Camera::Edimax::IC1500, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Camera::Edimax::IC1500
CPAN shell
perl -MCPAN -e shell install Net::Camera::Edimax::IC1500
For more information on module installation, please visit the detailed CPAN module installation guide.