MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-uber and MMM-lyft

    Scheduled Pinned Locked Moved Transport
    40 Posts 8 Posters 28.5k Views 7 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • kalK Offline
      kal @onetwankyfive
      last edited by

      @onetwankyfive For sure!! Do you mind posting your css? I inherited it from the module I mentioned on my github.

      Also, just so you know, there is a bug in the Lyft module. I’m testing the fix out now and I’ll push an update in the next day or two.

      O 1 Reply Last reply Reply Quote 1
      • S Offline
        shashank @onetwankyfive
        last edited by

        @onetwankyfive
        hi, i am unable to use ride_type: ‘Pool’, always shows uberX

        kalK 1 Reply Last reply Reply Quote 0
        • O Offline
          onetwankyfive @kal
          last edited by

          @kal Its to hacked together to post and it cuts off the module above it without adding a blank space header to your module… I just set top margin to -40px.

          1 Reply Last reply Reply Quote 0
          • kalK Offline
            kal @shashank
            last edited by

            @shashank it’s a typo in the documentation but 'POOL' should work.

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              shashank @kal
              last edited by

              @kal no luck, still Uber X default

              kalK 1 Reply Last reply Reply Quote 0
              • kalK Offline
                kal @shashank
                last edited by kal

                @shashank Can you post the mmm-uber portion of your config file? It’s working for me.

                You may want to delete and re-download the repo in your Modules folder. I’ve pushed some changes since the first post.

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  shashank @kal
                  last edited by

                  @kal hi, I deleted and reloaded the modules, still same issue, below my config

                  {
                  module: ‘MMM-uber’,
                  position: ‘top_left’,
                  header: ‘Uber (DC)’,
                  ride_type: ‘pool’,
                  config: {
                  lat: XX.XXXX, // use your exact pickup loaction
                  lng: XX.XXXX, // use your exact pickup loaction
                  uberServerToken:
                  }
                  },

                  kalK 1 Reply Last reply Reply Quote 0
                  • kalK Offline
                    kal @shashank
                    last edited by kal

                    @shashank like I mentioned, your ride type needs to be capitalized. Use 'POOL' like shown below. Also, the ride_type: needs to be placed into the config portion. You can put it under the uberServerToken.

                    		{
                    			module: 'MMM-uber',
                    			position: 'top_left',
                    			header: 'Uber (DC)',
                    			config: {
                    				lat: XX.XXXX,  // use your exact pickup loaction
                    				lng: XX.XXXX, // use your exact pickup loaction
                    				uberServerToken: 'your_uberServerToken',
                    				ride_type: 'POOL'
                    			}
                    		},
                    
                    S 3 Replies Last reply Reply Quote 0
                    • S Offline
                      shashank @kal
                      last edited by

                      @kal said in MMM-uber and MMM-lyft:

                      ride_type: 'POOL

                      hi, i did the changes now it displays as “POOL in null min”

                      {
                      module: ‘MMM-uber’,
                      position: ‘top_left’,
                      header: ‘Uber (DC)’,
                      config: {
                      lat: xx.xxxx, // use your exact pickup loaction
                      lng: xx.xxxx, // use your exact pickup loaction
                      uberServerToken: ’ ',
                      ride_type: ‘POOL’
                      }
                      }

                      kalK 1 Reply Last reply Reply Quote 0
                      • kalK Offline
                        kal @shashank
                        last edited by

                        @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:
                        0_1499873781733_Screen Shot 2017-07-12 at 11.35.41 AM.png

                        You can also try to order an uber pool on your phone to confirm that one is not available.

                        S 1 Reply Last reply Reply Quote 1
                        • 1
                        • 2
                        • 3
                        • 4
                        • 1 / 4
                        • First post
                          Last post
                        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