max-christian / homebridge-texecom

A plugin for homebridge (https://github.com/nfarina/homebridge) to integrate Texecom Premier Elite zones into HomeKit
MIT License
27 stars 8 forks source link

SIGTERM when connected via USB-com #10

Closed nathsea closed 4 years ago

nathsea commented 4 years ago

Hi I thought i had got this working over IP, but it caused issues with the SmartCom. I am going back to USB-COM to see if i can then have both working. I have connected the USB-COM to COM PORT 3 on the board and changed this to CRESTRON When i then connect i get this in the log and then it restarts etc..

[Texecom] Initializing Texecom platform... [10/2/2019, 4:37:26 PM] [Texecom] Computed SN fBK191r5BNet/7VqBhGrMI2GmMQ= [10/2/2019, 4:37:26 PM] [Texecom] Initializing platform accessory 'Front Door'... [10/2/2019, 4:37:26 PM] TypeError: serialport.parsers.readline is not a function at TexecomPlatform.accessories (/usr/local/lib/node_modules/homebridge-texecom/index.js:112:32) at Server._loadPlatformAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:403:20) at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:341:16) at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:90:36) at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:59:10) at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22) at Module._compile (internal/modules/cjs/loader.js:689:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) at Module.load (internal/modules/cjs/loader.js:599:32) at tryModuleLoad (internal/modules/cjs/loader.js:538:12) at Function.Module._load (internal/modules/cjs/loader.js:530:3) at Function.Module.runMain (internal/modules/cjs/loader.js:742:12) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3) [10/2/2019, 4:37:26 PM] Got SIGTERM, shutting down Homebridge...

Any ideas?