MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. MajorC
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    M
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 21
    • Posts 187
    • Groups 1

    Posts

    Recent Best Controversial
    • How to use Yr as a weather provider

      Hi,

      I would like to use the new v2.22.0 feature of Yr as weather provider.

      I changed

      weatherProvider: "yr",
      

      I think I need a new apiKey. What about the location and locatioID?

      Any advise are appreciated.

      Thank you

      posted in Troubleshooting
      M
      MajorC
    • Sync a Google folder for background photos

      Hello,

      my plan is to use my phone to get photos on my MM as easily as possible to display in the background. I also want other family members to be able to save photos.

      I have the following idea and attempted solutions and am posting them here for discussion.

      Basic idea:

      • copy the photos from the cellphone to a google drive
      • the google drive is accessible to the family
      • Google-Drive synchronizes with a folder on the Raspberry
      • the photos are converted to the right format (resolution and file format) on the Raspberry
      • the converted photos are displayed as background in MM

      So far I have managed it. I’m also writing this a bit for me as a doc so I can get it installed again in the future. Feedback and improvements are very welcome though.

      • Create a dedicated MM folder on my Google drive
      • Use rclone to synchronize between Raspberry and google drive: https://github.com/rclone/rclone
      • How to: https://ostechnix.com/mount-google-drive-using-rclone-in-linux/
      • You have to use your own google client-id for rclone, see here: https://rclone.org/drive/#making-your-own-client-id
      rclone sync googleDrive:MagicMirror /home/pi/Pictures/
      

      Now you have all pictures synced in pi/Pictures. If you delete a picture in the google-drive it will be deleted on the pi the next time you run the script. That’s what I want to happen.

      Now begins the part where I’m not 100% happy yet. MM can only display JPEGs. But from the iPhone I get heic files. So they still have to be converted.

      I do that with: https://imagemagick.org/script/mogrify.php

      In the code it looks like this:

      mogrify -path /home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/ImagesJPEG -format jpeg -resize 2560x1440 /home/pi/Pictures/*
      

      All images in all formats that can be found in /home/pi/Pictures/* will be converted to JPEG in 2560x1440 pixels and saved to /home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/ImagesJPEG.

      I then specified this location as the image path in MMM-BackgroundSlideshow.

      So far so good. My problem is now, I want to delete the deleted images in google Drive also on the pi. A simple synchronization does not work, because in the google folder are heic files and in my MM are now the converted JPEGs.

      My workaround is that I clear the pictures folder in MM every time and fill it all over again after a new sync.

      rm -rf /home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/ImagesJPEG/*
      

      This is not only slow but also kind of stupid. But I can’t think of a better solution yet.

      Oh, and the whole thing is supposed to run in a script once an hour later, but I’m not there yet. I have never dealt with scripts on the Pi.

      I look forward to suggestions for improvement from you.

      Christian

      posted in General Discussion
      M
      MajorC
    • RE: Synchronizing one folder from iCloud to the raspberry pi

      @sdetweil That looks good. Now I have to figure out how to run this.

      I did:

      sudo apt-get update
      sudo apt-get install -y python
      

      to get python on my pi.

      Than I did:

      git clone https://github.com/icloud-photos-downloader/icloud_photos_downloader.git
      cd icloud_photos_downloader
      

      That gives me the downloader in the folder.
      But when I run in the icloud_photos_downloader-folder something like

      icloudpd /your/photos/directory \
        --username my@mail.com \
        --password password \
        --recent 5 \
        --auto-delete
      

      nothing happend.

      posted in General Discussion
      M
      MajorC
    • Synchronizing one folder from iCloud to the raspberry pi

      Hi,

      is there a good way to synchronize only one folder from my iCloud drive to the raspberry pi? I would like to have a dedicated folder to show pictures on my MM.

      Thank you,

      Christian

      posted in General Discussion
      M
      MajorC
    • RE: How to synchronize pictures from mobile to the MM?

      I use telegram with my family, so I will give it a try.

      posted in Troubleshooting
      M
      MajorC
    • How to synchronize pictures from mobile to the MM?

      Hello,

      I use my MM primarily as a digital picture frame with additional information (weather, calendar, etc.).

      Currently I am looking for a good and easy way to synchronize photos taken with the cell phone simply to the MM.

      It would be important to be able to select on the phone as easily as possible, which pictures are brought to the MM. So that even my parents, who are not nerds, can do that.

      Maybe copy the photos on the phone into a specific folder and this synchronizes every 24h with the MM?

      Am open to instructions and software.

      Thanks

      posted in Troubleshooting
      M
      MajorC
    • RE: MMM-RAIN-MAP (new: version 2.x)

      I have also often had the feeling that Rainviewer’s data is not particularly accurate.
      If the option to switch to another provider were to be built in, I could only welcome that.

      posted in Utilities
      M
      MajorC
    • RE: MMM-Netatmo updated

      I think, this will effect the MMM-Netatmo?

      Dear Netatmo developer,
      
      To improve the security of our products, we inform you that the Client Credentials grant type method will be completely removed. It will no longer be possible to authenticate with the username and password of the user.
      
      The effective date of this update is October 2022.
      
      How can you authenticate with Netatmo API ?
      From this date, the OAuth2 authorization code flow must be followed for authentication.
      
      You can find details on this method on our website:
      
      Netatmo Connect | Authentication
      For tests, you can also get an Access Token from our developper portal.
      
      Netatmo Developer Portal
      
      Log in
      Go on your account
      Select the application for your test
      Click on "Generate a Token"
      
      You can now use this Access Token for 3 hours.
      
      posted in Utilities
      M
      MajorC
    • RE: Use of Samsung „The Frame“ with MM

      It looks like there are different firmware features. Depending on the hardware.

      Great thx Samsung. Now I have to find out when this option is available. I’m not really willing to spend 500€ for a picture frame. Then I can rather buy a monitor and have a nice wooden frame built by a carpenter.

      posted in Hardware
      M
      MajorC
    • RE: Use of Samsung „The Frame“ with MM

      @sdetweil

      Following the comments in your link, Samsung has made it possible by a firmware update.

      Maybe @Jalibu can double-check the behavior.

      posted in Hardware
      M
      MajorC
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 18
    • 19
    • 4 / 19