@justjim1220 Cool! Thank you so much!
Read the statement by Michael Teeuw here.
Best posts made by cola0927
Latest posts made by cola0927
-
RE: MMM-AssistantMk2
@teitlebot Yes, I tried. It showed that hotword had deteted my voice but then stopped listening instead of waking up assistant. I agree with @Sean that the problem is notification trigger is not working properly. Unfortunately I have no idea how to correct it.
-
RE: MMM-AssistantMk2
@sean I used the one that you told me previously in config.js with a default MMM-NotificationTrigger.js
{ module: "MMM-NotificationTrigger", config: { triggers:[ { trigger: "HOTWORD_DETECTED", fires: [ { fire:"HOTWORD_PAUSE", }, { fire:"ASSISTANT_ACTIVATE", delay: 200, payload: function(payload) { return { "profile": payload.hotword } } }, ] }, { trigger: "ASSISTANT_DEACTIVATED", fires: [ { fire:"HOTWORD_RESUME" } ] }, ] } },
-
RE: MMM-AssistantMk2
@sean After I changed the device name in both MMM-AssistantMk2 and MMM-Hotword, the module worked partially. I had to hit microphone icon to let its start listen to me, but that was a one-time response.
Do you have any idea what the problem is? Thank you so much. -
RE: MMM-AssistantMk2
@sean Thank you for your prompt reply. I replaced my MMM-NotificationTrigger configuration, but still not working.
In the terminal, it shows that
assistant ready Conversation Error: { Error: 14 UNAVAILABLE: Service unavailable. at Object.exports.createStatusError (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/common.js:87:15) at ClientDuplexStream._emitStatusIfDone (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client.js:235:26) at ClientDuplexStream._receiveStatus (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client.js:213:8) at Object.onReceiveStatus (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1290:15) at InterceptingListener._callNext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:564:42) at InterceptingListener.onReceiveStatus (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:614:8) at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1110:18 code: 14, metadata: Metadata { _internal_repr: {} }, details: 'Service unavailable.' }
Does it mean that something is incorrect in MMM-AssistantMk2?
-
RE: MMM-AssistantMk2
@sean Keyboard input or mouse clicking had no effect, maybe because I missed the “rebuild binaries” step.
So I started over again today and this time the microphone icon appeared after MMM-AssistantMk2 was installed, but couldn’t detect the voice, even after installed MMM-Hotword and MMM-NotificationTrigger.
Here is my config.js, basically used default values.
{ module: "MMM-AssistantMk2", position: "lower_third", config: { } }, { module: "MMM-Hotword", config: { } }, { module: "MMM-NotificationTrigger", config: { triggers:[ { trigger: "ASSISTANT_ACTION", triggerSenderFilter: (sender) => { console.log(sender) if (sender.name == 'MMM-AssistantMk2') { return true } else { return false } }, triggerPayloadFilter: (payload) => { console.log(payload) return true }, fires: [ { fire:"SHOW_ALERT", payload: (payload) => { return { type: "notification", title: payload.type, message: payload.command } }, }, ], }, ] } },
Could you please let me know which part(s) I should modify? Thank you!
-
RE: MMM-AssistantMk2
@teitlebot oh, ok, thanks. It’s my first mirror, no relative experience before. I’ll be more careful next time.
-
RE: MMM-AssistantMk2
Hi, I just tried installing MMM-AssistantMk2 by following the instruction. After saving the config.js (use default configuration) nothing shows up and all I can see is a black screen but a movable mouse pointer. I can’t even quit the mirror. I have no idea what do to now, do I have to start over from the very beginning? :loudly_crying_face:
-
RE: MMM-MyCalendar
Hi, it’s really a nice module, but got a small issue here. I’m wondering how to make the event contents left-aligned. I tried to modify some parameters in MMM-MyCalendar.css, but didn’t work.
Thanks!