![]() This notification sends the same payload as NEW_PAGE. Sent in response to a QUERY_PAGE_NUMBER notification. This is also sent out during initialization. ![]() ![]() This is to help other modules keep track of what the current page is. This notification is sent out on every page change and contains the current page index. This contains the number of pages defined in config.js. This is sent only once during initialization of MMM-pages. The following is the list of notifications that MMM-pages sends out: Notification MMM-pages will leave the currently showing hidden page and return to the previous showing page index. MMM-pages will switch to the provided hidden page name. If no home page is provided, return to the first page instead. This does nothing MMM-pages was not requested to pause. If MMM-pages was requested to pause rotation, this will resume automatic rotation. This does nothing if rotation was already paused. If MMM-pages is set to rotate, this will pause rotation until a RESUME_ROTATION notification is sent. MMM-pages will respond with PAGE_NUMBER_IS with the current page index. If there are no more pages to decrement by, this will loop around to the last page. Not providing a number is equivalent to sending a payload of 1. MMM-pages will decrement the page, or by n times if a number is provided. If there are no more pages to increment by, this will loop around to the first page. MMM-pages will increment the page, or by n times if a number is provided. MMM-pages will switch to the provided page index. The following is the list of notifications that MMM-pages will handle: Notification Should consist of elements that should be on the second page, and so forth. Should consist of elements that should be on the first page. Only override this if you know what you're doing.įor the module configuration option, the first element of the outer array If disabled, other modules may override when modules may be shown. Whether or not to use a lock string to show or hide pages. If none is set, this returns to the leftmost page instead. If a home page is not set, this returns to the leftmost page instead.ĭeprecated. Time, in milliseconds, before automatically returning to the home page. This does include the animation time, so you may wish to increase it by a few seconds or so to account for the animation time. In other words, how long should the timer wait for after you manually change a page. Time, in milliseconds, of how long should a manual page change linger before returning to automatic page changing. Time, in milliseconds, between automatic page changes. Value is in milliseconds (1 second = 1000 milliseconds). Modules defined in fixed are ignored and need to be also added if you wish to have them on any hidden page.įading animation time. Which modules should show up all the time.Īn Object defining special hiddenPages which are not available on the normal page rotation and only accassible via a notification. this module's class name is MMM-pages, while the default modules may just have newsfeed, without the MMM- prefix. Note that all entries must take their class name (e.g. Modules: Configuration options OptionĪ 2D String array of what each module should be on which page. In your terminal, go to your MagicMirror's Module folder: You should ask other developers to add a notification to their modules, or add Note that this module does not provide any method of manually changing the page! Or, want to have grouped modules that are themed together? Look no further! Want to have more modules in your magic mirror, but want to keep the format? This MagicMirror² Module allows you to have pages in your magic mirror! You're interested, please don't hesitate to reach out. When they raise issues and fix the rare bug that pops out every so often. I don't think there are expectations for this project to have new features, soĪ maintainer should really only need to just make sure people are getting help Issues that do exist aren't very hard to fix nor are they severe that they Problems that people have usually isn't often because of this project. ![]() Me not having proper testing before pushing out code, more often than not any I find this project to be in a near complete form. In years, and to be frank, I'm hoping someone else will be willing to take Thriving, it's also about time I step away. Hello, it's been 5 years since I've written this! While I'm happy to see it
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |