A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • Multiple requests within one function

    4
    0 Votes
    4 Posts
    2k Views
    B
    yeey, I got it working, although I don’t know why :P var NodeHelper = require("node_helper"); var request = require('request'); var Promise = require("promise"); var result = new Array(); module.exports = NodeHelper.create({ start: function() { console.log("Starting node_helper for module [" + this.name + "]"); }, // subclass socketNotificationReceived socketNotificationReceived: function(notification, payload){ if (notification === 'get_values') { this.getJSON(payload); } }, requestp: function(url, key, name) { return new Promise(function (resolve, reject) { request({url:url, method: 'GET'}, function (err, res, body) { if (err) { return reject(err); } else if (res.statusCode !== 200) { err = new Error("Unexpected status code: " + res.statusCode); err.res = res; return reject(err); } result.push({url: url, name: name, temp: body}); resolve(body); }); }); }, getJSON: function(object) { var self = this; for (var key in object) { //console.log(object[key]); self.requestp(object[key].url, key, object[key].name).then(function (info) { //console.log(info); }, function (err) { console.error("%s; %s", err.message, url); console.log("%j", err.res.statusCode); }); } //console.log(result); self.sendSocketNotification('received_values', result); result = []; } }); I wasn’t able to add a “temp” property to the original object - it was actually added, but it did not want to work outside the .then function :(
  • MMM-Hue CSS

    3
    0 Votes
    3 Posts
    2k Views
    zdenekZ
    @strawberry-3.141 ok, thx
  • MagicMirror-Netatmo-Module CSS

    9
    0 Votes
    9 Posts
    4k Views
    zdenekZ
    @broberg said in MagicMirror-Netatmo-Module CSS: .netatmo .wi-thermometer { color: yellow; } still the same :-( I tried to go through the module files, but I’ve no idea about syntax, so I’ve ne idea, if there is (let call it “object”) objec named “wi-thermometer” with property “color”. Anyway, thanks
  • Calendar translation

    3
    0 Votes
    3 Posts
    2k Views
    zdenekZ
    @broberg stupid me. Thanks a lot. Solved
  • Space between analog clock and data

    3
    1
    0 Votes
    3 Posts
    2k Views
    T
    @broberg Thanks a lot. It works.
  • MMM-Globe problems with refreshing pictures.

    5
    0 Votes
    5 Posts
    3k Views
    D
    still this error, error: Unable to append to .git/logs/refs/remotes/origin/develop: Permission den ied From https://github.com/MichMich/MagicMirror ! a6485b6…88a01d3 develop -> origin/develop (unable to update local ref)
  • Trouble in stalling modules

    2
    0 Votes
    2 Posts
    1k Views
    Mykle1M
    @ranger33 I can try to help you if you message me
  • iFrame

    1
    0 Votes
    1 Posts
    1k Views
    FistandantilusF
    Hi, i´m using the iFrame module to display a live news video feed: { module: 'iFrame', position: 'top_right', // This can be any of the regions. config: { url: "http://de.euronews.com/live", width: "800px", // Optional. Default: 100% or Example "200px" height: "600px", //Optional. Default: 100px or Example "300px" } }, Does anynody know how I can just display the video without that other website stuff? F.
  • Module Scheduler for an interesting UseCase

    1
    0 Votes
    1 Posts
    999 Views
    foxF
    Hello, i use already the module Scheduler. And we are using PIR Sensor. Now my wife asked me: Could we make it that the PIR sensor is deaktivated for e.g. 5pm to 9pm and monitor is always on. And rest of the time the PIR sensor is activated? And could the monitor be manually triggered to always-ON? E.g. if she wants it always on during afternoon for a while?
  • MMM-voice

    8
    0 Votes
    8 Posts
    4k Views
    strawberry 3.141S
    @funkdafied he didnt modify the installer, he just put those commands into the terminal
  • MMM-NetworkScanner - "residents" are offline but they should be online

    1
    0 Votes
    1 Posts
    857 Views
    zdenekZ
    Hi all MMM-NetworkScanner module works, but whatever I put in “residents”, seems they are offline { module: ‘MMM-NetworkScanner’, position: ‘bottom_right’, config: { devices: [ { ipAddress: “192.168.1.11”, name: “Mobile”, icon: “server”}, ], showUnknown: false, debug: false, showOffline: true, keepAlive: 60, updateInterval: 30, residents: “Mobile”, showLastSeen: true, occupiedCMD: {notification: ‘REMOTE_ACTION’, payload: {action: ‘MONITORON’}}, vacantCMD : {notification: ‘REMOTE_ACTION’, payload: {action: ‘MONITOROFF’}}, } }, IP 192.168.1.11 is on the same subnet as Raspberry, I can ping both from devices from my laptop (I can access 192.168.1.11 conf page), but the device name and icon are grey (offline). Any idea? I’ve tried IP, MAC - the same result, tried another IP (network printer) - also offline… thanks, Zdeněk
  • MMM-Podcast: omxplayer still running. kill forced

    6
    0 Votes
    6 Posts
    3k Views
    B
    push down. No one can help me?
  • 0 Votes
    1 Posts
    1k Views
    H
    Hi, I’m using the calender to show the next public holidays by including a public calendar: { module: "calendar", header: "Feiertage", position: "top_left", config: { calendars: [ { url: "http://www.ifeiertage.de/by-.ics" } ] } }, The appointments that are more than 1 Month away are just shown as “in %s Mon.”, see attached image. [image: 1493246087819-calendar.png] Maybe the plural of “Mon.” has to be explicitly specified (I’m using language: de ) but I don’t know how. Can you reproduce (and maybe fix) this issue?
  • no helper modules

    5
    0 Votes
    5 Posts
    5k Views
    Mykle1M
    @swagatbiswal said in no helper modules: I am trying to run it in ubuntu 16 I have MM installed on uBuntu. I remember updating node.js and npm was necessary. Are you getting any errors in the terminal or the console of dev tools?
  • HELP WITH MMM-Flickr

    Solved
    11
    0 Votes
    11 Posts
    9k Views
    foxF
    Any approaches to make this possible on private albums?
  • Calendar no entries

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    A
    thanks both of you no bug, just me doing typos. Works like a charm :) solved
  • CurrentWeatherType in Module "Compliments"

    1
    0 Votes
    1 Posts
    1k Views
    P
    Hey guys! How can I connect the Compliments Module with the Weather Module for weather-controlled display of compliments? I know there’s a line currentWeatherType: ""in compliments.js but I don’t know what I have to insert in there. And what I also want to know: Can I do weather-controlled and time-controlled compliments in the same time? For example at a rainy evening it shows entries from “evening” and “rain”?
  • Compliments module stops cycling compliments

    Solved
    5
    3 Votes
    5 Posts
    3k Views
    M
    Alright I will switch to the develop branch. Very interesting. I’m glad the issue got resolved!
  • Vacation in Default Calendar Modul

    1
    0 Votes
    1 Posts
    834 Views
    P
    hi guys, i am new to this project, although i have already read a lot. Before i will build my frame, i want to set up the software. Thanks for your fantastic MagicMirror² respository. Now i am setting up the calendar module. I want me to show the public holidays and vacations togehter. So far so good, its not that complicate - I integrated two .ical urls. Currently the vacation are shown day after day. Is it possible to show the vacation in a form like this: Summer 01.07. - 18.08. ?? How can i change the config for this? Thank you for your help. pauabaer
  • mirroronthewall

    Moved Unsolved
    11
    0 Votes
    11 Posts
    7k Views
    brobergB
    @arthurross maybe the voice part doesn’t recognize the command for images and text? Other than that I’m lost