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

      @pyrophoenix did you followed the step 3 correctly ? did you linked fuel status scope with app ? as shown in image below you should see
      Fuel Status BYOCAR

      12999928-2260-4d66-98d6-d9334b7d61d8-image.png

      posted in Transport
      A
      ashishtank
    • RE: MMM-MercedesMe

      @pyrophoenix Hi Looks like you found the issue for me :) the vehicle type right now i am checking is only Electric (default) and Diesel. I will improve the code to check for petrol as well but you can have a work around and can configure your vehicle type as 'diesel' and it will work as api is same for diesel and petrol !

      getVehicleDataUrl: function (config) {
      ......
        var vehicleStatus = 'electricvehicle';
        switch (config.vehicleType.toLowerCase()) {
          case 'diesel': <-----------------------------------------------------------------------------
            vehicleStatus = 'fuelstatus'; 
      ......
      

      About my sample client id and secret in guide they are fine as I do not have a Car :D and also that account and app are throw away account with out any real car linked to it.

      Let me know if changing the config to diesel and restarting mirror solves the issue.

      posted in Transport
      A
      ashishtank
    • RE: MMM-MercedesMe

      @pyrophoenix can you delete the tokens.json file in MercedesMe directory and then restart the mirror ? it should show you login button and then you should be able to login and get token. after that check if tokens.json file is created or not…

      posted in Transport
      A
      ashishtank
    • RE: MMM-MercedesMe

      @pyrophoenix can you please restart the mirror and check if it works ? did you login to get the token ?

      posted in Transport
      A
      ashishtank
    • RE: MM in docker container

      @blackeaglece You want to install MM in your own docker container ? or want to use MM as docker container ? there are already many MM docker container in docker registry. search this forum with docker and you will get help.

      posted in Upcoming Features
      A
      ashishtank
    • RE: Can't get module background to change

      @memphismark :beaming_face_with_smiling_eyes:

      posted in Custom CSS
      A
      ashishtank
    • RE: Can't get module background to change

      @memphismark said in Can't get module background to change:

      background.color: rgb(255, 255, 255);

      it should be as below, notice the - (dash) instead of . (dot)

      background-color : rgb(255, 255, 255);
      
      posted in Custom CSS
      A
      ashishtank
    • RE: MMM-Globe

      @foxy25 you are welcome :)

      posted in Entertainment
      A
      ashishtank
    • RE: MMM-Globe

      @foxy25 to make globe transparent there are two changes required.

      • Module div’s background color
      • Globe canvas itself have black color as background.

      First one can be easily doable with css but to make globe transparent you will need to change the code as well. Do below to make globe transperent.

      • In custom.css add below css
      .globe
      {
      	background-color: unset;
      }
      
      • in modules\MMM-Globe\encom-globe.js file find below line and change it to.

      from

      this.renderer = new THREE.WebGLRenderer( { antialias: true } );
      

      to

      this.renderer = new THREE.WebGLRenderer( { antialias: true, alpha: true } );
      

      below is output

      Before

      dde6476f-f02b-48b9-aa2c-f60c4bead58a-image.png

      After
      0214ddbf-09fe-4ba8-9528-ea96ed28ea7c-image.png

      Let me know how/if it works for you.

      posted in Entertainment
      A
      ashishtank
    • RE: MMM-MercedesMe

      @kar1507 Good to know that issues is solved, may be it was temporary issue from Mercedes Api, they have some downtime every now and then. Also I noticed that you have not included offline_access scope in config ? if you do not include that then refresh token will not be generated and thus you will need to re login again and again once the access token is expirers.

      posted in Transport
      A
      ashishtank
    • 1
    • 2
    • 3
    • 4
    • 5
    • 14
    • 15
    • 2 / 15