Yes. And I’ve copy/pasted from config.js to the login form on the web site to make sure that there’s no typo in config.js.
Read the statement by Michael Teeuw here.
Posts
-
RE: Need help with MMM-BMWConnect
-
RE: Need help with MMM-BMWConnect
@sdetweil said in Need help with MMM-BMWConnect:
console.log(“token data =”+JSON.stringify(json))
[2020-05-09 16:47:59.840] [LOG] token data ={"https://www.bmw-connecteddrive.com/app/default/static/external-dispatch.html?error":"access_denied"}
I do have active subscriptions for Remote Services and BMW Connected+. I’m able to interact with cardata through the app on my phone (just in case there was a question as to whether or not I should be able to use the module.)
I really appreciate your taking time to help me with this.
-
RE: Need help with MMM-BMWConnect
Yes.
pi@raspberrypi:~/MagicMirror/modules/MMM-BMWConnected $ npm install added 3 packages from 7 contributors and audited 3 packages in 2.069s found 0 vulnerabilities
-
Need help with MMM-BMWConnect
I’m getting this error message upon starting MagicMirror:
Failed to read file: Error: ENOENT: no such file or directory, open 'modules/MMM-BMWConnected/bmwtoken.json' Failed to read token:Couldn't find token in response
I understand that the module is failing to create the token. Looking through the code, I see a reference to the “co.uk” site, as well as locale of “GB-en”. So I tried adding:
apiBase: "www.bmw-connecteddrive.com"
to config.js–still get the error. I wiped the module and pulled a fresh copy from github. I’ve validated my username/password by directly logging into the the US-based connecteddrive site.
Anyone have a suggestion on how to fix this error?