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

Random Syntax Error #10

Open
ilkevinli opened this issue Feb 9, 2018 · 1 comment
Open

Random Syntax Error #10

ilkevinli opened this issue Feb 9, 2018 · 1 comment

Comments

@ilkevinli
Copy link

Hi,
I have homebridge installed on my pi with the homebridge-homeseer-plugin. Every few days homebridge stops working and I see the below error. Anyone have any ideas what would cause this ? Thanks.

SyntaxError: Unexpected end of input
at Object.parse (native)
at Object. (/usr/local/lib/node_modules/homebridge-homeseer-plugin/index.js:429:35)
at Request._callback (/usr/local/lib/node_modules/homebridge-homeseer-plugin/index.js:251:13)
at Request.self.callback (/usr/local/lib/node_modules/homebridge-homeseer-plugin/node_modules/request/request.js:186:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
at Request. (/usr/local/lib/node_modules/homebridge-homeseer-plugin/node_modules/request/request.js:1163:10)
at emitOne (events.js:77:13)
at Request.emit (events.js:169:7)
at IncomingMessage. (/usr/local/lib/node_modules/homebridge-homes

@jvmahon
Copy link
Contributor

jvmahon commented Feb 20, 2018

Probably a failure accessing data from HomeSeer during status update polling. Is the polling period set to a low time period (say 10 seconds) with many devices? If so, this plugin will poll HomeSeer quite a bit and you might be overwhelming HomeSeer with too many polls (just a guess).

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