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

Transit module stopped working

Scheduled Pinned Locked Moved Troubleshooting
29 Posts 5 Posters 4.5k 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.
  • E Offline
    Elaniobro
    last edited by Jul 4, 2020, 8:31 PM

    @sdetweil what makes you think the API changed? ( I am the author, and am looking into it now)

    S 1 Reply Last reply Jul 4, 2020, 8:59 PM Reply Quote 0
    • S Offline
      sdetweil @Elaniobro
      last edited by sdetweil Jul 4, 2020, 9:00 PM Jul 4, 2020, 8:59 PM

      @Elaniobro I posted a couple messages back the error info. node_helper line 106 called something which threw an error

      2020-06-30 09:41:59.974] [ERROR]  (node:882) UnhandledPromiseRejectionWarning: Error: Error: Illegal group end indicator for Message .transit_realtime.FeedMessage: 7 (not a group)
      0|mm       |     at /home/pi/MagicMirror/modules/MMM-nyc-transit/node_helper.js:106:15
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      E 1 Reply Last reply Jul 6, 2020, 12:02 AM Reply Quote 0
      • E Offline
        elliob @sdetweil
        last edited by Jul 6, 2020, 12:02 AM

        @sdetweil how did you get to error message? What’s the CLI?

        S N 2 Replies Last reply Jul 6, 2020, 12:23 AM Reply Quote 0
        • S Offline
          sdetweil @elliob
          last edited by Jul 6, 2020, 12:23 AM

          @elliob it was in the pm2 log in the 1st post of this topic

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • N Offline
            nipper2000h @elliob
            last edited by Jul 6, 2020, 12:30 AM

            @elliob I’m using pm2 to start MM so from the root directory:

            pm2 logs mm
            
            S 1 Reply Last reply Jul 6, 2020, 1:11 AM Reply Quote 1
            • S Offline
              sdetweil @nipper2000h
              last edited by sdetweil Jul 6, 2020, 1:12 AM Jul 6, 2020, 1:11 AM

              @nipper2000h the logs are stored in the users .pm2 folder. doesn’t matter where I issue the pm2 commands

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 1
              • E Offline
                Elaniobro
                last edited by Jul 9, 2020, 12:30 AM

                The module is getting the data, but its not updating with the this.updateDom method. I am not sure if this was deprecated or not. Looking into it.

                S 1 Reply Last reply Jul 9, 2020, 12:31 AM Reply Quote 0
                • S Offline
                  sdetweil @Elaniobro
                  last edited by Jul 9, 2020, 12:31 AM

                  @Elaniobro how does it use this.updateDom()

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  E 1 Reply Last reply Jul 9, 2020, 12:56 AM Reply Quote 0
                  • E Offline
                    Elaniobro @sdetweil
                    last edited by Elaniobro Jul 9, 2020, 12:56 AM Jul 9, 2020, 12:56 AM

                    @sdetweil Its called in the socketNotificationReceived() here:
                    https://github.com/Elaniobro/MMM-nyc-transit/blob/master/MMM-nyc-transit.js#L358-L360

                    S 1 Reply Last reply Jul 9, 2020, 12:58 AM Reply Quote 0
                    • S Offline
                      sdetweil @Elaniobro
                      last edited by Jul 9, 2020, 12:58 AM

                      @Elaniobro where is self set.? and fadeSpeed?

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      E 1 Reply Last reply Jul 9, 2020, 1:05 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        12/29
                        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