• 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-Remote-Control](v2-dev) Extensible REST API, Dynamic Menus, and Socket Communications, plus other updates

Scheduled Pinned Locked Moved Development
76 Posts 13 Posters 47.2k Views 13 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.
  • R Offline
    robiv8
    last edited by Feb 5, 2019, 9:40 PM

    Is there any way to track traffic from remote control Nothing is visible in pm2 logs.
    A kind debuging or like.
    Alert it does not work. It comes the OK for transmit but nothing appears. Restart works and also monitor ON OFF.
    But the browser does not refresh again.
    Everything works as long as I only have the sample config.
    But as soon as I have several other modules running (Page-Selector, Buttons, DWD-Warn-Wetter, PublicTransportHafas, etc.), it is no longer possible.
    I would like to know what blocks the module.

    S 1 Reply Last reply Feb 7, 2019, 3:09 AM Reply Quote 0
    • S Offline
      shbatm Module Developer @robiv8
      last edited by Feb 7, 2019, 3:09 AM

      @robiv8 I don’t have a debug mode, but you can try adding:

      console.log(notification, payload); to Line #988 of node_helper.js to print all notifications received by the back-end from other modules; or console.log(query) to Line #644. If you are using the API, you should be getting a response back in the browser or Postman.

      Looking at your list, I have a sneaking suspicion that Page-Selector is causing the issues, just because it may be inadvertently suspending the module. If you troubleshoot and find that to be the case, and can’t find a work around with that module, you can try using MMM-Carousel w/ Navigation which is what Page-Selector was originally based off of. I know there is an option in that module to “exclude” a module from being suspended.

      R 2 Replies Last reply Feb 7, 2019, 1:38 PM Reply Quote 0
      • R Offline
        robiv8 @shbatm
        last edited by Feb 7, 2019, 1:38 PM

        @shbatm
        Thanks for your explanation
        I will try it tonight and then report it.

        And yes, I also suspect that it is the page selector.
        Whereby I set “Alert, notification, buttons and podcast2” to exclude. And nevertheless.
        I’ll take a look.

        1 Reply Last reply Reply Quote 0
        • C Offline
          Cr4z33 @shbatm
          last edited by Cr4z33 Feb 7, 2019, 3:02 PM Feb 7, 2019, 2:19 PM

          @shbatm I’ve done the Italian translation if you want to add it. ;)

          https://www.dropbox.com/s/u8hwhecv0exrmcj/it.json?dl=0

          S 1 Reply Last reply Feb 9, 2019, 2:02 PM Reply Quote 0
          • R Offline
            robiv8 @shbatm
            last edited by Feb 8, 2019, 6:53 PM

            @shbatm
            are you sure with console.log(notification, payload); to Line #988
            my node_helper.js is going only to line 958

            S 1 Reply Last reply Feb 9, 2019, 2:03 PM Reply Quote 0
            • S Offline
              shbatm Module Developer @Cr4z33
              last edited by Feb 9, 2019, 2:02 PM

              @cr4z33 thanks! I’ll add it when I get a chance.

              1 Reply Last reply Reply Quote 0
              • S Offline
                shbatm Module Developer @robiv8
                last edited by shbatm Feb 9, 2019, 2:04 PM Feb 9, 2019, 2:03 PM

                @robiv8 make sure your are on the develop branch (git checkout develop from a command line inside the module folder).

                https://github.com/shbatm/MMM-Remote-Control/blob/develop/node_helper.js#L988

                R 1 Reply Last reply Feb 9, 2019, 5:20 PM Reply Quote 0
                • R Offline
                  robiv8 @shbatm
                  last edited by Feb 9, 2019, 5:20 PM

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    robiv8
                    last edited by Feb 9, 2019, 5:44 PM

                    OK So i can see that:

                    REMOTE_CLIENT_CONNECTED {}
                    0|mm  | REMOTE_ACTION { data: 'translations' }
                    0|mm  | REMOTE_ACTION { action: 'SHOW_ALERT',
                    0|mm  |   type: 'alert',
                    0|mm  |   title: 'Test',
                    0|mm  |   message: 'This is a test text',
                    0|mm  |   timer: '4' }
                    

                    but nothing happened!
                    The Devtools says:

                    alert is suspended.
                    updatenotification is suspended.
                    

                    so I mean you are right with MMM-Page-Selector
                    Good to know on the one hand,
                    but on the other SHIT
                    I spent a lot of time making it look and working with the page selector.
                    Now I can start over :-(

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      robiv8
                      last edited by robiv8 Feb 9, 2019, 9:42 PM Feb 9, 2019, 6:11 PM

                      One more question!
                      Now I have 6 pages that I use with physical buttons.
                      If I restart the setup now with Carousel which example am I taking?
                      Global, Positional or Slides

                      I found it out myself. :-)

                      Thank you

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 2 / 8
                      2 / 8
                      • First post
                        17/76
                        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