A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    18 Views
  • Update V2.1.1 error

    6
    0 Votes
    6 Posts
    2k Views
    daenickD
    @Nonamexp In this case I think you need to do a clean install…
  • This topic is deleted!

    3
    0 Votes
    3 Posts
    106 Views
  • Won't start on windows after upgrade...

    2
    0 Votes
    2 Posts
    2k Views
    cowboysdudeC
    Okay if you install git bash from here: https://git-for-windows.github.io/ Will not work under windows terminal [command window - cmd] window. Install program then right click on desktop and you will see a “Git Bash Here” on that menu. Type your normal ‘npm start’ and the mirror will run. Windows does not recognize bash or sh… under git bash it does because it creates a linux like enviroment and runs great. Thanks Strawberry… again.
  • MM died after upgrade

    5
    0 Votes
    5 Posts
    2k Views
    brobergB
    I have had some issues as well, first i got the same file missing as @hajen, Copied it from my backup, got one step further and now it complained about the ical.js search path, it seems that not all files got updated in the default modules folder. I couldn’t get the git reset to work, so I downloaded the master file from git and just transfered the files directly to the pi. Now it works again.
  • [SOLVED] Help on Install

    9
    0 Votes
    9 Posts
    3k Views
    hartattackH
    @strawberry-3.141 said in Help on Install: @hartattack you’re already logged in as pi user@host Hey! I was able to figure this out pretty late last night. When I updated/installed the latest node version, it must not have taken. I re-updated it and now it is working like a charm! Thank you for the help~
  • UNMET PEER DEPENDENCY on upgrade. Should I worry?

    1
    0 Votes
    1 Posts
    1k Views
    FlatPepsiF
    Just updated to latest MM, and got the following error: npm WARN grunt-yamllint@0.2.0 requires a peer of grunt@~0.4.0 but none was installed. Related error shown earlier in the install process: MagicMirror installation successful! magicmirror@2.1.1 /home/pi/MagicMirror \u251c\u2500\u252c chai@3.5.0 \u2502 \u251c\u2500\u2500 assertion-error@1.0.2 \u2502 \u251c\u2500\u252c deep-eql@0.1.3 \u2502 \u2502 \u2514\u2500\u2500 type-detect@0.1.1 \u2502 \u2514\u2500\u2500 type-detect@1.0.0 \u251c\u2500\u252c chai-as-promised@6.0.0 \u2502 \u2514\u2500\u2500 check-error@1.0.2 \u251c\u2500\u2500 UNMET PEER DEPENDENCY grunt@1.0.1 \u251c\u2500\u252c http-auth@3.1.3 \u2502 \u251c\u2500\u252c apache-crypt@1.2.1 \u2502 \u2502 \u2514\u2500\u2500 unix-crypt-td-js@1.0.0 Should I be worried?
  • Bluetooth connectivity using Raspberry pi3

    1
    0 Votes
    1 Posts
    973 Views
    N
    Hello Everyone, Great to be a part of this community. A big thanks to all the contributors and developers. I built a custom module to connect Adafruit Bluetooth module nrf8001 with the MM2. I am not seeing anything on the mirror and can’t figure out the issue. Please find attached the module files: node_helper.js var nrfuart = require('./index.js'); module.exports = NodeHelper.create({ start: function () { console.log('BLE helper started ...'); }, socketNotificationReceived: function(notification, payload) { if (notification === 'TEMP') { console.log('Notification TEMP in ' + this.name + ' received'); this.sendNotificationTest(this.anotherFunction()); } else { console.log('ERRRRROR'); } }, sendNotificationTest:function(payload){ this.sendSocketNotification('TEMPER',payload); }, anotherFunction: function(){ nrfuart.discoverAll(function(ble_uart) { 'use strict'; ble_uart.on('disconnect', function() {}); ble_uart.connectAndSetup(function() { var writeCount = 0; ble_uart.readDeviceName(function(devName) {}); ble_uart.on('data', function(data) { var x = data.toString(); var con = x.substring(0,2); var dec = x.substring(2,4); con = con.concat('.'); con = con.concat(dec); console.log(con); return con; }); setInterval(function() {}, 3000); }); }); } }); index.js /* * Adafruit nRF8001 breakout in UART mode. This might also work for other * nRF8001 boards but has only been tested with the Adafruit board. */ var NobleDevice = require('noble-device'); var events = require('events'); var util = require('util'); var NRFUART_SERVICE_UUID = '6e400001b5a3f393e0a9e50e24dcca9e'; var NRFUART_NOTIFY_CHAR = '6e400003b5a3f393e0a9e50e24dcca9e'; var NRFUART_WRITE_CHAR = '6e400002b5a3f393e0a9e50e24dcca9e'; var nrfuart = function(peripheral) { // call nobles super constructor NobleDevice.call(this, peripheral); // setup or do anything else your module needs here }; // tell Noble about the service uuid(s) your peripheral advertises (optional) nrfuart.SCAN_UUIDS = [NRFUART_SERVICE_UUID]; util.inherits(nrfuart, events.EventEmitter); // and/or specify method to check peripheral (optional) nrfuart.is = function(peripheral) { 'use strict'; //return (peripheral.advertisement.localName === 'UART'); return true; }; // inherit noble device NobleDevice.Util.inherits(nrfuart, NobleDevice); // Receive data using the 'data' event. nrfuart.prototype.onData = function(data) { 'use strict'; this.emit("data", data); }; // Send data like this // nrfuart.write('Hello world!\r\n', function(){...}); // or this // nrfuart.write([0x02, 0x12, 0x34, 0x03], function(){...}); nrfuart.prototype.write = function(data, done) { 'use strict'; if (typeof data === 'string') { this.writeDataCharacteristic(NRFUART_SERVICE_UUID, NRFUART_WRITE_CHAR, new Buffer(data), done); } else { this.writeDataCharacteristic(NRFUART_SERVICE_UUID, NRFUART_WRITE_CHAR, data, done); } }; nrfuart.prototype.connectAndSetup = function(callback) { 'use strict'; var self = this; NobleDevice.prototype.connectAndSetup.call(self, function() { self.notifyCharacteristic(NRFUART_SERVICE_UUID, NRFUART_NOTIFY_CHAR, true, self.onData.bind(self), callback); }); }; // export device module.exports = nrfuart; bleEchoTst.js Module.register("bleEchoTst",{ temper: '999', defaults: { text: '100' }, start: function() { this.temper = this.config.text; this.sendSocketNotification('TEMP',this.config); }, socketNotificationReceived: function(notification,payload) { if(notification === 'TEMPER') { this.temper = payload; //this.temper = '999'; this.updateDom(); } }, // Override dom generator. getDom: function() { var wrapper = document.createElement("div"); wrapper.innerHTML = this.temper; return wrapper; } }); Any help is appreciated. Thanks
  • 0 Votes
    3 Posts
    1k Views
    D
    Super late reply, but thank you!
  • Face Recognition - File can't be opened for writing

    Solved
    8
    0 Votes
    8 Posts
    14k Views
    P
    @feuerball I didn’t understand what is the config I am having the same error
  • npm start dev doesn't work

    3
    0 Votes
    3 Posts
    5k Views
    romainR
    Oh ! Thanks !! It work
  • Disabled IPwhitelist

    2
    0 Votes
    2 Posts
    2k Views
    yawnsY
    Yes, just use ipWhitelist: [],
  • All of a sudden SSH is really lagging/slow.

    16
    0 Votes
    16 Posts
    10k Views
    SnilleS
    Just got myself a “core”-file again in the MM root. :) I’m now sure it’s because Electron is crashing. So, it’s probably a memory dump. Still don’t really know why Electron is crashing. It’s not crashing all the time. Just sometimes. But then, I do have lot’s of modules going… :)
  • Start MagicMirror without node serveronly

    node serveronly
    3
    0 Votes
    3 Posts
    2k Views
    D
    Thanks for your reply. I am running a Pi 3. node serveronly works fine and I am able to launch the magic mirror in Chromium, I just thought there was a more “elegant” solution to get it started. I will check out the tutorial. Thanks!
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    18 Views
  • Magic Mirror on PI 3

    Solved pi 3 magic mirror
    7
    1
    0 Votes
    7 Posts
    3k Views
    yawnsY
    @akrishnan.j Great. Thanks for your feedback and enjoy your mirror :)
  • MMM-Mail - check more than one mail account?

    1
    0 Votes
    1 Posts
    1k Views
    ManmachineM
    @Pieps Hi, Is it possible to check more than one mail account? If yes Could you give a sample configuration?
  • 0 Votes
    2 Posts
    4k Views
    brobergB
    @xy86 you have to get in to the magic mirror folder first before you can run npm start Ie type cd MagicMirror And then npm start Or display=:0 npm start If you are running it via ssh
  • MMM-ModuleScheduler -----> MMM-Globe ?

    Solved
    2
    0 Votes
    2 Posts
    1k Views
    I
    @ironman_DK Solved : I forgot to write the module MMM-Globe in to MMM-ModuleScheduler in Config.JS, now everything is working.
  • messed up my config.. MM tells me to create a config file

    31
    0 Votes
    31 Posts
    22k Views
    yawnsY
    What are you installing PHP5 and apache2 for?