Skip to content

Commit

Permalink
reolink: add more hw info
Browse files Browse the repository at this point in the history
  • Loading branch information
Koushik Dutta authored and Koushik Dutta committed Jul 4, 2024
1 parent 95f1e61 commit 644df95
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions plugins/reolink/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/reolink/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scrypted/reolink",
"version": "0.0.79",
"version": "0.0.80",
"description": "Reolink Plugin for Scrypted",
"author": "Scrypted",
"license": "Apache",
Expand Down
4 changes: 4 additions & 0 deletions plugins/reolink/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,10 @@ class ReolinkCamera extends RtspSmartCamera implements Camera, DeviceProvider, R
return;
const info = this.info || {};
info.ip = ip;
info.serialNumber = this.storageSettings.values.deviceInfo?.serial;
info.firmware = this.storageSettings.values.deviceInfo?.firmVer;
info.version = this.storageSettings.values.deviceInfo?.hardVer;
info.model = this.storageSettings.values.deviceInfo?.model;
info.manufacturer = 'Reolink';
info.managementUrl = `http://${ip}`;
this.info = info;
Expand Down

0 comments on commit 644df95

Please sign in to comment.