When PIR sensor detect the presence then it will activate the facial recognition module till then the facial recognition module must be sleep.
i want to code like this what should i do ? need help thanks in advance. :)
Sorry i am new to this.
When PIR sensor detect the presence then it will activate the facial recognition module till then the facial recognition module must be sleep.
i want to code like this what should i do ? need help thanks in advance. :)
Sorry i am new to this.
pcm.!default {
type asym
capture.pcm “mic”
playback.pcm “speaker”
}
pcm.mic {
type plug
slave {
pcm “hw:1,0”
}
}
pcm.speaker {
type hw
card 0
}
ctl.!default {
type hw card 0
}
problem solved this setting works :)
pcm.!default {
type asym
capture.pcm “mic”
playback.pcm “speaker”
}
pcm.mic {
type plug
slave {
pcm “hw:1,0”
}
}
pcm.speaker {
type plug
slave {
pcm “hw:0,1”
}
}
This is my asoundrc conf but i want to change conf like this
defaults.pcm.!card
defaults.ctl.!card
screencast and google assistant both want diffrent asoundrc so any suggetions ??
Thank you.
i am noob at this so sorry in advance for dumb question…
Thank you for your reply 🙂
pcm.!default {
type asym
capture.pcm “mic”
playback.pcm “speaker”
}
pcm.mic {
type plug
slave {
pcm “hw:1,0”
}
}
pcm.speaker {
type plug
slave {
pcm “hw:0,1”
}
}
This is my asoundrc conf but i want to change conf like this
defaults.pcm.!card
defaults.ctl.!card
screencast and google assistant both want diffrent asoundrc so any suggetions ??
Thank you.
i am noob at this so sorry in advance for dumb question…
Thank you for your reply :)
try MMM-AlexaPi.
i have already installed alexapi and trying to add google assistant but its giving me error of speaker/mic is already in use… so its hard i am trying if i found out something then i will get back to you…
@siddhartha said in EADDRINUSE assistant not working:
Connecting socket for: MMM-MusicOnDemand
Connecting socket for: MMM-AssistantMk2
Connecting socket for: MMM-Hotword
[HOTWORD] MMM-Hotword starts
Connecting socket for: MMM-NotificationTrigger
these 4 module wants to connect to 8080 port but its already being used by remote control so what can i do now?
yes i am using pm2 .
any idea how can i make assistantmk2 to use some other port ??
Thanks
Starting MagicMirror: v2.8.0
Loading config …
Loading module helpers …
No helper found for module: alert.
No helper found for module: compliments.
Initializing new module helper …
Module helper loaded: updatenotification
No helper found for module: clock.
Initializing new module helper …
Module helper loaded: calendar
No helper found for module: currentweather.
No helper found for module: weatherforecast.
Initializing new module helper …
Module helper loaded: newsfeed
Initializing new module helper …
Module helper loaded: MMM-AlexaPi
Initializing new module helper …
Module helper loaded: MMM-NetworkConnection
No helper found for module: MMM-iFrame.
No helper found for module: MMM-page-indicator.
Initializing new module helper …
Module helper loaded: MMM-MusicOnDemand
Initializing new module helper …
Module helper loaded: MMM-AssistantMk2
Initializing new module helper …
Module helper loaded: MMM-Hotword
Initializing new module helper …
Module helper loaded: MMM-NotificationTrigger
No helper found for module: MMM-pages.
All module helpers loaded.
Starting server on port 8080 …
Server started …
Connecting socket for: updatenotification
Connecting socket for: calendar
Starting node helper for: calendar
Connecting socket for: newsfeed
Starting module: newsfeed
Connecting socket for: MMM-AlexaPi
Starting node helper for: MMM-AlexaPi
Connecting socket for: MMM-NetworkConnection
MMM-NetworkConnection helper started …
Connecting socket for: MMM-MusicOnDemand
Connecting socket for: MMM-AssistantMk2
Connecting socket for: MMM-Hotword
[HOTWORD] MMM-Hotword starts
Connecting socket for: MMM-NotificationTrigger
Sockets connected & modules started …
Whoops! There was an uncaught exception…
{ Error: listen EADDRINUSE 0.0.0.0:8080
at Server.setupListenHandle [as _listen2] (net.js:1330:14)
at listenInCluster (net.js:1378:12)
at doListen (net.js:1492:7)
at process._tickCallback (internal/process/next_tick.js:63:19)
at Function.Module.runMain (internal/modules/cjs/loader.js:755:11)
at startup (internal/bootstrap/node.js:241:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:579:3)
errno: ‘EADDRINUSE’,
code: ‘EADDRINUSE’,
syscall: ‘listen’,
address: ‘0.0.0.0’,
port: 8080 }
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
Launching application.
n^CShutting down server…
Stopping module helper: updatenotification
Stopping module helper: calendar
Stopping module helper: newsfeed
Stopping module helper: MMM-AlexaPi
Stopping module helper: MMM-NetworkConnection