Skip to content

Plugin makes home bridge crash #27

@maxi07

Description

@maxi07

Describe the bug
After installing the latest version, home bridge instantly crashes when loading the plugin.

[HTTP-LIGHTBULB] Initializing HTTP-LIGHTBULB accessory...
[5.1.2025, 11:55:44] TypeError: Cannot read properties of undefined (reading 'onUrl')
    at HTTP_LIGHTBULB.parseCharacteristics (/var/lib/homebridge/node_modules/homebridge-http-lightbulb/index.js:294:50)
    at new HTTP_LIGHTBULB (/var/lib/homebridge/node_modules/homebridge-http-lightbulb/index.js:66:26)
    at /var/lib/homebridge/node_modules/homebridge/src/server.ts:367:50
    at Array.forEach (<anonymous>)
    at Server.loadAccessories (/var/lib/homebridge/node_modules/homebridge/src/server.ts:287:29)
    at Server.start (/var/lib/homebridge/node_modules/homebridge/src/server.ts:167:12)
(node:4191958) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[5.1.2025, 11:55:44] Got SIGTERM, shutting down Homebridge...
[5.1.2025, 11:55:44] AssertionError [ERR_ASSERTION]: Cannot generate setupURI on an accessory that isn't published yet!
    at Bridge.Accessory.setupURI (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1004:11)
    at Server.setServerStatus (/var/lib/homebridge/node_modules/homebridge/src/server.ts:143:45)
    at Server.teardown (/var/lib/homebridge/node_modules/homebridge/src/server.ts:187:10)
    at signalHandler (/var/lib/homebridge/node_modules/homebridge/src/cli.ts:94:12)
    at process.emit (node:events:524:28)
    at process.emit (/var/lib/homebridge/node_modules/homebridge/node_modules/source-map-support/source-map-support.js:516:21)

Version (output of npm list -g homebridge homebridge-http-lightbulb)

  • homebridge: 1.8.5
  • homebridge-http-lightbulb: 1.2.4

Configuration

standard configuration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions