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 Pages turn Pages manually

    Scheduled Pinned Locked Moved Troubleshooting
    9 Posts 7 Posters 2.8k Views 7 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.
    • A Offline
      AceTheFire
      last edited by

      Hello.

      I’m using MMM-Pages (https://github.com/edward-shen/MMM-pages) and want to turn Pages manually. I’m already using “MMM-Telegram-Bot” (https://github.com/bugsounet/MMM-TelegramBot) for controlling the mirror. As I can see on github, the Telegram-Bot can use custom command (f.e. sending out notifications). How is it possible to turn the pages manually?

      Maybe it works with the notification “this.sendNotification(“PAGE_CHANGED”, 2);”, but I don’t get that to work…

      AssassinsA unfriendlydeviceU T 3 Replies Last reply Reply Quote 0
      • AssassinsA Offline
        Assassins @AceTheFire
        last edited by Assassins

        @acethefire

        Here is my what I have put in config.js.
        rotationTime: 1800000, do it automatic.
        Set it to 0 (Zero), it work here.

            {
              module: 'MMM-pages',
              config: {
                rotationTime: 1800000,
                modules: [
                  [ // Page 1
                    'updatenotification',
                    'currentweather'
                  ],
                  [ // Page 2
                    'MMM-Telegram-Bot',
                    'calendar'
                  ],
                  [ // Page 3
                    'clock',
                    'compliments'
                  ],
                  [ // Page 4
                    'MMM-network-signal',
                    'MMM-ServerStatus'
                  ]
                ],
                fixed: [
                 'clock',
                 'compliments'
                ]
              }
            }
          ],
          useHttps: false,
          httpsPrivateKey: '',
          httpsCertificate: '',
          logLevel: [
            'INFO',
            'LOG',
            'WARN',
            'ERROR'
          ]
        },
        
        A 1 Reply Last reply Reply Quote 0
        • A Offline
          AceTheFire @Assassins
          last edited by

          @assassins so there’s no option to send that notification to turn pages manually?

          1 Reply Last reply Reply Quote 0
          • F Offline
            Foxy25
            last edited by Foxy25

            Hi
            i have installing MMM-Pages to, and i do the changing with MMM-page-indicator.

            MMM-Carousel is also a good choice to change the pages manual.

            Greetings Torsten

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              AceTheFire @Foxy25
              last edited by

              @foxy25 thx for your help, but “Page-indicator” isn’t a touch button, isn’t it? I thought it is just an Indicator. How do I change my pages with that module?

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

                @acethefire u may have to add mmm-touch or mmm-buttons to get touchable widgets

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 1
                • unfriendlydeviceU Offline
                  unfriendlydevice @AceTheFire
                  last edited by

                  @acethefire I’ve used an Android app call KWGT to make a widget on my phone that works with the Tasker app (needs to be purchased) and the RESTask plugin to send a notification to MM to move between pages, I made a PC app in Python to do the same thing which was a lot easier to do than I would have thought! There’s the MM-Remote Android app that has built in buttons for moving between pages.

                  1 Reply Last reply Reply Quote 0
                  • F Offline
                    Foxy25
                    last edited by

                    HI

                    MMM-Carousel and MMM-page-indicator works on a touchscreen.

                    Grettings Torsten

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      thobach @AceTheFire
                      last edited by

                      @acethefire On https://github.com/edward-shen/MMM-pages#notifications the usable events are described. I use them for example here: https://github.com/thobach/MMM-Gestures/blob/094ef30fe4a7e9204846a4f77d6314b61ee1d758/MMM-Gestures.js#L85

                      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 Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy