Hello,
I am stuck with adding my Google Photos to the Magic Mirror. The photos are not showing up at all. Any help anyone can give me would be greatly appreciated.
Here is the info from my terminal:
pi@raspberrypi:~/MagicMirror/MMM-GooglePhotos $ cd ~/MagicMirror && DISPLAY=:0 npm start
and https://docs.magicmirror.builders/modules/configuration.html
*/
let config = {
address: "localhost", // Address to listen on, can be:
// - "localhost", "127.0.0.1", "::1" to listen on loopback interface
// - another specific IPv4/6 to listen on a specific interface
// - "0.0.0.0", "::" to listen on any interface
// Default, when address config is left out or empty, is "localhost"
port: 8080,
basePath: "/", // The URL path where MagicMirror² is hosted. If you are using a Reverse proxy
// you must set the sub path here. basePath must end with a /
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
// or add a specific IPv4 of 192.168.1.5 :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
// or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
useHttps: false, // Support HTTPS or not, default "false" will use HTTP
httpsPrivateKey: "", // HTTPS private key path, only require when useHttps is true
httpsCertificate: "", // HTTPS Certificate path, only require when useHttps is true
language: "en",
locale: "en-US",
logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
timeFormat: 12,
units: "imperial",
// serverOnly: true/false/"local" ,
// local for armv6l processors, default
// starts serveronly and then starts chrome browser
// false, default for all NON-armv6l devices
// true, force serveronly mode, because you want to.. no UI on this device
modules: [
{
module: "alert",
},
{
module: "updatenotification",
position: "top_bar"
},
{
module: "clock",
position: "top_left"
},
{
module: "calendar",
header: "Calendar",
position: "top_left",
config: {
calendars: [
{
symbol: "calendar-check",
url: "webcal://p43-caldav.icloud.com/published/2/MjIwMDY3MjYzMjIwMDY3MmNeJ_dgIZ3RVcvlBgT3onIPTXlTLaVQoXXyjaKUuQge"
}
]
}
},
{
module: "MMM-GooglePhotos",
position: "fullscreen_below",
config: {
albums: ["Magic Mirror"], // Set your album name. like ["My wedding", "family share", "Travle to Paris"]
updateInterval: 1000 * 60, // minimum 10 seconds.
sort: "random", // "old", "random"
uploadAlbum: null, // Only album created by create_uploadable_album.js.
condition: {
fromDate: null, // Or "2018-03", RFC ... format available
toDate: null, // Or "2019-12-25",
minWidth: null, // Or 400
maxWidth: null, // Or 8000
minHeight: null, // Or 400
maxHeight: null, // Or 8000
minWHRatio: null,
maxWHRatio: null,
// WHRatio = Width/Height ratio ( ==1 : Squared Photo, < 1 : Portraited Photo, > 1 : Landscaped Photo)
},
showWidth: 1080, // These values will be used for quality of downloaded photos to show. real size to show in your MagicMirror region is recommended.
showHeight: 1920,
timeFormat: "YYYY/MM/DD HH:mm", // Or relative can be used.
}
},
{
module: "weather",
position: "top_right",
config: {
weatherProvider: "openweathermap",
type: "current",
location: "New York",
locationID: "5128581", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
apiKey: "YOUR_OPENWEATHER_API_KEY"
}
},
{
module: "weather",
position: "top_right",
header: "Weather Forecast",
config: {
weatherProvider: "openweathermap",
type: "forecast",
location: "York, PA",
locationID: "5128581", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
apiKey: "YOUR_OPENWEATHER_API_KEY"
}
},
{
module: "newsfeed",
position: "bottom_bar",
config: {
feeds: [
{
title: "New York Times",
url: "https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml"
}
],
showSourceTitle: true,
showPublishDate: true,
broadcastNewsFeeds: true,
broadcastNewsUpdates: true
}
},
]
};
/ DO NOT EDIT THE LINE BELOW /
if (typeof module !== "undefined") {module.exports = config;}
It doesn't look like you've specified any albums in your config:
albums: ["Magic Mirror"], // Set your album name. like ["My wedding", "family share", "Travle to Paris"]
Hello, I am stuck with adding my Google Photos to the Magic Mirror. The photos are not showing up at all. Any help anyone can give me would be greatly appreciated.
Here is the info from my terminal:
pi@raspberrypi:~/MagicMirror/MMM-GooglePhotos $ cd ~/MagicMirror && DISPLAY=:0 npm start
[12.05.2022 13:22.07.269] [LOG] Starting MagicMirror: v2.19.0 [12.05.2022 13:22.07.286] [LOG] Loading config ... [12.05.2022 13:22.07.316] [LOG] Loading module helpers ... [12.05.2022 13:22.07.326] [LOG] No helper found for module: alert. [12.05.2022 13:22.07.372] [LOG] Initializing new module helper ... [12.05.2022 13:22.07.375] [LOG] Module helper loaded: updatenotification [12.05.2022 13:22.07.381] [LOG] No helper found for module: clock. [12.05.2022 13:22.07.924] [LOG] Initializing new module helper ... [12.05.2022 13:22.07.926] [LOG] Module helper loaded: calendar [12.05.2022 13:22.07.929] [LOG] No helper found for module: MMM-GooglePhotos. [12.05.2022 13:22.07.935] [LOG] No helper found for module: weather. [12.05.2022 13:22.08.014] [LOG] Initializing new module helper ... [12.05.2022 13:22.08.015] [LOG] Module helper loaded: newsfeed [12.05.2022 13:22.08.018] [LOG] All module helpers loaded. [12.05.2022 13:22.08.441] [LOG] Starting server on port 8080 ... [12.05.2022 13:22.08.495] [LOG] Server started ... [12.05.2022 13:22.08.498] [LOG] Connecting socket for: updatenotification [12.05.2022 13:22.08.501] [LOG] Starting module helper: updatenotification [12.05.2022 13:22.08.502] [LOG] Connecting socket for: calendar [12.05.2022 13:22.08.504] [LOG] Starting node helper for: calendar [12.05.2022 13:22.08.506] [LOG] Connecting socket for: newsfeed [12.05.2022 13:22.08.508] [LOG] Starting node helper for: newsfeed [12.05.2022 13:22.08.510] [LOG] Sockets connected & modules started ... [12.05.2022 13:22.09.951] [LOG] Launching application. [5185:0512/132213.825083:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization [5226:0512/132214.108597:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process. [12.05.2022 13:22.17.908] [LOG] Create new calendarfetcher for url: http://p43-caldav.icloud.com/published/2/MjIwMDY3MjYzMjIwMDY3MmNeJ_dgIZ3RVcvlBgT3onIPTXlTLaVQoXXyjaKUuQge - Interval: 300000 [12.05.2022 13:22.18.023] [LOG] Create new newsfetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000 [12.05.2022 13:22.18.120] [INFO] Checking git for module: default [12.05.2022 13:22.18.952] [INFO] Newsfeed-Fetcher: Broadcasting 28 items. [12.05.2022 13:22.22.843] [INFO] Calendar-Fetcher: Broadcasting 3 events. [12.05.2022 13:27.20.713] [INFO] Newsfeed-Fetcher: Broadcasting 28 items. [12.05.2022 13:27.26.972] [INFO] Calendar-Fetcher: Broadcasting 3 events.
And here is the config.js: / MagicMirror² Config Sample
and https://docs.magicmirror.builders/modules/configuration.html */ let config = { address: "localhost", // Address to listen on, can be: // - "localhost", "127.0.0.1", "::1" to listen on loopback interface // - another specific IPv4/6 to listen on a specific interface // - "0.0.0.0", "::" to listen on any interface // Default, when address config is left out or empty, is "localhost" port: 8080, basePath: "/", // The URL path where MagicMirror² is hosted. If you are using a Reverse proxy // you must set the sub path here. basePath must end with a / ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
useHttps: false, // Support HTTPS or not, default "false" will use HTTP httpsPrivateKey: "", // HTTPS private key path, only require when useHttps is true httpsCertificate: "", // HTTPS Certificate path, only require when useHttps is true
language: "en", locale: "en-US", logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging timeFormat: 12, units: "imperial", // serverOnly: true/false/"local" , // local for armv6l processors, default // starts serveronly and then starts chrome browser // false, default for all NON-armv6l devices // true, force serveronly mode, because you want to.. no UI on this device
modules: [ { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: "calendar", header: "Calendar", position: "top_left", config: { calendars: [ { symbol: "calendar-check", url: "webcal://p43-caldav.icloud.com/published/2/MjIwMDY3MjYzMjIwMDY3MmNeJ_dgIZ3RVcvlBgT3onIPTXlTLaVQoXXyjaKUuQge" } ] } }, { module: "MMM-GooglePhotos", position: "fullscreen_below", config: { albums: ["Magic Mirror"], // Set your album name. like ["My wedding", "family share", "Travle to Paris"] updateInterval: 1000 * 60, // minimum 10 seconds. sort: "random", // "old", "random" uploadAlbum: null, // Only album created by
create_uploadable_album.js
. condition: { fromDate: null, // Or "2018-03", RFC ... format available toDate: null, // Or "2019-12-25", minWidth: null, // Or 400 maxWidth: null, // Or 8000 minHeight: null, // Or 400 maxHeight: null, // Or 8000 minWHRatio: null, maxWHRatio: null, // WHRatio = Width/Height ratio ( ==1 : Squared Photo, < 1 : Portraited Photo, > 1 : Landscaped Photo) }, showWidth: 1080, // These values will be used for quality of downloaded photos to show. real size to show in your MagicMirror region is recommended. showHeight: 1920, timeFormat: "YYYY/MM/DD HH:mm", // Orrelative
can be used. } },] };
/ DO NOT EDIT THE LINE BELOW / if (typeof module !== "undefined") {module.exports = config;}