MagicMirror Forum

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

    Module not displaying when last in list

    Troubleshooting
    3
    9
    408
    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.
    • sbutt
      sbutt last edited by

      Hi,

      I’m struggling to get my MMM-News to display, when it’s at the end of the config. I was having the same problem with MMM-Ring for my doorbell, so I moved that to the top and it’s working again. Is it possible I’ve got too much stuff crammed onto the screen? Having said that, MMM-Ring is just supposed to pop up and then disappear after a couple of minutes. Perhaps I’ve got a stray comma in my YAML or something?? Any suggestions?

      Thanks,

      Steve

      sbutt 1 Reply Last reply Reply Quote 0
      • sbutt
        sbutt @sbutt last edited by sbutt

        @sbutt here’s my config, with everything working but news.

        https://gist.github.com/sbutt/03a7d4160c5d795e3f1faa14c85e3524

        mumblebaj 1 Reply Last reply Reply Quote 0
        • mumblebaj
          mumblebaj Project Sponsor @sbutt last edited by

          @sbutt There seems to be an extra comma after the closing bracket of config on MMM-News

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

            @mumblebaj its ok to have extra commas

            @sbutt when mm starts, does it show the last module on the list being started?

            Sam

            Create a working config
            How to add modules

            sbutt 1 Reply Last reply Reply Quote 0
            • sbutt
              sbutt @sdetweil last edited by

              @sdetweil thanks for coming back to me.

              I put the news back in again at the end this time (that’s displaying fine), and went to the front door and nothing pops up now. So, now the news is working, but the Ring is not, which kinda blows my theory about the problem being the last one in the config. Here’s the log…

              [2021-02-21 11:56:41.303] [LOG] Starting MagicMirror: v2.13.0
              [2021-02-21 11:56:41.315] [LOG] Loading config …
              [2021-02-21 11:56:41.322] [LOG] Loading module helpers …
              [2021-02-21 11:56:43.141] [LOG] Initializing new module helper …
              [2021-02-21 11:56:43.144] [LOG] Check MagicMirror version for node helper ‘MMM-Ring’ - Minimum version: 2.11.0 - Current version: 2.13.0
              [2021-02-21 11:56:43.147] [LOG] Version is ok!
              [2021-02-21 11:56:43.150] [LOG] Module helper loaded: MMM-Ring
              [2021-02-21 11:56:43.154] [LOG] No helper found for module: alert.
              [2021-02-21 11:56:43.230] [LOG] Initializing new module helper …
              [2021-02-21 11:56:43.233] [LOG] Module helper loaded: updatenotification
              [2021-02-21 11:56:43.236] [LOG] No helper found for module: clock.
              [2021-02-21 11:56:43.845] [LOG] Initializing new module helper …
              [2021-02-21 11:56:43.845] [LOG] Module helper loaded: calendar
              [2021-02-21 11:56:43.847] [LOG] No helper found for module: currentweather.
              [2021-02-21 11:56:43.848] [LOG] No helper found for module: weatherforecast.
              [2021-02-21 11:56:44.599] [LOG] Initializing new module helper …
              [2021-02-21 11:56:44.601] [LOG] Module helper loaded: MMM-News
              [2021-02-21 11:56:44.601] [LOG] All module helpers loaded.
              [2021-02-21 11:56:44.810] [LOG] Starting server on port 8080 …
              [2021-02-21 11:56:44.829] [LOG] Server started …
              [2021-02-21 11:56:44.831] [LOG] Connecting socket for: MMM-Ring
              [2021-02-21 11:56:44.928] [LOG] MMM-Ring at (2/21/2021, 11:56:44 AM): Starting module: MMM-Ring
              [2021-02-21 11:56:44.930] [LOG] Connecting socket for: updatenotification
              [2021-02-21 11:56:44.931] [LOG] Connecting socket for: calendar
              [2021-02-21 11:56:44.932] [LOG] Starting node helper for: calendar
              [2021-02-21 11:56:44.933] [LOG] Connecting socket for: MMM-News
              [2021-02-21 11:56:44.934] [LOG] Sockets connected & modules started …
              [2021-02-21 11:56:45.071] [LOG] Launching application.
              [2021-02-21 11:56:47.650] [LOG] Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/steve.button%40gmail.com/private-d89307cb76d07c774e302f14ec77cab3/basic.ics - Interval: 300000
              [2021-02-21 11:56:47.666] [LOG] [NEWS] MMM-News Version: 2.1.1
              [2021-02-21 11:56:47.669] [LOG] [NEWS] Initialized with 2 query
              [2021-02-21 11:56:47.688] [INFO] Checking git for module: MMM-Ring
              [2021-02-21 11:56:47.717] [INFO] Checking git for module: MMM-News
              [2021-02-21 11:56:49.046] [LOG] MMM-Ring at (2/21/2021, 11:56:49 AM): Refresh Token Updated
              [2021-02-21 11:56:56.601] [INFO] Calendar-Fetcher: Broadcasting 10 events.
              [2021-02-21 11:56:58.102] [LOG] MMM-Ring at (2/21/2021, 11:56:58 AM): Found 1 location(s) with 1 camera(s).
              [2021-02-21 11:56:58.107] [LOG] MMM-Ring at (2/21/2021, 11:56:58 AM): Location Bury St. Edmunds has the following 1 camera(s):
              [2021-02-21 11:56:58.109] [LOG] MMM-Ring at (2/21/2021, 11:56:58 AM): - 58165180: Front Door (doorbell_scallop_lite)
              [2021-02-21 11:56:58.110] [LOG] MMM-Ring at (2/21/2021, 11:56:58 AM): Location Bury St. Edmunds has the following 0 device(s):
              [2021-02-21 11:56:58.112] [LOG] MMM-Ring at (2/21/2021, 11:56:58 AM): Actively listening for doorbell presses
              [2021-02-21 11:56:58.115] [LOG] MMM-Ring at (2/21/2021, 11:56:58 AM): Actively listening for Motion events
              [2021-02-21 12:01:47.364] [LOG] Use existing calendar fetcher for url: https://calendar.google.com/calendar/ical/steve.button%40gmail.com/private-xxx/basic.ics
              [2021-02-21 12:01:47.371] [INFO] Calendar-Fetcher: Broadcasting 10 events.
              [2021-02-21 12:01:54.915] [INFO] Calendar-Fetcher: Broadcasting 10 events.
              [2021-02-21 12:06:47.353] [LOG] Use existing calendar fetcher for url: https://calendar.google.com/calendar/ical/steve.button%40gmail.com/private-xxx/basic.ics
              [2021-02-21 12:06:47.358] [INFO] Calendar-Fetcher: Broadcasting 10 events.
              [2021-02-21 12:06:54.872] [INFO] Calendar-Fetcher: Broadcasting 10 events.

              As an aside, it seems the MMM-News module puts my private API key into the logs which is probably not great from a security perspective!?

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

                @sbutt said in Module not displaying when last in list:

                2021-02-21 11:56:58.109] [LOG] MMM-Ring at (2/21/2021, 11:56:58 AM): - 58165180: Front Door (doorbell_scallop_lite)
                [2021-02-21 11:56:58.110] [LOG] MMM-Ring at (2/21/2021, 11:56:58 AM): Location Bury St. Edmunds has the following 0 device(s):
                [2021-02-21 11:56:58.112] [LOG] MMM-Ring at (2/21/2021, 11:56:58 AM): Actively listening for doorbell presses
                [2021-02-21 11:56:58.115] [LOG] MMM-Ring at (2/21/2021, 11:56:58 AM): Actively listening for Motion events

                seems like it is ready except for that 0 devices on the doorbell)

                dont know anything about the module.

                if u disable mmm-news, does ring work again?

                just add
                disabled:true,

                after
                module:“MMM-News”,

                Sam

                Create a working config
                How to add modules

                sbutt 1 Reply Last reply Reply Quote 0
                • sbutt
                  sbutt @sdetweil last edited by

                  @sdetweil I tried disabling MMM-news, and weirdly now I’m getting both. Which is odd as I’d, you know, expect the news to be disabled.

                  I did notice I’ve got a bunch of tabs in the config file instead of spaces, not sure how that affects things.

                  With regards to those log entries, it says 1 Camera(s) and 0 Device(s) when it works (or when it doesn’t work), so I guess devices are something else.

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

                    @sbutt tabs wont matter.

                    yes weird…

                    what do the startup messages say when it is disabled?

                    Sam

                    Create a working config
                    How to add modules

                    sbutt 1 Reply Last reply Reply Quote 0
                    • sbutt
                      sbutt @sdetweil last edited by

                      @sdetweil I stripped all the tabs, and replaced with spaces. In vi

                      :%s/\t/        /g
                      

                      So, I think vim fixed the problem for me. OTOH, I think vi caused the problem in the first place by putting tabs in instead of spaces (or the way I have vi configured).

                      So, that’s one to be aware of I think!?

                      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