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-Fuel only showing "undefined"

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    4 Posts 3 Posters 860 Views 3 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.
    • R Offline
      Rex Flymo
      last edited by

      I am new to Magic Mirror but have manged to successfully implement several modules but am having trouble with MMM-Fuel.

      I don’t know what I am doing wrong but all that shows up is undefined in the region where I set it to display.

      My config for the module is as follows.

                  {
                      module: "MMM-Fuel",
                      position: "bottom_center",
                      config: {
                          api_key: "API Key from API.NSW",
                          provider: "nsw",
                          secret: "API secret from API.NSW",
                          open: false,
                          showOpenOnly: false,
                          lat: -34.5794939,
                          lng: 150.852613,
                          types: ["e5"],
                          sortBy: ["e5"],
                          radius: 5,
                              }
                  },
      
      C 1 Reply Last reply Reply Quote 0
      • C Offline
        CanbiZ @Rex Flymo
        last edited by

        @Rex-Flymo said in MMM-Fuel only showing "undefined":

        MMM-Fuel

        you have an comma after radius. That crash.

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          Rex Flymo @CanbiZ
          last edited by

          @CanbiZ The comma makes no difference. Same result with or without it.

          strawberry 3.141S 1 Reply Last reply Reply Quote 0
          • strawberry 3.141S Offline
            strawberry 3.141 Project Sponsor Module Developer @Rex Flymo
            last edited by

            @Rex-Flymo I replied in the Github issue https://github.com/fewieden/MMM-Fuel/issues/85

            Please create a github issue if you need help, so I can keep track

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • 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