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

mmm assistant mk2



  • @sdetweil here is another log. i might have missed something in the process i just cant figure out

    npm start
    
    > magicmirror@2.11.0 start /home/pi/MagicMirror
    > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
    
    [2020-05-30 22:33:42.189] [LOG]    Starting MagicMirror: v2.11.0
    [2020-05-30 22:33:42.195] [LOG]    Loading config ...
    [2020-05-30 22:33:42.200] [LOG]    Loading module helpers ...
    [2020-05-30 22:33:42.201] [LOG]    No helper found for module: alert.
    [2020-05-30 22:33:42.233] [LOG]    Initializing new module helper ...
    [2020-05-30 22:33:42.233] [LOG]    Module helper loaded: updatenotification
    [2020-05-30 22:33:42.234] [LOG]    No helper found for module: clock.
    [2020-05-30 22:33:42.234] [LOG]    No helper found for module: MMM-Volume.
    [2020-05-30 22:33:42.811] [LOG]    Initializing new module helper ...
    [2020-05-30 22:33:42.811] [LOG]    Module helper loaded: MMM-TelegramBot
    [2020-05-30 22:33:43.715] [LOG]    Initializing new module helper ...
    [2020-05-30 22:33:43.716] [LOG]    Check MagicMirror version for node helper 'MMM-GoogleBirthdaysProvider' - Minimum version:  2.6.0 - Current version: 2.11.0
    [2020-05-30 22:33:43.716] [LOG]    Version is ok!
    [2020-05-30 22:33:43.716] [LOG]    Module helper loaded: MMM-GoogleBirthdaysProvider
    [2020-05-30 22:33:43.949] [LOG]    Initializing new module helper ...
    [2020-05-30 22:33:43.950] [LOG]    Module helper loaded: calendar
    [2020-05-30 22:33:43.950] [LOG]    No helper found for module: compliments.
    [2020-05-30 22:33:43.957] [LOG]    Initializing new module helper ...
    [2020-05-30 22:33:43.958] [LOG]    Module helper loaded: MMM-Spotify
    [2020-05-30 22:33:44.610] [LOG]    Initializing new module helper ...
    [2020-05-30 22:33:44.610] [LOG]    Module helper loaded: MMM-AssistantMk2
    [2020-05-30 22:33:44.835] [LOG]    Initializing new module helper ...
    [2020-05-30 22:33:44.836] [LOG]    Module helper loaded: MMM-DailyBibleVerse
    [2020-05-30 22:33:44.836] [LOG]    No helper found for module: MMM-Carousel.
    [2020-05-30 22:33:44.850] [LOG]    Initializing new module helper ...
    [2020-05-30 22:33:44.850] [LOG]    Module helper loaded: MMM-Tools
    [2020-05-30 22:33:44.851] [LOG]    No helper found for module: MMM-OpenmapWeather.
    [2020-05-30 22:33:44.852] [LOG]    No helper found for module: MMM-PushBulletNotifications.
    [2020-05-30 22:33:44.852] [LOG]    No helper found for module: MMM-WeeklySchedule.
    [2020-05-30 22:33:44.852] [LOG]    No helper found for module: weatherforecast.
    [2020-05-30 22:33:44.853] [LOG]    No helper found for module: calendar_monthly.
    [2020-05-30 22:33:44.853] [LOG]    No helper found for module: MagicMirror-QuoteCatalog.
    [2020-05-30 22:33:44.854] [LOG]    No helper found for module: MMM-AirQuality.
    [2020-05-30 22:33:44.854] [LOG]    No helper found for module: MMM-ATM.
    [2020-05-30 22:33:44.902] [LOG]    Initializing new module helper ...
    [2020-05-30 22:33:44.903] [LOG]    Module helper loaded: MMM-Remote-Control
    [2020-05-30 22:33:44.903] [LOG]    No helper found for module: MMM-PlexNowPlaying.
    [2020-05-30 22:33:44.903] [LOG]    No helper found for module: MMM-Strava.
    [2020-05-30 22:33:44.913] [LOG]    Initializing new module helper ...
    [2020-05-30 22:33:44.914] [LOG]    Module helper loaded: MMM-GoogleFit
    [2020-05-30 22:33:44.941] [LOG]    Initializing new module helper ...
    [2020-05-30 22:33:44.941] [LOG]    Module helper loaded: newsfeed
    [2020-05-30 22:33:44.941] [LOG]    All module helpers loaded.
    [2020-05-30 22:33:45.023] [LOG]    Starting server on port 8080 ... 
    [2020-05-30 22:33:45.028] [LOG]    Server started ...
    [2020-05-30 22:33:45.029] [LOG]    Connecting socket for: updatenotification
    [2020-05-30 22:33:45.030] [LOG]    Connecting socket for: MMM-TelegramBot
    [2020-05-30 22:33:45.030] [LOG]    Connecting socket for: MMM-GoogleBirthdaysProvider
    [2020-05-30 22:33:45.033] [LOG]    MMM-GoogleBirthdaysProvider: Server is running
    [2020-05-30 22:33:45.033] [LOG]    Connecting socket for: calendar
    [2020-05-30 22:33:45.034] [LOG]    Starting node helper for: calendar
    [2020-05-30 22:33:45.035] [LOG]    Connecting socket for: MMM-Spotify
    [2020-05-30 22:33:45.035] [LOG]    Connecting socket for: MMM-AssistantMk2
    [2020-05-30 22:33:45.036] [LOG]    Connecting socket for: MMM-DailyBibleVerse
    [2020-05-30 22:33:45.037] [LOG]    Started node_helper.js for MMM-DailyBibleVerse.
    [2020-05-30 22:33:45.037] [LOG]    Connecting socket for: MMM-Tools
    [2020-05-30 22:33:45.039] [LOG]    Connecting socket for: MMM-Remote-Control
    [2020-05-30 22:33:45.040] [LOG]    Starting node helper for: MMM-Remote-Control
    [2020-05-30 22:33:45.043] [LOG]    Connecting socket for: MMM-GoogleFit
    [2020-05-30 22:33:45.044] [LOG]    MMM-GoogleFit helper started...
    [2020-05-30 22:33:45.045] [LOG]    Connecting socket for: newsfeed
    [2020-05-30 22:33:45.045] [LOG]    Starting module: newsfeed
    [2020-05-30 22:33:45.046] [LOG]    Sockets connected & modules started ...
    [2020-05-30 22:33:45.115] [LOG]    Launching application.
    [2020-05-30 22:33:48.324] [LOG]    Create new calendar fetcher for url: https://www.calendarlabs.com/ical-calendar/ics/33/India_Holidays.ics - Interval: 300000
    [2020-05-30 22:33:48.335] [LOG]    Create new calendar fetcher for url: http://localhost:8080/MMM-iCloud-Client/birthdays - Interval: 300000
    [2020-05-30 22:33:48.338] [LOG]    Create new calendar fetcher for url: http://localhost:8080/mmm-googlebirthdaysprovider - Interval: 300000
    [2020-05-30 22:33:48.339] [LOG]    Create new calendar fetcher for url: http://p55-caldav.icloud.com/published/2/MTYyNDUxMzU4NTMxNjI0NYC75Drqr02v7z3JKqrHR4_Vd4jSfdBaOYaOyJzk__IX - Interval: 300000
    [2020-05-30 22:33:48.363] [LOG]    [AMK2] Recipe is loaded: with-MMM-TelegramBot.js
    [2020-05-30 22:33:48.390] [LOG]    [AMK2] Recipe is loaded: reboot.js
    [2020-05-30 22:33:48.392] [LOG]    [AMK2] Recipe is loaded: with-MMM-Spotify
    [2020-05-30 22:33:48.396] [LOG]    MMM-DailyBibleVerse node helper received a socket notification: START - Payload: NIV
    [2020-05-30 22:33:48.645] [LOG]    Create new news fetcher for url: https://timesofindia.indiatimes.com/rssfeeds/-2128936835.cms - Interval: 300000
    [2020-05-30 22:33:48.964] [LOG]    [SPOTIFY] MMM-Spotify Version: 1.4.1
    [2020-05-30 22:33:49.711] [LOG]    [AMK2] Temporal storage directory is clearing.
    [2020-05-30 22:33:49.814] [ERROR]  Calendar Error. Could not fetch calendar:  http://localhost:8080/MMM-iCloud-Client/birthdays 404: Not Found
    [2020-05-30 22:33:50.755] [LOG]    [AMK2] assistant ready
    [2020-05-30 22:33:50.830] [LOG]    [AMK2] Conversation starts.
    [2020-05-30 22:33:50.831] [LOG]    [AMK2] Started with text query: brief today
    [2020-05-30 22:33:51.094] [LOG]    Whoops! There was an uncaught exception...
    [2020-05-30 22:33:51.094] [ERROR]  [Error: ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/MMM-AssistantMk2/tmp/1590858230831.mp3'] {
      errno: -2,
      code: 'ENOENT',
      syscall: 'open',
      path: '/home/pi/MagicMirror/modules/MMM-AssistantMk2/tmp/1590858230831.mp3'
    }
    [2020-05-30 22:33:51.097] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
    [2020-05-30 22:33:51.097] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
    [2020-05-30 22:33:51.100] [ERROR]  Calendar Error. Could not fetch calendar:  https://www.calendarlabs.com/ical-calendar/ics/33/India_Holidays.ics Error: certificate has expired
        at TLSSocket.onConnectSecure (_tls_wrap.js:1317:34)
        at TLSSocket.emit (events.js:200:13)
        at TLSSocket._finishInit (_tls_wrap.js:792:8)
        at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:606:12) {
      code: 'CERT_HAS_EXPIRED'
    }
    [2020-05-30 22:33:51.112] [LOG]    {"votd":{"text":"“In God, whose word I praise— in God I trust and am not afraid. What can mere mortals do to me?”","content":"In God, whose word I praise— in God I trust and am not afraid. What can mere mortals do to me?","display_ref":"Psalm 56:4","reference":"Psalm 56:4","permalink":"https:\/\/www.biblegateway.com\/passage\/?version=NIV&search=Psalm%2056:4","copyright":"Copyright ©  1973, 1978, 1984, 2011 by Biblica","copyrightlink":"https:\/\/www.biblegateway.com\/versions\/index.php?action=getVersionInfo&vid=31&lang=2","audiolink":"https:\/\/www.biblegateway.com\/audio\/mclean\/niv\/Ps.56.4","day":"30","month":"05","year":"2020","version":"New International Version","version_id":"NIV"}}
    [2020-05-30 22:33:53.061] [LOG]    { requestId: '**************************' } { profileFile: 'default.json', lang: 'en-US' }
    [2020-05-30 22:33:53.063] [LOG]    [AMK2] Device Action: { requestId: '***************************' }
    [2020-05-30 22:33:53.068] [LOG]    [AMK2] Assistant Text Response: 
    [2020-05-30 22:33:53.072] [ERROR]  [AMK2] - temporal HTML creation fails. E: Error: ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/MMM-AssistantMk2/tmp/temp.html'
    [2020-05-30 22:33:53.081] [ERROR]  [AMK2] E: Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
        at doWrite (_stream_writable.js:413:19)
        at writeOrBuffer (_stream_writable.js:401:5)
        at WriteStream.Writable.write (_stream_writable.js:301:11)
        at Conversation. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21)
        at Conversation.emit (events.js:200:13)
        at ClientDuplexStream. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12)
        at ClientDuplexStream.emit (events.js:200:13)
        at addChunk (_stream_readable.js:294:12)
        at readableAddChunk (_stream_readable.js:275:11)
        at ClientDuplexStream.Readable.push (_stream_readable.js:210:10)
        at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19)
        at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19)
        at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14
    [2020-05-30 22:33:53.083] [LOG]    [AMK2] Some error happens. Try again.
    [2020-05-30 22:33:53.085] [ERROR]  [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end
        at writeAfterEnd (_stream_writable.js:250:14)
        at WriteStream.Writable.write (_stream_writable.js:298:5)
        at Conversation. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21)
        at Conversation.emit (events.js:200:13)
        at ClientDuplexStream. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12)
        at ClientDuplexStream.emit (events.js:200:13)
        at addChunk (_stream_readable.js:294:12)
        at readableAddChunk (_stream_readable.js:275:11)
        at ClientDuplexStream.Readable.push (_stream_readable.js:210:10)
        at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19)
        at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19)
        at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14
    [2020-05-30 22:33:53.086] [LOG]    [AMK2] Some error happens. Try again.
    [2020-05-30 22:33:53.087] [ERROR]  [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end
        at writeAfterEnd (_stream_writable.js:250:14)
        at WriteStream.Writable.write (_stream_writable.js:298:5)
        at Conversation. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21)
        at Conversation.emit (events.js:200:13)
        at ClientDuplexStream. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12)
        at ClientDuplexStream.emit (events.js:200:13)
        at addChunk (_stream_readable.js:294:12)
        at readableAddChunk (_stream_readable.js:275:11)
        at ClientDuplexStream.Readable.push (_stream_readable.js:210:10)
        at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19)
        at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19)
        at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14
    [2020-05-30 22:33:53.088] [LOG]    [AMK2] Some error happens. Try again.
    [2020-05-30 22:33:53.090] [ERROR]  [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end
        at writeAfterEnd (_stream_writable.js:250:14)
        at WriteStream.Writable.write (_stream_writable.js:298:5)
        at Conversation. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21)
        at Conversation.emit (events.js:200:13)
        at ClientDuplexStream. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12)
        at ClientDuplexStream.emit (events.js:200:13)
        at addChunk (_stream_readable.js:294:12)
        at readableAddChunk (_stream_readable.js:275:11)
        at ClientDuplexStream.Readable.push (_stream_readable.js:210:10)
        at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19)
        at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19)
        at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14
    [2020-05-30 22:33:53.091] [LOG]    [AMK2] Some error happens. Try again.
    [2020-05-30 22:33:53.092] [ERROR]  [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end
        at writeAfterEnd (_stream_writable.js:250:14)
        at WriteStream.Writable.write (_stream_writable.js:298:5)
        at Conversation. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21)
        at Conversation.emit (events.js:200:13)
        at ClientDuplexStream. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12)
        at ClientDuplexStream.emit (events.js:200:13)
        at addChunk (_stream_readable.js:294:12)
        at readableAddChunk (_stream_readable.js:275:11)
        at ClientDuplexStream.Readable.push (_stream_readable.js:210:10)
        at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19)
        at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19)
        at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14
    [2020-05-30 22:33:53.093] [LOG]    [AMK2] Some error happens. Try again.
    [2020-05-30 22:33:53.095] [ERROR]  [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end
        at writeAfterEnd (_stream_writable.js:250:14)
        at WriteStream.Writable.write (_stream_writable.js:298:5)
        at Conversation. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21)
        at Conversation.emit (events.js:200:13)
        at ClientDuplexStream. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12)
        at ClientDuplexStream.emit (events.js:200:13)
        at addChunk (_stream_readable.js:294:12)
        at readableAddChunk (_stream_readable.js:275:11)
        at ClientDuplexStream.Readable.push (_stream_readable.js:210:10)
        at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19)
        at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19)
        at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14
    [2020-05-30 22:33:53.096] [LOG]    [AMK2] Some error happens. Try again.
    [2020-05-30 22:33:53.097] [ERROR]  [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end
        at writeAfterEnd (_stream_writable.js:250:14)
        at WriteStream.Writable.write (_stream_writable.js:298:5)
        at Conversation. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21)
        at Conversation.emit (events.js:200:13)
        at ClientDuplexStream. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12)
        at ClientDuplexStream.emit (events.js:200:13)
        at addChunk (_stream_readable.js:294:12)
        at readableAddChunk (_stream_readable.js:275:11)
        at ClientDuplexStream.Readable.push (_stream_readable.js:210:10)
        at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19)
        at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19)
        at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14
    [2020-05-30 22:33:53.098] [LOG]    [AMK2] Some error happens. Try again.
    [2020-05-30 22:33:53.100] [ERROR]  [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end
        at writeAfterEnd (_stream_writable.js:250:14)
        at WriteStream.Writable.write (_stream_writable.js:298:5)
        at Conversation. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21)
        at Conversation.emit (events.js:200:13)
        at ClientDuplexStream. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12)
        at ClientDuplexStream.emit (events.js:200:13)
        at addChunk (_stream_readable.js:294:12)
        at readableAddChunk (_stream_readable.js:275:11)
        at ClientDuplexStream.Readable.push (_stream_readable.js:210:10)
        at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19)
        at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19)
        at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14
    [2020-05-30 22:33:53.100] [LOG]    [AMK2] Some error happens. Try again.
    [2020-05-30 22:33:53.102] [ERROR]  [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end
        at writeAfterEnd (_stream_writable.js:250:14)
        at WriteStream.Writable.write (_stream_writable.js:298:5)
        at Conversation. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21)
        at Conversation.emit (events.js:200:13)
        at ClientDuplexStream. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12)
        at ClientDuplexStream.emit (events.js:200:13)
        at addChunk (_stream_readable.js:294:12)
        at readableAddChunk (_stream_readable.js:275:11)
        at ClientDuplexStream.Readable.push (_stream_readable.js:210:10)
        at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19)
        at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19)
        at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14
    [2020-05-30 22:33:53.103] [LOG]    [AMK2] Some error happens. Try again.
    [2020-05-30 22:33:53.104] [ERROR]  [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end
        at writeAfterEnd (_stream_writable.js:250:14)
        at WriteStream.Writable.write (_stream_writable.js:298:5)
        at Conversation. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21)
        at Conversation.emit (events.js:200:13)
        at ClientDuplexStream. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12)
        at ClientDuplexStream.emit (events.js:200:13)
        at addChunk (_stream_readable.js:294:12)
        at readableAddChunk (_stream_readable.js:275:11)
        at ClientDuplexStream.Readable.push (_stream_readable.js:210:10)
        at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19)
        at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19)
        at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14
    [2020-05-30 22:33:53.105] [LOG]    [AMK2] Some error happens. Try again.
    [2020-05-30 22:33:53.106] [ERROR]  [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end
        at writeAfterEnd (_stream_writable.js:250:14)
        at WriteStream.Writable.write (_stream_writable.js:298:5)
        at Conversation. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21)
        at Conversation.emit (events.js:200:13)
        at ClientDuplexStream. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12)
        at ClientDuplexStream.emit (events.js:200:13)
        at addChunk (_stream_readable.js:294:12)
        at readableAddChunk (_stream_readable.js:275:11)
        at ClientDuplexStream.Readable.push (_stream_readable.js:210:10)
        at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19)
        at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19)
        at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14
    [2020-05-30 22:33:53.108] [LOG]    [AMK2] Some error happens. Try again.
    [2020-05-30 22:33:53.109] [ERROR]  [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end
        at writeAfterEnd (_stream_writable.js:250:14)
        at WriteStream.Writable.write (_stream_writable.js:298:5)
        at Conversation. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21)
        at Conversation.emit (events.js:200:13)
        at ClientDuplexStream. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12)
        at ClientDuplexStream.emit (events.js:200:13)
        at addChunk (_stream_readable.js:294:12)
        at readableAddChunk (_stream_readable.js:275:11)
        at ClientDuplexStream.Readable.push (_stream_readable.js:210:10)
        at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19)
        at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19)
        at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14
    [2020-05-30 22:33:53.110] [LOG]    [AMK2] Some error happens. Try again.
    [2020-05-30 22:33:53.112] [ERROR]  [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end
        at writeAfterEnd (_stream_writable.js:250:14)
        at WriteStream.Writable.write (_stream_writable.js:298:5)
        at Conversation. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21)
        at Conversation.emit (events.js:200:13)
        at ClientDuplexStream. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12)
        at ClientDuplexStream.emit (events.js:200:13)
        at addChunk (_stream_readable.js:294:12)
        at readableAddChunk (_stream_readable.js:275:11)
        at ClientDuplexStream.Readable.push (_stream_readable.js:210:10)
        at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19)
        at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19)
        at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14
    [2020-05-30 22:33:53.113] [LOG]    [AMK2] Some error happens. Try again.
    [2020-05-30 22:33:53.115] [ERROR]  [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end
        at writeAfterEnd (_stream_writable.js:250:14)
        at WriteStream.Writable.write (_stream_writable.js:298:5)
        at Conversation. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21)
        at Conversation.emit (events.js:200:13)
        at ClientDuplexStream. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12)
        at ClientDuplexStream.emit (events.js:200:13)
        at addChunk (_stream_readable.js:294:12)
        at readableAddChunk (_stream_readable.js:275:11)
        at ClientDuplexStream.Readable.push (_stream_readable.js:210:10)
        at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19)
        at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19)
        at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14
    [2020-05-30 22:33:53.116] [LOG]    [AMK2] Some error happens. Try again.
    [2020-05-30 22:33:53.118] [ERROR]  [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end
        at writeAfterEnd (_stream_writable.js:250:14)
        at WriteStream.Writable.write (_stream_writable.js:298:5)
        at Conversation. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21)
        at Conversation.emit (events.js:200:13)
        at ClientDuplexStream. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12)
        at ClientDuplexStream.emit (events.js:200:13)
        at addChunk (_stream_readable.js:294:12)
        at readableAddChunk (_stream_readable.js:275:11)
        at ClientDuplexStream.Readable.push (_stream_readable.js:210:10)
        at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19)
        at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19)
        at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14
    [2020-05-30 22:33:53.119] [LOG]    [AMK2] Some error happens. Try again.
    [2020-05-30 22:33:53.122] [LOG]    foundHook []
    [2020-05-30 22:33:53.325] [LOG]    Speaker error: 1
    [2020-05-30 22:33:53.326] [LOG]    Whoops! There was an uncaught exception...
    [2020-05-30 22:33:53.327] [ERROR]  1
    [2020-05-30 22:33:53.327] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
    [2020-05-30 22:33:53.327] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
    [2020-05-30 22:34:09.077] [LOG]    Shutting down server...
    [2020-05-30 22:34:09.078] [LOG]    Stopping module helper: updatenotification
    [2020-05-30 22:34:09.079] [LOG]    Stopping module helper: MMM-TelegramBot
    [2020-05-30 22:34:09.080] [LOG]    MMM-GoogleBirthdaysProvider: Stopping helper
    [2020-05-30 22:34:09.080] [LOG]    Stopping module helper: calendar
    [2020-05-30 22:34:09.081] [LOG]    Stopping module helper: MMM-Spotify
    [2020-05-30 22:34:09.081] [LOG]    Stopping module helper: MMM-AssistantMk2
    [2020-05-30 22:34:09.082] [LOG]    Stopping module helper: MMM-DailyBibleVerse
    [2020-05-30 22:34:09.082] [LOG]    Stopping module helper: MMM-Tools
    [2020-05-30 22:34:09.083] [LOG]    Stopping module helper: MMM-GoogleFit
    [2020-05-30 22:34:09.084] [LOG]    Stopping module helper: newsfeed
    
    


  • I am having the same issue, if you fix it, please let me know.



  • @reddyman @sdmydbr9 here is the new mk2, wiki, maybe it will help

    https://github.com/bugsounet/MMM-AssistantMk2/wiki

    Bugsounet has stepped away for a while… so follow the instructions carefully



  • @reddyman hi, I found a work around… maybe it’s temporary but I got it working by Downgrading my assistant mk2 to the previous working version… cheers



  • @sdmydbr I wanted to try downgrading MK2 but I wasn’t sure how to. Sorry, I’m a bit inexperienced in all of this. What is the command? And what version did you use? Thank you!



  • @reddyman well here are the steps for downgrading

    1. Go to “Commits”
    2. Click the “<>” icon to the right of the desired commit
    3. Select Clone or Download
    4. Download ZIP

    any old version will be fine(not too old) i used may26,2020 version…



  • @sdmydbr Dang, that is so simple. Here I was trying to figure out how to do it commands.

    Okay, but now, am I crazy or is MMM-AssistantMK2 now completely taken off github? Because I can’t find it anywhere. Damn it, right when I found a solution…

    I don’t suppose you or @sdetweil know where I could find a backup? Thank you again!



  • @reddyman im surprised too, the github page has gone dark… about the assistant mk2 package, i have the zip file that i downloaded earlier, and i would be happy to share it with you! and no… i have no clue of any back ups… cheers


  • Project Sponsor

    @sdmydbr9 I have same problem with mmm assistant mk2. Can you please send me that zip archive from old version? I can send you a message with my email address.
    Thank you.




Log in to reply