@@ -62,63 +62,63 @@ sets the credentials used to access the camera.
62
62
63
63
Sets the sensitivities for motion detection and audio detection. Both take values between 0 (off) and 100 (sensitive).
64
64
65
- - ` async_reboot(self ) -> Response ` <br >
65
+ - ` async_reboot() -> Response ` <br >
66
66
reboots the camera.
67
67
68
- - ` async_set_system_time(self ) -> Response ` <br >
68
+ - ` async_set_system_time() -> Response ` <br >
69
69
sets the current local time on the camera. This is used for overlays in the snapshots and feeds.
70
70
71
- - ` async_set_irled(self, status: Status) -> Response ` <br >
71
+ - ` async_set_irled(status: Status) -> Response ` <br >
72
72
sets the status of the active infrared light on the camera. Valid settings are ` Status.ON', ` Status.OFF` , and ` Status.AUTO`
73
73
74
- - ` async_set_night_mode(self, status: Status) -> Response ` <br >
74
+ - ` async_set_night_mode(status: Status) -> Response ` <br >
75
75
sets the status of the passive infrered sensor. Valid settings are ` Status.ON', ` Status.OFF` , and ` Status.AUTO`
76
76
77
- - ` async_set_ftp_config(self, server, port, user, passwd) -> Response ` <br >
77
+ - ` async_set_ftp_config(server, port, user, passwd) -> Response ` <br >
78
78
configures the ftp client to allow snapshots and recordings to be stored on a server via FTP.
79
79
80
- - ` async_set_audio_volumes(self, audio_in=50, audio_out=50) -> Response ` <br >
80
+ - ` async_set_audio_volumes(audio_in=50, audio_out=50) -> Response ` <br >
81
81
configures audio volumes for the camera:
82
82
- audio_in: microphone volume
83
83
- audio_out: speaker and alert volume
84
84
85
85
### Device Queries
86
- - ` async_get_model(self ) -> str ` <br >
86
+ - ` async_get_model() -> str ` <br >
87
87
queries and returns the brand's model number as a string
88
88
89
- - ` async_get_night_mode(self ) -> IRmode ` <br >
89
+ - ` async_get_night_mode() -> IRmode ` <br >
90
90
queries and returns the sensor night mode setting:
91
91
- bool result.LED
92
92
- bool result.Sensor
93
93
94
- - ` async_get_alarm_trigger(self ) -> Trigger ` <br >
94
+ - ` async_get_alarm_trigger() -> Trigger ` <br >
95
95
queries and returns the alarm trigger setting:
96
96
- bool result.motion
97
97
- bool result.audio
98
98
99
- - ` async_get_alarm_action(self ) -> Action ` <br >
99
+ - ` async_get_alarm_action() -> Action ` <br >
100
100
queries and returns the alarm action setting:
101
101
- bool result.audio - sound the siren
102
102
- bool result.ftp_snap - store snapshots to FTP server
103
103
- bool result.ftp_rec - store recordings to FTP server
104
104
105
- - ` async_get_alarm_triggered(self ) -> bool ` <br >
105
+ - ` async_get_alarm_triggered() -> bool ` <br >
106
106
queries and returns ` True ` if an alram was detected.<br >
107
107
* Currently not implemented, returns ` False ` *
108
108
109
- - ` async_get_ftp_config(self ) ` <br >
109
+ - ` async_get_ftp_config() ` <br >
110
110
queries and returns the current FTP configuration
111
111
112
112
113
113
### Device Actions
114
- - ` async_snap_picture(self ) ` <br >
114
+ - ` async_snap_picture() ` <br >
115
115
snaps a picture and returns the byte array
116
116
117
- - ` async_mjpeg_stream(self, request) ` <br >
117
+ - ` async_mjpeg_stream(request) ` <br >
118
118
requests and returns a motion JPEG stream
119
119
120
- - ` async_set_alarm(self, trigger: Trigger, action: Action) -> Response ` <br >
120
+ - ` async_set_alarm(trigger: Trigger, action: Action) -> Response ` <br >
121
121
Arms or disarms the camera by7 setting the ` trigger ` and ` action ` settings
122
122
123
- - ` async_ptz_preset(self, preset_pos:int) ` <br >
123
+ - ` async_ptz_preset(preset_pos:int) ` <br >
124
124
moves the camera to the specified preprogrammed position if PTX is available
0 commit comments