as we have transitioned the Forum to new systems and newer NodeBB software, we are still finding things we need to adjust…
so daily we will need to restart … its about 5pm US eastern time… only down for a couple minutes…
thanks for your patience
Hey!
Been looking around for an option to get my Pi to restart once a day or at least get my MM restarting once a day. There seems to be an issue where some modules wont update unless i reboot MM. For example Google Calendar.
There is a lot of guides out there, but i simply cant get it to work. Most of them are really old, so i guess they are outdated or maybe I´m doing it wrong :)
Anyhow,
What would be the easiest way to get my PI or MM to have a schedules restart once a day?
Running a Raspberry Pi 3b+ with
Thanks for the support!
I’ve been using this module for several months and love it. Now, after adding buttons that work with MMM-Carousel2 in slide mode, I would like to add a new instance of the calendar displaying the next month. I know that I need to add another instance in the config.js file, and change the instanceID of the new calendar to a different name and change the monthIndex to 1 so it will show the next month vice the current month. My question, is how do I call the different instance using carousel? Right now, I have “CURR_MONTH” on the first slide by simply calling “MMM-CalendarExt3” in the list for slide one. When I add the second instance (“NEXT_MONTH”) in the config file, how do I specify which instance to use on each slide?
Neither of these modules update stock market values.
The table comes up but there are no numbers.
All other modules work fine, so this is not connection issue.
Please help!
Thank you
I’m having issues with my calendar view. The closest to being correct is the first picture. Everything here is correct however 1 event is duplicated on the 2nd of each month and should not be.
The next image shows all of the full day evens shifted left by one day.
The next shows the full day event expanding by one day the following shows the event expanding one more day.
All of these occur with the same config file and change between them when it does it’s refresh
Can anyone provide any insights or troubleshooting steps.
module: “calendar”,
config: {
broadcastPastEvents: true, // <= IMPORTANT to see past events
showEnd: false,
forceLocalTZ: false,
Is my current calendar settings
20240413_094859-min.jpg
20240413_101317-min.jpg
20240413_152912-min.jpg
20240413_114029-min.jpg
we have received notice from Openweather, that they are shutting down the version 2.5 weather endpoint in June 2024
see
https://github.com/MagicMirrorOrg/MagicMirror/issues/3424
for the weather provided by MagicMirror, you will also have to change or add the apiVersion property
see the documentation for exact format
https://docs.magicmirror.builders/modules/weather.html
I have a request if someone can make a TickTick module that is similar to the Todoist module that we have. (https://github.com/cbrooker/MMM-Todoist/blob/master/MMM-Todoist.js)
Everything can remain the same. We just need to integrate the new TickTick API response.
Hi,
I have been struggling with getting this module to work after many attemps. This is the only module I havent been able to get work. I wanted to see if anyone can notice a dumb issue I may be not seeing. I’ve been going crazy trying to get this to work and I keep getting an error when running it.
{ module: 'MMM-GoogleTrafficTimes', position: 'top_left', config: { key: 'AIzaSyBgXWdpBmbL-pMhx95YNNM7fT_mutMKuts', origin: '11111 Inglewood Blvd Los Angeles CA 90040', destinations: [ { name: "Work", address: "2000 E 7th Place Los Angeles 90021" }, ], updateInterval: 900000, avoidHighways: false, avoidTolls: false, mode: 'driving', language: "en-EN", offsetTime: 25, lastUpdate: true, timeLastUpdateWarning: 1, horizontalLayout: false, schedules: [], debug: false } },I have just tried this evening to install the MMM-Trello module but all I keep getting on screen is a “403” error. I have gone through the instructions on how to get an API key, Token and List ID - although the instructions didn’t mention anything about how to set up a “Power-up” in order to get an API key, so I may have gotten something wrong there.
The error I get in mm-output.log is as follows:
[2024-04-16 18:07:01.331] [LOG] Error: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <TITLE>ERROR: The request could not be satisfied</TITLE> </HEAD><BODY> <H1>403 ERROR</H1> <H2>The request could not be satisfied.</H2> <HR noshade size="1px"> Bad request. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner. <BR clear="all"> If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation. <BR clear="all"> <HR noshade size="1px"> <PRE> Generated by cloudfront (CloudFront) Request ID: L7l3Vmi9ENxYRatH9ppTYpkzLwGjimhhapEyq0z0KD0RANw3Wbg9YA== </PRE> <ADDRESS> </ADDRESS> </BODY></HTML> at Request._callback (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/node-trello/lib/node-trello.js:88:13) at self.callback (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/request/request.js:185:22) at Request.emit (node:events:514:28) at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/request/request.js:1154:10) at Request.emit (node:events:514:28) at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/request/request.js:1076:12) at Object.onceWrapper (node:events:628:28) at IncomingMessage.emit (node:events:526:35) at endReadableNT (node:internal/streams/readable:1408:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { statusCode: 403, responseBody: '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\n' + '<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">\n' + '<TITLE>ERROR: The request could not be satisfied</TITLE>\n' + '</HEAD><BODY>\n' + '<H1>403 ERROR</H1>\n' + '<H2>The request could not be satisfied.</H2>\n' + '<HR noshade size="1px">\n' + 'Bad request.\n' + "We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.\n" + '<BR clear="all">\n' + 'If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.\n' + '<BR clear="all">\n' + '<HR noshade size="1px">\n' + '<PRE>\n' + 'Generated by cloudfront (CloudFront)\n' + 'Request ID: L7l3Vmi9ENxYRatH9ppTYpkzLwGjimhhapEyq0z0KD0RANw3Wbg9YA==\n' + '</PRE>\n' + '<ADDRESS>\n' + '</ADDRESS>\n' + '</BODY></HTML>', statusMessage: 'Forbidden' }For the record, the Weather and Calendar app are pulling data correctly.
Any ideas?
Hi Everyone,
I am an excited new user of MagicMirror but I am also a beginner. I have been able to get MM installed on my Windows Machine and successfully launched!
However, I am running into issue with editing the config file. I use a text editor to make edits, run the config check to make sure there are no syntax errors, but when I launch the application, it shows the outputs from the original config file rather than the edits I have made to that same file.
What am I doing wrong?
All help much appreciated.
Thanks
Jon
Hi,
as stated in the title, when I try to clone the repository I am asked for a username and password. I have tried my personal GitHub credentials but receive Authentication Failed . How do I avoid this and clone the repository properly?
Thanks :)
So, my SmartMirror was setup once again and then it started working and will no longer start up. This is what happens when I try and force it to start.
rutger@smartmirror:~/MagicMirror $ npm start dev
magicmirror@2.27.0 start
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js dev
[2024-04-14 10:45:29.422] [LOG] Starting MagicMirror: v2.27.0
[2024-04-14 10:45:29.481] [LOG] Loading config …
[2024-04-14 10:45:29.488] [LOG] config template file not exists, no envsubst
[2024-04-14 10:45:29.495] [LOG] Loading module helpers …
[2024-04-14 10:45:29.497] [LOG] No helper found for module: alert.
[2024-04-14 10:45:29.976] [LOG] Initializing new module helper …
[2024-04-14 10:45:29.977] [LOG] Module helper loaded: updatenotification
[2024-04-14 10:45:29.979] [LOG] No helper found for module: clock.
[2024-04-14 10:45:29.981] [LOG] No helper found for module: MMM-NsInfo.
[2024-04-14 10:45:29.983] [LOG] No helper found for module: compliments.
[2024-04-14 10:45:29.984] [LOG] No helper found for module: weather.
[2024-04-14 10:45:31.036] [ERROR] (node:1578) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘core-js/modules/es.string.replace.js’
Require stack:
as we have transitioned the Forum to new systems and newer NodeBB software, we are still finding things we need to adjust…
so daily we will need to restart … its about 5pm US eastern time… only down for a couple minutes…
thanks for your patience
Hey!
Im new in the MM community and got some issues setting up multiple Google Calendars.
The first one works fine. Then i tried to set up two more from two different accounts.
The URL i correct. But when I boot my mirror it says that there is nothing in the calendar and sometimes it says that there is an error in the module. I guess i have made an error somewhere, but cant figure it out. I have made changes to my url in the post since its my private calendar.
Sorry about the mess in my config !
Extreme noob here so be gentle.
First, crice009 has created a module to pull NOAA tide data from a specific monitoring station and graph predicted vs actual data. I’m looking for something a little different. I’d like to see a simple chart consisting of the tide times and heights for three days pulled every night. Should I create a new module or fork off of crice009’s.
I am reading the MM module building documentation but a LOT is going over my head.
Reading some other posts, I got the idea to ask chatgpt to write the code I think I want. Tell me what you think.
const axios = require('axios'); const moment = require('moment'); // Function to fetch tide data for a specific date async function fetchTideData(date) { try { const response = await axios.get('https://api.tidesandcurrents.noaa.gov/api/prod/datagetter', { params: { begin_date: date.format('YYYYMMDD'), end_date: date.format('YYYYMMDD'), station: '8722670', // NOAA station ID for Port of West Palm Beach product: 'predictions', datum: 'MLLW', units: 'english', time_zone: 'lst_ldt', format: 'json', } }); return response.data.predictions; } catch (error) { console.error('Error fetching tide data:', error); return []; } } // Function to display tide data for a specific date function displayTideData(date, tideData) { console.log(`High and Low Tides for Port of West Palm Beach (Date: ${date.format('YYYY-MM-DD')})`); console.log('--------------------------------------------------'); console.log('| Time | Type | Height (feet) |'); console.log('--------------------------------------------------'); tideData.forEach(tide => { console.log(`| ${tide.t} | ${tide.type} | ${tide.v} |`); }); console.log('--------------------------------------------------'); } // Function to fetch and display tide data for today, tomorrow, and the following day async function fetchAndDisplayTideData() { const today = moment(); for (let i = 0; i < 3; i++) { const date = today.clone().add(i, 'days'); const tideData = await fetchTideData(date); displayTideData(date, tideData); } } // Main function to execute the program async function main() { await fetchAndDisplayTideData(); } // Run the main function main();Hi, I use Tom Hirschberger’s MMM-Temperature to display temp and humidity from an adafruit sht31d. It has a dependency of the Adafruit CircuitPython Library. I’ve upgrade my pi to Bookworm. Python now runs in a virtual environment. I can activate the virtual environment and get everything to work if I launch MM2 in the virtual environment using npm start. It doesn’t work using PM2 start MagicMirror.
I know you call call python without explicitly activating the environment but I’m not sure what changes need to be made to module.
Maybe create a systemd unit file to run the the library at startup?
Ideally, I want the same functionality back; my MM starts on boot and python works normally.
Has anyone seen this or has a fix?
Thanks!
Hello! I’m very new to MM and a completely inexperienced coder.
For my MM project, I was hoping to integrate Notion pages/elements into my Smart Mirror. I will be using a Touchscreen IR sensor, and I intend to use my mirror for school organisation.
As you can see in the image, this is a board from Notion, one of the interactable pages I wish to have on my smart mirror.
Screenshot 2024-04-13 at 11.24.28 AM.png
Notion has the ability to create API integrations and has an extensive developers program. (See the links below)
https://developers.notion.com/
https://developers.notion.com/docs/getting-started
I would appreciate if someone could take a look at this and tell me if my idea is plausible. If so, I will be happy to pay someone to develop this module for me.
:)
Hi there,
Getting a blank screen however can still see the mirror on the Remote Control module on my phone.
I have ran a config check which is all clear however when i ran npm run server i get the following:
magicmirror@2.26.0 server
node ./serveronly
[12.04.2024 18:14.50.872] [LOG] Starting MagicMirror: v2.26.0
[12.04.2024 18:14.50.882] [LOG] Loading config …
[12.04.2024 18:14.50.887] [DEBUG] config template file not exists, no envsubst
[12.04.2024 18:14.50.909] [LOG] Loading module helpers …
[12.04.2024 18:14.50.912] [LOG] No helper found for module: alert.
[12.04.2024 18:14.50.983] [LOG] Initializing new module helper …
[12.04.2024 18:14.50.986] [LOG] Module helper loaded: updatenotification
[12.04.2024 18:14.50.989] [LOG] No helper found for module: clock.
[12.04.2024 18:14.51.559] [LOG] Initializing new module helper …
[12.04.2024 18:14.51.563] [LOG] Module helper loaded: calendar
[12.04.2024 18:14.51.566] [LOG] No helper found for module: MMM-CalendarExt3.
[12.04.2024 18:14.51.735] [LOG] Initializing new module helper …
[12.04.2024 18:14.51.736] [LOG] Module helper loaded: MMM-OpenWeatherMapForecast
[12.04.2024 18:14.51.761] [LOG] Initializing new module helper …
[12.04.2024 18:14.51.762] [LOG] Module helper loaded: MMM-MyScoreboard
[12.04.2024 18:14.52.200] [LOG] Initializing new module helper …
[12.04.2024 18:14.52.201] [LOG] Module helper loaded: MMM-Remote-Control
[12.04.2024 18:14.52.202] [LOG] No helper found for module: MMM-Carousel.
[12.04.2024 18:14.53.227] [LOG] Initializing new module helper …
[12.04.2024 18:14.53.229] [LOG] Module helper loaded: MMM-Todoist
[12.04.2024 18:14.53.230] [LOG] No helper found for module: MMM-CountDown.
[12.04.2024 18:14.54.066] [LOG] Initializing new module helper …
[12.04.2024 18:14.54.067] [LOG] Module helper loaded: MMM-MovieListings
[12.04.2024 18:14.54.250] [LOG] Initializing new module helper …
[12.04.2024 18:14.54.251] [LOG] Module helper loaded: MMM-OnSpotify
[12.04.2024 18:14.55.320] [LOG] Initializing new module helper …
[12.04.2024 18:14.55.321] [LOG] Module helper loaded: MMM-NewsFeedTicker
[12.04.2024 18:14.55.623] [LOG] Initializing new module helper …
[12.04.2024 18:14.55.624] [LOG] Module helper loaded: newsfeed
[12.04.2024 18:14.55.625] [LOG] All module helpers loaded.
[12.04.2024 18:14.55.646] [LOG] Starting server on port 8080 …
[12.04.2024 18:14.55.654] [WARN] You’re using a full whitelist configuration to allow for all IPs
[12.04.2024 18:14.55.700] [ERROR] Whoops! There was an uncaught exception…
[12.04.2024 18:14.55.729] [ERROR] Error: listen EADDRINUSE: address already in use 0.0.0.0:8080
at Server.setupListenHandle [as _listen2] (node:net:1872:16)
at listenInCluster (node:net:1920:12)
at doListen (node:net:2069:7)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21) {
code: ‘EADDRINUSE’,
errno: -98,
syscall: ‘listen’,
address: ‘0.0.0.0’,
port: 8080
}
[12.04.2024 18:14.55.730] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[12.04.2024 18:14.55.731] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
Still really new to this any ideas how i can fix this?
Many thanks in advance!
Hi all
used this in my css custom file from CSS experiments for newbies (thx to Piranha1605) I’m new to css
but got everything i want working . what i want is to shorten the banner for the newsfeed. i want it to stop and start only around the text that newsfeed gives… thx in advance unison
html {
cursor: default;
overflow: hidden;
background: #000;
}
body {
margin: 10px;
position: absolute;
width: calc(100% - 20px);
height: calc(100% - 20px);
margin-bottom: -10px;
font-size: 1rem;
font-weight: 300;
line-height: 1.5;
color: rgba( 0, 150, 254, 1 );
background: transparent;
}
header {
background: transparent;
padding: 0.5rem;
text-align: center;
font-size: 20px;
color: rgba( 0, 150, 254, 1 );
text-shadow: 0 0 30px rgba( 0, 150, 254, .7 ), 0 0 50px rgba( 0, 150, 254, 1 );
border-bottom: 0.7px solid rgba( 0, 150, 254, 1 );
}
.dimmed {
color: rgba( 0, 150, 254, 1 );
}
.normal {
color: rgba( 0, 150, 254, 1 );
}
.bright {
color: rgba( 0, 150, 254, 1 );
}
/**
module.color_border_shadow.clock .time {
font-size: 80px;
text-align: center;
margin-top: 25px;
color: rgba( 0, 150, 254, 1 );
padding: 15px;
}
.clock .date {
background: transparent;
padding: 5px;
text-align: center;
border-bottom: 0.7px solid rgba( 0, 150, 254, 1 );
color: rgba( 0, 150, 254, 1 );
text-shadow: 0 0 30px rgba( 0, 150, 254, .7 ), 0 0 50px rgba( 0, 150, 254, 1 );
font-size: 20px;
}
/**
module.width_heightHi everybody,
I think I have a memory issue and I am looking for some advice to solve that.
I am running newest Mirror and only a few modules on a Pi 3B+.
The system works fine, actually mainly displaying calendar, time, weather and pictures (MMM-BackgroundSlideshow).
I am running in overlay file system.
Sometimes (I think when RAM is full - but that is just a guess for now), the screen is frozen.
If it was displaying, then the last display is frozen. When is was disabled by PIR, then it comes up black and all I can see is the mouse pointer from the desktop.
In that conditions, I still can view the “normal” mirror screen when opening the IP address on a different PC - works normally.
I also can access the PI via ssh (most of the times).
Also sometimes I can still restart the mirror with Remote module.
The memory is filled up (I guess mainly due to the pictures shown) and to my feeling the “freeze” happens when RAM is full. But for some reason it then gets freed-up and filles again - just not displaying on screen anymore, like this:
9f772299-a946-474c-bfa7-1b0cb9b67a4b-grafik.png
(during the first two free-requests is was still working normally, then if froze and the last free-request is in frozen state - server still running showing normal screen on webbrowser of PC)
Am I correct in suspecting RAM resources to be the problem?
Is there any way to clear something (cron jon, scheduler request, etc.) during runtime?
Or would I need to stop the mirror and restart it to free RAM?
Any hint appreciated.