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.
    • J Offline
      JediJah @sdetweil
      last edited by

      @sdetweil Thanks for the response. There are no errors shown.

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

        @JediJah ok, take the nyc out of the filter field… black screen means the UI died… so its gotta be there somewhere

        if u add

        disabled: true,

        to the module definition
        right after the module name

        {
         module:'MMM-NYC-Transit',
         disabled: true,                                 // add this line
         ...
         config: {
         }
        }
        

        does the black screen go away?

        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 @JediJah
          last edited by

          I realized I have since removed the config. I will re-add and check again.

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

            @sdetweil I added the module to config, disabled!
            The Mirror loads as normal.
            Something I find weird is even with the module disabled, its header is still shown.
            https://share.icloud.com/photos/09o6PENxnrT-_fTLvp8JN2mhw

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