From 8874e0107299a7929334d345398d7fa0acaef7ff Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Fri, 22 Dec 2023 15:39:28 -0800 Subject: [PATCH] wyze: fix broken setting --- plugins/wyze/docker-wyze-bridge | 2 +- plugins/wyze/package-lock.json | 4 ++-- plugins/wyze/package.json | 2 +- plugins/wyze/src/main.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/wyze/docker-wyze-bridge b/plugins/wyze/docker-wyze-bridge index 043f7227c..e65f85b5d 160000 --- a/plugins/wyze/docker-wyze-bridge +++ b/plugins/wyze/docker-wyze-bridge @@ -1 +1 @@ -Subproject commit 043f7227c5afe3f346136dbeeb5285241a9f89b1 +Subproject commit e65f85b5d4ff1a4ed9caf810627d08988ef53979 diff --git a/plugins/wyze/package-lock.json b/plugins/wyze/package-lock.json index 39c6c590e..c4c1ac178 100644 --- a/plugins/wyze/package-lock.json +++ b/plugins/wyze/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/wyze", - "version": "0.0.40", + "version": "0.0.41", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/wyze", - "version": "0.0.40", + "version": "0.0.41", "devDependencies": { "@scrypted/sdk": "file:../../sdk" } diff --git a/plugins/wyze/package.json b/plugins/wyze/package.json index 44c9de46f..d117aa863 100644 --- a/plugins/wyze/package.json +++ b/plugins/wyze/package.json @@ -33,5 +33,5 @@ "devDependencies": { "@scrypted/sdk": "file:../../sdk" }, - "version": "0.0.40" + "version": "0.0.41" } diff --git a/plugins/wyze/src/main.py b/plugins/wyze/src/main.py index db21fac5b..7079b4efc 100644 --- a/plugins/wyze/src/main.py +++ b/plugins/wyze/src/main.py @@ -126,7 +126,7 @@ class WyzeCamera(scrypted_sdk.ScryptedDeviceBase, VideoCamera, Settings, PanTilt def getMainByteRate(self, default=False): try: - bit = int(self.safeParseJsonStorage("byterate")) + bit = int(self.safeParseJsonStorage("bitrate")) bit = round(bit / 8) bit = bit if 1 <= bit <= 255 else 0 if not bit: