Closed keokoa closed 3 years ago
I will need more information. Can you post a full debug log? What bed/base combo do you have?
So how do I fix this?
I need a debug log, that is a standard log. I need to see the contents of the API calls so I can figure out why your bed is not providing the isInBed field.
How do I get the debug log on a Hoobs in a box?
I have not used hoobs, I am not sure. I know in Homebridge UI there is a toggle for it in settings.
Error: listen EADDRINUSE: address already in use :::80 at Server.setupListenHandle [as _listen2] (net.js:1313:16) at listenInCluster (net.js:1361:12) at Server.listen (net.js:1447:7) at Function.serverListen [as listen] (/usr/local/lib/node_modules/@hoobs/hoobs/node_modules/express-ws/lib/index.js:42:40) at API.start (/usr/local/lib/node_modules/@hoobs/hoobs/server/api.js:191:17) at module.exports (/usr/local/lib/node_modules/@hoobs/hoobs/server/cli.js:172:21) { code: 'EADDRINUSE', errno: 'EADDRINUSE', syscall: 'listen', address: '::', port: 80 } [HOOBS] Stopping server. root@hoobs:/root/.hoobs/etc#
Make sure you stop your first instance, or select a different port. Something is already running on port 80 so you can't run a second thing on the same port.
root@hoobs:/root/.hoobs/etc# hoobs -d Error: listen EADDRINUSE: address already in use :::8080 at Server.setupListenHandle [as _listen2] (net.js:1313:16) at listenInCluster (net.js:1361:12) at Server.listen (net.js:1447:7) at Function.serverListen [as listen] (/usr/local/lib/node_modules/@hoobs/hoobs/node_modules/express-ws/lib/index.js:42:40) at API.start (/usr/local/lib/node_modules/@hoobs/hoobs/server/api.js:191:17) at module.exports (/usr/local/lib/node_modules/@hoobs/hoobs/server/cli.js:172:21) { code: 'EADDRINUSE', errno: 'EADDRINUSE', syscall: 'listen', address: '::', port: 8080 } /usr/local/lib/node_modules/@hoobs/hoobs/bin/hoobs bridge -u /root/.hoobs/etc -p /root/.hoobs/node_modules -r -d [HOOBS] Stopping server. root@hoobs:/root/.hoobs/etc#
I changed the port and this what I get
I don't know how else to get the information you asking for
You will need to reach out to the HOOBS developers for support. I have not used it so I can't do much to help. Once you get the debug logs I can continue assisting.
(node:1705) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'isInBed' of null
anybody know how to fix this?