eufy-security-ws
Version:
Node WebSocket server implementation to integrate Eufy Security devices
56 lines • 3.43 kB
JavaScript
export var DeviceCommand;
(function (DeviceCommand) {
DeviceCommand["getPropertiesMetadata"] = "device.get_properties_metadata";
DeviceCommand["getProperties"] = "device.get_properties";
DeviceCommand["setProperty"] = "device.set_property";
DeviceCommand["hasProperty"] = "device.has_property";
DeviceCommand["startLivestream"] = "device.start_livestream";
DeviceCommand["stopLivestream"] = "device.stop_livestream";
DeviceCommand["isLiveStreaming"] = "device.is_livestreaming";
DeviceCommand["triggerAlarm"] = "device.trigger_alarm";
DeviceCommand["resetAlarm"] = "device.reset_alarm";
DeviceCommand["panAndTilt"] = "device.pan_and_tilt";
DeviceCommand["quickResponse"] = "device.quick_response";
DeviceCommand["startDownload"] = "device.start_download";
DeviceCommand["cancelDownload"] = "device.cancel_download";
DeviceCommand["isDownloading"] = "device.is_downloading";
DeviceCommand["getVoices"] = "device.get_voices";
DeviceCommand["getCommands"] = "device.get_commands";
DeviceCommand["hasCommand"] = "device.has_command";
DeviceCommand["startRTSPLivestream"] = "device.start_rtsp_livestream";
DeviceCommand["stopRTSPLivestream"] = "device.stop_rtsp_livestream";
DeviceCommand["isRTSPLiveStreaming"] = "device.is_rtsp_livestreaming";
DeviceCommand["calibrateLock"] = "device.calibrate_lock";
DeviceCommand["calibrate"] = "device.calibrate";
DeviceCommand["setDefaultAngle"] = "device.set_default_angle";
DeviceCommand["setPrivacyAngle"] = "device.set_privacy_angle";
DeviceCommand["unlock"] = "device.unlock";
DeviceCommand["startTalkback"] = "device.start_talkback";
DeviceCommand["stopTalkback"] = "device.stop_talkback";
DeviceCommand["isTalkbackOngoing"] = "device.is_talkback_ongoing";
DeviceCommand["talkbackAudioData"] = "device.talkback_audio_data";
DeviceCommand["snooze"] = "device.snooze";
DeviceCommand["addUser"] = "device.add_user";
DeviceCommand["deleteUser"] = "device.delete_user";
DeviceCommand["getUsers"] = "device.get_users";
DeviceCommand["updateUserPasscode"] = "device.update_user_passcode";
DeviceCommand["updateUserSchedule"] = "device.update_user_schedule";
DeviceCommand["updateUser"] = "device.update_user";
DeviceCommand["verifyPIN"] = "device.verify_pin";
DeviceCommand["presetPosition"] = "device.preset_position";
DeviceCommand["savePresetPosition"] = "device.save_preset_position";
DeviceCommand["deletePresetPosition"] = "device.delete_preset_position";
DeviceCommand["open"] = "device.open";
// Deprecated - The following commands have been removed from schema version 13
DeviceCommand["setStatusLed"] = "device.set_status_led";
DeviceCommand["setAutoNightVision"] = "device.set_auto_night_vision";
DeviceCommand["setMotionDetection"] = "device.set_motion_detection";
DeviceCommand["setSoundDetection"] = "device.set_sound_detection";
DeviceCommand["setPetDetection"] = "device.set_pet_detection";
DeviceCommand["setRTSPStream"] = "device.set_rtsp_stream";
DeviceCommand["setAntiTheftDetection"] = "device.set_anti_theft_detection";
DeviceCommand["setWatermark"] = "device.set_watermark";
DeviceCommand["enableDevice"] = "device.enable_device";
DeviceCommand["lockDevice"] = "device.lock_device";
})(DeviceCommand || (DeviceCommand = {}));
//# sourceMappingURL=command.js.map