ioBroker.yahka
ioBroker.yahka copied to clipboard
Uncaught Exception
While messing with my car integration into iobroker, i suddenly got this exception in the logs:
TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined at Hash.update (internal/crypto/hash.js:84:11) at Accessory.publish (/opt/iobroker/node_modules/hap-nodejs/src/lib/Accessory.ts:1137:10) at /opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.homekit-bridge.ts:50:35 at /opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.homekit-bridge.ts:73:41 at Array.forEach (<anonymous>) at THomeKitBridge../yahka.homekit-bridge.ts.THomeKitBridge.init (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.homekit-bridge.ts:73:26) at new THomeKitBridge (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.homekit-bridge.ts:20:14) at TIOBrokerAdapter../yahka.ioBroker-adapter.ts.TIOBrokerAdapter.createHomeKitBridges (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.ioBroker-adapter.ts:82:27) at TIOBrokerAdapter../yahka.ioBroker-adapter.ts.TIOBrokerAdapter.adapterReady (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.ioBroker-adapter.ts:56:14) at Adapter.emit (events.js:375:28)
I reverted my last changes, but the exception persists - any help on how to overcome would be appreciated
Seems to happen as soon as i set multiple devices to be "Publish as own device".
if i deactivate the above setting, the exception vanished from the log
I guess the fields which are necessary for publishing the device are empty (like Username)