• 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-ModuleScheduler and MMM-TTS working together…

Scheduled Pinned Locked Moved Solved Troubleshooting
2 Posts 1 Posters 1.4k Views 1 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.
  • Y Offline
    Ybbet
    last edited by Jun 27, 2018, 1:11 PM

    Hello,
    I am new to this forum. I have successfully installed my MagicMirror recently. I installed the following modules:

    • MMM-AlarmClock
    • MMM-FreeBox-Monitor
    • MMM-page-indicator
    • MMM-pages
    • mmm-moon-phases
    • worldclock

    Everything is working. Now, I would like to test the plugins MMM-ModuleScheduler and MMM-TTS. My idea is to program the reading of texts at specific times. (Wish a good day to my wife when she awakes, for example.)

    What should I put in my config.js file for it to work correctly?

    Thanks for your help.

    1 Reply Last reply Reply Quote 0
    • Y Offline
      Ybbet
      last edited by Jun 28, 2018, 12:07 PM

      I found it! Perhaps, the answer will help someone.
      MMM-TTS need a string as “payload” not an array. So, here is my solution :

          {
              module: "MMM-ModuleScheduler",
              config: {
                  notification_schedule: [
                      {notification: "MMM-TTS", schedule: "45 6 * * *", payload: "Have a nice day. Courage."},
                      {notification: "MMM-TTS", schedule: "0 8 * * *", payload: "Do a barrel roll!"}
                  ]
              }
          },
      

      Easy-peasy!

      1 Reply Last reply Reply Quote 1
      • 1 / 1
      1 / 1
      • First post
        2/2
        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