Solved Photos not showing
-
Any help is appreciated, Photos have stopped working for me when using the MMM-GoogleAssistant module, it used to work without issue and stopped about a week ago. All else works on the module, what I have tried is, npm run tokens, npm run update, and npm run rebuild with no luck.
If I disable photos api in the MMM-GoogleAssistant module and install MMM-GooglePhotos and configured that separately to check if it works and which it does.
Here is my config with just what I have for my the photos.
{
debug: true,
disabled: false,
module: “MMM-GoogleAssistant”,
position: “center”,
configDeepMerge: true,
config: {
debug: true,
assistantConfig: {
lang: “en-US”,
latitude: ,
longitude:
},
Extented: {
useEXT: true,
deviceName: “kitchenmm”,
photos: {
debug: true,
usePhotos: true,
useGooglePhotosAPI: true,
displayType: “Module”,
displayDelay: 60 * 1000,
albums: [“G”],
sort: “random”,
hiResolution: false,
moduleHeight: 1300,
moduleWidth: 1500,
cast: {
useCast: true,
},
},
recipes: [“ExtGPhotos.js”, “ExtRadio_fr.js”, “ExtRadio_it.js”, “MMM-MplayerRadio.js”, “Reboot-Restart-Shutdown.js”, “recipe.template.js”, “ScreenManager.js”, “with-MMM-Memo.js”, “with-MMM-pages.js”, “with-MMM-Selfieshot.js”],
}
},Heres what I have for MMM-GooglePhotos
{ debug: true, disabled: true, module: "MMM-GooglePhotos", position: "fullscreen_below", config: { albums: ["G"], // 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: 1024, // These values will be used for quality of downloaded photos to show. real size to show in your MagicMirror region is recommended. showHeight: 800, timeFormat: "YYYY/MM/DD HH:mm", // Or `relative` can be used. } },
I can upload npm logs, but they don’t show any errors. Here’s a snippet
1|MagicMirror | 2021-09-29T12:31:19 <log> [NPM] Details for MMM-GoogleAssistant [
1|MagicMirror | {
1|MagicMirror | name: ‘@bugsounet/npmcheck’,
1|MagicMirror | installed: ‘0.9.96’,
1|MagicMirror | latest: ‘0.9.96’
1|MagicMirror | },
1|MagicMirror | { name: ‘@bugsounet/cast’, installed: ‘1.1.2’, latest: ‘1.1.2’ },
1|MagicMirror | { name: ‘@bugsounet/governor’, installed: ‘1.0.3’, latest: ‘1.0.3’ },
1|MagicMirror | { name: ‘@bugsounet/internet’, installed: ‘1.1.1’, latest: ‘1.1.1’ },
1|MagicMirror | { name: ‘@bugsounet/pir’, installed: ‘1.0.5’, latest: ‘1.0.5’ },
1|MagicMirror | { name: ‘@bugsounet/screen’, installed: ‘1.1.8’, latest: ‘1.1.8’ },
1|MagicMirror | { name: ‘@bugsounet/spotify’, installed: ‘1.0.2’, latest: ‘1.0.2’ },
1|MagicMirror | {
1|MagicMirror | name: ‘@bugsounet/google-assistant’,
1|MagicMirror | installed: ‘1.2.7’,
1|MagicMirror | latest: ‘1.2.7’
1|MagicMirror | },
1|MagicMirror | {
1|MagicMirror | name: ‘@bugsounet/node-buffertomp3’,
1|MagicMirror | installed: ‘1.0.5’,
1|MagicMirror | latest: ‘1.0.5’
1|MagicMirror | },
1|MagicMirror | {
1|MagicMirror | name: ‘@bugsounet/node-lpcm16’,
1|MagicMirror | installed: ‘2.0.1’,
1|MagicMirror | latest: ‘2.0.1’
1|MagicMirror | },
1|MagicMirror | { name: ‘@bugsounet/cvlc’, installed: ‘1.0.5’, latest: ‘1.0.5’ },
1|MagicMirror | {
1|MagicMirror | name: ‘@bugsounet/google-photos’,
1|MagicMirror | installed: ‘1.0.0’,
1|MagicMirror | latest: ‘1.0.0’
1|MagicMirror | },
1|MagicMirror | { name: ‘@bugsounet/systemd’, installed: ‘1.0.0’, latest: ‘1.0.0’ },
1|MagicMirror | {
1|MagicMirror | name: ‘@bugsounet/cvlcmusicplayer’,
1|MagicMirror | installed: ‘1.0.4’,
1|MagicMirror | latest: ‘1.0.4’
1|MagicMirror | } -
I really don’t know what you try to do …
I have installed GA with photos sub-module and MMM-GooglePhoto !?Don’t forget this rule with google… you have some limit fetch.
2 modules for photos == 2X more trafic == Limit fetch autorized (by day) will be quickly obtained and the result will be error 403 (not autozized)I see your config and there is some mismake
- missing braket
- cast sub-module is inside photo modules !?
- recipe feature is inside Extented !?
Can you review it by using template please ?
-
Apologies, I wasn’t running both modules at the same time, I was simply saying that one module works and the other didn’t for the photos, but I found my problems, thank you for pointing out the missing bracket.