@Mykle1 : Yeah, I saw that (in another topic too). However, from what I see in your code, there is no identification of the current location. Which would allow to have information maybe more precise.
In addition, the various texts displayed do not interest me on my installation. And there is no possibility to disable line by line (CSS or javascript) these texts. :-)
Read the statement by Michael Teeuw here.
Posts made by Ybbet
-
RE: mmm-moon-phases don't work for me
-
Google Cloud Text-to-Speech API
Hello,
Has anyone managed to make the Google Cloud Text-to-speech API work?There is indeed a Text-To-Speech module that works: MMM-TTS.
Unfortunately, the libraries used do not take into account the French language. The alternative solution is the use of google-tts.
I tried to create my own module to integrate the module google-tts-api
Not being used to developing under Nodejs, I have trouble making it work as I would like.Any suggestion is welcome. :-)
Thanks.
-
RE: MMM-ModuleScheduler and MMM-TTS working together…
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!
-
RE: secrets.js
Hi!
I understand this issue. I use a gitlab private repository. I clone it in “magicmirror_config” in /home/pi/
And then I created a symlink im /home/pi/MagicMirror/config/ for my versioned config.jsAnd all my personalized files are in symlink where I need it.
That’s really easy and like that I can test on local device (my Mac) before put it on the raspberry Pi. :-)
-
MMM-ModuleScheduler and MMM-TTS working together…
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.