Rpi 3 or 4? because i have a lot problems on rpi3b the new version of GA is very slow on older rpi than 4, On my RPI4b 4gb works fine.
Posts made by kalvi
-
RE: MagicMirror stuck on the loading screen
-
Syntax Error in Acces key
Can you find the syntax error in my config? Because im not.
Thats the answer for npm config:check
jan@raspberrypi:~/MagicMirror $ npm run config:check > magicmirror@2.26.0 config:check > node js/check_config.js [12.01.2024 18:25.19.717] [INFO] Checking file... /home/jan/MagicMirror/config/config.js [12.01.2024 18:25.19.762] [ERROR] Your configuration file contains syntax errors :( [12.01.2024 18:25.19.763] [ERROR] Line 143 column 27: Parsing error: Identifier directly after number jan@raspberrypi:~/MagicMirror $
Line 143 column 27 is in [] ( its in the middle of acces key)
{ module: "EXT-Detector", position: "top_left", config: { debug: false, useIcon: true, touchOnly: false, porcupineAccessKey: 08[P]UuFn****256Wn/C***9***D5YpVSo/jM85pq****3JRSw6ZXvA==, porcupineCustomModel: null, detectors: [ { detector: "Porcupine", Model: "ok google", Sensitivity: null }, { detector: "Porcupine", Model: "hey google", Sensitivity: 0.5 } ], }, },
When i deleted acceskey and wrote ‘‘null’’ it have worked, but GA didn’t see any detector. Why?
-
RE: Moving MM GAv3 from rpi 3b 1GB to rpi4 4GB
@bugsounet said in Moving MM GAv3 from rpi 3b 1GB to rpi4 4GB:
And as I am sure that will answer the version of node…
This is the magical final command:sudo ln -s /usr/bin/node /usr/local/bin/node
and now …
node -v
will repond :
v18.19.0
am I right ?
its kinda working but the answer is Folder exists and then, folder doesnt exist. Am i doing somethink wrong?
jan@raspberrypi:~ $ node -v bash: /usr/local/bin/node: Nie ma takiego pliku ani katalogu jan@raspberrypi:~ $ /usr/bin/node -v v18.19.0 jan@raspberrypi:~ $ sudo ln -s /usr/bin/node /usr/local/bin/node ln: nie udało się utworzyć dowiązania symbolicznego '/usr/local/bin/node': Plik istnieje (In: failed to create symbolic link '/usr/local/bin/node': File exists) jan@raspberrypi:~ $ node -v bash: /usr/local/bin/node: Nie ma takiego pliku ani katalogu (bash: /usr/local/bin/node: No such file or directory) jan@raspberrypi:~ $
-
RE: Moving MM GAv3 from rpi 3b 1GB to rpi4 4GB
@bugsounet
what is goingon? hahaNie ma takiego pliku ani katalogu means there is no such folder
jan@raspberrypi:~ $ sudo apt-get remove nodejs --purge Czytanie list pakietów... Gotowe Budowanie drzewa zależności... Gotowe Odczyt informacji o stanie... Gotowe Następujące pakiety zostaną USUNIĘTE: nodejs* 0 aktualizowanych, 0 nowo instalowanych, 1 usuwanych i 0 nieaktualizowanych. Po tej operacji zostanie zwolnione 185 MB miejsca na dysku. Kontynuować? [T/n] t (Odczytywanie bazy danych ... 113158 plików i katalogów obecnie zainstalowanych.) Usuwanie pakietu nodejs (20.10.0-1nodesource1) ... Przetwarzanie wyzwalaczy pakietu man-db (2.9.4-2)... jan@raspberrypi:~ $ sudo apt-get install nodejs Czytanie list pakietów... Gotowe Budowanie drzewa zależności... Gotowe Odczyt informacji o stanie... Gotowe Zostaną zainstalowane następujące NOWE pakiety: nodejs 0 aktualizowanych, 1 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych. Konieczne pobranie 27,1 MB archiwów. Po tej operacji zostanie dodatkowo użyte 178 MB miejsca na dysku. Pobieranie:1 https://deb.nodesource.com/node_18.x nodistro/main armhf nodejs armhf 18.19.0-1nodesource1 [27,1 MB] Pobrano 27,1 MB w 4s (7 625 kB/s) Wybieranie wcześniej niewybranego pakietu nodejs. (Odczytywanie bazy danych ... 107655 plików i katalogów obecnie zainstalowanych.) Przygotowywanie do rozpakowania pakietu .../nodejs_18.19.0-1nodesource1_armhf.deb ... Rozpakowywanie pakietu nodejs (18.19.0-1nodesource1) ... Konfigurowanie pakietu nodejs (18.19.0-1nodesource1) ... Przetwarzanie wyzwalaczy pakietu man-db (2.9.4-2)... jan@raspberrypi:~ $ node -v bash: /usr/local/bin/node: Nie ma takiego pliku ani katalogu
-
RE: Moving MM GAv3 from rpi 3b 1GB to rpi4 4GB
It looks like it help with commands that you have wrote me earlier, but even that it looks that i have still 20.x node.js Im i right?
jan@raspberrypi:~ $ sudo mkdir /etc/apt/keyrings jan@raspberrypi:~ $ curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg jan@raspberrypi:~ $ sudo apt-get update && sudo apt-get install nodejs -y Stary:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Stary:2 http://archive.raspberrypi.org/debian bullseye InRelease Pobieranie:3 https://deb.nodesource.com/node_18.x nodistro InRelease [12,1 kB] Pobieranie:4 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages [6 656 B] Pobrano 6 656 B w 1s (5 422 B/s) Czytanie list pakietów... Gotowe Czytanie list pakietów... Gotowe Budowanie drzewa zależności... Gotowe Odczyt informacji o stanie... Gotowe nodejs is already the newest version (20.10.0-1nodesource1). 0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych. jan@raspberrypi:~ $
and my main error when instaling GA still occures.
jan@raspberrypi:~/MagicMirror/modules/MMM-GoogleAssistant $ npm install > MMM-GoogleAssistant@6.0.0 preinstall > installer/preinstall.sh -d 'pulseaudio nginx certbot python3 python-is-python3 python3-certbot-nginx make build-essential' Welcome to MMM-GoogleAssistant v6.0.0 No root checking... Checking MMM-GoogleAssistant: jan/jan Checking MagicMirror: jan/jan Checking OS... OS Detected: linux-gnueabihf (raspbian 11 aarch64) Checking all dependencies... All Dependencies needed are installed ! > MMM-GoogleAssistant@6.0.0 postinstall > installer/postinstall.sh -r -b -m Minify Main code... installer/postinstall.sh: linia 43: /usr/local/bin/node: Nie ma takiego pliku ani katalogu Minify Failed! npm ERR! code 255 npm ERR! path /home/jan/MagicMirror/modules/MMM-GoogleAssistant npm ERR! command failed npm ERR! command sh -c installer/postinstall.sh -r -b -m npm ERR! A complete log of this run can be found in: /home/jan/.npm/_logs/2024-01-11T18_59_01_873Z-debug-0.log jan@raspberrypi:~/MagicMirror/modules/MMM-GoogleAssistant $
-
RE: Moving MM GAv3 from rpi 3b 1GB to rpi4 4GB
@bugsounet said in Moving MM GAv3 from rpi 3b 1GB to rpi4 4GB:
sudo apt-get update && sudo apt-get install nodejs -y
Why everything is not working in my rpi???
jan@raspberrypi:~ $ sudo apt-get update && sudo apt-get install -y ca-certificates curl gnupg Stary:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Stary:2 http://archive.raspberrypi.org/debian bullseye InRelease Stary:3 https://deb.nodesource.com/node_20.x nodistro InRelease Czytanie list pakietów... Gotowe Czytanie list pakietów... Gotowe Budowanie drzewa zależności... Gotowe Odczyt informacji o stanie... Gotowe ca-certificates is already the newest version (20210119). curl is already the newest version (7.74.0-1.3+deb11u11). gnupg is already the newest version (2.2.27-2+deb11u2). 0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 1 nieaktualizowanych. jan@raspberrypi:~ $ curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg gpg: nie można utworzyć ,,/etc/apt/keyrings/nodesource.gpg'': Nie ma takiego pliku ani katalogu gpg: nie odnaleziono poprawnych danych w formacie OpenPGP. gpg: zdjęcie opakowania ASCII nie powiodło się: Nie ma takiego pliku ani katalogu (23) Failed writing body jan@raspberrypi:~ $ echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main jan@raspberrypi:~ $ sudo apt-get update && sudo apt-get install nodejs -y Stary:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Stary:2 http://archive.raspberrypi.org/debian bullseye InRelease Pobieranie:3 https://deb.nodesource.com/node_18.x nodistro InRelease [12,1 kB] Błąd:3 https://deb.nodesource.com/node_18.x nodistro InRelease Następujące podpisy nie mogły zostać zweryfikowane z powodu braku klucza publicznego: NO_PUBKEY 2F59B5F99B1BE0B4 Czytanie list pakietów... Gotowe W: Błąd GPG: https://deb.nodesource.com/node_18.x nodistro InRelease: Następujące podpisy nie mogły zostać zweryfikowane z powodu braku klucza publicznego: NO_PUBKEY 2F59B5F99B1BE0B4 E: The repository 'https://deb.nodesource.com/node_18.x nodistro InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. jan@raspberrypi:~ $
-
RE: Moving MM GAv3 from rpi 3b 1GB to rpi4 4GB
@bugsounet said in Moving MM GAv3 from rpi 3b 1GB to rpi4 4GB:
this reassures me…
nie ma takiego pliku ami katelogu
: it means that node js is not installed so install it
The problem is that I have node.js, If I wouldn’t have, I wouldn’t be able to run “npm run install” I see that you wrote that there can be some bugs with some version o node.js. I have downloaded 20.x file. What o you think? Downgrade or upgrade could help? If downgrade is the way, could you write me some command for it? Or maybe there is another way? -
RE: Is Gateway Gone?
@pitchx said in Is Gateway Gone?:
@kalvi Hi please write a different post and give us some Log
I have wrote already.
-
RE: Moving MM GAv3 from rpi 3b 1GB to rpi4 4GB
@bugsounet No, actualy, this error appears when Im trying to install anything. All Ext, and even GA Module.
-
RE: [Need Help] Displaying web result
pl-PL
„Oto, co znalazłem”
„Oto najwyższy wynik wyszukiwania”
„Oto, co znalazłem w Internecie”
„Oto wynik wyszukiwania”
„Oto wynik z sieci”
„To najlepszy wynik”
„To wróciło z wyszukiwania”
„to wróciło z Google”
„tutaj trochę informacji”yt:
„YouTube ma taki wynik”
„To wróciło z YouTube”
„To pochodzi z YouTube”
„Oto pasujący wynik w YouTube”
„Oto wynik z YouTube”
„Oto odpowiedź z YouTube”
„Oto wynik z YouTube”
„Oto najlepszy wynik w YouTube”
„Oto coś z YouTube”
„Znalazłem to na YouTube” -
RE: Is Gateway Gone?
Hi, @bugsounet i have the same problem but Nnpm run reset git pull and npm run refresh does not help. I got missing libbraries error and Minify Failed error, and maybe its probably some missing node-y file??
-
RE: Moving MM GAv3 from rpi 3b 1GB to rpi4 4GB
@bugsounet
I have done this what i was talking about and i have some problems, maybe because of that. Could you help me understand what it can mean? It occures when im trying to install Ext-Spotify.! -
RE: Moving MM GAv3 from rpi 3b 1GB to rpi4 4GB
@bugsounet
To be honest, I’m not sure which version I have. Its probably V6 because I have download it yesterday. I just thought V3 is the newest. But if you say that the newest is V6 that is probably why it’s so slow on my rpi3. Another ilmistake that I have made, was installing on Rpi, the newest OS x64, and after the installation I have readed about warning that it can not work properly on the newest OS and on the x64.
Is that possible to move all files to the good OS (Bullseye x32) without installing everything again? -
Moving MM GAv3 from rpi 3b 1GB to rpi4 4GB
Hi, i have set up GAv3 on Rpi OS x64 Booksworm and on my older Rpi 3B , It works terrible.
I want to try move it to Rpi OS x32 on Rpi 4 4GB. is this possible without making configuration again? I thought about copying all folders of MM to another SD card with preimaged Rpi OSx32 Bullseye . Is that possible? and how i can made that much easier and faster? -
RE: GoogleAssistant responds randomly..
@bugsounet I have been trying Jarvis sensitivity from 0.4 to 1.0 and stilkl have same problem. but in less than 0.5 Mirror doesnt not hear me when im one meter away from.