Read the statement by Michael Teeuw here.
MMM Pages turn Pages manually
-
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…
-
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' ] },
-
@assassins so there’s no option to send that notification to turn pages manually?
-
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
-
@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?
-
@acethefire u may have to add mmm-touch or mmm-buttons to get touchable widgets
-
@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.
-
HI
MMM-Carousel and MMM-page-indicator works on a touchscreen.
Grettings Torsten
-
@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