Comments (6)
I solved the problem by disabling modules one by one
I found the fault in the compliment module.
On compliments.js file
I wrote :
compliments: {
anytime: [],
morning: [],
afternoon: [],
evening: []
then adding ββ
compliments: {
anytime: [""],
morning: [""],
afternoon: [""],
evening: [""]
the update interval was every 30 sec, thatβs why it blocked.
from mmm-pir-sensor.
What do you have in the logs?
from mmm-pir-sensor.
[TAILING] Tailing last 15 lines for [mm] process (change the value with --lines option)
/home/pi/.pm2/logs/mm-error.log last 15 lines:
0|mm | at Module.require (internal/modules/cjs/loader.js:685:19)
0|mm | at require (internal/modules/cjs/helpers.js:16:16)
0|mm | at bindings (/home/pi/magicMirror/modules/MMM-PIR/node_modules/bindings/bindings.js:112:48)
0|mm | [2020-09-11 17:14:18.869] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|mm | [2020-09-11 17:14:18.869] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|mm | npm ERR! code ELIFECYCLE
0|mm | npm ERR! errno 1
0|mm | npm ERR! [email protected] start: DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
0|mm | npm ERR! Exit status 1
0|mm | npm ERR!
0|mm | npm ERR! Failed at the [email protected] start script.
0|mm | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
0|mm |
0|mm | npm ERR! A complete log of this run can be found in:
0|mm | npm ERR! /home/pi/.npm/_logs/2020-09-11T15_15_06_393Z-debug.log
/home/pi/.pm2/logs/mm-out.log last 15 lines:
0|mm | [2020-09-14 08:12:13.627] [LOG] Connecting socket for: updatenotification
0|mm | [2020-09-14 08:12:13.628] [LOG] Connecting socket for: calendar
0|mm | [2020-09-14 08:12:13.629] [LOG] Starting node helper for: calendar
0|mm | [2020-09-14 08:12:13.631] [LOG] Connecting socket for: MMM-Todoist
0|mm | [2020-09-14 08:12:13.632] [LOG] Starting node helper for: MMM-Todoist
0|mm | [2020-09-14 08:12:13.633] [LOG] Connecting socket for: MMM-PIR-Sensor
0|mm | [2020-09-14 08:12:13.634] [LOG] Sockets connected & modules started ...
0|mm | [2020-09-14 08:12:14.136] [LOG] Launching application.
0|mm | [2020-09-14 08:12:17.962] [LOG] Create new calendar fetcher for url: http://localhost:8080/modules/calendars/***********.ics - Interval: 300000
0|mm | [2020-09-14 08:12:17.971] [LOG] Create new calendar fetcher for url: http://localhost:8080/modules/calendars/***********.ics - Interval: 300000
0|mm | [2020-09-14 08:12:18.092] [INFO] Checking git for module: MMM-AirQuality
0|mm | [2020-09-14 08:12:18.136] [INFO] Checking git for module: MMM-Todoist
0|mm | [2020-09-14 08:12:18.164] [INFO] Checking git for module: MMM-PIR-Sensor
0|mm | [2020-09-14 08:12:18.339] [INFO] Calendar-Fetcher: Broadcasting 6 events.
0|mm | [2020-09-14 08:12:18.371] [INFO] Calendar-Fetcher: Broadcasting 1 events.
after a restart, magicmirror works for 1 minute then it freezes
from mmm-pir-sensor.
Please see previous thread about npm reinstall.
Seema like it's a module cache issue.
from mmm-pir-sensor.
I have the same issue, which thread about npm reinstall do you mean?
from mmm-pir-sensor.
was the solution for me, too. Should this issue been forwarded to the MagicMirror github section or is that an issue of this code?
from mmm-pir-sensor.
Related Issues (20)
- MM will not start after update 11/08/20 HOT 4
- PIR not working on Magic Mirror HOT 5
- The detecting movement
- Can this module deactivate other running modules ?
- blue screen once a while HOT 1
- Request - Start skript by
- sensorPIN: 17 does not work HOT 1
- MagicMirror v2.15.0 breaks this module HOT 3
- MMM-PIR-Sensor activates automatically without inputs after 60 seconds
- bug in clearing timeout
- Works fine after 5-15 minuts
- Is there a way to avoid Dell monitor continue to display Power Saving message when PIR sensor turns off screen
- Execute 'sudo chmod u+s /opt/vc/bin/tvservice' does not work in Bullseye HOT 6
- Updating PIR for 2.17 error HOT 1
- Module only works once - doesn't go back to power saving HOT 2
- Works with 7" Raspberry Pi branded touch display
- Error: Could not detect abi for version 16.0.6 HOT 2
- postinstall issue [LIBERTY LIBERY LIBERTY] HOT 2
- install problems HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmm-pir-sensor.