MagicMirror² v2.12.0 is available! For more information about this release, check out this topic.

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. (/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?


Log in to reply