Skip to content

characteristic: Unhandled error thrown #3

Description

@haywirecoder

Nice plug and thank you, great way to bring my Juicebox into HomeKit.
Describe The Bug:

Upon start up, the Plug-in throw multiple Unhandled error for multiple characteristics. This doesn't seem to affect the operations since it able to show additional details in Eve home application.

To Reproduce:

Expected behavior:

Logs:

[19/02/2023, 23:43:16] [homebridge-juicebox] This plugin threw an error from the characteristic 'Volts': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'voltage'). See https://homebridge.io/w/JtMGR for more info.
[19/02/2023, 23:43:16] [homebridge-juicebox] This plugin threw an error from the characteristic 'Amperes': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'amps_current'). See https://homebridge.io/w/JtMGR for more info.
[19/02/2023, 23:43:16] [homebridge-juicebox] This plugin threw an error from the characteristic 'Consumption': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'watt_power'). See https://homebridge.io/w/JtMGR for more info.
[19/02/2023, 23:43:16] [homebridge-juicebox] This plugin threw an error from the characteristic 'Total Consumption': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'wh_energy'). See https://homebridge.io/w/JtMGR for more info.

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

"apiToken": "XXXXX",
"platform": "JuiceBoxHomebridgePlugin",
"_bridge": {
"username": "XXXX",
"port": 49986
}

Screenshots:

Environment:

  • Plugin Version: 1.0
  • Homebridge Version:
    1.6.0
  • Node.js Version:
    18.14.0.
  • NPM Version:
  • Operating System:
    Raspbian

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions