@robinsin17 first, you should fix your keyboard.
Best posts made by MajorC
-
RE: NEED HELP FOR CREATING OUR OWN MODULE...
-
RE: Raspberry Pi 4 Released !
Hi,
I am in the beginning of my first MM project and would like to buy a Pi 4. What RAM would you recommend? Shall I go with the 4GB or is 2 more than enough?
Thank you -
RE: Contrasting text on a changing background, again
@mmrize is there a how2 for MM to get this?
-
RE: Disassembly a Dell U2715H
@earnestrichards thank you, I will write them a mail.
-
RE: SmartMirror ~ Dashboard
@zoltan outstanding work and documentation, thank you Sir.
-
RE: Changing the colour of all text on screen
Add the following to the custom.css to make the text a little brighter:
.normal, .dimmed, header, body { color: #fff; }
-
RE: MMM-RAIN-MAP (new: version 2.x)
Thank you,
.MMM-RAIN-MAP { opacity: 0.7; }
in the custom.css works very well.
-
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
-
RE: MMM-SystemStats (cpu temp/load, fre ram ...)
UPDATE:
I included into the custom.css
/** * MMM-SystemStats */ .MMM-SystemStats table { width: 350px; color: #666; font-size: 20px; } .MMM-SystemStats td { line-height: 20px; }
that works for me. Not sure if that was the right way. But hey, its fine.
Latest posts made by MajorC
-
RE: Wind direction 180 degrees twisted at Yr
@magmar wonderful. Thank you very much.
-
RE: Wind direction 180 degrees twisted at Yr
@magmar I only know weather with the arrow pointing into the direction the wind is blowing. But maybe that could be a good option as a config.
-
RE: MMM-bergfex not working
You moved to gitlab with MMM-bergfex. But in the readme is:
clone https://github.com/FatTony404/MMM-bergfex.git
Should this not be
clone https://gitlab.com/FatTony404/MMM-bergfex.git
???
Christian -
Wind direction 180 degrees twisted at Yr
Hello,
I am happy to be able to use Yr in the weather module. However, I noticed that the “translation” of the wind direction is rotated 180 degrees.
If you show the arrow(showWindDirectionAsArrow: false)
the wind is displayed exactly as it is on www.yr.no.But if you want to show the direction as the direction name (SSW for wind from south-south-west) NNO is displayed. So exactly 180 degrees twisted.
A bug or have I understood something wrong?
-
RE: Shared Google Calendars
@dhannum I have implemented exactly your setup with myself. There is a family calendar and a personal calendar for each family member.
I have set up the family calendar myself, there I find the iCal link I am looking for. The family members have built their own calendars in their accounts. They share with ME the iCal link. I myself cannot drag it. It must be given to me by the main user.
-
RE: More of a Smart Display than a Magic Mirror..
@Camthalion you could post the code, marked as code here in the forum or upload files with a hint where to look at.
Thank you -
RE: More of a Smart Display than a Magic Mirror..
@Camthalion if you could share the way you get this wonderful weather running, that would be great.
Thank you,
Christian
-
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
-
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
-
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 likeicloudpd /your/photos/directory \ --username my@mail.com \ --password password \ --recent 5 \ --auto-delete
nothing happend.