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
    • RE: Debian 9 as VM, running npm start makes it all "freeze" but...

      @mykle1 Could it be the output is wrong? Meaning - trying to output to a different display?

      posted in Troubleshooting
      T
      THeStigh
    • RE: Debian 9 as VM, running npm start makes it all "freeze" but...

      @mykle1

      If there is any excuse… It’s 03:30 AM.

      But still; the config.js in the Debian 9 installation is clean, it is default.
      So that is not the issue (regarding the message you pasted; that is for me running Linux through Windows :) )

      posted in Troubleshooting
      T
      THeStigh
    • RE: Debian 9 as VM, running npm start makes it all "freeze" but...

      @mykle1

      I created the config.js and still it just stops after stating.
      I’ve verified it doesn’t freeze, as I can use Alt-Tab.

      See the Electron in the upper taskbar? But there is nothing opened.
      Again, can this be a VM and/or 64 bit issue?

      0_1547000823717_198ca770-587f-4d54-8dce-bcaafa0e1ad0-image.png

      posted in Troubleshooting
      T
      THeStigh
    • Debian 9 as VM, running npm start makes it all "freeze" but...

      Hi all,

      Jut installed Debian 9, 64bit as a VM.
      Done full update & upgrade to make sure running latest.
      Installed MM manually, making sure all installed perfectly.

      Running ‘npm start’ from MM folder, it all seems to go OK, but when it should open the black mirror, it keeps stuck. It’s like it is frozen, there is nothing I can do at all except force-close the VM.

      There is an error about the config.js, but this is before I even have started populating config.js, and it should show message about configure the config.js in the mirror.

      Anybody else tried the same method/Debian/VM/64 bit?

      0_1546999135730_c0c5207b-b4d4-4355-9f99-bd7530c45cfe-image.png

      posted in Troubleshooting
      T
      THeStigh
    • Would like som input, comments and advice of correct modules

      Hi all,

      My first post in the forum, but just after a couple of days I’ve been reading tons of documents, seen Youtube video’s and using Google a lot :) (what else to do when the snow-storms are blowing outside my windows…?).

      My question is about what modules are suited and will work the best together based om what I’m hoping to achieve.

      First; this is what I got:

      • Several RPi 3B+'s
      • 1 Google AIY Voice Kit (v1)
      • Enough monitors to use :)
      • Google Home
      • Patience, and a lot of it

      What I want to achieve is:

      • MM should have multiple modules
      • Use Facial Recognition to use classes for personalized modules/information
      • Ability to talk to the mirror to show/hide modules and open streams in an iFrame
      • Use Google Assistant to do “general Google Assistant stuff”
      • Use Assistant/Voice module to open maps and other stuff from internet within an iFrame

      So - what modules to use?
      Been looking at:
      MMM-Hello Lucy
      MMM-AssistantMk2 or Google AIY Voice Kit
      MMM-Facial-Recognition

      Hope I will get some good feedback from any of you pro’s

      Thanks, and also thank you all for all the good stuff, hints, solutions and other reading I find in this forum!

      Regards from above the arctic circle,
      TheStigh

      posted in Requests
      T
      THeStigh
    • 1
    • 2
    • 2 / 2