Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for HAP-NodeJS v1.0.0 #1447

Merged
merged 1 commit into from
Jul 16, 2024
Merged

Fixes for HAP-NodeJS v1.0.0 #1447

merged 1 commit into from
Jul 16, 2024

Conversation

donavanbecker
Copy link
Contributor

@donavanbecker donavanbecker commented Jul 12, 2024

This updated or removes old depreciated code that has now been removed from HAP-NodeJS v1.0.0 which will be included in a future version of Homebridge.

Until this is resolved Users that try to use the current Homebridge beta, they will get the following error:

[7/10/2024, 9:27:49 PM] [Ring] Error connecting to API
[7/10/2024, 9:27:49 PM] [Ring] TypeError: Cannot read properties of undefined (reading 'UUID')
    at Accessory.addService (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:522:37)
    at PlatformAccessory.addService (/usr/local/lib/node_modules/homebridge/src/platformAccessory.ts:93:41)
    at Beam.getService (/usr/local/lib/node_modules/homebridge-ring/lib/base-accessory.js:29:28)
    at Beam.registerCharacteristic (/usr/local/lib/node_modules/homebridge-ring/lib/base-data-accessory.js:10:30)
    at Beam.initBase (/usr/local/lib/node_modules/homebridge-ring/lib/base-device-accessory.js:75:18)
    at /usr/local/lib/node_modules/homebridge-ring/lib/ring-platform.js:247:27
    at Array.forEach (<anonymous>)
    at /usr/local/lib/node_modules/homebridge-ring/lib/ring-platform.js:207:24
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 0)

@dgreif dgreif changed the base branch from main to beta July 16, 2024 14:23
Copy link
Owner

@dgreif dgreif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updates!

@dgreif dgreif merged commit 9400513 into dgreif:beta Jul 16, 2024
2 checks passed
@donavanbecker donavanbecker deleted the hap-nodejsv1 branch July 16, 2024 17:03
@tsightler tsightler mentioned this pull request Jul 21, 2024
dgreif pushed a commit that referenced this pull request Jul 22, 2024
dgreif pushed a commit that referenced this pull request Aug 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants