You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting this error with the example from the readme
constBridge=require('zigbee-bridge');constbridge=newBridge('/dev/ttyUSB0');// create a ZigBee serverbridge.on('ready',()=>{console.log('Server is ready.');// allow devices to join the network within 60 secsbridge.permitJoin(60).then(()=>console.log('permit join started.')).catch((err)=>console.log(err));});// start the bridgebridge.start().then(()=>console.log('bridge is now running.')).catch((err)=>console.log(err));
TypeError: "baudrate" is an unknown option, did you mean "baudRate"?
at new SerialPort (/home/zighome/node_modules/serialport/lib/serialport.js:121:11)
at CcZnp.init (/home/zighome/node_modules/zigbee-bridge-znp/lib/ccznp.js:119:73)
at Promise (/home/zighome/node_modules/zigbee-bridge/lib/controller.js:175:27)
at new Promise (<anonymous>)
at Promise.resolve.then (/home/zighome/node_modules/zigbee-bridge/lib/controller.js:166:25)
at process._tickCallback (internal/process/next_tick.js:68:7)
at Function.Module.runMain (internal/modules/cjs/loader.js:757:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
I'm getting this error with the example from the readme
The text was updated successfully, but these errors were encountered: