@sdetweil I’m not using pm2 - I didn’t install it and the log I posted above has a row that says ‘You are not using pm2’. Is there a similar thing that would keep rebooting my mirror?
Read the statement by Michael Teeuw here.
Posts
-
RE: Auto-restart after quitting
-
Auto-restart after quitting
I just installed MM on Windows, followed all the instructions from the wiki. I can successfully run from the Git Bash prompt with npm start.
The problem is, when I use Alt+Space to bring up the context menu and select Close, the mirror closes and then immediately re-opens (reboots?). I can see in the Bash window that it seems to be restarting - this is the bash console output from starting it once and closing it once (trying to):$ npm start
https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
[2024-11-25 08:43:40.834] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
[2024-11-25 08:43:43.320] [INFO] System information:SYSTEM: manufacturer: Dell Inc.; model: XPS 8940; virtual: false
OS: platform: Windows; distro: Microsoft Windows 10 Pro; release: 10.0
.19045; arch: x64; kernel: 10.0.19045
VERSIONS: electron: 31.6.0; used node: 20.17.0; installed node: 22.11.0; npm
: 10.9.0; pm2: 5.4.2
OTHER: timeZone: America/Chicago; ELECTRON_ENABLE_GPU: undefined
[2024-11-25 08:44:02.407] [LOG] Use existing calendarfetcher for url: https://
ics.calendarlabs.com/76/mm3137/US_Holidays.ics
[2024-11-25 08:44:02.408] [INFO] Calendar-Fetcher: Broadcasting 13 events from
https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
[2024-11-25 08:44:02.413] [LOG] Use existing newsfetcher for url: https://rss.
nytimes.com/services/xml/rss/nyt/HomePage.xml
[2024-11-25 08:44:02.413] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
[2024-11-25 08:44:02.414] [INFO] updatenotification: Updater Class Loaded!
[2024-11-25 08:44:02.414] [INFO] updatenotification: Checking PM2 using…
[2024-11-25 08:44:02.426] [INFO] updatenotification: [PM2] You are not using pm
2
[2024-11-25 08:44:02.494] [INFO] Calendar-Fetcher: Broadcasting 13 events from
https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
[2024-11-25 08:44:02.502] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
[2024-11-25 08:44:34.436] [LOG] Use existing calendarfetcher for url: https://
ics.calendarlabs.com/76/mm3137/US_Holidays.ics
[2024-11-25 08:44:34.437] [INFO] Calendar-Fetcher: Broadcasting 13 events from
https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
[2024-11-25 08:44:34.442] [LOG] Use existing newsfetcher for url: https://rss.
nytimes.com/services/xml/rss/nyt/HomePage.xml
[2024-11-25 08:44:34.442] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
[2024-11-25 08:44:34.443] [INFO] updatenotification: Updater Class Loaded!
[2024-11-25 08:44:34.443] [INFO] updatenotification: Checking PM2 using…
[2024-11-25 08:44:34.449] [INFO] updatenotification: [PM2] You are not using pm
2
[2024-11-25 08:44:34.529] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
[2024-11-25 08:44:34.541] [INFO] Calendar-Fetcher: Broadcasting 13 events from
https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.You can see the timestamps jump from 08:44:02 (first run) to 08:44:34 - after I closed MM and it restarted on its own.
So far the only way I found to stop this loop is to click on the Bash window and type Ctrl-C, which gives me this and closes the mirror:(path to my username)\MagicMirror\node_modules\electron\dist\electron.exe exited with signal SIGINT
Any ideas what the problem is?
-
Community opinions on an interactive List module
Building my first MM project, it’s a touch-screen for the family. One of my main needs is the ability to display interactive lists: meals for the week, items in our deep freezer, etc. I’d like the community to weigh in on whether you think it would be better for me to write my own module or use & modify an existing one.
For context: I built my first module already, a fairly easy timer. I’m fine with JS and CSS, though this is my first real node.js and Linux experience.
Requirements and nice-to-haves:
- ability to add/edit/remove items directly on the screen
- ability to optionally show a quantity for each item, and to easily change that. Worst-case I can do this within the item text, but it’d be nicer for the family to have a number they can touch and change next to each list item
- multiple lists
- ability to access the list from my phone while I’m out. This isn’t an absolute requirement but it would be nice.
I looked at the existing 3rd party modules, and the biggest issues are lack of interactivity - since many of you have this as a mirror, - and unknown module support. Modules that display from AnyList, Todoist, Microsoft To Do, Google Keep/Shopping List/Sheets look ok but I’d have to implement the interactive bits, as well as any other changes (some of the above may not work anymore).
Ideally I would love an integration with OurGroceries but I’m not sure I’m quite up to that task. I also looked at Mealie, which looks great, but the API is a bit daunting.If implementing my own module, I’d probably just keep the lists as json files in the module folder. I’m guessing this would be easier, but I don’t know how useful it would be to the community.
This is an open-ended prompt, and all thoughts are much appreciated. Are there modules out there I could use or build on? What do you think are some pros and cons?
Thanks!