• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 812 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 Apr 6, 2022, 2:30 AM

    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 Apr 6, 2022, 9:17 AM Reply Quote 0
    • C Offline
      CanbiZ @Rex Flymo
      last edited by Apr 6, 2022, 9:17 AM

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

      MMM-Fuel

      you have an comma after radius. That crash.

      R 1 Reply Last reply Apr 6, 2022, 11:35 AM Reply Quote 0
      • R Offline
        Rex Flymo @CanbiZ
        last edited by Apr 6, 2022, 11:35 AM

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

        S 1 Reply Last reply Apr 7, 2022, 6:11 AM Reply Quote 0
        • S Offline
          strawberry 3.141 Project Sponsor Module Developer @Rex Flymo
          last edited by Apr 7, 2022, 6:11 AM

          @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
          1 / 1
          • First post
            2/4
            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