@mmrize Looks like it is fixed now, from what I can tell it appears the repo has been updated to support grpc.js instead of the deprecated module.
Read the statement by Michael Teeuw here.
Best posts made by jamesarm
-
RE: Segment fault MMM-GoogleTTS
Latest posts made by jamesarm
-
Best way to wake monitor before TTS
My audio goes through the monitor (has nice built in speakers) and I am using the MMM-PIR module to put the monitor to sleep. If I send a tts command for MMM-GoogleTTS, it doesn’t wake the mirror so there will be no audio output. Is there a way to set this up so the monitor would wake on any audio output or will I just have to resort to bypassing the monitor speakers (trying to avoid).
-
RE: Calendar (native) Profiles option
Never mind, I just tried creating two module configs with different classes and that worked (can have more than one calendar module defined).
-
Calendar (native) Profiles option
I really like the way the standard calendar module looks vs a 3rd party like CalendarExt but was looking for a way to implement different calendars based on facial rec user. I see a few of the others support a profiles: [] addition but didn’t see anything like it documented to the standard calendar. Can I just configure two calendar module sections with different classes (multiuser) and show one or the other? Or does someone have some css that makes the CalendarExt module look more like the standard (black and white with no frills)?
-
RE: MMM-Face-Recon-DNN not getting past the opening video stream
@kicifans Enabled debug and after closing the MMM-Faces module I tried to run, I can see the DNN module startup and the last thing it shows it opening camera stream. Nothing after that and no errors. It causes MM to stop updating any screens but shows only the modules rendered up to that point. If I press CTRL-C it stops and shows captured xx FPS so it is doing something, but the way the module is launching the python script, it isn’t allowing the main Magic mirror to process anymore (like it isn’t spawned in a thread or something but blocking instead).
I figured I would try the MMM-Faces module again since it at least looked promising but when I open the management interface and click the camera icon for a preview, it only shows one image and doesn’t update in real time so I guess I need to troubleshoot that one instead unless there are any thoughts on the DNN module. I tried the python command from the command prompt and it said it was opening the input stream and creating output stream with no errors, just seems to block all processes if launched within the magic mirror setup.
-
RE: Segment fault MMM-GoogleTTS
@mmrize Looks like it is fixed now, from what I can tell it appears the repo has been updated to support grpc.js instead of the deprecated module.
-
MMM-Face-Recon-DNN not getting past the opening video stream
I have tried a few times to get Face recognition working. I initially installed the opencv bin package but then ended up compiling it myself. All of the sample apps I found online Face(something)GUI and the command line utilities all seem to work. I can see the RPICamera in the gui app and it was trained and shows it is working, but when I start MM with MMM-Face-Recon-DNN (and the other module I think it depends on), everything loads up to the point where it shows it is starting the video stream. It stops there and nothing after it works (MM only shows partial data on the screen). I checked the config and made sure it was set to rpicamera but also tried the /dev/video0 for kicks. Not sure what else to check at this point. Is there a different module that would work just as good, I am looking for multiple user support so I can show calendars and a different layout per person.
-
RE: *NEW LIST 29.06.2021* Two way community order for mirror glass for all european countries - Open until at least 10 people have entered
Nice info, I have put off this project for a few years and just recently started back. Originally I ordered two way acrylic but they sent the wrong stuff so I gave up for a while. I just read online and found a link to amazon two way glass and it looked like MirrorView was the best but it was out of stock so I got the slightly darker tinted Mirror(Something from same company). It will get me going until I get it replaced someday.
-
Error: valid-url not found MMM-CalendarExt(2)
Updated node to latest on rpi 4 and magic mirror to latest to try and fix GoogleTTS and now I am getting an error on both the CalendarExt and Ext2 modules. I removed and reinstalled them and same issue.
0|mm | [03.10.2021 18:36.30.918] [ERROR] App threw an error during load
0|mm | [03.10.2021 18:36.30.922] [ERROR]
0|mm | Error: Cannot find module ‘valid-url’
0|mm | Require stack:
0|mm | - /home/pi/MagicMirror/modules/MMM-CalendarExt/node_helper.js
0|mm | - /home/pi/MagicMirror/js/app.js
0|mm | - /home/pi/MagicMirror/js/electron.js
0|mm | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
0|mm | -
0|mm | at Module._resolveFilename (internal/modules/cjs/loader.js:887:15)
0|mm | at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128)
0|mm | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
0|mm | at Module._load (internal/modules/cjs/loader.js:732:27)
0|mm | at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
0|mm | at Module.require (internal/modules/cjs/loader.js:959:19)
0|mm | at require (internal/modules/cjs/helpers.js:88:18)
0|mm | at Object. (/home/pi/MagicMirror/modules/MMM-CalendarExt/node_helper.js:3:18)
0|mm | at Module._compile (internal/modules/cjs/loader.js:1078:30)
0|mm | at Object.Module._extensions…js (internal/modules/cjs/loader.js:1108:10)
0|mm | [03.10.2021 18:36.30.923] [ERROR] Whoops! There was an uncaught exception…
0|mm | [03.10.2021 18:36.30.932] [ERROR]
0|mm | Error: Cannot find module ‘valid-url’
0|mm | Require stack:
0|mm | - /home/pi/MagicMirror/modules/MMM-CalendarExt/node_helper.js
0|mm | - /home/pi/MagicMirror/js/app.js
0|mm | - /home/pi/MagicMirror/js/electron.js
0|mm | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js0|mm | WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘request’
0|mm | Require stack:
0|mm | - /home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js
0|mm | - /home/pi/MagicMirror/js/app.js
0|mm | - /home/pi/MagicMirror/js/electron.js
0|mm | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js -
Segment fault MMM-GoogleTTS
I have read other messages about doing the node electron rebuild and such and tried all of them. I keep getting a segment fault running the node_grpc binary that is compiled in the TTS node stuff (not at computer to get the exact name), the GRPC bin. I have rebuilt it as suggested and even switched down to gcc-7 from 8 as mentioned also, no luck. This is on a rpi 4b running the latest Raspbian and magicmirrror. Any thought on what else I can try? I can’t be the only person on a pi 4b. I plan on integrating some more google stuff so I need to find a solution somehow.
-James