Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. Ybbet
    MagicMirror² v2.15.0 is available! For more information about this release, check out this topic.
    Y
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 11
    • Best 1
    • Groups 0

    Ybbet

    @Ybbet

    0
    Reputation
    509
    Profile views
    11
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Ybbet Follow

    Best posts made by Ybbet

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

      posted in Troubleshooting
      Y
      Ybbet

    Latest posts made by Ybbet

    • RE: Show some modules and config in Holidays

      Hello,

      This is exactly the answer I put in place. I wanted to know if there was a simpler solution to not multiply the config files. And so, avoid mistakes and forgetfulness.

      @daily bash ~/tools/disk_usage.sh >> /tmp/cron_log.txt
      0 0 * * * cd /home/pi/magicmirror_config; git checkout ./ ; git pull >> /tmp/cron_log.txt
      5 0 * * * bash /home/pi/magicmirror_config/update_files_config.sh >> /tmp/cron_log.txt
      10 0 * * * cd /home/pi/; pm2 restart mm.sh >> /tmp/cron_log.txt
      @monthly sudo reboot
      15 0 * * * mail -s "MagicPi : cron rapport" test@example.tld < /tmp/cron_log.txt; rm /tmp/cron_log.txt
      
      ###############
      # Summer holidays : 7 july
      30 0 8 7 * cd /home/pi/MagicMirror/config/; rm -rf config.js; ln -s /home/pi/magicmirror_config/config_vac_centre.js config.js; pm2 restart mm
      # The boys
      30 0 6 8 * cd /home/pi/MagicMirror/config/; rm -rf config.js; ln -s /home/pi/magicmirror_config/config_vac_salome_centre.js config.js; pm2 restart mm
      # First boy come back to home
      30 0 14 8 * cd /home/pi/MagicMirror/config/; rm -rf config.js; ln -s /home/pi/magicmirror_config/config_vac_salome_1garcon_centre.js config.js; pm2 restart mm
      # The last boy come back to home
      30 0 24 8 * cd  /home/pi/MagicMirror/config/; rm -rf config.js; ln -s /home/pi/magicmirror_config/config_vac_centre.js config.js; pm2 restart mm
      # 3 september
      30 0 3 9 * cd /home/pi/MagicMirror/config/; rm -rf config.js; ln -s /home/pi/magicmirror_config/config.js config.js; pm2 restart mm
      
      
      posted in Requests
      Y
      Ybbet
    • Show some modules and config in Holidays

      Hi,
      I wish I could display the modules and their configuration depending on whether we are on vacation or not.

      For example, I use the AlarmClock module, some alarms are specific to the school period. So, these are of no use during the holidays.

      Has anyone already configured such a configuration?

      posted in Requests
      Y
      Ybbet
    • How to autoplay video

      Hello,

      I’m developing a small module that reads text through Google-text-to-speech (see http://translate.google.com/translate_tts?tl=en&client=tw-mp3&q=What else ).
      The url returns a video that plays an audio file. When I test it locally on my Mac, the autoplay works without problems.
      But when I transfer all this to the Raspberry Pi, the video is added to the DOM but does not launch.

      Has anyone ever encountered this problem?

      There is the module MMM-TTS but unfortunately the librairy Festival has no French at its disposal. That’s why I’m testing other solutions.

      Sincerely,

      posted in Troubleshooting
      Y
      Ybbet
    • RE: mmm-moon-phases don't work for me

      @Mykle1 Ah! I found what was bothering me. The image of the moon does not change … Indeed, the image seems more decorative than informative. As a result, this does not show the current moon phase at all.
      It was rather in this sense that I had to understand my previous comment.
      The moon-phases module did its job very well. Until the cache problem appears.

      posted in Troubleshooting
      Y
      Ybbet
    • RE: Where to buy (from the Netherlands) and how to choose a mirror and screen?

      Hi,

      IMO, the TV monitor is more expensive than a computer monitor.

      For your project, you need to find your screen before you decide on the dimensions. And for the width, do not forget the width of your wood. If the mirror have to be 50cm width, then you have to choose a screen from 39" to 42" max. The panel (your nude screen) will be less than 50cm with one of those dimensions.

      I don’t know the price in your country for the one-way mirror, but it’s expensive too… In France, my choice is too use an acrylic glass and then put a one-way film on it. 😃

      Your project looks more or less like mine:
      https://translate.google.fr/translate?sl=fr&tl=en&js=y&prev=_t&hl=fr&ie=UTF-8&u=https%3A%2F%2Fwww.teddypayet.com%2FMagicMirror%C2%B2-un-socle-qui-lui-va-comme-un-gant&edit-text=

      posted in Hardware
      Y
      Ybbet
    • RE: mmm-moon-phases don't work for me

      @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. 🙂

      posted in Troubleshooting
      Y
      Ybbet
    • 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.

      posted in Requests
      Y
      Ybbet
    • RE: mmm-moon-phases don't work for me

      Same here as well.

      posted in Troubleshooting
      Y
      Ybbet
    • 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!

      posted in Troubleshooting
      Y
      Ybbet
    • 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.js

      And 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. 🙂

      posted in Feature Requests
      Y
      Ybbet