@Bugsounet said in mmm assistant mk2:
config: { debug:true, // make you config there ! }, // not there ....
…I am an idiot. Hahaha, I knew it was something super simple. Smh, thanks for putting up with idiots like me :p
@Bugsounet said in mmm assistant mk2:
config: { debug:true, // make you config there ! }, // not there ....
…I am an idiot. Hahaha, I knew it was something super simple. Smh, thanks for putting up with idiots like me :p
Hmmm sorry to go a bit off topic but has anyone tried the new Assistant2Display module with the new GoogleAssistant? I can’t get it to work but I suspect I am missing something very obvious. I just don’t know what.
I can’t get the screen, briefToday, or Pir to work. I don’t get any errors, just nothing happens.
Config file:
{
module: "MMM-GoogleAssistant",
position: "fullscreen_above",
config: {
A2DServer: {
useA2D: true,
},
assistantConfig: {
//latitude: 51.508530,
//longitude: -0.076132,
},
micConfig: { // put there configuration generated by auto-installer
recorder: "arecord",
device: "plughw:2",
},
snowboy: {
Model: "smart_mirror",
},
}
},
{
module: "MMM-Assistant2Display",
position: "top_left",
config: {
debug:true,
},
pir: {
usePir: true,
pin: 4,
reverseValue: false
},
screen: {
useScreen: true,
delay: 1 * 60 * 1000,
turnOffDisplay: true,
ecoMode: true,
displayCounter: true,
text: "Auto Turn Off Screen:",
detectorSleeping: false,
governorSleeping: false,
rpi4: false
},
briefToday: {
useBriefToday: true,
welcome: "brief Today"
},
},
I don’t see the debug working either? Nothing generated on the terminal while the mirror is running at least.
[2020-06-01 16:51:49.870] [LOG] [ASSISTANT] MMM-GoogleAssistant Version: 2.0.0
[2020-06-01 16:51:49.885] [LOG] [SNOWBOY] Model selected: smart_mirror
[2020-06-01 16:51:49.893] [LOG] [SNOWBOY] snowboy v1.5.0 Initialized...
[2020-06-01 16:51:49.902] [LOG] [ASSISTANT] Assistant2Display Server Started
[2020-06-01 16:51:49.908] [LOG] [ASSISTANT] Google Assistant is initialized.
[2020-06-01 16:51:49.916] [LOG] [A2D] MMM-Assistant2Display Version: 2.0.0
[2020-06-01 16:51:49.928] [LOG] [A2D] Assistant2Display is initialized.
Anyone see what I’m missing? I suspect it’s something super simple but I can’t figure out what.
Started partial installation tonight…and I can say: what an absolutely beautiful and efficient installer! This is the best installer I have seen for a module.
I’m running it on a fresh installation of Raspberry Pi OS and fresh installation of MagicMirror with no other modules installed.
Ran into a small hiccup during the post-installation process, during audio configuration for the speakers. I can’t get any sound output.
It’s late so I will fiddle and experiment more tomorrow but in case anyone else runs into the same problem before I figure out a solution, I’ll leave some data below:
Sending audio output via aux cable from pi to monitor and can confirm audio is working when playing a youtube video.
Interestingly I hear a beep during this part of the installation, but nothing after that:
Do you want to check compatible GCC version [Y/n]
Your choice:
No sound from here onwards:
Checking Speaker and Microphone...
Do you want check your audio configuration [Y/n]
Your choice: Y
Checking audio output...
Make sure your speakers are on press [Yes].
Press [No] if you don't want to check. [Y/n]
Your choice: Y
Current configuration not working !
Did you hear Google beep? [Y/n]
Your choice: n
Selection of the speaker device
card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Indicate the card # to use [0-9]: 0
Indicate the device # to use [0-9]: 0
you have selected: hw:0,0 (plughw:0)
Checking audio output...
Make sure your speakers are on press [Yes].
Press [No] if you don't want to check. [Y/n]
Your choice: Y
Current configuration not working !
Did you hear Google beep? [Y/n]
Your choice: n
Selection of the speaker device
card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Indicate the card # to use [0-9]: 0
Indicate the device # to use [0-9]: 1
you have selected: hw:0,1 (plughw:0)
Checking audio output...
Make sure your speakers are on press [Yes].
Press [No] if you don't want to check. [Y/n]
Your choice: Y
Current configuration not working !
Did you hear Google beep? [Y/n]
Your choice: n
Selection of the speaker device
card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Indicate the card # to use [0-9]: 1
Indicate the device # to use [0-9]: 0
you have selected: hw:1,0 (plughw:1)
Checking audio output...
Make sure your speakers are on press [Yes].
Press [No] if you don't want to check. [Y/n]
Your choice: Y
Current configuration not working !
Did you hear Google beep? [Y/n]
Your choice: n
Selection of the speaker device
card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Indicate the card # to use [0-9]: 1
Indicate the device # to use [0-9]: 1
you have selected: hw:1,1 (plughw:1)
Checking audio output...
Make sure your speakers are on press [Yes].
Press [No] if you don't want to check. [Y/n]
Your choice: Y
Current configuration not working !
Did you hear Google beep? [Y/n]
Your choice: n
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
Subdevices: 4/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Subdevices: 4/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
EDIT:
I couldn’t sleep so I continued playing. I set audio speaker output to 1,0 which should be the correct configuration for me even though I couldn’t hear anything and I was getting an error. HOWEVER, in the next portion where I had to setup my microphone, I was able to hear my own voice playback.
Ran through the sample config example, and everything works perfectly with the brief testing I have done. Beautiful work Bugsounet!
!!!
I had thought you meant you were stepping down completely. I misunderstood, this is wonderful news!
I will be checking for days for your new assistant then… and let me know if you take donations!
@Bugsounet Ahh that makes sense. I’m sorry to hear that project is dead but I understand. I’m sorry you had to deal with so many crappy and ugly people; they don’t deserve anything from someone who put in so much hardwork and sweat as you have.
Gah, I just wish I didn’t update my mirror yesterday. The last time I updated it was in February and everything was working perfectly. And of course when I updated, I didn’t bother making a backup. Valuable lesson learned though!
I’ll take down my mirror for now I guess. But best of luck to you Bugsounet to anything you do in the future!
@sdmydbr Dang, that is so simple. Here I was trying to figure out how to do it commands.
Okay, but now, am I crazy or is MMM-AssistantMK2 now completely taken off github? Because I can’t find it anywhere. Damn it, right when I found a solution…
I don’t suppose you or @sdetweil know where I could find a backup? Thank you again!
@sdmydbr I wanted to try downgrading MK2 but I wasn’t sure how to. Sorry, I’m a bit inexperienced in all of this. What is the command? And what version did you use? Thank you!
I am having the same issue, if you fix it, please let me know.
@JohnBachini said in i cant figure out what i did wrong, fresh installation of raspberry pi os on raspberry pi4 ..:
by look of it AssistantMK2 is to be replaced.
What do you mean? That a new version will come out?