MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    UNSOLVED MMM-Fuel only showing "undefined"

    Troubleshooting
    3
    4
    117
    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
      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
        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
          Rex Flymo @CanbiZ last edited by

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

          strawberry 3.141 1 Reply Last reply Reply Quote 0
          • strawberry 3.141
            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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy