@sean
thanks for the reply.
I don’t use pm2, i’m starting the mirror with “DISPLAY=:0 npm start”
To be sure i tryed the “pm2 stop mm” but like suspected i’m getting the “bash: pm2: opdracht niet gevonden” message.
@sean
thanks for the reply.
I don’t use pm2, i’m starting the mirror with “DISPLAY=:0 npm start”
To be sure i tryed the “pm2 stop mm” but like suspected i’m getting the “bash: pm2: opdracht niet gevonden” message.
I got the same problem.
Before the update i had a MM with three extra modules, namely:
MMM-AssistantMk2
MMM-NotificationTrigger
MMM-Hotword
I also had teamviewer installed.
Everything worked fine.
I had the update message an i did the git pull && npm install
Didn’t had any updates during the update.
After the update i tried to start the mirror the normal way and i got the error like it’s mentiont at the beginning of this topic.
What’s causing this and how to correct it?
Hello,
I’ve installed MagicMirror and added MMM-AssistantMk2, MMM-Hotword and MMM-NotificationTrigger.
I also had some errors with nodejs and electron.
After this i looked for a way to get the errors out. My idea was to install rasbian and then install nodejs and electron.
What version do i need? i could install 8, 9 or 10, but what is the best version.
Further after installing the MMM modules i’m getting errors and need to rebuild the module. This also gives errors, errors with electron.
How can i install or update electron?
So the idea is:
Install rasbian
Install nodejs (right version)
Install electron (so install doesn’t give errors)
Install MagicMirror
Install MMM-Assistant, MMM-Hotword, MMM-NotificationTrigger
So how can i prepare my rasbian for installing MagicMirror, MMM-AssistantMk2, MMM-Hotword, MMM-NotificationTrigger without errors?
@sean @teitlebot
i’m using a cheap chinese usb mic :grinning_face_with_smiling_eyes:
@sean
Thanks for the reply.
I was scared of something like that. After a clean raspbian image i just installed MagicMirror and after that MMM-AssistantMK2, MMM-Hotword and MMM-TriggerNotification (with all the nmp rebuild errors). I’ve uninstalled the compleet LibreOffice and game packets wich come by default with raspbian.
I allready made a .asoundrc file like you can find around the internet.
aplay && arecord work fine without glitches.
Result .asoundrc
pcm.!default {
type asym
capture.pcm "mic"
playback.pcm "speaker"
}
ctl.!default {
type hw
card 0
}
pcm.mic {
type plug
slave {
pcm "hw:1,0"
}
}
pcm.speaker {
type plug
slave {
pcm "hw:0,0"
rate 18000
}
}
Results aplay -l && arecord -l
pi@MagicMirror2:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 7/7
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
pi@MagicMirror2:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
Result lsmod
pi@MagicMirror2:~/MagicMirror $ lsmod
Module Size Used by
fuse 106496 3
cfg80211 573440 0
rfkill 28672 2 cfg80211
joydev 20480 0
ads7846 20480 0
hwmon 16384 1 ads7846
snd_bcm2835 32768 1
spi_bcm2835 16384 0
i2c_bcm2835 16384 0
fixed 16384 0
uio_pdrv_genirq 16384 0
uio 20480 1 uio_pdrv_genirq
evdev 24576 8
snd_usb_audio 172032 0
snd_hwdep 16384 1 snd_usb_audio
snd_usbmidi_lib 32768 1 snd_usb_audio
snd_rawmidi 32768 1 snd_usbmidi_lib
snd_seq_device 16384 1 snd_rawmidi
snd_pcm 98304 2 snd_usb_audio,snd_bcm2835
snd_timer 32768 1 snd_pcm
snd 69632 10 snd_hwdep,snd_usb_audio,snd_timer,snd_rawmidi,snd_usbmidi_lib,snd_seq_device,snd_bcm2835,snd_pcm
i2c_dev 16384 0
ip_tables 24576 0
x_tables 32768 1 ip_tables
ipv6 434176 22
What would you suggest doing now? I’m a little stuck now, due to my lack of knowledge of Linux.
I’ve installed MMM-AssistantMk2 with MMM-Hotword and MMM-NotificationTrigger.
Everything works fine except for the return audio.
It stutters and i’m getting the idea that it isn’t procest quick eneough.
Am i the only one with this problem and if not does somebody have the solution?
Could you give more detail about what hardware you used, type of tv, what did you connect, resolderd, etc.
How did you build it, etc.
What’s the best screen type. On the forum you are a lot of mirrors where they got problems with bleeding.
In other words you can see the screen contours through the mirror.
What’s the best specs combination, screen type and glass, etc. So you can’t see the screen through the mirror but only the text pictures you want to show?
Super build ecspecialy the thin metal bezel and the total thickness of 2.5cm
Could you post More building pictures and details. I’m looking for something to build like yours 😃
Hello,
I’m looking for a mirror, but during that search i stumbed on semi transparant foil.
Does somebody used this foil?
It’s cheaper and u can make a thinner smart mirror with it. The glass it self is allready 6mm in the case of foil u can use a thinner glass combined with a thin monitor…
I