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

    Posts

    Recent Best Controversial
    • RE: MMM-MercedesMe

      @matt216 did you set the vehicleType correctly in config. is the config variable in correct case ?

      switch (config.vehicleType.toLowerCase()) { <--- error on this line.
           case 'diesel':
             vehicleStatus = 'fuelstatus';
         }
      
      posted in Transport
      A
      ashishtank
    • RE: MMM-MercedesMe

      @matt216 Can you check if request package is installed ? you can do so with below command

      npm install request --save
      
      posted in Transport
      A
      ashishtank
    • RE: Display random gif from folder

      @fillilutten You are welcome :)

      posted in Requests
      A
      ashishtank
    • RE: Magic Mirror!

      @tikkisean Really nice !

      posted in Show your Mirror
      A
      ashishtank
    • RE: MMM-MercedesMe

      @rogers0072002 As per logs it looks like you have not added scope or token is not valid can you delete the tokens.json file and try login again ? make sure you have linked right scope (electric or fuel) in the Mercedes app.

      posted in Transport
      A
      ashishtank
    • RE: MMM-MercedesMe

      @andreas-heins looks like you are missing Step 7 from https://github.com/ashishtank/MMM-MercedesMe documentation. Please check, also which version of Magic Mirror are you using ? there are breaking changes in v2.15 in MM core and issue i have not fixed for my module yet.

      posted in Transport
      A
      ashishtank
    • RE: MMM-MercedesMe

      @andreas-heins Is your configuration correct ? if you have already logged in then it will not display login screen and will directly get token. Did you check if tokens.json file is created and updated after authentication ?

      posted in Transport
      A
      ashishtank
    • RE: MMM-MercedesMe

      @pyrophoenix Let me know if changing the scope solves the issue. I will update the documentation accordingly.

      posted in Transport
      A
      ashishtank
    • RE: MMM-MercedesMe

      @pyrophoenix things looks correct, http://localhost:8080/MMM_MercedesMe/callback is important other localhost urls in callback are optional. I have sent you PM what we can do next.

      posted in Transport
      A
      ashishtank
    • RE: MMM-MercedesMe

      @pyrophoenix Can you delete the app in Mercedes dev portal and create new one with correct scope ? also delete tokens.json file and restart the mirror. I think it is some caching issue.

      posted in Transport
      A
      ashishtank
    • 1 / 1