netwave
index
/home/justin/Programming/Netwave-Camera/netwave/__init__.py

Init file for Netwave Camera

 
Package Contents
       
__main__
netwave

 
Classes
       
builtins.object
netwave.netwave.NetwaveCamera

 
class NetwaveCamera(builtins.object)
    NetwaveCamera(address, username='admin', password='', timeout=5)
 
A local representation of a Netwave camera
 
  Methods defined here:
__init__(self, address, username='admin', password='', timeout=5)
Initialize self.  See help(type(self)) for accurate signature.
__str__(self)
Return str(self).
factor_reset_camera(self)
Factory resets the camera
get_alias(self)
Returns the camera's alias
get_brightness(self)
Get the local brightness from 0 to 15
get_contrast(self)
Get the local contrast from 0 to 6
get_id(self)
Returns the camera's id
get_info(self)
Returns a dictionary of most camera settings
get_mirror_horizontal(self)
Get whether the screen is horizontally mirrored or not
get_mirror_vertical(self)
Get whether the screen is vertically mirrored or not
get_mode(self)
Gets the local video mode as an integer from 0 to 2, based on the constants above
get_orientation(self)
Get the orientation as a two bit integer representation of the two mirrored values (vertical, horizontal)
get_resolution(self)
Get the local resolution as an integer of either 2, 8, or 32, reference the resolution constants above
get_snapshot(self)
Get a raw image snapshot from the camera
move_center(self)
Re-center's the camera
move_down(self)
Rotates downward
move_down_left(self)
Rotates down left
move_down_right(self)
Rotates down right
move_left(self)
Rotates left
move_right(self)
Rotates right
move_up(self)
Rotates upward
move_up_left(self)
Rotates up left
move_up_right(self)
Rotates up right
patrol_horizontal(self)
Initiate horizontal patrolling
patrol_vertical(self)
Initiate vertical patrolling
pelco_patrol_horizontal(self)
Initiate Pelco horizontal patrolling
pelco_stop_patrol_horizontal(self)
Terminate Pelco horizontal patrolling
recall_preset(self, preset)
Loads a saved preset position in a slot from 1 to 15 and returns to it
restart_camera(self)
Restarts the camera
set_brightness(self, brightness)
Set the camera's brightness to an integer from 0 to 15
set_contrast(self, contrast)
Set the camera's contrast value to an integer from 0 to 6
set_mirror_horizontal(self, mirrored)
Sets the horizontal video mirror boolean
set_mirror_vertical(self, mirrored)
Sets the vertical video mirror boolean
set_mode(self, mode)
Sets the camera's video mode to an integer from 0 to 2, see above constants
set_orientation(self, orientation)
Sets the two bit orientation value on the camera
set_preset(self, preset)
Saves a preset position in a slot from 1 to 15 with the camera's current position
set_resolution(self, resolution)
Set the camera's resolution value to either 2, 8, or 32, see above constants
stop_movement(self)
The termination command for the movements
stop_patrol_horizontal(self)
Terminate horizontal patrolling
stop_patrol_vertical(self)
Terminate vertical patrolling
turn_io_off(self)
Turn off X10 type IO
turn_io_on(self)
Turn on X10 type IO
update_full(self)
Full update of camera data including info and video settings. Generally only used on initial connection
update_info(self)
Updates local info of settings and such from camera
update_video_settings(self)
Updates local video settings from camera

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes defined here:
resolution_160_x_120 = 2
resolution_320_x_240 = 8
resolution_640_x_480 = 32
video_mode_50_hz = 0
video_mode_60_hz = 1
video_mode_outdoor = 2

 
Data
        __all__ = ['NetwaveCamera']