You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe The Bug:
Every time an device status changes, it will throw this error.
Logs:
Unhandled rejection TypeError: Cannot read properties of undefined (reading 'computed_dev_id')
at Client.get fingerprint (/volume1/homebridge/node_modules/homebridge-unifi-occupancy/src/client.ts:87:34)
at Client.<anonymous> (/volume1/homebridge/node_modules/homebridge-unifi-occupancy/node_modules/typescript-memoize/src/memoize-decorator.ts:123:36)
at /volume1/homebridge/node_modules/homebridge-unifi-occupancy/src/client_type.ts:53:56
at /volume1/homebridge/node_modules/homebridge-unifi-occupancy/src/client_filter.ts:10:42
at Array.some (<anonymous>)
at ClientType.matchesClient (/volume1/homebridge/node_modules/homebridge-unifi-occupancy/src/client_filter.ts:10:29)
at /volume1/homebridge/node_modules/homebridge-unifi-occupancy/src/client.ts:120:56
at Array.find (<anonymous>)
at Client.get type [as type] (/volume1/homebridge/node_modules/homebridge-unifi-occupancy/src/client.ts:120:38)
at Client.get config (/volume1/homebridge/node_modules/homebridge-unifi-occupancy/src/client.ts:130:23)
at Client.<anonymous> (/volume1/homebridge/node_modules/homebridge-unifi-occupancy/node_modules/typescript-memoize/src/memoize-decorator.ts:123:36)
at Client.get displayName [as displayName] (/volume1/homebridge/node_modules/homebridge-unifi-occupancy/src/client.ts:168:14)
at Client.accessoryUUIDKey (/volume1/homebridge/node_modules/homebridge-unifi-occupancy/src/client.ts:175:24)
at Client.accessoryUUID (/volume1/homebridge/node_modules/homebridge-unifi-occupancy/src/accessory_subject.ts:14:53)
at ClientTypeAccessoryHandler.get uuid [as uuid] (/volume1/homebridge/node_modules/homebridge-unifi-occupancy/src/accessory_handler.ts:124:26)
at ClientTypeAccessoryHandler.get valid [as valid] (/volume1/homebridge/node_modules/homebridge-unifi-occupancy/src/accessory_handler.ts:158:23)
at /volume1/homebridge/node_modules/homebridge-unifi-occupancy/src/platform.ts:349:21
at Map.forEach (<anonymous>)
at UnifiOccupancyPlatform.removeInvalidAccessories (/volume1/homebridge/node_modules/homebridge-unifi-occupancy/src/platform.ts:347:22)
at UnifiOccupancyPlatform.refreshAccessories (/volume1/homebridge/node_modules/homebridge-unifi-occupancy/src/platform.ts:314:10)
at /volume1/homebridge/node_modules/homebridge-unifi-occupancy/src/platform.ts:284:24
at tryCatcher (/volume1/homebridge/node_modules/homebridge-unifi-occupancy/node_modules/bluebird/js/release/util.js:16:23)
The text was updated successfully, but these errors were encountered:
when i check the output from https://<ip>/proxy/network/v2/api/site/default/clients/active, i do see a few of my devices doesn't have full fingerprint object, i.e. missing computed_dev_id field etc.
Describe The Bug:
Every time an device status changes, it will throw this error.
Logs:
The text was updated successfully, but these errors were encountered: