Read the statement by Michael Teeuw here.
I want to display txt files from outside at the bottom
-
magicmirror@2.20.0 start
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js[14.08.2022 22:18.26.091] [LOG] Starting MagicMirror: v2.20.0
[14.08.2022 22:18.26.095] [LOG] Loading config …
[14.08.2022 22:18.26.106] [LOG] Loading module helpers …
[14.08.2022 22:18.26.109] [LOG] No helper found for module: alert.
[14.08.2022 22:18.26.120] [LOG] Initializing new module helper …
[14.08.2022 22:18.26.120] [LOG] Module helper loaded: updatenotification
[14.08.2022 22:18.26.122] [LOG] No helper found for module: clock.
[14.08.2022 22:18.26.430] [LOG] Initializing new module helper …
[14.08.2022 22:18.26.431] [LOG] Module helper loaded: calendar
[14.08.2022 22:18.26.432] [LOG] No helper found for module: weather.
[14.08.2022 22:18.26.916] [LOG] Initializing new module helper …
[14.08.2022 22:18.26.917] [LOG] Module helper loaded: MMM-ImagesPhotos
[14.08.2022 22:18.26.918] [LOG] No helper found for module: helloworld.
[14.08.2022 22:18.26.919] [LOG] No helper found for module: MMM-SimpleText.
[14.08.2022 22:18.26.919] [LOG] All module helpers loaded.
[14.08.2022 22:18.27.092] [LOG] Starting server on port 8080 …
[14.08.2022 22:18.27.115] [LOG] Server started …
[14.08.2022 22:18.27.116] [LOG] Connecting socket for: updatenotification
[14.08.2022 22:18.27.117] [LOG] Starting module helper: updatenotification
[14.08.2022 22:18.27.117] [LOG] Connecting socket for: calendar
[14.08.2022 22:18.27.118] [LOG] Starting node helper for: calendar
[14.08.2022 22:18.27.118] [LOG] Connecting socket for: MMM-ImagesPhotos
[14.08.2022 22:18.27.119] [LOG] Starting node helper for: MMM-ImagesPhotos
[14.08.2022 22:18.27.119] [LOG] Sockets connected & modules started …
[14.08.2022 22:18.27.400] [LOG] Launching application.
[14.08.2022 22:18.29.770] [LOG] Create new calendarfetcher for url:
[14.08.2022 22:18.29.871] [INFO] Checking git for module: MMM-ImagesPhotos
[14.08.2022 22:18.29.965] [INFO] Checking git for module: MMM-SimpleText
[14.08.2022 22:18.29.985] [INFO] Checking git for module: default
[14.08.2022 22:18.32.381] [INFO] Calendar-Fetcher: Broadcasting 6 events. -
@史新瑞 also u didnt show me contents of MagicMirror folder… you showed user root
/home/pi -
-
@sdetweil Thank you, sir. Is my problem easy to solve? In addition, it’s nearly 23 o’clock here, so I will turn off my computer and use my mobile phone to receive your messages. However, in this way, I will not be able to correct it as quickly as possible according to your method
-
@史新瑞 i just installed the module…
can u show me the config.js for this?
the filePath parm is assuming the file is located in the same module folder…
-
@sdetweil Sorry, I can’t show it to you now, because my mother doesn’t allow me to use the computer at this time in the evening. It is already 12 o 'clock here, so I can only send it to you tomorrow morning, that is, August 15, around 9 o 'clock in Dong8 district. I am very sorry, and thank you very much for your guidance
-
@史新瑞 no problem
here is my test config.js
{ module: 'MMM-SimpleText', position: 'top_center', config: { text: { 'value': 'Hello World!' }, fontURL: { 'value': 'Tahoma, Geneva, sans-serif' }, fontSize: { 'value': 'xx-large' }, fontStyle: { 'value': 'italic' }, color: { 'value': '#FFFFFF' }, filePath: { 'value':"../../config/config.js" } } },
and a screen shot
-
@sdetweil Thank you, but my problem now is that the weather module is not working properly