with pm2 stopped, when i type npm start
nothin happens untill i manually open chrome and goto localhost
Read the statement by Michael Teeuw here.
Posts
-
RE: MM on NanopiM4 using Lubuntu...
-
RE: MM on NanopiM4 using Lubuntu...
it is a complete fresh install, ran this from link above.
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"
-
RE: MM on NanopiM4 using Lubuntu...
im using Lubuntu… not sure about electron, have only come across it when installing hotword and MK2assistant.
not sure how to launch with kiosk fullscreen mode
-
RE: MM on NanopiM4 using Lubuntu...
Hi again,
so i have MM installed on my M4 and its working, however i can only see it thru my internet browser, where as on my RPI3b+ when i typed
npm start
a separate window opened.how can i get it back to opening a separate window for MM?
thanks again
-
RE: Problem with MMM-AssistantMk2 or MMM-Hotword
@Sean
Thanks for that, a little bit more fiddling with it and i got it working. -
MM on NanopiM4 using Lubuntu...
howdy folks,
So as above, ive got a NanopiM4 4gb spare and i was wondering if its possible to install MM on it?
if so is it just plow on as per usual?
Commets/criticisms… GO!
-
Problem with MMM-AssistantMk2 or MMM-Hotword
hi all,
pretty new to MM, been trawling trough the net trying to solve an issue i have with either one of MMM-AssistantMk2 or MMM-Hotword… My problen is after i have said the hotword “computer” google will do its thing but after its finished i cant say “computer” again and have hotword respond a second time. have tried many different variations but nothimg works! :(config file:
{ module: "MMM-Hotword", position: "top_right", config: { useDisplay: true, chimeOnFinish: null, restart: true, autorestart: true, recipes: ["with-AMk2v3_computer.js"], mic: { recordProgram: "arecord", device: "plughw:1,0" }, }, }, { module: "MMM-AssistantMk2", position: "top_right", config: { deviceLocation: { coordinates: { // set the latitude and longitude of the device to get localized information like weather or time. (ref. mygeoposition.com) latitude: -43.5517212, longitude: 172.6340733, }, }, record: { recordProgram : "arecord", device : "plughw:1,0", }, notifications: { ASSISTANT_ACTIVATED: "HOTWORD_PAUSE", ASSISTANT_DEACTIVATED: "HOTWORD_RESUME", }, //useWelcomeMessage: "brief today", profiles: { "default" : { lang: "en-US" } }, } },
This is what comes up in command prompt:
[23:18:05.091] [LOG] Use existing news fetcher for url: https://www.nytimes.com/services/xml/rss/nyt/HomePage.xml [23:18:05.111] [LOG] Use existing news fetcher for url: https://www.stuff.co.nz/rss [23:18:05.130] [LOG] Use existing news fetcher for url: https://www.techmeme.com/feed.xml?x=1 [23:18:05.156] [LOG] Use existing news fetcher for url: https://www.technologyreview.com/topnews.rss [23:18:05.187] [LOG] [HOTWORD] Recipe is loaded: with-AMk2v3_computer.js [23:18:05.198] [LOG] [AMK2] MMM-AssistantMk2 Version: 3.1.1-0 [23:18:05.309] [LOG] [AMK2] AssistantMk2 is initialized. [23:18:05.806] [LOG] [HOTWORD] begins. [23:18:05.807] [LOG] [HOTWORD] Detector starts listening. [23:18:06.155] [LOG] [MMM-Spotify] Starting [23:18:17.951] [LOG] [HOTWORD] Detected: computer [23:18:18.219] [LOG] [HOTWORD] After Recording: 4000 [23:18:18.424] [LOG] [HOTWORD] After Recording: 4000 [23:18:18.462] [LOG] [HOTWORD] After Recording: 4000 [23:18:18.581] [LOG] [HOTWORD] After Recording: 4000 [23:18:18.691] [LOG] [HOTWORD] After Recording: 4000 [23:18:18.826] [LOG] [HOTWORD] After Recording: 4000 [23:18:18.944] [LOG] [HOTWORD] After Recording: 4000 [23:18:19.076] [LOG] [HOTWORD] After Recording: 4000 [23:18:19.191] [LOG] [HOTWORD] After Recording: 4000 [23:18:20.311] [LOG] [HOTWORD] stops. [23:18:20.319] [LOG] [HOTWORD] After Recording finised. size: 36050 [23:18:20.335] [LOG] [HOTWORD:B2W] WAV_FILE_CREATED: /home/pi/MagicMirror/modules/MMM-Hotword/temp/afterRecording.wav 36050 [23:18:20.336] [LOG] [HOTWORD] Final Result: { detected: true, hotword: 'computer', file: 'temp/afterRecording.wav' }
i cant find the proper log files to give more info. But if you need any more deetails let me know, there probably is something obvious that im leaving out, my brain is fried so cant think!! :D
Thanks in advance,
Richie