• 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.3k 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
    sdmydbr9 @suvan
    last edited by sdmydbr9 Aug 31, 2021, 9:59 AM Aug 31, 2021, 9:58 AM

    @suvan you will need to go deep with ifttt+webhook+Google tts (https://forum.magicmirror.builders/topic/10917/guide-control-mm-via-google-home?_=1630403716372)

    1 Reply Last reply Reply Quote 1
    • C Offline
      cowboysdude Module Developer @suvan
      last edited by Aug 31, 2021, 11:30 AM

      I’m confused…doesn’t it already do this?

      S 1 Reply Last reply Sep 5, 2021, 11:02 AM Reply Quote 0
      • S Offline
        suvan @cowboysdude
        last edited by Sep 5, 2021, 11:02 AM

        @cowboysdude Sorry, what I meant was tell the date, time and weather by using voice output. Just like how we ask Google/Siri what’s the date, time or weather but instead in my case I want it to automatically tells instead of needing to ask.

        1 Reply Last reply Reply Quote 0
        • S Offline
          suvan @sdetweil
          last edited by Sep 5, 2021, 11:05 AM

          @sdetweil Not display, but tell as of using voice output to tell the date, time and weather at a specific time in a day. Sorry my question wasn’t really clear.

          S S 2 Replies Last reply Sep 5, 2021, 4:05 PM Reply Quote 0
          • S Online
            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 Online
                  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
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        7/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