• 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-Gas

Scheduled Pinned Locked Moved Transport
56 Posts 13 Posters 21.1k Views 12 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.
  • M Offline
    Mykle1 Project Sponsor Module Developer @richland007
    last edited by Mykle1 May 30, 2019, 7:39 PM May 30, 2019, 7:39 PM

    @richland007

    This should be your config entry. Have you tried another zip code? See if this one works.

    {
                disabled: false,
                module: "MMM-Gas",
                position: "top center",
                config: {
                    zip: "10306"
                }
            },
    

    Create a working config
    How to add modules

    R 1 Reply Last reply Jun 6, 2019, 4:40 AM Reply Quote 1
    • R Offline
      richland007 @Mykle1
      last edited by Jun 6, 2019, 4:40 AM

      @Mykle1 Nothing solved it but a complete rm -rf and than a reinstall now it works fine
      thank you
      D

      M 1 Reply Last reply Jun 7, 2019, 12:43 AM Reply Quote 0
      • M Offline
        Mykle1 Project Sponsor Module Developer @richland007
        last edited by Jun 7, 2019, 12:43 AM

        @richland007

        :thumbsup:

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • D Offline
          DDE12
          last edited by Jun 13, 2023, 12:36 PM

          How do you change the size of the font in the module?

          S 1 Reply Last reply Jun 13, 2023, 1:09 PM Reply Quote 0
          • S Offline
            sdetweil @DDE12
            last edited by Jun 13, 2023, 1:09 PM

            @DDE12 custom.css, like always

            look to see if it has a css file which would tell u the class names used,

            then use custom.css to override those settings

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            D 1 Reply Last reply Jun 19, 2023, 3:06 AM Reply Quote 0
            • D Offline
              DDE12 @sdetweil
              last edited by Jun 19, 2023, 3:06 AM

              @sdetweil There are two of them: MMM-Gas.css and MMM-Gas1.css. MMM-Gas did not seem to do anything and I was able to make some changes with MMM-Gas1 but not to the font size. Both css files have:

              .MMM-Gas .xxsmall{
              	font-size: 12px;
              

              Changing it has no effect.
              In dev mode, changing

              .xsmall {
                  font-size: var(--font-size-xsmall);
              }
              

              from main.css does change the font size. I assume that this will affect any other module that uses the xsmall font.
              Is there a way through my css to set the font size for this module only?

              S 1 Reply Last reply Jun 19, 2023, 11:34 AM Reply Quote 0
              • S Offline
                sdetweil @DDE12
                last edited by Jun 19, 2023, 11:34 AM

                @DDE12 yes, prefix the class with the module name

                ..modulename .xsmall {
                ...
                }
                

                this is the documented way to use custom.css

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                D 1 Reply Last reply Jun 19, 2023, 5:08 PM Reply Quote 0
                • D Offline
                  DDE12 @sdetweil
                  last edited by Jun 19, 2023, 5:08 PM

                  @sdetweil That fixed it! Thank you! Looking back, I see that the module css has .xxsmall and the font size is determined by .xsmall. My brain glossed over that extra ‘x’. Maybe’s it’s a typo in the css because changing it does not seem to affect anything?

                  S 1 Reply Last reply Jun 19, 2023, 5:25 PM Reply Quote 0
                  • S Offline
                    sdetweil @DDE12
                    last edited by Jun 19, 2023, 5:25 PM

                    @DDE12 sorry, don’t know the module…

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      DDE12
                      last edited by Sep 27, 2024, 12:58 AM

                      I recently noticed that the MMM-Gas module is not showing/working. All of my other modules are working. I removed all the modules except MMM-Gas from config.js and disabled the default modules and am just getting a black screen. There is no Loading or Undefined message. I deleted the module and reinstalled but got the same results. MM is installed on a Raspberry Pi. Please let me know what further info I can provide or steps to take to troubleshoot further. Thank you!

                      S 1 Reply Last reply Sep 27, 2024, 2:57 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 4 / 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