• 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
  1. Home
  2. Ybbet
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Y
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 6
  • Posts 16
  • Groups 0

Ybbet

@Ybbet

0
Reputation
511
Profile views
16
Posts
0
Followers
0
Following
Joined Jun 27, 2018, 12:59 PM
Last Online Nov 12, 2023, 10:37 AM

Ybbet Unfollow 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
    Jun 28, 2018, 12:07 PM
  • 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
    Jun 29, 2018, 9:56 AM

Latest posts made by Ybbet

  • RE: Add classes to specific Calendar Events

    A pull request was made on the develop branch : https://github.com/MichMich/MagicMirror/pull/3193

    posted in Development
    Y
    Ybbet
    Sep 14, 2023, 2:58 PM
  • Add classes to specific Calendar Events

    Hi,
    Capture d’écran 2023-09-12 133926.jpg
    I use the default calendar module because it suits me very well in its display.
    I would need to add specific CSS classes when an event contains a particular word. We have the “customEvents” option which adds an icon. My need is to add the class I want to the <tr> tag. As you see in the screenshot, I would like to add the class “match” to its line to the event containing the word “match”.
    How do I do this with MagicMirror?
    Thank you for your help :-)

    posted in Development
    Y
    Ybbet
    Sep 12, 2023, 11:51 AM
  • RE: Get Images and text from an xml

    Thank you @MMRIZE for this POC. I will test it tonight. :-)

    posted in Requests
    Y
    Ybbet
    Sep 7, 2023, 4:25 PM
  • RE: Get Images and text from an xml

    Hi @MMRIZE

    Thank you for your answer. Yes, I understand it’s not generic. The MMM-News and other modules do not display images of the article. This is certainly due to the standard of the rss feed. The NewsAPI site does not necessarily reference what I need (about a dedicate rss feed).
    I thought about using MagicMirror for this display need because the calendar function works very well for me (at least 85%-90%). All I’m missing is displaying a visual with text.

    I’m going to look at how to create a slide with MagicMirror. I have not yet developed on this platform.

    posted in Requests
    Y
    Ybbet
    Sep 7, 2023, 2:31 PM
  • Get Images and text from an xml

    Hi,

    For specific display needs in the premises of a small association, I would like to be able to display an image, a title and a description that I will retrieve from an xml (from an external URL https://mydomain.tld/digitalsignage. xml)
    I know of the existence of the MMM-News, MMM-NewsAPI or even MMM-PNews modules. But none meet my expectations.
    The xml file structure would be like this:

    <root>
    <item>
    <title>MyTitle</title>
    <image>https://mydomain.tld/media/beautifulpicture.jpg</image>
    <description>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam dignissim mollis odio sed vestibulum. Etiam molestie mi tellus, sed pellentesque enim sagittis vitae. In hac habitasse platea dictumst. Nulla semper fermentum accumsan. Phasellus vitae massa sodales, tincidunt urna ut, vulputate risus.</description>
    </item>
    <item>
    <title>MyTitle</title>
    <image>https://mydomain.tld/media/beautifulpicture.jpg</image>
    <description>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam dignissim mollis odio sed vestibulum. Etiam molestie mi tellus, sed pellentesque enim sagittis vitae. In hac habitasse platea dictumst. Nulla semper fermentum accumsan. Phasellus vitae massa sodales, tincidunt urna ut, vulputate risus.</description>
    </item>
    <item>
    <title>MyTitle</title>
    <image>https://mydomain.tld/media/beautifulpicture.jpg</image>
    <description>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam dignissim mollis odio sed vestibulum. Etiam molestie mi tellus, sed pellentesque enim sagittis vitae. In hac habitasse platea dictumst. Nulla semper fermentum accumsan. Phasellus vitae massa sodales, tincidunt urna ut, vulputate risus.</description>
    </item>
    </root>
    

    For configuration, we could indicate the value of animationSpeed. We display one item at a time.
    Do you have any idea how to achieve this please?

    posted in Requests
    Y
    Ybbet
    Sep 7, 2023, 11:21 AM
  • 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
    Oct 29, 2018, 10:47 PM
  • 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
    Oct 28, 2018, 11:07 PM
  • 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
    Jul 3, 2018, 12:06 PM
  • 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
    Jun 30, 2018, 9:22 PM
  • 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. :-D

    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%25C2%25B2-un-socle-qui-lui-va-comme-un-gant&edit-text=

    posted in Hardware
    Y
    Ybbet
    Jun 29, 2018, 1:54 PM
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