• 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 Still Working?

Scheduled Pinned Locked Moved Unsolved Troubleshooting
18 Posts 6 Posters 3.2k Views 5 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
    sifuhall @sifuhall
    last edited by Feb 23, 2022, 10:42 PM

    @sifuhall

    Just an FYI this is the output of my npm start dev

    
    > magicmirror@2.18.0 start
    > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js "dev"
    
    [23.02.2022 17:38.54.232] [LOG]   Starting MagicMirror: v2.18.0
    [23.02.2022 17:38.54.235] [LOG]   Loading config ...
    [23.02.2022 17:38.54.973] [LOG]   Starting node_helper for module [MMM-MyScoreboard]
    [23.02.2022 17:38.55.215] [LOG]   Starting node helper: MMM-json
    [23.02.2022 17:38.55.216] [LOG]   Started node_helper.js for MMM-DailyBibleVerse.
    [23.02.2022 17:38.58.075] [INFO]  [MMM-DynamicWeather] Getting Holiday data
    [23.02.2022 17:38.58.101] [INFO]  [MMM-DynamicWeather] Getting Weather API data
    [23.02.2022 17:38.58.284] [LOG]   Notification: MMM_JSON_REQUEST Payload: {
      config: {
        url: 'http://192.168.1.50:8079',
        refreshInterval: 300000,
        styleRules: [],
        values: [ [Object], [Object], [Object], [Object], [Object] ]
      },
      identifier: 'module_7_MMM-json'
    }
    [23.02.2022 17:38.58.295] [LOG]   MMM-DailyBibleVerse node helper received a socket notification: START - Payload: NIV
    [23.02.2022 17:38.58.602] [DEBUG] Response {
      size: 0,
      [Symbol(Body internals)]: {
        body: PassThrough {
          _readableState: [ReadableState],
          _events: [Object: null prototype],
          _eventsCount: 5,
          _maxListeners: undefined,
          _writableState: [WritableState],
          allowHalfOpen: true,
          [Symbol(kCapture)]: false,
          [Symbol(kCallback)]: null
        },
        stream: PassThrough {
          _readableState: [ReadableState],
          _events: [Object: null prototype],
          _eventsCount: 5,
          _maxListeners: undefined,
          _writableState: [WritableState],
          allowHalfOpen: true,
          [Symbol(kCapture)]: false,
          [Symbol(kCallback)]: null
        },
        boundary: null,
        disturbed: false,
        error: null
      },
      [Symbol(Response internals)]: {
        type: 'default',
        url: 'http://192.168.1.50:8079/',
        status: 200,
        statusText: 'OK',
        headers: {
          connection: 'close',
          'content-type': 'text/html; charset=UTF-8',
          date: 'Wed, 23 Feb 2022 22:38:58 GMT',
          server: 'nginx',
          'transfer-encoding': 'chunked'
        },
        counter: 0,
        highWaterMark: 16384
      }
    }
    [23.02.2022 17:38.58.778] [INFO]  [MMM-DynamicWeather] Received successful Weather API data
    [23.02.2022 17:38.59.204] [INFO]  [MMM-DynamicWeather] Received successful Holiday data
    [23.02.2022 17:38.59.254] [LOG]   {"votd":{"text":"“Do not those who plot evil go astray? But those who plan what is good find love and faithfulness.”","content":"Do not those who plot evil go astray? But those who plan what is good find love and faithfulness.","display_ref":"Proverbs 14:22","reference":"Proverbs 14:22","permalink":"https:\/\/www.biblegateway.com\/passage\/?search=Proverbs%2014:22&version=NIV","copyright":" ","copyrightlink":"https:\/\/www.biblegateway.com\/versions\/index.php?action=getVersionInfo&vid=31&lang=2","audiolink":"https:\/\/www.biblegateway.com\/audio\/mclean\/niv\/Prov.14.22","day":"23","month":"02","year":"2022","version":"New International Version","version_id":"NIV","merchandising":""}}
    
    
    1 Reply Last reply Reply Quote 0
    • K Offline
      karsten13 @sifuhall
      last edited by karsten13 Feb 23, 2022, 11:26 PM Feb 23, 2022, 11:23 PM

      @sifuhall

      try items: 10,

      1 Reply Last reply Reply Quote 0
      • C Offline
        cowboysdude Module Developer @sifuhall
        last edited by Feb 24, 2022, 12:31 AM

        @sifuhall said in MMM-Gas Still Working?:

        mid-grade

        I can come up with possibly 2 problems…

        Either npm install wasn’t run in the MMM-Gas module directory OR
        if you copied the example config from github quotes do not copy correctly.
        So go in and wherever there is a quote ’ or " delete them and from your own keyboard redo them ’ or "…

        Let me know.

        S 1 Reply Last reply Feb 24, 2022, 1:24 AM Reply Quote 1
        • M Offline
          Mykle1 Project Sponsor Module Developer @sifuhall
          last edited by Mykle1 Feb 24, 2022, 12:38 AM Feb 24, 2022, 12:36 AM

          @sifuhall said in MMM-Gas Still Working?:

          Could you try for zipcode 40391 and see if that works for you? Maybe there are just no results?

          I tested your zip code and the typeGas options. Everything seems to work fine. I’m sure cowboysdude will get you sorted

          I see he a;ready left some suggestions. Follow those and see what you get

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • S Away
            sdetweil @cowboysdude
            last edited by Feb 24, 2022, 1:24 AM

            @cowboysdude but the quotes would be a mm config.js syntax error. so that’s not it

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Offline
              strawberry 3.141 Project Sponsor Module Developer
              last edited by Feb 24, 2022, 5:53 AM

              @sifuhall I just tried it with your config and it didn’t show up either.

              I then noticed that the repository is called MMM-GAS, but the files and config are MMM-Gas. After renaming the directory of the module to MMM-Gas it was working fine.

              If you followed the git clone command in the read me file it already has the correct directory name, but if you know how to clone a repo or copied the git clone command provided by Github itself then you probably have the same issue.

              e06774c3-0b19-457d-8086-e8c3ea86439f-image.png

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

              S C 2 Replies Last reply Feb 24, 2022, 8:40 AM Reply Quote 2
              • S Offline
                sifuhall @strawberry 3.141
                last edited by Feb 24, 2022, 8:40 AM

                @strawberry-3-141

                That fixed it! Thank you!

                I copied and pasted the clone command from Github and had no idea why it would not work.

                Thanks again!

                C 1 Reply Last reply Feb 24, 2022, 11:15 AM Reply Quote 0
                • C Offline
                  cowboysdude Module Developer @strawberry 3.141
                  last edited by Feb 24, 2022, 11:14 AM

                  @strawberry-3-141 Thank you!!! I have fixed that issue on Github!!!

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    cowboysdude Module Developer @sifuhall
                    last edited by Feb 24, 2022, 11:15 AM

                    @sifuhall I wouldn’t have found that because I ran it on my dev machine which is windows which doesn’t care about case… linux, raspberry pi does!!

                    Glad it’s working!! Sorry about the mix up…

                    S M 2 Replies Last reply Feb 24, 2022, 8:43 PM Reply Quote 0
                    • S Offline
                      sifuhall @cowboysdude
                      last edited by Feb 24, 2022, 8:43 PM

                      @cowboysdude

                      Thank you for the help and the great module. I can see how that would happe,

                      1 Reply Last reply Reply Quote 1
                      • 1
                      • 2
                      • 2 / 2
                      2 / 2
                      • First post
                        12/18
                        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