@sdetweil
Bingo. All systems go…
Thanks once again.
I am doing the backup restore thing now.
Read the statement by Michael Teeuw here.
Posts
-
RE: MM Ver.2.21 Electron failed to install error
-
RE: MM Ver.2.21 Electron failed to install error
@sdetweil
I did a git pull in MM directory.
However before that i had tried to install MMM-json-feed which failed during installation. I guess it must have messed up the electron somhow.
uname -a
Linux raspberrypi 5.10.103-v7+ #1529 SMP Tue Mar 8 12:21:37 GMT 2022 armv7l GNU/Linux
npm -v 9.1.2
node -v 16.8.1
when i do a npm install electron@19.1.0 i get
pi@raspberrypi:~/MagicMirror $ npm install electron@19.1.0
npm ERR! code ENOTEMPTY
npm ERR! syscall rename
npm ERR! path /home/pi/MagicMirror/node_modules/ip6
npm ERR! dest /home/pi/MagicMirror/node_modules/.ip6-Ll8TJZWc
npm ERR! errno -39
npm ERR! ENOTEMPTY: directory not empty, rename ‘/home/pi/MagicMirror/node_modules/ip6’ -> ‘/home/pi/MagicMirror/node_modules/.ip6-Ll8TJZWc’npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2022-11-24T16_02_00_445Z-debug-0.log -
MM Ver.2.21 Electron failed to install error
I just updated to ver 2.21. MM crashed and no longer working. npm start shows error
magicmirror@2.21.0 start
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js/home/pi/MagicMirror/node_modules/electron/index.js:17
throw new Error(‘Electron failed to install correctly, please delete node_modules/electron and try installing again’);
^Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
at getElectronPath (/home/pi/MagicMirror/node_modules/electron/index.js:17:11)
at Object. (/home/pi/MagicMirror/node_modules/electron/index.js:21:18)
at Module._compile (node:internal/modules/cjs/loader:1155:14)
at Object.Module._extensions…js (node:internal/modules/cjs/loader:1209:10)
at Module.load (node:internal/modules/cjs/loader:1033:32)
at Function.Module._load (node:internal/modules/cjs/loader:868:12)
at Module.require (node:internal/modules/cjs/loader:1057:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object. (/home/pi/MagicMirror/node_modules/electron/cli.js:3:18)
at Module._compile (node:internal/modules/cjs/loader:1155:14)Please help in resolving issue. A step by step instructions would help. I dont want to reinstall MM all over again. Adding all modules and reconfiguring the config.js file is not an option.
Thanks. -
Replacing Radar Sensing module (RCWL-0516) in place of PIR Sensor
Hello dear forum members,
MMM-PIR Sensor, module uses a PIR sensor (HC-SR501) to control the MM to turn OFF and turn ON display. I was wondering if the PIR sensor can be replaced with an RCWL-0516 Radar sensor module which ideally also detects motion. The PIR sensor and RCWL module have the similar connections of Vcc , Gnd and Out. So on detection of motion the RCWL would drive the Out signal which will be same as the PIR sensor. The PIR sensor can be tuned for distance and delay but not so in case of RCWL. The RCWL detects motion between 5 to 7 mtrs.
The question is will it work with the existing code of the MMM-PIR sensor with no changes?Thanks
-
RE: Bluetooth timeout in Raspberry
@Egnos said in Bluetooth timeout in Raspberry:
Hello people!
I connected the Raspberry bluetooth to a bluetooth speaker (Nest Audio speaker …).
It works well but unfortunately it disconnects after a certain time of inactivity.
It’s annoying because I always have to restore the bluetooth connection.Do you know a way to disable this timeout?
Thank you all.
Hello,
iam trying to connect Rpi-3B to alexa dot , not happening. How to do it. Thanks -
RE: MMM-GooglePhotos ;Google OAuth Developer
@sdetweil Okay I see that the issue has already been opened in the modules page and under discussion. Hope it is resolved. Thanks
-
RE: MMM-GooglePhotos ;Google OAuth Developer
@sdetweil Thanks, so can @aneaville, follow up please. The google photos modules is pretty neat and quite a conversation starter, and it would be a shame if it stops working.
-
MMM-GooglePhotos ;Google OAuth Developer
Hello everyone,
I have been receiving alerts from Google;“Hello Google OAuth Developer,
We’re writing to remind you that the OAuth out-of-band (OOB) flow will be deprecated on October 3, 2022, to protect your users from phishing and app impersonation attacks.
Please see the Making Google OAuth interactions safer by using more secure OAuth flows blog post to learn about the deprecation
Follow the Out-of-band (OOB) Migration Guide to migrate your app to an alternative method.”So I am running the Google-Photos module to display my photos on the MM. I had followed the setup instructions as per the requirements of the module and the module is running without any hitch since the last two years. Would I have to make changes now to comply with the Google alerts? Please guide me.
Thanks -
RE: electron-rebuild and MagicMirror v2.18 (and more)
Awesome. It really works. I had the same issue and it was really frustrating, until i stumbled upon this solution. Great my PIR-sensor module was revived. I just followed the steps mentioned and voila…it has come back to life. Thanks a ton, it is selfless gentlemen like yourself who keep this world going. Kudos.