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-NYC-Transit Module (Black Screen)

    Scheduled Pinned Locked Moved Troubleshooting
    20 Posts 2 Posters 4.3k 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 @JediJah
      last edited by sdetweil

      @JediJah it is not disabled according to the picture
      and the screen is not black

      if it were disabled, NOTHING about the module would show…

      same as if that entry was not in config.js at all

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        JediJah @sdetweil
        last edited by

        @sdetweil I figured thats why I said it was weird.

        This is what the module looked like in my config

          {
                      module: 'MMM-nyc-transit',
                      disabled: "true",
                      position: "bottom_right",
                      header: "Next Train",
                      config: {
                             apiKey: '9b76b0b756f7f9a76d4fe883075c00cf',
                                        displayType: 'list',
                                        mtaType: 'train',
                                        stations: [
                                                {
                                                stationId: 95,
                                                walkingTime: 5,
                                                dir: {
                                                        upTown: false,
                                                        downTown: true
                                                     }
                                                },
                                                {
                                                stationId: 95,
                                                walkingTime: 5,
                                                dir: {
                                                        upTown: true,
                                                        downTown: false
                                                     }
                                                }
                                                ],
                                        updateInterval: 300000
                        }
                        },
        

        These are the steps I just tried…
        recreated original circumstances that caused black screen (added Module to config) and yes the black screen still exist.

        I assume that means there is issue with module config settings.

        I tried to launch the Dev console, but it did not launch in same page as black mirror screen but a white page.

        I will wait for your response before making changes to config.js file again.

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

          @JediJah said in MMM-NYC-Transit Module (Black Screen):

                    disabled: "true",
          

          no, i said

          disabled: true
          

          no quotes

          how do you start MM? using pm2 or manually

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          J 2 Replies Last reply Reply Quote 0
          • J Offline
            JediJah @sdetweil
            last edited by

            @sdetweil Aww OK will adjust

            1 Reply Last reply Reply Quote 0
            • J Offline
              JediJah @sdetweil
              last edited by

              @sdetweil pm2

              After adding disabled: true

              Got "Please create a config file " error

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

                @JediJah come on , the original instructions said

                disabled: true, 
                

                just about any new line requires a comma at the end

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  JediJah @sdetweil
                  last edited by

                  @sdetweil Yeah that was my bad… the mirror loads now without the module…
                  :man_facepalming_medium-dark_skin_tone:

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

                    @JediJah how do you start MM? using pm2 or manually

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      JediJah @sdetweil
                      last edited by

                      @sdetweil I use pm2

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

                        @JediJah ok, no stop mm using pm2

                        fix the config.js,
                        change the disabled to false

                        disabled: false,
                        

                        go to the MagicMirror folder with a terminal window or ssh

                        cd ~/MagicMirror
                        npm start 
                        

                        watch the messages

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        J 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 2 / 2
                        • 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