• 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.

Tell weather, date & time automatically at a specific time.

Scheduled Pinned Locked Moved General Discussion
13 Posts 6 Posters 3.5k 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.
  • S Offline
    sdetweil @suvan
    last edited by sdetweil Sep 5, 2021, 4:09 PM Sep 5, 2021, 4:05 PM

    @suvan there is no built in voice output in MagicMirror, but the default modules do broadcast their status constantly, so another module COULD listen for those events and use some voice output service to speak…

    I have not seen a module like that

    the 3rd party list
    https://github.com/MichMich/MagicMirror/wiki/3rd-party-modules

    has modules hat can speak … but depend on other modules to send requests to do that

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • S Offline
      sdmydbr9 @suvan
      last edited by Sep 5, 2021, 6:27 PM

      @suvan I have a set up exactly as you have described. I’m using ifttt to send an alert or notification at a specific time and MMM-Googletts module reads out the messages which I have preset in the ifttt. You can even tell if when it’s going to rain or when there’s a breaking news.

      S 1 Reply Last reply Sep 12, 2021, 3:28 AM Reply Quote 0
      • S Offline
        suvan @sdmydbr9
        last edited by Sep 12, 2021, 3:28 AM

        @sdmydbr9 Do you need Google assistant module for this to work?

        S S 2 Replies Last reply Sep 12, 2021, 1:37 PM Reply Quote 0
        • S Offline
          sdetweil @suvan
          last edited by sdetweil Sep 12, 2021, 1:39 PM Sep 12, 2021, 1:37 PM

          @suvan no. it is timed, from IFTTT (If This Then That), and then uses GoogleTTS ( Text To Speech) to announce the text sent

          I don’t know what catches the IFTTT event notice, maybe
          https://github.com/jc21/MMM-IFTTT

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • S Offline
            sdmydbr9 @suvan
            last edited by Sep 17, 2021, 3:57 AM

            @suvan no… just ifttt, notification trigger, and google tts…
            You will need to go for port forwarding, I went for Dataplicity(a service similar to port forwarding to open my 8080 port).
            I have followed this particular link and followed the steps, this is the link to follow for the steps of
            You give it a try and let me know if you need more help. The steps here are pretty clear.
            Note: 1. ifttt used to be free but now it’s paid. You can use upto 5 applets for free and if you just want it to tell you the time and I guess the free tier is okay.
            2. Google tts, you will need to enable billing in your project, although you won’t be charge for that, there is an api counter in that particular module.

            U 1 Reply Last reply Sep 17, 2021, 10:05 AM Reply Quote 0
            • M Offline
              MMRIZE
              last edited by MMRIZE Sep 17, 2021, 9:10 AM Sep 17, 2021, 9:06 AM

              @suvan
              I think it’s possible with MMM-GoogleTTS, MMM-NotificationTrigger and cron

              cron

              0 8 * * *  curl --data "notification=YELL_TIME" http://localhost:8080/webhook
              

              This is an example of a daily 8 am execution.

              MMM-NotificationTrigger

              {
                module: "MMM-NotificationTrigger",
                config: {
                  useWebhook:true,
                  triggers:[
                    {
                      trigger: "YELL_TIME",
                      fires: [
                        {
                          fire:"TTS_SAY",
                          payload: function(payload) {
                            return {
                              content: "It is " + new Intl.DateTimeFormat("en-US", { dateStyle: "long", hour: "numeric", dayPeriod: "long" }).format(new Date())
                            }
                          },
                        },
                      ],
                    },
                  ]
                }
              },
              

              MMM-GoogleTTS
              whatever…

              I haven’t tested this on real machine.

              Instead of direct using cron, you can use MMM-ScriptScheduler or MMM-ModuleScheduler. I believe when you are using MMM-ModuleScheduler, MMM-NotificationTrigger might not be needed.

              1 Reply Last reply Reply Quote 0
              • U Offline
                uros76 @sdmydbr9
                last edited by Sep 17, 2021, 10:05 AM

                @sdmydbr9 perhaps off-topic, perhaps an idea. I have homeassistant which does thse kind of announcememnts daily. It’s connected with my alexa (works also with google). I know it’s not related to MM but still, it works without the need for much coding and it’s quite modular for controlling various elements of my home

                My magicmirror projects: https://forum.magicmirror.builders/post/79889, https://forum.magicmirror.builders/post/93241 and https://forum.magicmirror.builders/post/94586

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