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

Adapter is not working anymore #9

Open
maximilianfh opened this issue May 2, 2019 · 5 comments
Open

Adapter is not working anymore #9

maximilianfh opened this issue May 2, 2019 · 5 comments

Comments

@maximilianfh
Copy link

This is the Adapter-Log:

mieleathome.0 2019-05-02 09:39:12.216 info terminating
mieleathome.0 2019-05-02 09:39:12.215 info cleaned everything up...
mieleathome.0 2019-05-02 09:39:12.215 error at emitNone (events.js:111:20)
mieleathome.0 2019-05-02 09:39:12.215 error at Object.onceWrapper (events.js:313:30)
mieleathome.0 2019-05-02 09:39:12.215 error at IncomingMessage. (/opt/iobroker/node_modules/request/request.js:1083:12)
mieleathome.0 2019-05-02 09:39:12.215 error at Request.emit (events.js:211:7)
mieleathome.0 2019-05-02 09:39:12.215 error at emitOne (events.js:116:13)
mieleathome.0 2019-05-02 09:39:12.215 error at Request. (/opt/iobroker/node_modules/request/request.js:1161:10)
mieleathome.0 2019-05-02 09:39:12.215 error at Request.emit (events.js:214:7)
mieleathome.0 2019-05-02 09:39:12.215 error at emitTwo (events.js:126:13)
mieleathome.0 2019-05-02 09:39:12.215 error at Request.self.callback (/opt/iobroker/node_modules/request/request.js:185:22)
mieleathome.0 2019-05-02 09:39:12.215 error at Request._callback (/opt/iobroker/node_modules/iobroker.mieleathome/utils/mieleathome.js:229:22)
mieleathome.0 2019-05-02 09:39:12.215 error TypeError: this.NRefreshToken is not a function
mieleathome.0 2019-05-02 09:39:12.215 error uncaught exception: this.NRefreshToken is not a function
mieleathome.0 2019-05-02 09:39:04.140 info Authorization.Refresh_Token:XXXXX
mieleathome.0 2019-05-02 09:39:04.139 info Authorization.Access_Token:XXXXX
mieleathome.0 2019-05-02 09:39:04.066 info config Miele_account: XXXXX
mieleathome.0 2019-05-02 09:39:04.066 info config Client_secret: XXXXX
mieleathome.0 2019-05-02 09:39:04.066 info config Client_ID: XXXXX
mieleathome.0 2019-05-02 09:39:04.064 info starting. Version 0.0.4 in /opt/iobroker/node_modules/iobroker.mieleathome, node: v8.15.0
@tordyrob
Copy link

tordyrob commented May 8, 2019

As you've seen in my comment (ioBroker/AdapterRequests#136) if have the same log. If you need any input, pls let me know.

@tordyrob
Copy link

tordyrob commented May 8, 2019

New information about the issue. I revewed/changed my password at the MyMiele Account page. the I put the new PW athe Miele adapter config page and now it runs. I'm still waiting von device data, but the adapter doen's raise an error msg anymore. So the advise to all other would be "change your PW @MyMiele, then it should work. It seems to me that Miele has reset my old PW without any need or just by accident.
@contributers: I have a wish that you change the code in that way that users can see the wrong configuration. I haven't the environment yet to do this by myself. Sorry but if I involve myself more with iobroker smarthome stuff, I will setup one for sure.
Thank you all for the great work till know: It's awesome what you have done 👍

@tordyrob
Copy link

tordyrob commented May 8, 2019

Hmm! After a while (>2 hours) the known issue has startet again and after reboot, I have the situation as maximilianfh posted again. So sorry is not fixed with a new password from Miele.

@burghardp
Copy link

I have the same bahaviour with the adapter. Once set up, it works for a while, but then it stopped working with the same error messages.

mieleathome.0 (2630) TypeError: this.NRefreshToken is not a function
at Request._callback (/opt/iobroker/node_modules/iobroker.mieleathome/utils/mieleathome.js:229:22)
at Request.self.callback (/opt/iobroker/node_modules/request/request.js:186:22)
at Request.emit (events.js:198:13)
at Request. (/opt/iobroker/node_modules/request/request.js:1163:10)
at Request.emit (events.js:198:13)
at IncomingMessage. (/opt/iobroker/node_modules/request/request.js:1085:12)
at Object.onceWrapper (events.js:286:20)
at IncomingMessage.emit (events.js:203:15)
at endReadableNT (_stream_readable.js:1143:12)
at process._tickCallback (internal/process/next_tick.js:63:19)

@Wyphorn
Copy link

Wyphorn commented Jun 27, 2022

Please check out my PR #36
That should fix the refreshToken bug

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

4 participants