Skip to content

Exception when turning on "Add Node" #18

@mikest

Description

@mikest

I get the following exception making references to a double callback when I toggle the "Add Node" switch. I've generally found that adding nodes takes dozens of tries and resets before it sticks. If there are things I can do to help debug please let me know.

    at callback (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/once.ts:6:13)
    at callback (/usr/lib/node_modules/homebridge-openzwave/src/Support/exactlyOnce.ts:23:11)
    at ValueCoordinator.sendZwaveValueToHomeKit (/usr/lib/node_modules/homebridge-openzwave/src/Values/ValueCoordinator.ts:119:4)
    at SafeSubscriber._next (/usr/lib/node_modules/homebridge-openzwave/src/Values/ValueCoordinator.ts:94:11)
    at SafeSubscriber.__tryOrUnsub (/usr/lib/node_modules/homebridge-openzwave/node_modules/rxjs/src/internal/Subscriber.ts:265:10)
    at SafeSubscriber.next (/usr/lib/node_modules/homebridge-openzwave/node_modules/rxjs/src/internal/Subscriber.ts:207:14)
    at Subscriber._next (/usr/lib/node_modules/homebridge-openzwave/node_modules/rxjs/src/internal/Subscriber.ts:139:22)
    at Subscriber.next (/usr/lib/node_modules/homebridge-openzwave/node_modules/rxjs/src/internal/Subscriber.ts:99:12)
    at ThrowIfEmptySubscriber._next (/usr/lib/node_modules/homebridge-openzwave/node_modules/rxjs/src/internal/operators/throwIfEmpty.ts:61:22)
    at ThrowIfEmptySubscriber.Subscriber.next (/usr/lib/node_modules/homebridge-openzwave/node_modules/rxjs/src/internal/Subscriber.ts:99:12)```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions