MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    SOLVED MMM-ModuleScheduler and MMM-TTS working together…

    Troubleshooting
    1
    2
    1236
    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
      Ybbet last edited by

      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
        Ybbet last edited by

        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
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy