Skip to content

Commit

Permalink
unifi-protect: ips
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 03e6cf1 commit 95f1e61
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion external/unifi-protect
4 changes: 2 additions & 2 deletions plugins/unifi-protect/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/unifi-protect/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scrypted/unifi-protect",
"version": "0.0.153",
"version": "0.0.154",
"description": "Unifi Protect Plugin for Scrypted",
"author": "Scrypted",
"license": "Apache",
Expand Down
4 changes: 4 additions & 0 deletions plugins/unifi-protect/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ export class UnifiProtect extends ScryptedDeviceBase implements Settings, Device
model: camera.type,
firmware: camera.firmwareVersion,
version: camera.hardwareRevision,
ip: camera.host,
serialNumber: camera.id,
mac: camera.mac,
managementUrl,
Expand Down Expand Up @@ -399,6 +400,7 @@ export class UnifiProtect extends ScryptedDeviceBase implements Settings, Device
info: {
manufacturer: 'Ubiquiti',
model: sensor.type,
ip: sensor.host,
firmware: sensor.firmwareVersion,
version: sensor.hardwareRevision,
serialNumber: sensor.id,
Expand Down Expand Up @@ -426,6 +428,7 @@ export class UnifiProtect extends ScryptedDeviceBase implements Settings, Device
info: {
manufacturer: 'Ubiquiti',
model: light.type,
ip: light.host,
firmware: light.firmwareVersion,
version: light.hardwareRevision,
serialNumber: light.id,
Expand All @@ -450,6 +453,7 @@ export class UnifiProtect extends ScryptedDeviceBase implements Settings, Device
info: {
manufacturer: 'Ubiquiti',
model: lock.type,
ip: lock.host,
firmware: lock.firmwareVersion,
version: lock.hardwareRevision.toString(),
serialNumber: lock.id,
Expand Down

0 comments on commit 95f1e61

Please sign in to comment.