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-MercedesMe

    Scheduled Pinned Locked Moved Transport
    52 Posts 9 Posters 23.5k Views 8 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.
    • A Offline
      ashishtank Module Developer @matt216
      last edited by

      @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';
         }
      
      M 1 Reply Last reply Reply Quote 0
      • M Offline
        matt216 @ashishtank
        last edited by matt216

        @ashishtank my vehicle is electric, so I didn’t include that in the config as it’s the default.
        I just tried adding

        vehicleType: 'Electric'
        

        but nothing changed.

        Any advice on logs I can check? I feel a bit unhelpful here… :)

        Matt

        1 Reply Last reply Reply Quote 0
        • 1
        • 2
        • 3
        • 4
        • 5
        • 6
        • 6 / 6
        • 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