Read the statement by Michael Teeuw here.
MMM-uber and MMM-lyft
-
@Sarb your config looks good, but I want to see your log before I open an issue.
We need to view your JavaScript console. Access the mirror directly or whitelist the IP of another computer to access via a browser. Then, go to https://IP.of.Raspberry.Pi:8080 in Chrome and View>Developer>JavaScript Console.
See this this thread for more info.
-
-
@Sarb Two things:
-
Make sure that your uberServerToken and clientID/clientSecret don’t contain the greater/less than characters in your config (these things:
<>). Those are placeholders. For example, if youruberServerTokenisabc123then the line in your config should readuberServerToken: 'abc123',without those characters. -
If that doesn’t work, can you go into the .js file for uber and un-comment this line. Then post the log. You should be looking for one that says
ERROR...
-
-
-
I can confirm my uberServerToken and clientID/clientSecret don’t contain the greater/less than characters in my config file. I only used those so I wasn’t displaying them. :)
-
Please see screenshot below:

-
-
@Sarb from the docs it looks like you supplied an invalid code. Can you regenerate your token and try again?
Also, what country are you in?
-
@kal Looks like regenerating the uber server token did the trick! Not sure how it could have been invalid the first time since I copy and pasted it. Thank you very much for your help, however I am still seeing the same issue with the Lyft module. I refreshed my Client Secret and copied the new string, but it did not fix anything. I also commented out the same line in the lyft js file. Screenshot below, I do not see any errors. I am located in Southern California if that helps.

-
@Sarb Are you sure you uncommented / that’s all of the Lyft outputs? There should be more.
-
@kal I can confirm that I uncommented line 143 of the MMM-Lyft.js file. Could the issue possibly be tied to the error I sent earlier that I see in my console window? Copying once more so it is easier to find.
Whoops! There was an uncaught exception…
TypeError: Cannot read property ‘statusCode’ of undefined
at Request._callback (/home/pi/MagicMirror/modules/MMM-lyft/node_helper.js:43:97)
at self.callback (/home/pi/MagicMirror/node_modules/request/request.js:188:22)
at emitOne (events.js:96:13)
at Request.emit (events.js:191:7)
at Auth.basic (/home/pi/MagicMirror/node_modules/request/lib/auth.js:24:18)
at Auth.onRequest (/home/pi/MagicMirror/node_modules/request/lib/auth.js:137:23)
at Request.auth (/home/pi/MagicMirror/node_modules/request/request.js:1360:14)
at Request.init (/home/pi/MagicMirror/node_modules/request/request.js:378:10)
at new Request (/home/pi/MagicMirror/node_modules/request/request.js:130:8)
at request (/home/pi/MagicMirror/node_modules/request/index.js:54:10)
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues -
@Sarb you’re encountering an access error and that exception is a symptom, not a cause. My advice would be to regenerate Lyft ID and Secret for your config or perhaps register as a new user and get a new ID.
-
@kal Thank you for all your help. After a bunch of troubleshooting I was finally able to notice that I was using “clientID” instead of “clientId” in my config file. It is working now.
-
@Sarb yea that was a confusing thing for me to do (I’ll consider changing in the next version). In the future make sure to just copy and paste from the GitHub page.
Glad you’re all sorted out!
-
My MMM-uber has been fine for weeks, but just says “uberX in undefined min” for the last couple of days. Anybody else have this issue?
-
@twosquirrels I’m having the same issue as you. An issue with the Uber API perhaps?
-
@jdahli1 I tried deleting my uber api key and generating a brand new key and it didn’t help. I reinstalled my magicmirror from scratch and it didn’t help. The API must have changed.
-
I completely deleted the uber module folder and reinstalled. That fixed it. I could have sworn I tried that, but it worked just now.
-
I now get this bizarre issue where Lyft shows the times in minutes down to 15 decimal places. Anybody else?

-
Hi all. Is this still working?
I installed the module as directed and added the module to config. I moved some stuff around to confirm it was actually affecting the mirror but the Uber module doesn’t appear no matter that I do.
In the past when I had an error the place holder would pop up but It’s loading just fine just not this module (Uber in particular).
-
Right after posting I figured it out. When you download/clone the git it has a -master at the end. In the config the module name is “mmm-uber” and as that wasn’t matching up to the folder in the modules folder (in case anyone else experiences this) it wasn’t coming up.
-
does the Uber and Lyft modules still work?
Thanks
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login

