Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: "list" argument must be an Array of Buffers #60

Open
Rafaelbf84 opened this issue Nov 7, 2019 · 2 comments
Open

TypeError: "list" argument must be an Array of Buffers #60

Rafaelbf84 opened this issue Nov 7, 2019 · 2 comments

Comments

@Rafaelbf84
Copy link

[11/7/2019, 11:15:14 PM] [Pi GPIO (WiringPi)] Loading cached GPIO pins complete
[11/7/2019, 11:15:14 PM] Homebridge is running on port 51826.
[11/7/2019, 11:16:01 PM] TypeError: "list" argument must be an Array of Buffers
at Function.Buffer.concat (buffer.js:314:13)
at Object.encode (/opt/node/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/tlv.js:26:35)
at Object.encode (/opt/node/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/tlv.js:51:39)
at Object.encode (/opt/node/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/tlv.js:51:39)
at HAPServer._handlePairStepFive (/opt/node/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:459:21)
at HAPServer._handlePairStepFour (/opt/node/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:439:8)
at HAPServer._handlePairStepThree (/opt/node/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:413:8)
at HAPServer._handlePair (/opt/node/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:315:10)
at HAPServer. (/opt/node/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:209:39)
at emitNone (events.js:86:13)
[11/7/2019, 11:16:01 PM] Got SIGTERM, shutting down Homebridge...

@Rafaelbf84
Copy link
Author

When I try to add a new accessory.

@Error-freeIT
Copy link

I ran into the same issue while setting up Homebrdige on a Raspberry Pi 2 (ARMv6 processor). I needed to update from Node.js v6.17.0 to v8.11.3 by following these steps.

tar -xvf node-v8.11.3-linux-armv6l.tar.xz
cd node-v8.11.3-linux-armv6l
sudo cp -R * /usr/local/``

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants