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

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    8 Posts 2 Posters 704 Views 2 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.
    • S Offline
      sdetweil @plainbroke
      last edited by

      @plainbroke show the module config please

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      plainbrokeP 1 Reply Last reply Reply Quote 0
      • plainbrokeP Offline
        plainbroke @sdetweil
        last edited by

        @sdetweil

        
        {
                module: "MMM-Fuel",
                position: "middle_center",
                config: {
                        api_key: "my super secret key",
                        provider: "autoblog", //"gasbuddy",
                        lat: "38.82",
                        lng: "-95.68",
                        zip: "66414",
                        types: ["regular", "unl88"],
                        fade: "false",
                        radius: 20,
                        max: 14,
                }
        },
        
        

        Slow learner. But trying anyways.

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @plainbroke
          last edited by

          @plainbroke no quotes around true/false

          the quotes make it a string, which is always true

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          plainbrokeP 1 Reply Last reply Reply Quote 0
          • plainbrokeP Offline
            plainbroke @sdetweil
            last edited by

            @sdetweil
            And you would think I would remember that tip.
            I haven’t added anything new to my mirror in a very long time.
            It just does its thing. Dumbass Cats is not showing up again it just says MEOW. But that is for another day. I am looking for the fix you gave me sometime ago to see it that is the problem again.

            Slow learner. But trying anyways.

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @plainbroke
              last edited by

              @plainbroke I give out hundreds of fixes for all kinds of problems.

              tell me more

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              plainbrokeP 1 Reply Last reply Reply Quote 0
              • plainbrokeP Offline
                plainbroke @sdetweil
                last edited by plainbroke

                @sdetweil
                Found it
                MMM-DumbAssCatFacts.js
                change line 100,

                from

                    this.facts = data.body.all;
                

                to this

                    this.facts = data.body;
                

                Sam

                Slow learner. But trying anyways.

                S 1 Reply Last reply Reply Quote 1
                • S Offline
                  sdetweil @plainbroke
                  last edited by

                  @plainbroke awesome!!

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  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