Read the statement by Michael Teeuw here.
MMM-uber and MMM-lyft
-
@shashank That means that no uber pool is available in your area. This is an error case that I haven’t dealt with explicitly.
To confirm this is the error, you need to look at the console log. You’ll see the ProcessUber returns ‘Time’ and then an object. Go through the object and look for pool as a ride type. It should look like this:
You can also try to order an uber pool on your phone to confirm that one is not available.
-
@kal
ok, Thank you , let me check -
@kal hi, i tried changing the location even then POOL not working, i mobile same location POOL is working
-
@shashank can you post the log from your console? I want to help you resolve this issue but I need more information.
Anything related to uber in your log should be posted. Please post in detail the things that you have tried. Any config file changes, etc.
Just saying that it’s not working does not help me help you
-
@kal hi, Earlier i had issues using POOL, mention ride_type: ‘uberPOOL’ , now working fine
-
@shashank that’s weird…the API calls out ‘POOL’. Do you mind if I ask what country you are in?
-
@kal Singapore
-
@kal Thank you very much for creating these modules! For some reason I am unable to get both the Uber or Lyft module to return any results. The only thing displayed is their respective logos and “Checking for Uber/Lyft status…” messages. It’s been displaying this for hours now. Is there anything special I need to do once I have registered as a developer and gotten the server tokens?
-
@Sarb Can you post your config file and log? It sounds like a REST API failure…
-
@kal Please see my config entries below:
{ module: 'MMM-uber', position: 'top_right', header: 'Uber & Lyft', config: { lat: <>, lng: <>, uberServerToken: '<>', } }, { module: 'MMM-uber', position: 'top_right', config: { lat: <>, lng: <>, uberServerToken: '<>', ride_type: 'uberXL', } }, { module: 'MMM-lyft', position: 'top_right', config: { lat: <>, lng: <>, clientID: '<>', clientSecret: '<>', } },
Sorry for being such a noob but I am not sure where to pull my log file from. I ran a quick search and I read that it is supposed to be in a folder named pm2 in my pi folder but I do not see a folder with that name (even when showing hidden items). I did however notice this in my console window:
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