@sdetweil Sorry, but where do I have to execute the command.
Sorry, I’m really a beginner …
@sdetweil Sorry, but where do I have to execute the command.
Sorry, I’m really a beginner …
I have a problem with the module “email”.
Unfortunately, the module shows me no emails. It is always “loading”
I do not know any more and hope you can help me.
That would be the pm2 log:
> magicmirror@2.5.0 start /home/pi/MagicMirror
> sh run-start.sh
Starting MagicMirror: v2.5.0
Loading config ...
Loading module helpers ...
No helper found for module: alert.
Initializing new module helper ...
Module helper loaded: updatenotification
No helper found for module: clock.
Initializing new module helper ...
Module helper loaded: MMM-SystemStats
Initializing new module helper ...
Module helper loaded: MMM-MyCommute
Initializing new module helper ...
Module helper loaded: newsfeed
Initializing new module helper ...
Module helper loaded: MMM-GoogleMapsTraffic
No helper found for module: MMM-PIR-Sensor.
Initializing new module helper ...
Module helper loaded: MMM-SoccerLiveScore
Initializing new module helper ...
Module helper loaded: MMM-MyCalendar
Initializing new module helper ...
Module helper loaded: email
All module helpers loaded.
Starting server on port 8080 ...
Server started ...
Connecting socket for: updatenotification
Connecting socket for: MMM-SystemStats
Connecting socket for: MMM-MyCommute
====================== Starting node_helper for module [MMM-MyCommute]
Connecting socket for: newsfeed
Starting module: newsfeed
Connecting socket for: MMM-GoogleMapsTraffic
Starting node_helper for module: MMM-GoogleMapsTraffic
Connecting socket for: MMM-SoccerLiveScore
MMM-SoccerLiveScore helper started...
Connecting socket for: MMM-MyCalendar
Starting node helper for: MMM-MyCalendar
Connecting socket for: email
email helper started ...
Sockets connected & modules started ...
Launching application.
Create new news fetcher for url: https://api.20min.ch/rss/view/1 - Interval: 300000
Create new news fetcher for url: https://api.20min.ch/rss/view/67 - Interval: 300000
Working notification system. Notification: MMM-GOOGLE_MAPS_TRAFFIC-GET payload: { style: 'standard' }
Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/gmail.com/private-75149d8982f910a209e0fe7d0363d75f/basic.ics - Interval: 300000
listening for emails...
Ok thank you. Then I will use 0.0.0.0
Thanks again for your help !!! That’s really great
But do not I have to enter the IP to run the Remte Module or the MMM NetworkScanner?
I still have another problem :) I do not know if I would like to open a new topic or if I can place it here.
It’s about the module email-mirror, it always shows only “load”, I don’t know what I’m doing wrong
aaaaaaaaaaaaaa I found it, thanks to your note.
My router has given the PI a new IP, now I have changed the new IP in the config and behold, he works again !!!
Thank you so much @sdetweil
Here is my config
/* Magic Mirror Config Sample
*
* By Michael Teeuw http://michaelteeuw.nl
* MIT Licensed.
*
* For more information how you can configurate this file
* See https://github.com/MichMich/MagicMirror#configuration
*
*/
var config = {
address: "192.168.1.154", // Address to listen on, can be:
// - "localhost", "127.0.0.1", "::1" to listen on loopback interface
// - another specific IPv4/6 to listen on a specific interface
// - "", "0.0.0.0", "::" to listen on any interface
// Default, when address config is left out, is "localhost"
port: 8080,
ipWhitelist: ["127.0.0.1", "192.168.1.0/24", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
// or add a specific IPv4 of 192.168.1.5 :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
// or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
language: "de",
timeFormat: 24,
units: "metric",
modules: [
{
module: "alert",
},
{
module: "updatenotification",
position: "top_bar"
},
{
module: "clock",
position: "top_left"
},
/*{
module: "compliments",
position: "lower_third"
},*/
{
module: 'MMM-SystemStats',
position: 'top_right', // This can be any of the regions.
classes: 'small dimmed', // Add your own styling. Optional.
config: {
updateInterval: 10000,
animationSpeed: 0,
align: 'right', // align labels
//header: 'System Stats', // This is optional
},
},
{
module: 'MMM-MyCommute',
position: 'top_left',
header: 'Verkehrssituation',
config: {
apikey: 'API',
origin: 'Dingerten 21, 4624 Härkingen',
startTime: '00:00',
endTime: '23:59',
travelTimeFormat: 'h[h]:m[min]',
colorCodeTravelTime: true,
showSummary: true,
hideDays: [0,6],
destinations: [
{
destination: 'Südstrasse 5, 8952 Schlieren',
label: 'Adriano Arbeit',
mode: 'driving',
color: '#82E5AA',
startTime: '05:00',
endTime: '08:00',
alternatives: true,
waypoints: 'via:Bernerstrasse Süd, 8048 Zürich'
},
{
destination: 'Zugerstrasse 13, 6030 Ebikon',
label: 'Ebikon',
startTime: '05:00',
endTime: '08:00',
alternatives: 'ture'
},
]
}
},
{
module: "newsfeed",
position: "bottom_center",
config: {
feeds: [
{
title: "20min Sport",
url: "https://api.20min.ch/rss/view/67",
}
],
showSourceTitle: true,
showPublishDate: true
}
},
{
module: "newsfeed",
position: "bottom_center",
config: {
feeds: [
{
title: "20min Front",
url: "https://api.20min.ch/rss/view/1",
}
],
showSourceTitle: true,
showPublishDate: true
}
},
{
module: 'MMM-GoogleMapsTraffic',
position: 'bottom_center',
config: {
key: 'API',
lat: 47.3855987,
lng: 8.1395006,
height: '450px',
width: '1000px',
zoom: 10,
}
},
{
module: 'MMM-PIR-Sensor',
config: {
powerSavingDelay: 5,
powerSaving: true,
sensorPin: 22,/*
powerSavingMessage: "Monitor will be turn Off by PIR module",
sensorState: 1,
alwaysOffState: 1,
powerSaving: true,
powerSavingNotification: false,
*/
}
},
/*{
module: 'MMM-ImageSlideshow',
position: 'middle_center',
config: {
imagePaths: ['modules/MMM-ImageSlideshow/exampleImages'],
fixedImageWidth: '500',
fixedImageHeight: '350',
slideshowSpeed: '25000',
randomizeImageOrder: true,
}
},*/
{
module: 'MMM-SoccerLiveScore',
position: 'top_right',
header: 'Fussball Rangliste',
config: {
leagues: [215,399,1],
showNames: true,
showLogos: true,
displayTime: 60 * 1000,
showTables: true
}
},
{
module: "MMM-MyCalendar",
position: "top_left", // This can be any of the regions. Best results in left or right regions.
header: 'Kalender Adri',
config: {
colored: true,
maxTitleLength: 30,
maximumEntries: 5,
timeFormat: "HH:mm",
dateFormat: "DD:MM:YYYY",
joiningWord: "um",
calendars: [
{
url: 'ics',
color: "#ff5070",
symbol: 'calendar',
auth: {
user: 'username',
pass: 'superstrongpassword',
method: 'basic'
}
},
],
}
},
{
module: 'email',
position: 'top_left',
header: 'Email',
config: {
accounts: [
{
user: 'user',
password: 'pw',
host: 'imap.gmail.com',
port: 993,
tls: true,
authTimeout: 50000,
numberOfEmails: 2,
}
],
fade: true,
maxCharacters: 30
}
},
/*{
module: 'MMM-forecast-io',
position: 'top_left', // This can be any of the regions.
config: {
// See 'Configuration options' for more information.
apiKey: 'API', // Dark Sky API key.
// Only required if geolocation doesn't work:
latitude: 47.3097176,
longitude: 7.8106514
}
},*/
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
So, when I run npm run this comes:
> magicmirror@2.5.0 config:check /home/pi/MagicMirror
> node tests/configs/check_config.js
Checking file... /home/pi/MagicMirror/config/config.js
Your configuration file doesn't contain syntax errors :)
Here is the pm2 log:
[TAILING] Tailing last 15 lines for [MagicMirror] process (change the value with --lines option)
/home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
0|MagicMir | at Object._errnoException (util.js:1024:11)
0|MagicMir | at _exceptionWithHostPort (util.js:1046:20)
0|MagicMir | at Server.setupListenHandle [as _listen2] (net.js:1334:19)
0|MagicMir | at listenInCluster (net.js:1392:12)
0|MagicMir | at doListen (net.js:1501:7)
0|MagicMir | at _combinedTickCallback (internal/process/next_tick.js:141:11)
0|MagicMir | at process._tickCallback (internal/process/next_tick.js:180:9)
0|MagicMir | at Function.Module.runMain (module.js:685:11)
0|MagicMir | at startup (bootstrap_node.js:196:16)
0|MagicMir | at bootstrap_node.js:622:3
0|MagicMir | code: 'EADDRNOTAVAIL',
0|MagicMir | errno: 'EADDRNOTAVAIL',
0|MagicMir | syscall: 'listen',
0|MagicMir | address: '192.168.1.154',
0|MagicMir | port: 8080 }
/home/pi/.pm2/logs/MagicMirror-out.log last 15 lines:
0|MagicMir | Connecting socket for: newsfeed
0|MagicMir | Starting module: newsfeed
0|MagicMir | Connecting socket for: MMM-GoogleMapsTraffic
0|MagicMir | Starting node_helper for module: MMM-GoogleMapsTraffic
0|MagicMir | Connecting socket for: MMM-SoccerLiveScore
0|MagicMir | MMM-SoccerLiveScore helper started...
0|MagicMir | Connecting socket for: MMM-MyCalendar
0|MagicMir | Starting node helper for: MMM-MyCalendar
0|MagicMir | Connecting socket for: email
0|MagicMir | email helper started ...
0|MagicMir | Sockets connected & modules started ...
0|MagicMir | Whoops! There was an uncaught exception...
0|MagicMir | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|MagicMir | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|MagicMir | Launching application.
pm2 restart MagicMirror brought no success
@lavolp3 Ok, I will try tonight. Thank you and then give feedback
@bhepler said in Black screen after starting:
cyrus1337 - Let’s start with the mirror logs. Try pm2 log MagicMirror and let us know what it shows.
Ok, thanks for the help. I will post the logs in the evening
Hello everybody
When I start the PI I see the desktop and after 2-3 seconds later the MagicMirror starts. The screen just stays black. The MaigcMirror has worked for 2 months without any problems, that problem is only 2 days.
I can also post logs here if you tell me which logs are relevant. I can access the PI via putty.
Thank you very much for your help