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

    Posts

    Recent Best Controversial
    • RE: Setting Up Magic Mirror on Ubuntu issue

      @mykle1 said in Setting Up Magic Mirror on Ubuntu issue:

      @duhcompuder said in Setting Up Magic Mirror on Ubuntu issue:

      I’m going to stick with Raspbian for now

      I don’t know if this matters but I use ubuntu 16.04 LTS exclusively on several machines, including my dev machine. The one time I tried to install MM on ubuntu 18.xx I encountered all the vulnerabilities that you are talking about. I immediately wiped the machine and installed ubuntu 16.04 LTS. Then I installed MM without a single problem. That includes the most current MM, v2.6.0

      @Mykle1

      I’ve just installed Ubuntu 14.04 on my laptop (to get full support for Snowboy), but when I run ‘npm start’, it starts the application but dont “open the magicmirror”. I can use my browser to dial into it.

      Do you know if I need to add something extra to make it show upon running the application?

      I run GNOME as desktop.

      posted in Troubleshooting
      T
      THeStigh
    • RE: Contribute to a module. Volunteers wanted! Easy!

      n290 Tromso - Norway
      n187 Oslo - Norway
      n5267 Finnsnes - Norway
      n287 Bergen - Norway
      n288 Trondheim - Norway
      n289 Stavanger - Norway
      n2513 Alta - Norway

      posted in Troubleshooting
      T
      THeStigh
    • RE: basic help

      @cade72 You forgot a comma after the last bracket :)

      posted in Troubleshooting
      T
      THeStigh
    • RE: MMM-Hotword is open all the time, passing it all to Mk2

      Hi @sean, when copying the config, I noticed the sensitivity for hotword “johnyjohny” was 6.0 rather than 0.6 (which I edited here), but still, would it accept any word outside the hotwords with sensitivity set so wrongly?

      (PS; removed some brackets so don’t mind them missing)

      		module: "MMM-Hotword",
      		config: {
      			snowboy: [  
      			  {
      				hotwords: "johnyjohny",
      				file: "resources/models/JohnyJohny.pmdl",
      				sensitivity: '0.6',
      			  },
      			  {
      				hotwords: "smartmirror", //this will be sended to other module for distinguishing which hotword is detected.
      				file: "resources/models/smart_mirror.umdl",
      				sensitivity: '0.5',
      			  },
      			  {
      				hotwords: "snowboy",
      				file: "resources/models/snowboy.umdl",
      				sensitivity: '0.5',
      			  },
      			  {
      				file: 'resources/models/jarvis.umdl',
      				sensitivity: '0.8,0.80',
      				hotwords: ['jarvis','jarvis'] //Kitt.ai changed their Jarvis UMDL, it has 2 models in one file. So weird.
      				//anyway, you can give different name for each. ['jarvis_1', 'jarvis_2']. Even though I think this is useless.
      			  }
      			],
      			record: {
      			  sampleRate    : 16000,      // audio sample rate
      			  threshold     : 0.5,        // silence threshold (rec only)
      			  thresholdStart: null,       // silence threshold to start recording, overrides threshold (rec only)
      			  thresholdEnd  : null,       // silence threshold to end recording, overrides threshold (rec only)
      			  silence       : 1.0,        // seconds of silence before ending
      			  verbose       : false,      // log info to the console
      
      			recordProgram: "arecord",  
      			device: "plughw:1",	
      			},
      			autostart: true,
      			autorestart: false,
      			testMic: false, //If set as true, You can test whether Mic device is working properly.
      			notifications: {
      			  PAUSE: "HOTWORD_PAUSE",
      			  RESUME: "HOTWORD_RESUME",
      			  LISTENING : "HOTWORD_LISTENING",
      			  SLEEPING : "HOTWORD_SLEEPING",
      			  ERROR : "HOTWORD_ERROR",
      			},
      			onDetected: {
      			  notification: (payload) => {
      				return "ASSISTANT_ACTIVATE"
      			  },
      			  payload: (payload) => {
      				return payload
      			  }
      
      
      		module: "MMM-AssistantMk2",
      		position: "top_center",
      		config: {
      			useWelcomeMessage: "Hey boss",
      			notifications: {
      			  ASSISTANT_ACTIVATED: "HOTWORD_PAUSE",
      			  ASSISTANT_DEACTIVATED: "HOTWORD_RESUME",
      				},
      
      posted in Troubleshooting
      T
      THeStigh
    • Ubuntu 16.04, Hotword and AssistantMk2 on a "PC" (amd64), anybody got it to work?

      Hi all,

      As I will try to get more power to my MM, I would like to use an old laptop for my project.
      But, I need of course a different solution than for the RPi and I know particularly Hotword and AssistantMk2 uses libs that are not fully compatible for combinations amd64 and later builds of Linux.

      I’ve tested Debian Stretch, amd64 version and it will not work:
      Hotword: Snowboy will not run (compiles without errors) and gives pointer error at npm start
      AssistantMk2: compile with electron-rebuild fails due to grpc issues.

      Have anybody made these two modules run with Ubuntu 16.04 or other flavours?

      posted in Troubleshooting
      T
      THeStigh
    • MMM-Hotword is open all the time, passing it all to Mk2

      Hi all,

      My MMM-Hotword seems to react to any sound, what ever I say. I don’t even need to say the magic word but still it passes whatever is said to Assistant Mk2 - you can imagine that creates results when the TV is on (!).

      I assume I can edit the sensitivity, but still - why react to what ever is said? I assumed if the magic word is not spoken, it doesn’t open the channel and pass the voice to Mk2 ?

      Can anybody explain why this happen, and how to ‘fix’ ?

      posted in Troubleshooting
      T
      THeStigh
    • RE: MMM-Hotword, x86 and invalid pointer

      Hi @sean
      Thanks for your prompt reply, really appreciate it :)

      My ‘issue’ is trying to put a lot of info on my MM, including video streams which makes the RPi to slow. So I’m searching for other ways of getting more power = miniPC etc running a linux variant compatible with Hotword and AssistantMk2.

      I can see that Ubuntu 14.04 are supported on 64 bit, but was hoping there are something ‘newer’ available which has been achieved by geniuses like you.

      My developer skills are not good, though I can read and quite understand .js

      posted in Troubleshooting
      T
      THeStigh
    • MMM-Hotword, x86 and invalid pointer

      Hi all,

      I’ve installed Debian Stretch on my laptop, and tried to run MMM-Hotword.
      Installation is successful without errors, but when trying to run ‘npm start’, I get an error:

      ../../third_party/tcmalloc/chromium/src/tcmalloc.cc:289] Attempt to free invalid pointer 0x7ffeaef7b090
      

      I’ve asked the developer, and he assumes it is snowboy that causes the issue, as snowboy git states:

      Currently Snowboy supports (look into the lib folder):
      
      all versions of Raspberry Pi (with Raspbian based on Debian Jessie 8.0)
      64bit Mac OS X
      64bit Ubuntu 14.04
      iOS
      Android
      ARM64 (aarch64, Ubuntu 16.04)
      

      My questions is; what platforms, types of linux and versions have you guys been able to run Hotword on?

      posted in Troubleshooting
      T
      THeStigh
    • RE: MMM-YrThen - stuck on loading

      @madmike Perhaps slow loading time due to heavy weather conditions in Norway atmo :D

      No, seriously - it always loads immediately here, dunno what you’re doing “wrong”. After a restart of the mirror, is it loading at normal speed?

      posted in Troubleshooting
      T
      THeStigh
    • RE: MMM-YrThen - stuck on loading

      @madmike Hi mate, I’ve been using both at the same time, no tricky tricks :)

      posted in Troubleshooting
      T
      THeStigh
    • 1
    • 2
    • 3
    • 4
    • 3 / 4