• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
  1. Home
  2. Sarb
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
S
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 0
  • Posts 7
  • Groups 0

Sarb

@Sarb

0
Reputation
504
Profile views
7
Posts
0
Followers
0
Following
Joined Sep 14, 2017, 8:24 PM
Last Online Feb 10, 2025, 3:11 PM

Sarb Unfollow Follow

Latest posts made by Sarb

  • RE: MMM-uber and MMM-lyft

    @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.

    posted in Transport
    S
    Sarb
    Sep 18, 2017, 10:57 PM
  • RE: MMM-uber and MMM-lyft

    @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

    posted in Transport
    S
    Sarb
    Sep 18, 2017, 3:30 PM
  • RE: MMM-uber and MMM-lyft

    @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.

    0_1505510716321_c89bdd4a-0447-40a1-8688-6d3423fe162a-image.png

    posted in Transport
    S
    Sarb
    Sep 15, 2017, 9:26 PM
  • RE: MMM-uber and MMM-lyft

    @kal

    1. 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. :)

    2. Please see screenshot below:

    0_1505506834022_1fdf1851-ad6d-481d-be7b-d127a5e2838f-image.png

    posted in Transport
    S
    Sarb
    Sep 15, 2017, 8:20 PM
  • RE: MMM-uber and MMM-lyft

    @kal Please see below:

    Filtering for Uber
    0_1505504659650_72d7325e-139c-4e90-809c-0a7a53b05826-image.png

    Filtering for Lyft
    0_1505504708574_82cb4f71-5093-4f50-a2ec-9852d8c1e0af-image.png

    posted in Transport
    S
    Sarb
    Sep 15, 2017, 7:45 PM
  • RE: MMM-uber and MMM-lyft

    @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

    posted in Transport
    S
    Sarb
    Sep 15, 2017, 5:46 PM
  • RE: MMM-uber and MMM-lyft

    @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?

    posted in Transport
    S
    Sarb
    Sep 14, 2017, 8:30 PM
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy