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

Problem with AirMega Plugin: Continuous Syntax Errors #9

Open
elevenI9 opened this issue May 2, 2019 · 2 comments
Open

Problem with AirMega Plugin: Continuous Syntax Errors #9

elevenI9 opened this issue May 2, 2019 · 2 comments
Labels
info needed More information is needed

Comments

@elevenI9
Copy link

elevenI9 commented May 2, 2019

I've attempted to install the AirMega Homebridge plug-in maybe 15 times at this point over the course of two days; even going so far as to once re-install the entire Raspberry Pi OS I have it running on just to tidy it up in hopes it would then work.... but no luck.

I keep running into this when HomeBridge attempts to load the plugin:

[TAILING] Tailing last 15 lines for [homebridge] process (change the value with --lines option)

/home/pi/.pm2/logs/homebridge-error.log last 15 lines:

0|homebrid | SyntaxError: Invalid regular expression: /(?<=state=)(.*?)$/: Invalid group

0|homebrid | at Authenticator. (/usr/local/lib/node_modules/homebridge-airmega/dist/lib/Authenticator.js:55:25)

0|homebrid | at Generator.next ()

0|homebrid | at fulfilled (/usr/local/lib/node_modules/homebridge-airmega/dist/lib/Authenticator.js:4:58)

0|homebrid | at

Does anyone have an idea how I can correct this? Would be much much appreciated, at my wit's end here

@aschzero
Copy link
Owner

Are you still receiving this error? If so, please enable debug logging by adding "debug": true to your JSON config and paste the output here. That will help provide more information to see what is going on. Thanks!

@aschzero aschzero added the info needed More information is needed label Jun 22, 2019
@bird99
Copy link

bird99 commented Nov 4, 2019

I saw a similar error also. I can reproduce it every time I start up homebridge. I had two guesses, the first was my account was using an email instead of an account number. I changed that but still no luck (same error).

The other thought I have my account has two AirMega devices associated with it (400s and 300s), maybe that's throwing off the parsing. Let me know what I can do to help provide more information.

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

No branches or pull requests

3 participants