pi@raspberrypi:~/MagicMirror $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
the log will be /home/pi/MagicMirror/installers/upgrade.log
No LSB modules are available.
doing test run = true
update log will be in /home/pi/MagicMirror/installers/upgrade.log
upgrading from version 2.10.0 to 2.10.1
fetching latest revisions
there are 2 local files that are different than the master repo
installers/pm2_MagicMirror.json
package-lock.json
any *-lock.json files do not need to be saved
do you want to save these files for later (Y/n)?Y
unknown option: -c user.name=upgrade_script
usage: git [--version] [--help] [-C <path>] [-c <name>=<value>]
[--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
[-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare]
[--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
<command> [<args>]
processing dependency changes for active modules with package.json files
processing for module MMM-DarkSkyForecast please wait
----------------------------------
skipped processing for MMM-DarkSkyForecast, doing test run
processing complete for module MMM-DarkSkyForecast
processing for module MMM-NowPlayingOnSpotify please wait
----------------------------------
skipped processing for MMM-NowPlayingOnSpotify, doing test run
processing complete for module MMM-NowPlayingOnSpotify
test run, restoring files stashed
No stash entries found.
pi@raspberrypi:~/MagicMirror $
Read the statement by Michael Teeuw here.
Posts
-
RE: I can't update my MM version
-
I can't update my MM version
I can’t update my MM version. There is a warning on the screen. When trying to use the upgrade script I get the following error message.
pi@raspberrypi:~/MagicMirror/installers $ ./upgrade-script.sh the log will be /home/pi/MagicMirror/installers/upgrade.log No LSB modules are available. doing test run = true update log will be in /home/pi/MagicMirror/installers/upgrade.log saving custom.css cp: não foi possível obter estado de 'custom.css': Arquivo ou diretório inexistente upgrading from version 2.10.0 to 2.10.1 fetching latest revisions there are 2 local files that are different than the master repo installers/pm2_MagicMirror.json package-lock.json any *-lock.json files do not need to be saved do you want to save these files for later (Y/n)?y git: 'git_user_name' is not a git command. See 'git --help'. processing dependency changes for active modules with package.json files processing for module MMM-DarkSkyForecast please wait ---------------------------------- skipped processing for MMM-DarkSkyForecast, doing test run processing complete for module MMM-DarkSkyForecast restoring custom.css cp: não foi possível obter estado de 'save_custom.css': Arquivo ou diretório inexistente rm: não foi possível remover 'save_custom.css': Arquivo ou diretório inexistente test run, restoring files stashed git: 'git_user_name' is not a git command. See 'git --help'. -
RE: Which modules with Home Assistant currently work?
@cyberphox said in Which modules with Home Assistant currently work?:
You are using:
https://github.com/leinich/MMM-homeassistant-sensorsI said this one works:
It’s not working either.
https://forum.magicmirror.builders/topic/12014/erro-mmm-hass/4
-
RE: erro MMM-HASS
My exit when I request browser version
pi@raspberrypi:~/MagicMirror $ chromium-browser --version --disable-quic --enable-tcp-fast-open --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so --ppapi-flash-args=enable_stagevideo_auto=0 --ppapi-flash-version= Chromium 74.0.3729.157 Built on Raspbian , running on Raspbian 10 -
RE: erro MMM-HASS
I look forward to something tomorrow. Thank you for not leaving me!
-
RE: Which modules with Home Assistant currently work?
@dvbit said in Which modules with Home Assistant currently work?:
smartwebdisplay
I don’t know this module (smartwebdisplay). And I already have a lovelace on my tablet.
-
RE: erro MMM-HASS
@sdetweil said in erro MMM-HASS:
pi0, raspian jessie,
When I remove HASS it also works.
But I did not understand. You think there’s no way. Still debugging?
-
RE: erro MMM-HASS
Much! Thanks so much for helping me out! I do not know what else to do. I will send everything here to you.
by message is not going./* 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: "localhost", // 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", "::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: "pt", timeFormat: 24, units: "metric", // serverOnly: true/false/"local" , // local for armv6l processors, default // starts serveronly and then starts chrome browser // false, default for all NON-armv6l devices // true, force serveronly mode, because you want to.. no UI on this device modules: [ { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: "calendar", header: "Feriados", position: "top_left", config: { calendars: [ { symbol: "calendar-check", url: "https://www.calendarlabs.com/ical-calendar/ics/37/Brazil_Holidays.ics" } ] } }, { module: "compliments", position: "lower_third" }, { module: "MMM-DarkSkyForecast", header: "Tempo em Duque de Caxias", position: "top_right", classes: "default everyone", disabled: false, config: { apikey: "****", latitude: "-22.787860", longitude: "-43.303140", iconset: "4c", units: "si", concise: false, forecastLayout: "table" } }, { module: 'MMM-Screencast', position: 'middle_center', // This position is for a hidden <div /> and not the screencast window config: { position: 'center', height: 300, width: 500, } }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "Noticias R7", url: "https://noticias.r7.com/rio-de-janeiro/feed.xml" } ], showSourceTitle: true, showPublishDate: true, broadcastNewsFeeds: true, broadcastNewsUpdates: true } }, { module: "MMM-HASS", position: "middle_center", config: { host: "192.168.1.158", port: "8123", apipassword: "jeure3027", hassiotoken: false, https: false, devices: [ { deviceLabel: "Exterior", deviceReadings: [ { sensor: "sensor.disk_free", icon: "wi wi-thermometer", suffix: "%"} ] } ] } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;} -
erro MMM-HASS
I have the following error when trying to use the MMM-HASS module. MM loads, but keeps all modules with loading status.
pi@raspberrypi:~/MagicMirror $ npm start > magicmirror@2.10.0 start /home/pi/MagicMirror > ./run-start.sh [21:04:03.127] [LOG] Starting MagicMirror: v2.10.0 [21:04:03.163] [LOG] Loading config ... [21:04:03.185] [LOG] Loading module helpers ... [21:04:03.191] [LOG] No helper found for module: alert. [21:04:03.401] [LOG] Initializing new module helper ... [21:04:03.405] [LOG] Module helper loaded: updatenotification [21:04:03.408] [LOG] No helper found for module: clock. [21:04:04.630] [LOG] Initializing new module helper ... [21:04:04.633] [LOG] Module helper loaded: MMM-Screencast [21:04:06.010] [LOG] Initializing new module helper ... [21:04:06.013] [LOG] Module helper loaded: calendar [21:04:06.016] [LOG] No helper found for module: compliments. [21:04:07.345] [LOG] Initializing new module helper ... [21:04:07.347] [LOG] Module helper loaded: MMM-DarkSkyForecast [21:04:07.457] [LOG] Initializing new module helper ... [21:04:07.460] [LOG] Module helper loaded: newsfeed [21:04:07.548] [LOG] Initializing new module helper ... [21:04:07.553] [LOG] Module helper loaded: MMM-HASS [21:04:07.557] [LOG] All module helpers loaded. [21:04:07.563] [LOG] Starting server on port 8080 ... [21:04:07.688] [LOG] Server started ... [21:04:07.695] [LOG] Connecting socket for: updatenotification [21:04:07.703] [LOG] Connecting socket for: MMM-Screencast [21:04:07.710] [LOG] Connecting socket for: calendar [21:04:07.716] [LOG] Starting node helper for: calendar [21:04:07.721] [LOG] Connecting socket for: MMM-DarkSkyForecast [21:04:07.724] [LOG] ====================== Starting node_helper for module [MMM-DarkSkyForecast] [21:04:07.729] [LOG] Connecting socket for: newsfeed [21:04:07.734] [LOG] Starting module: newsfeed [21:04:07.740] [LOG] Connecting socket for: MMM-HASS [21:04:07.745] [LOG] Sockets connected & modules started ... [21:04:07.748] [LOG] Ready to go! Please point your browser to: http://localhost:8080 Starting chromium browser now, have patience, it takes a minute --disable-quic --enable-tcp-fast-open --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so --ppapi-flash-args=enable_stagevideo_auto=0 --ppapi-flash-version= events.js:174 throw er; // Unhandled 'error' event ^ Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed at doWrite (_stream_writable.js:411:19) at writeOrBuffer (_stream_writable.js:399:5) at Socket.Writable.write (_stream_writable.js:299:11) at Console.con.(anonymous function) [as log] (/home/pi/MagicMirror/node_modules/console-stamp/main.js:150:46) at process. (/home/pi/MagicMirror/js/app.js:40:10) at process.emit (events.js:198:13) at process._fatalException (internal/bootstrap/node.js:497:27) -
RE: Which modules with Home Assistant currently work?
I am having the following problem with him.
pi@raspberrypi:~/MagicMirror $ ^C pi@raspberrypi:~/MagicMirror $ npm start > magicmirror@2.10.0 start /home/pi/MagicMirror > ./run-start.sh [21:26:31.205] [LOG] Starting MagicMirror: v2.10.0 [21:26:31.239] [LOG] Loading config ... [21:26:31.258] [LOG] Loading module helpers ... [21:26:31.265] [LOG] No helper found for module: alert. [21:26:31.449] [LOG] Initializing new module helper ... [21:26:31.452] [LOG] Module helper loaded: updatenotification [21:26:31.457] [LOG] No helper found for module: clock. [21:26:32.663] [LOG] Initializing new module helper ... [21:26:32.665] [LOG] Module helper loaded: MMM-Screencast [21:26:34.035] [LOG] Initializing new module helper ... [21:26:34.037] [LOG] Module helper loaded: calendar [21:26:34.039] [LOG] No helper found for module: compliments. [21:26:35.266] [LOG] Initializing new module helper ... [21:26:35.268] [LOG] Module helper loaded: MMM-DarkSkyForecast [21:26:35.410] [LOG] Initializing new module helper ... [21:26:35.412] [LOG] Module helper loaded: newsfeed [21:26:35.524] [LOG] Initializing new module helper ... [21:26:35.526] [LOG] Module helper loaded: MMM-HASS [21:26:35.529] [LOG] All module helpers loaded. [21:26:35.534] [LOG] Starting server on port 8080 ... [21:26:35.643] [LOG] Server started ... [21:26:35.649] [LOG] Connecting socket for: updatenotification [21:26:35.654] [LOG] Connecting socket for: MMM-Screencast [21:26:35.659] [LOG] Connecting socket for: calendar [21:26:35.663] [LOG] Starting node helper for: calendar [21:26:35.669] [LOG] Connecting socket for: MMM-DarkSkyForecast [21:26:35.675] [LOG] ====================== Starting node_helper for module [MMM-DarkSkyForecast] [21:26:35.681] [LOG] Connecting socket for: newsfeed [21:26:35.686] [LOG] Starting module: newsfeed [21:26:35.689] [LOG] Connecting socket for: MMM-HASS [21:26:35.693] [LOG] Sockets connected & modules started ... [21:26:35.696] [LOG] Ready to go! Please point your browser to: http://localhost:8080 Starting chromium browser now, have patience, it takes a minute --disable-quic --enable-tcp-fast-open --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so --ppapi-flash-args=enable_stagevideo_auto=0 --ppapi-flash-version= events.js:174 throw er; // Unhandled 'error' event ^ Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed at doWrite (_stream_writable.js:411:19) at writeOrBuffer (_stream_writable.js:399:5) at Socket.Writable.write (_stream_writable.js:299:11) at Console.con.(anonymous function) [as log] (/home/pi/MagicMirror/node_modules/console-stamp/main.js:150:46) at process.<anonymous> (/home/pi/MagicMirror/js/app.js:40:10) at process.emit (events.js:198:13) at process._fatalException (internal/bootstrap/node.js:497:27) ^C pi@raspberrypi:~/MagicMirror $load MM, but all modules have msg of loading …
NOTE: I was missing. Because I was without internet for 05 days.
-
RE: MMM-Screencast erro
@iorifly said in MMM-Screencast erro:
pi@raspberrypi:~/MagicMirror $ npm start
magicmirror@2.10.0 start /home/pi/MagicMirror
./run-start.sh[21:04:03.127] [LOG] Starting MagicMirror: v2.10.0
[21:04:03.163] [LOG] Loading config …
[21:04:03.185] [LOG] Loading module helpers …
[21:04:03.191] [LOG] No helper found for module: alert.
[21:04:03.401] [LOG] Initializing new module helper …
[21:04:03.405] [LOG] Module helper loaded: updatenotification
[21:04:03.408] [LOG] No helper found for module: clock.
[21:04:04.630] [LOG] Initializing new module helper …
[21:04:04.633] [LOG] Module helper loaded: MMM-Screencast
[21:04:06.010] [LOG] Initializing new module helper …
[21:04:06.013] [LOG] Module helper loaded: calendar
[21:04:06.016] [LOG] No helper found for module: compliments.
[21:04:07.345] [LOG] Initializing new module helper …
[21:04:07.347] [LOG] Module helper loaded: MMM-DarkSkyForecast
[21:04:07.457] [LOG] Initializing new module helper …
[21:04:07.460] [LOG] Module helper loaded: newsfeed
[21:04:07.548] [LOG] Initializing new module helper …
[21:04:07.553] [LOG] Module helper loaded: MMM-HASS
[21:04:07.557] [LOG] All module helpers loaded.
[21:04:07.563] [LOG] Starting server on port 8080 …
[21:04:07.688] [LOG] Server started …
[21:04:07.695] [LOG] Connecting socket for: updatenotification
[21:04:07.703] [LOG] Connecting socket for: MMM-Screencast
[21:04:07.710] [LOG] Connecting socket for: calendar
[21:04:07.716] [LOG] Starting node helper for: calendar
[21:04:07.721] [LOG] Connecting socket for: MMM-DarkSkyForecast
[21:04:07.724] [LOG] ====================== Starting node_helper for module [MMM-DarkSkyForecast]
[21:04:07.729] [LOG] Connecting socket for: newsfeed
[21:04:07.734] [LOG] Starting module: newsfeed
[21:04:07.740] [LOG] Connecting socket for: MMM-HASS
[21:04:07.745] [LOG] Sockets connected & modules started …
[21:04:07.748] [LOG]
Ready to go! Please point your browser to: http://localhost:8080
Starting chromium browser now, have patience, it takes a minute
–disable-quic --enable-tcp-fast-open --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so --ppapi-flash-args=enable_stagevideo_auto=0 --ppapi-flash-version=
events.js:174
throw er; // Unhandled ‘error’ event
^Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
at doWrite (_stream_writable.js:411:19)
at writeOrBuffer (_stream_writable.js:399:5)
at Socket.Writable.write (_stream_writable.js:299:11)
at Console.con.(anonymous function) [as log] (/home/pi/MagicMirror/node_modules/console-stamp/main.js:150:46)
at process. (/home/pi/MagicMirror/js/app.js:40:10)
at process.emit (events.js:198:13)
at process._fatalException (internal/bootstrap/node.js:497:27)And all the modules are loading …
-
RE: MMM-Screencast erro
This command worked. now stop underscore error.
However I have the following error.
pi@raspberrypi:~/MagicMirror $ npm start > magicmirror@2.10.0 start /home/pi/MagicMirror > ./run-start.sh [21:04:03.127] [LOG] Starting MagicMirror: v2.10.0 [21:04:03.163] [LOG] Loading config ... [21:04:03.185] [LOG] Loading module helpers ... [21:04:03.191] [LOG] No helper found for module: alert. [21:04:03.401] [LOG] Initializing new module helper ... [21:04:03.405] [LOG] Module helper loaded: updatenotification [21:04:03.408] [LOG] No helper found for module: clock. [21:04:04.630] [LOG] Initializing new module helper ... [21:04:04.633] [LOG] Module helper loaded: MMM-Screencast [21:04:06.010] [LOG] Initializing new module helper ... [21:04:06.013] [LOG] Module helper loaded: calendar [21:04:06.016] [LOG] No helper found for module: compliments. [21:04:07.345] [LOG] Initializing new module helper ... [21:04:07.347] [LOG] Module helper loaded: MMM-DarkSkyForecast [21:04:07.457] [LOG] Initializing new module helper ... [21:04:07.460] [LOG] Module helper loaded: newsfeed [21:04:07.548] [LOG] Initializing new module helper ... [21:04:07.553] [LOG] Module helper loaded: MMM-HASS [21:04:07.557] [LOG] All module helpers loaded. [21:04:07.563] [LOG] Starting server on port 8080 ... [21:04:07.688] [LOG] Server started ... [21:04:07.695] [LOG] Connecting socket for: updatenotification [21:04:07.703] [LOG] Connecting socket for: MMM-Screencast [21:04:07.710] [LOG] Connecting socket for: calendar [21:04:07.716] [LOG] Starting node helper for: calendar [21:04:07.721] [LOG] Connecting socket for: MMM-DarkSkyForecast [21:04:07.724] [LOG] ====================== Starting node_helper for module [MMM-DarkSkyForecast] [21:04:07.729] [LOG] Connecting socket for: newsfeed [21:04:07.734] [LOG] Starting module: newsfeed [21:04:07.740] [LOG] Connecting socket for: MMM-HASS [21:04:07.745] [LOG] Sockets connected & modules started ... [21:04:07.748] [LOG] Ready to go! Please point your browser to: http://localhost:8080 Starting chromium browser now, have patience, it takes a minute --disable-quic --enable-tcp-fast-open --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so --ppapi-flash-args=enable_stagevideo_auto=0 --ppapi-flash-version= events.js:174 throw er; // Unhandled 'error' event ^ Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed at doWrite (_stream_writable.js:411:19) at writeOrBuffer (_stream_writable.js:399:5) at Socket.Writable.write (_stream_writable.js:299:11) at Console.con.(anonymous function) [as log] (/home/pi/MagicMirror/node_modules/console-stamp/main.js:150:46) at process.<anonymous> (/home/pi/MagicMirror/js/app.js:40:10) at process.emit (events.js:198:13) at process._fatalException (internal/bootstrap/node.js:497:27) ^Cpi@raspberrypi:~/MagicMirror $
PS: Sorry for the delay I was without network for 5 days.
-
RE: Which modules with Home Assistant currently work?
I tried it, I was unsuccessful. I have no net at the moment. (Problems with a Supplier) When I return, I will try this module again. Hope it works. I will post here.
-
RE: Which modules with Home Assistant currently work?
I am trying to use this:
but I am having the following problem :(:
https://forum.magicmirror.builders/topic/11972/mmm-homeassistant-sensors-erro
-
MMM-homeassistant-sensors erro
Dear, I am trying to configure this module.
My MM loads, but no other module loads, everyone gets msg loading …
In the shell I have the following error:
pi@raspberrypi:~/MagicMirror $ npm start > magicmirror@2.10.0 start /home/pi/MagicMirror > ./run-start.sh [19:57:53.065] [LOG] Starting MagicMirror: v2.10.0 [19:57:53.107] [LOG] Loading config ... [19:57:53.130] [LOG] Loading module helpers ... [19:57:53.141] [LOG] No helper found for module: alert. [19:57:53.416] [LOG] Initializing new module helper ... [19:57:53.421] [LOG] Module helper loaded: updatenotification [19:57:53.424] [LOG] No helper found for module: clock. [19:57:55.473] [LOG] Initializing new module helper ... [19:57:55.478] [LOG] Module helper loaded: MMM-Screencast [19:57:57.717] [LOG] Initializing new module helper ... [19:57:57.720] [LOG] Module helper loaded: calendar [19:57:57.723] [LOG] No helper found for module: compliments. [19:57:59.531] [LOG] Initializing new module helper ... [19:57:59.535] [LOG] Module helper loaded: MMM-DarkSkyForecast [19:57:59.742] [LOG] Initializing new module helper ... [19:57:59.747] [LOG] Module helper loaded: newsfeed [19:57:59.761] [LOG] Initializing new module helper ... [19:57:59.765] [LOG] Module helper loaded: MMM-homeassistant-sensors [19:57:59.770] [LOG] All module helpers loaded. [19:57:59.777] [LOG] Starting server on port 8080 ... [19:58:00.071] [LOG] Server started ... [19:58:00.079] [LOG] Connecting socket for: updatenotification [19:58:00.089] [LOG] Connecting socket for: MMM-Screencast [19:58:00.095] [LOG] Connecting socket for: calendar [19:58:00.102] [LOG] Starting node helper for: calendar [19:58:00.109] [LOG] Connecting socket for: MMM-DarkSkyForecast [19:58:00.116] [LOG] ====================== Starting node_helper for module [MMM-DarkSkyForecast] [19:58:00.123] [LOG] Connecting socket for: newsfeed [19:58:00.130] [LOG] Starting module: newsfeed [19:58:00.138] [LOG] Connecting socket for: MMM-homeassistant-sensors [19:58:00.147] [LOG] Sockets connected & modules started ... [19:58:00.153] [LOG] Ready to go! Please point your browser to: http://localhost:8080 Starting chromium browser now, have patience, it takes a minute --disable-quic --enable-tcp-fast-open --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so --ppapi-flash-args=enable_stagevideo_auto=0 --ppapi-flash-version= Abrindo em uma sessão de navegador existente. pi@raspberrypi:~/MagicMirror $ events.js:174 throw er; // Unhandled 'error' event ^ Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed at doWrite (_stream_writable.js:411:19) at writeOrBuffer (_stream_writable.js:399:5) at Socket.Writable.write (_stream_writable.js:299:11) at Console.con.(anonymous function) [as log] (/home/pi/MagicMirror/node_modules/console-stamp/main.js:150:46) at process.<anonymous> (/home/pi/MagicMirror/js/app.js:40:10) at process.emit (events.js:198:13) at process._fatalException (internal/bootstrap/node.js:497:27) ^C pi@raspberrypi:~/MagicMirror $What do I do?
-
RE: MMM-Screencast erro
You are great!
In the meantime, I tried another module, MMM-homeassistant-sensors.
It carries the MM. However I get this error msg. and no other module loads … gets msg from “loading”
pi@raspberrypi:~/MagicMirror $ npm start > magicmirror@2.10.0 start /home/pi/MagicMirror > ./run-start.sh [19:50:41.053] [LOG] Starting MagicMirror: v2.10.0 [19:50:41.091] [LOG] Loading config ... [19:50:41.111] [LOG] Loading module helpers ... [19:50:41.119] [LOG] No helper found for module: alert. [19:50:41.315] [LOG] Initializing new module helper ... [19:50:41.319] [LOG] Module helper loaded: updatenotification [19:50:41.321] [LOG] No helper found for module: clock. [19:50:42.483] [LOG] Initializing new module helper ... [19:50:42.485] [LOG] Module helper loaded: MMM-Screencast [19:50:43.894] [LOG] Initializing new module helper ... [19:50:43.896] [LOG] Module helper loaded: calendar [19:50:43.898] [LOG] No helper found for module: compliments. [19:50:45.187] [LOG] Initializing new module helper ... [19:50:45.190] [LOG] Module helper loaded: MMM-DarkSkyForecast [19:50:45.320] [LOG] Initializing new module helper ... [19:50:45.322] [LOG] Module helper loaded: newsfeed [19:50:45.330] [LOG] Initializing new module helper ... [19:50:45.332] [LOG] Module helper loaded: MMM-homeassistant-sensors [19:50:45.333] [LOG] All module helpers loaded. [19:50:45.342] [LOG] Starting server on port 8080 ... [19:50:45.441] [LOG] Server started ... [19:50:45.444] [LOG] Connecting socket for: updatenotification [19:50:45.448] [LOG] Connecting socket for: MMM-Screencast [19:50:45.452] [LOG] Connecting socket for: calendar [19:50:45.454] [LOG] Starting node helper for: calendar [19:50:45.457] [LOG] Connecting socket for: MMM-DarkSkyForecast [19:50:45.459] [LOG] ====================== Starting node_helper for module [MMM-DarkSkyForecast] [19:50:45.462] [LOG] Connecting socket for: newsfeed [19:50:45.465] [LOG] Starting module: newsfeed [19:50:45.528] [LOG] Connecting socket for: MMM-homeassistant-sensors [19:50:45.533] [LOG] Sockets connected & modules started ... [19:50:45.538] [LOG] Ready to go! Please point your browser to: http://localhost:8080 Starting chromium browser now, have patience, it takes a minute --disable-quic --enable-tcp-fast-open --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so --ppapi-flash-args=enable_stagevideo_auto=0 --ppapi-flash-version= events.js:174 throw er; // Unhandled 'error' event ^ Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed at doWrite (_stream_writable.js:411:19) at writeOrBuffer (_stream_writable.js:399:5) at Socket.Writable.write (_stream_writable.js:299:11) at Console.con.(anonymous function) [as log] (/home/pi/MagicMirror/node_modules/console-stamp/main.js:150:46) at process.<anonymous> (/home/pi/MagicMirror/js/app.js:40:10) at process.emit (events.js:198:13) at process._fatalException (internal/bootstrap/node.js:497:27) ^C pi@raspberrypi:~/MagicMirror $ -
RE: MMM-Screencast erro
pi@raspberrypi:~/MagicMirror $ npm start > magicmirror@2.10.0 start /home/pi/MagicMirror > ./run-start.sh [17:20:12.438] [LOG] Starting MagicMirror: v2.10.0 [17:20:12.470] [LOG] Loading config ... [17:20:12.491] [LOG] Loading module helpers ... [17:20:12.495] [LOG] No helper found for module: alert. [17:20:12.748] [LOG] Initializing new module helper ... [17:20:12.751] [LOG] Module helper loaded: updatenotification [17:20:12.754] [LOG] No helper found for module: clock. [17:20:14.468] [LOG] Initializing new module helper ... [17:20:14.470] [LOG] Module helper loaded: calendar [17:20:14.472] [LOG] No helper found for module: compliments. [17:20:15.942] [LOG] Initializing new module helper ... [17:20:15.944] [LOG] Module helper loaded: MMM-DarkSkyForecast [17:20:16.102] [LOG] Initializing new module helper ... [17:20:16.104] [LOG] Module helper loaded: newsfeed [17:20:16.121] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'underscore' [17:20:16.125] [LOG] Loading module helpers ... [17:20:16.128] [LOG] No helper found for module: alert. [17:20:16.131] [LOG] Initializing new module helper ... [17:20:16.133] [LOG] Module helper loaded: updatenotification [17:20:16.136] [LOG] No helper found for module: clock. [17:20:16.139] [LOG] Initializing new module helper ... [17:20:16.141] [LOG] Module helper loaded: calendar [17:20:16.143] [LOG] No helper found for module: compliments. [17:20:16.145] [LOG] Initializing new module helper ... [17:20:16.147] [LOG] Module helper loaded: MMM-DarkSkyForecast [17:20:16.150] [LOG] Initializing new module helper ... [17:20:16.152] [LOG] Module helper loaded: newsfeed [17:20:16.159] [ERROR] App threw an error during load [17:20:16.163] [ERROR] Error: Cannot find module 'underscore' at Module._resolveFilename (internal/modules/cjs/loader.js:602:15) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) at Function.Module._load (internal/modules/cjs/loader.js:528:25) at Module.require (internal/modules/cjs/loader.js:658:17) at require (internal/modules/cjs/helpers.js:20:18) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-HASS/node_helper.js:14:9) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-HASS/node_helper.js:227:3) at Module._compile (internal/modules/cjs/loader.js:711:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10) [17:20:16.171] [LOG] Whoops! There was an uncaught exception... [17:20:16.174] [ERROR] { Error: Cannot find module 'underscore' at Module._resolveFilename (internal/modules/cjs/loader.js:602:15) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) at Function.Module._load (internal/modules/cjs/loader.js:528:25) at Module.require (internal/modules/cjs/loader.js:658:17) at require (internal/modules/cjs/helpers.js:20:18) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-HASS/node_helper.js:14:9) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-HASS/node_helper.js:227:3) at Module._compile (internal/modules/cjs/loader.js:711:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10) code: 'MODULE_NOT_FOUND' } [17:20:16.209] [LOG] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [17:20:16.211] [LOG] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [17:20:16.925] [LOG] Launching application. [17:20:34.995] [LOG] Shutting down server... [17:20:35.006] [LOG] Stopping module helper: updatenotification [17:20:35.008] [LOG] Stopping module helper: calendar [17:20:35.010] [LOG] Stopping module helper: MMM-DarkSkyForecast [17:20:35.012] [LOG] Stopping module helper: newsfeed [17:20:35.014] [LOG] Stopping module helper: updatenotification [17:20:35.016] [LOG] Stopping module helper: calendar [17:20:35.018] [LOG] Stopping module helper: MMM-DarkSkyForecast [17:20:35.019] [LOG] Stopping module helper: newsfeed pi@raspberrypi:~/MagicMirror $I confess I don’t know if the error is only in MM. But nothing happens in the Home assistant. That is, accuses nothing.
-
RE: MMM-Screencast erro
Could you help me with the Home Assistant module?