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
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:
1.6.0
18.14.0.
Raspbian