MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. cola0927
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    C
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 10
    • Groups 0

    cola0927

    @cola0927

    1
    Reputation
    294
    Profile views
    10
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    cola0927 Unfollow Follow

    Best posts made by cola0927

    • RE: MMM-MyCalendar

      @justjim1220 Cool! Thank you so much!

      posted in Utilities
      C
      cola0927

    Latest posts made by cola0927

    • RE: MMM-AssistantMk2

      @teitlebot totally agree!

      posted in System
      C
      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.

      posted in System
      C
      cola0927
    • 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"
                                      }
                                    ]
                                 },
                               ]
                             }
      
                      },
      
      posted in System
      C
      cola0927
    • 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.
      0_1538019668172_屏幕快照 2018-09-26 下午10.21.38.png
      Do you have any idea what the problem is? Thank you so much.

      posted in System
      C
      cola0927
    • 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?

      posted in System
      C
      cola0927
    • 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!

      posted in System
      C
      cola0927
    • RE: MMM-AssistantMk2

      @teitlebot oh, ok, thanks. It’s my first mirror, no relative experience before. I’ll be more careful next time.

      posted in System
      C
      cola0927
    • 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:
      0_1537584347267_屏幕快照 2018-09-21 下午9.43.00.png

      posted in System
      C
      cola0927
    • RE: MMM-MyCalendar

      @justjim1220 Cool! Thank you so much!

      posted in Utilities
      C
      cola0927
    • 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!

      0_1537506110763_屏幕快照 2018-09-20 下午11.59.52.png

      posted in Utilities
      C
      cola0927