@sdetweil
Ah, it didn’t like units, but when I specified the Tempunits and Windunits, then it updated.
Read the statement by Michael Teeuw here.
Best posts made by Kelemvor
-
RE: Weather module doesn't load
-
RE: Module isn't staying in its position area
@BKeyport Thanks. I’m using the “mywordoftheday” module. I put in a max-width 400px and it seemed to do the trick.
Thanks.
Latest posts made by Kelemvor
-
MMM-GooglePhotos - Just says Loading...
Hi,
I followed all the instructions to install the Google Photos module. I got the json files and I think I did everything correctly. When I reboot my MM, I just get the word “Loading…” on the screen, but nothing else happens.
When I run MM via npm, I see this in the text:
[09.03.2024 16:15.43.513] [INFO] Checking git for module: MMM-GooglePhotos [09.03.2024 16:15.43.585] [ERROR] unable to load cache [Error: ENOENT: no such file or directory, open '/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/cache/photoListCache.json'] { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/cache/photoListCache.json' } [09.03.2024 16:15.43.585] [INFO] Initialization complete! [09.03.2024 16:15.43.586] [INFO] Start first scanning. [09.03.2024 16:15.43.588] [INFO] Start Album scanning [09.03.2024 16:15.43.590] [INFO] Getting album list
Then a bit further down I see this:
[09.03.2024 16:16.12.348] [ERROR] Trace: [GPHOTOS:CORE] request fail with URL sharedAlbums at GPhotos.logTrace (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:128:13) at GPhotos.request (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:169:12) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async getAlbum (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:207:24) at async GPhotos.getAlbums (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:179:18) at async Class.getAlbums (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:200:15) at async Class.getAlbumList (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:246:18) at async Class.scanJob (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:227:5) [09.03.2024 16:16.12.350] [ERROR] Trace: [GPHOTOS:CORE] params {"pageSize":50,"pageToken":""} at GPhotos.logTrace (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:128:13) at GPhotos.request (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:170:12) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async getAlbum (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:207:24) at async GPhotos.getAlbums (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:179:18) at async Class.getAlbums (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:200:15) at async Class.getAlbumList (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:246:18) at async Class.scanJob (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:227:5) [09.03.2024 16:16.12.352] [ERROR] Trace: [GPHOTOS:CORE] data null at GPhotos.logTrace (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:128:13) at GPhotos.request (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:171:12) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async getAlbum (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:207:24) at async GPhotos.getAlbums (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:179:18) at async Class.getAlbums (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:200:15) at async Class.getAlbumList (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:246:18) at async Class.scanJob (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:227:5) [09.03.2024 16:16.12.361] [ERROR] Converting circular structure to JSON --> starting at object with constructor 'TLSSocket' | property '_httpMessage' -> object with constructor 'ClientRequest' --- property 'socket' closes the circle stack: TypeError: Converting circular structure to JSON --> starting at object with constructor 'TLSSocket' | property '_httpMessage' -> object with constructor 'ClientRequest' --- property 'socket' closes the circle at JSON.stringify (<anonymous>) at error_to_string (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/error_to_string.js:13:38) at GPhotos.request (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:172:21) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async getAlbum (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:207:24) at async GPhotos.getAlbums (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:179:18) at async Class.getAlbums (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:200:15) at async Class.getAlbumList (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:246:18) at async Class.scanJob (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:227:5) [09.03.2024 16:16.12.369] [ERROR] (node:26481) UnhandledPromiseRejectionWarning: TypeError: Converting circular structure to JSON --> starting at object with constructor 'TLSSocket' | property '_httpMessage' -> object with constructor 'ClientRequest' --- property 'socket' closes the circle at JSON.stringify (<anonymous>) at error_to_string (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/error_to_string.js:13:38) at GPhotos.request (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:172:21) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async getAlbum (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:207:24) at async GPhotos.getAlbums (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:179:18) at async Class.getAlbums (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:200:15) at async Class.getAlbumList (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:246:18) at async Class.scanJob (/home/kelemvor/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:227:5) (Use `electron --trace-warnings ...` to show where the warning was created) [09.03.2024 16:16.12.373] [ERROR] (node:26481) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 17)
Anyone know where I can start looking to figure out what all this means?
Thanks.
-
MMM-GooglePhotos - How do I get the Token?
Hi,
I’m reading this page and have a question: https://github.com/hermanho/MMM-GooglePhotos/blob/master/INSTALL.md
The first step under token.json says: Clone this repo in your local pc and execute npm install
My local PC is a laptop running Windows 10. I’m not a Linux person so I’m not sure how to clone it to my laptop. Can anyone tell me what I need to do to go through that step?
Thanks!
-
RE: MMM-CalendarExt3Agenda - Can I Make it show more events?
@sdetweil Hi,
I ran it via npm start and got this. There are always hundreds of events since it’s my, my wife’s, my daughter’s, etc calendars.
It still looks like it did in my above pictures where it only goes partway own the screen.
-
RE: MMM-CalendarExt3Agenda - Can I Make it show more events?
Sorry I haven’t had time to work on this until now. I pasted in your CSS info, and changed the maximumEntries to 99 in the default calendar area, but it didn’t change the events. I used the CSS from up above, and even changed the max-height to 1850, just to use a really big number.
These are the various CSS entries I have for this module:
.CX3A { font-size: 20px; /* default was 16px */ min-width: 440px; max-width: 440px; overflow-y: unset; text-align: left; position: relative; color: var(--color-text); --todayColor: BurlyWood; padding: 5px 5px; max-height: 1850px; } .CX3A .event .description, .CX3A .event .location { display: none; } .CX3A .cw { display: none; } .CX3A .relativeDay { display:none; } .CX3A .relativeDay.relativeDay_0 { display: inline-block; }
The only thing I have for the Config for the default calendar module is:
config: { maximumEntries: 99, calendars: [...
And here’s the config section for this module:
{ module: "MMM-CalendarExt3Agenda", position: "top_right", title: "My Agenda", config: { weatherPayload: (payload) => { if (Array.isArray(payload?.forecastArray)) { payload.forecastArray = payload.forecastArray.map((f) => { f.maxTemperature = Math.round(f.maxTemperature * 9 / 5 + 32) f.minTemperature = Math.round(f.minTemperature * 9 / 5 + 32) return f }) } return payload }, waitFetch: 180000, instanceId: "basicCalendar", locale: 'en-US', firstDayOfWeek: 0, startDayIndex: 0, miniMonthWeekdayOptions: { weekday: 'short' }, endDayIndex: 10, skipDuplicated: true, calendarSet: ['m', 'c', 'e', 'n', 'packers', 'volleyball'], } },
I still only have the events going about halfway down the screen. I’m trying ot get it to go down and fill in the area in the red box.
-
RE: MMM-CalendarExt3Agenda - Can I Make it show more events?
@BKeyport said in MMM-CalendarExt3Agenda - Can I Make it show more events?:
max-height: 850px;
Well, I tried setting min-height to a really high number. This made the box go down off the screen, but the data still stopped where it did before. When I watch the text as MM is loading, I can see it’s loading 100+ entries for each calendar. I’m pretty sure the events are there, it’s just not displaying them.
Here’s what I see currently. My modules have shading behind them to make them easier to read…
-
MMM-CalendarExt3Agenda - Can I Make it show more events?
Hi,
I’m not sure if this is a module thing, or a MM thing, but I have MMM-CalendarExt3Agenda setup as the only thing in my top_right location. I want it to go all the way down the side of my screen until it gets to the one thing I have in the Bottom_bar area. However, it’s stopping just over halfway down the screen.
Is there a way I can tell the module to show more events so it uses more of the screen? Or maybe I have to do something with the MM layout sections to make top_right go down further and MMM-CalendarExt3Agenda will then take up more space?
Thanks for any ideas.
-
Can I hard code the widths for the top_left and top_right columns?
Hi,
I have a MM module that expands to take up too much of the screen. Instead of using max_width for that one module, is there a way I can hard code the width of both the left and right columns (fields, locations, whatever you call it).I’d like to specify the width of the blank space that goes all the way around the display (or at last the left and right edges), and the width of the left and right columns. I assume this would go in the CSS file somewhere, but I don’t know the names of what I’d need to specify.
Thanks.
-
RE: MMM-CalendarExt3Agenda no longer working after MM update
@MMRIZE Hi. The version in Packages.json is 1.4.1.
Thanks.
-
RE: MMM-CalendarExt3Agenda no longer working after MM update
THe vk thing doesn’t seem to be affecting anything so I’ll make a new thread about that if somethign comes up.
MM is still telling me that there’s an update available for CalendarExt3Agenda.
I previously ran:
cd ~/MagicMirror/modules/MMM-CalendarExt3Agenda git pull npm update
But it still tells me there’s an update. Is there some other command I need to run? I ran it before running the commands you pasted in above so maybe I just need to run these commands again?
Thanks.
-
RE: MMM-CalendarExt3Agenda no longer working after MM update
@sdetweil Thanks!
I ran that and it seemed to fix the problem. It still tells me there’s an update for Ext3Agenta. Do I now need to run the Upgrade commands from Git again?
cd ~/MagicMirror/modules/MMM-CalendarExt3Agenda git pull npm update
Also, at the end of everything loading I see this. Not sure what it means or if it’s important or not.
Thoughts?