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

plugin crashes homebridge #48

Closed
markrolfo opened this issue Jun 1, 2021 · 2 comments
Closed

plugin crashes homebridge #48

markrolfo opened this issue Jun 1, 2021 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@markrolfo
Copy link

markrolfo commented Jun 1, 2021

see below error

TypeError: $ is not a function
at Request.optionalCallback [as _callback] (/usr/local/lib/node_modules/homebridge-gogogate2/gogogateAPI.js:161:15)
at Request.self.callback (/usr/local/lib/node_modules/homebridge-gogogate2/node_modules/request/request.js:185:22)
at Request.emit (events.js:376:20)
at Request. (/usr/local/lib/node_modules/homebridge-gogogate2/node_modules/request/request.js:1154:10)
at Request.emit (events.js:376:20)
at IncomingMessage. (/usr/local/lib/node_modules/homebridge-gogogate2/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:482:28)
at IncomingMessage.emit (events.js:388:22)
at endReadableNT (internal/streams/readable.js:1336:12)
at processTicksAndRejections (internal/process/task_queues.js:82:21)

below is the config

{
"name": "garage",
"gogogateIP": "192.168.1.66",
"username": "",
"password": "",
"refreshTimer": 0,
"maxWaitTimeForOperation": 30,
"refreshTimerDuringOperation": 10,
"platform": "GogoGate2"
}

@nicoduj
Copy link
Owner

nicoduj commented Jun 1, 2021

hi, will take a look strange since mine is pretty stable. Did you make any change ?

I have edited your post to remove login / password by the way ...

@markrolfo
Copy link
Author

Yeah no changes, running on OSX.

Rest works a treat

@nicoduj nicoduj self-assigned this Jun 3, 2021
@nicoduj nicoduj added the bug Something isn't working label Jun 3, 2021
@nicoduj nicoduj added this to the 1.1.5 milestone Jun 3, 2021
@nicoduj nicoduj closed this as completed Jun 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants