A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • Facial recognition: no users

    9
    0 Votes
    9 Posts
    5k Views
    M
    Forgot to add the errors: 0|mm | model.load(config.get("trainingFile")) 0|mm | cv2.error: /build/opencv-ISmtkH/opencv-2.4.9.1+dfsg/modules/contrib/src/facerec.cpp:325: error: (-2) File can't be opened for writing! in function load 0|mm | 0|mm | 0|mm | at PythonShell.parseError (/home/pi/MagicMirror/modules/node_modules/python-shell/index.js:190:17) 0|mm | at terminateIfNeeded (/home/pi/MagicMirror/modules/node_modules/python-shell/index.js:98:28) 0|mm | at ChildProcess. (/home/pi/MagicMirror/modules/node_modules/python-shell/index.js:88:9) 0|mm | at emitTwo (events.js:106:13) 0|mm | at ChildProcess.emit (events.js:191:7) 0|mm | at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) 0|mm | executable: 'python', 0|mm | options: null, 0|mm | script: 'modules/MMM-Facial-Recognition/facerecognition/facerecognition.py', 0|mm | args: [ '{"recognitionAlgorithm":1,"lbphThreshold":80,"fisherThreshold":250,"eigenThreshold":3000,"useUSBCam":false,"trainingFile":"modules/MMM-Facial-Recognition/Training.xml","interval":2,"logoutDelay":15,"users":["Sander"],"defaultClass":"default","everyoneClass":"everyone","welcomeMessage":true}' ], 0|mm | exitCode: 1 }
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
  • Help with MMM-PIR-Sensor tvservice logical evaluation

    3
    0 Votes
    3 Posts
    2k Views
    O
    I figured it out. There are missing brackets for the if statement. In node_helper.js: From: if (data.indexOf("0x120002") !== -1) exec("/opt/vc/bin/tvservice --preferred && chvt 6 && chvt 7", null); To: if (data.indexOf("0x120002") !== -1){ exec("/opt/vc/bin/tvservice --preferred && chvt 6 && chvt 7", null); } @paviro
  • MMM-SL how to trigger update?

    8
    0 Votes
    8 Posts
    4k Views
    Mykle1M
    @Baxer said in MMM-SL how to trigger update?: Jopyth Holy shit it works, thanks man I told you he was awesome!
  • Show location of event using default Calendar module

    calendar
    2
    0 Votes
    2 Posts
    2k Views
    yawnsY
    It looks like the change request was not merged.
  • Conditional Show of a module

    2
    0 Votes
    2 Posts
    1k Views
    J
    @knubbl Maybe have a look at this: https://github.com/ianperrin/MMM-ModuleScheduler
  • MMM-PiLights notification trigger for PIR

    2
    0 Votes
    2 Posts
    1k Views
    O
    The answer to my question is to add the sendNotification line in the MMM-PiLights.js as follows: From: socketNotificationReceived: function(notification, payload) { if (notification === "USER_PRESENCE"){ this.sendNotification(notification, payload) } To: socketNotificationReceived: function(notification, payload) { if (notification === "USER_PRESENCE"){ this.sendNotification(notification, payload); this.sendNotification('PILIGHTS_SEQUENCE', 'blue_pulse'); } Unfortunately I have realized that I want to do something more elaborate then the PiLights module allows so instead I am now calling a python script instead.
  • after some days ical will not display anymore

    4
    0 Votes
    4 Posts
    2k Views
    F
    Thanks for the Info
  • This topic is deleted!

    5
    0 Votes
    5 Posts
    92 Views
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    12 Views
  • This topic is deleted!

    1
    2
    0 Votes
    1 Posts
    11 Views
  • Not looking nice :(

    10
    0 Votes
    10 Posts
    5k Views
    Mykle1M
    @Lolololito I don’t believe that is an option in the InternetMonitor module. You could ask the author to add that or you could fork the repo and trying coding that in yourself. :-) I think there are a number of “ping” modules available. Maybe one of those will suit your needs. Check this page: https://github.com/MichMich/MagicMirror/wiki/MagicMirror²-Modules#3rd-party-modules
  • This topic is deleted!

    3
    0 Votes
    3 Posts
    52 Views
  • Calendar overlapping problem

    9
    1
    0 Votes
    9 Posts
    5k Views
    S
    @Mykle1 said in Calendar overlapping problem: displaySymbol: false, THANKS! I’ve overseen this config option ;-) My bad!
  • Calendar and CalDAV

    Unsolved
    1
    0 Votes
    1 Posts
    1k Views
    C
    My email/calendar provider only supports CalDAV as external request. After some investigations: It’s no baikal, “?export” returns an error It’s no owncloud Manual ICS download with regular webmail interface returns an single ICS file with BEGIN:VCALENDAR/END:VCALENDAR around every BEGIN:VEVENT/END:VENVENT. And MirrorMirror’s default calendar component get’s only the last VCALENDAR/VEVENT in file. One of my ideas: Search or write a lightweight CalDAV client which converts from CalDAV to ICS. An MirrorMirror loads ICS file from local webserver like here explained (works fine). According to http://sabre.io/dav/building-a-caldav-client/ : Options and Report works in REST client, but is missing Response-Header says “NMMDav v0.1 CalDav” - Any ideas how to solve this situation? Make the calendar component more flexible/robust? Integrate an official CalDAV support? Switch to a better calendar provider or set up an owncloud? :-) Greetings, Christian
  • Weather Underground customize

    4
    0 Votes
    4 Posts
    3k Views
    Mykle1M
    @amosh83 Or, what you asked for. currentweather: 1, coloricon: true, hourly: '0', fctext: '0', fcdaycount: "1", fcdaystart: "0", hourlyinterval: "1", hourlycount: "0", animationSpeed: 5000, alerttime: 10000, alerttruncatestring: "english:", roundTmpDecs: 0, UseCardinals: 1, layout: "vertical", windunits: "mph", sysstat: "0" [image: 1499818760093-we.jpg]
  • Image in Module Header?

    5
    0 Votes
    5 Posts
    3k Views
    Mykle1M
    @Mykle1 said in Image in Module Header?: I don’t know if it can be done using css Well now I know. Thanks @j-e-f-f That information would have been really useful 2 days ago! hahaha
  • MMM-ModuleScheduler & MMM-Instagram

    1
    0 Votes
    1 Posts
    900 Views
    V
    Hi, I have set this module to be hidden, but it is not being picked up in the scheduler: Starting MagicMirror: v2.1.2 Loading config ... Loading module helpers ... Initializing new module helper ... Module helper loaded: MMM-WatchDog No helper found for module: alert. Initializing new module helper ... Module helper loaded: MMM-ModuleScheduler Initializing new module helper ... Module helper loaded: updatenotification No helper found for module: clock. Initializing new module helper ... Module helper loaded: MMM-Instagram No helper found for module: currentweather. No helper found for module: weatherforecast. Initializing new module helper ... Module helper loaded: newsfeed All module helpers loaded. Starting server on port 8080 ... Server started ... Connecting socket for: MMM-WatchDog Starting module helper: MMM-WatchDog Connecting socket for: MMM-ModuleScheduler Starting node helper for: MMM-ModuleScheduler Connecting socket for: updatenotification Connecting socket for: MMM-Instagram Starting node_helper for module [MMM-Instagram] Connecting socket for: newsfeed Starting module: newsfeed Sockets connected & modules started ... Launching application. WatchDog started. Maximum timeout: 10s. MMM-ModuleScheduler is removing all scheduled jobs MMM-ModuleScheduler received CREATE_MODULE_SCHEDULE MMM-ModuleScheduler is scheduling currentweather using "5-59/10 * * * *" and "0-59/10 * * * *" with dim level undefined MMM-ModuleScheduler is hiding currentweather MMM-ModuleScheduler has scheduled currentweather MMM-ModuleScheduler will next show currentweather at Sun Jul 09 2017 18:45:00 GMT+0100 (BST) MMM-ModuleScheduler will next hide currentweather at Sun Jul 09 2017 18:50:00 GMT+0100 (BST) MMM-ModuleScheduler received CREATE_MODULE_SCHEDULE MMM-ModuleScheduler is scheduling weatherforecast using "5-59/10 * * * *" and "0-59/10 * * * *" with dim level undefined MMM-ModuleScheduler is hiding weatherforecast MMM-ModuleScheduler has scheduled weatherforecast MMM-ModuleScheduler will next show weatherforecast at Sun Jul 09 2017 18:45:00 GMT+0100 (BST) MMM-ModuleScheduler will next hide weatherforecast at Sun Jul 09 2017 18:50:00 GMT+0100 (BST) MMM-ModuleScheduler received CREATE_MODULE_SCHEDULE MMM-ModuleScheduler is scheduling newsfeed using "5-59/10 * * * *" and "0-59/10 * * * *" with dim level undefined MMM-ModuleScheduler is hiding newsfeed MMM-ModuleScheduler has scheduled newsfeed MMM-ModuleScheduler will next show newsfeed at Sun Jul 09 2017 18:45:00 GMT+0100 (BST) MMM-ModuleScheduler will next hide newsfeed at Sun Jul 09 2017 18:50:00 GMT+0100 (BST) Create new news fetcher for url: http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml - Interval: 300000 MMM-ModuleScheduler is sending SHOW_MODULE to module_6_currentweather MMM-ModuleScheduler will next send SHOW_MODULE to module_6_currentweather at Sun Jul 09 2017 18:55:00 GMT+0100 (BST) based on "5-59/10 * * * *" MMM-ModuleScheduler is sending SHOW_MODULE to module_7_weatherforecast MMM-ModuleScheduler will next send SHOW_MODULE to module_7_weatherforecast at Sun Jul 09 2017 18:55:00 GMT+0100 (BST) based on "5-59/10 * * * *" MMM-ModuleScheduler is sending SHOW_MODULE to module_8_newsfeed MMM-ModuleScheduler will next send SHOW_MODULE to module_8_newsfeed at Sun Jul 09 2017 18:55:00 GMT+0100 (BST) based on "5-59/10 * * * *" MMM-ModuleScheduler is sending HIDE_MODULE to module_6_currentweather MMM-ModuleScheduler will next send HIDE_MODULE to module_6_currentweather at Sun Jul 09 2017 19:00:00 GMT+0100 (BST) based on "0-59/10 * * * *" MMM-ModuleScheduler is sending HIDE_MODULE to module_7_weatherforecast MMM-ModuleScheduler will next send HIDE_MODULE to module_7_weatherforecast at Sun Jul 09 2017 19:00:00 GMT+0100 (BST) based on "0-59/10 * * * *" MMM-ModuleScheduler is sending HIDE_MODULE to module_8_newsfeed MMM-ModuleScheduler will next send HIDE_MODULE to module_8_newsfeed at Sun Jul 09 2017 19:00:00 GMT+0100 (BST) based on "0-59/10 * * * *" /* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. * * For more information how you can configurate this file * See https://github.com/MichMich/MagicMirror#configuration * */ var config = { port: 8080, ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "192.168.0.17"], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"], language: "en", timeFormat: 24, units: "metric", modules: [ { module: 'MMM-WatchDog', }, { module: "alert", }, { module: 'MMM-ModuleScheduler' }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left", }, { module: "MMM-Instagram", position: "top_left", classes: "scheduler", config: { access_token: "...", count: "35", min_timestamp: "0", animationSpeed: "2500", updateInterval: "12500", module_schedule: {from: '0-59/10 * * * *', to: '5-59/10 * * * *'} } }, { module: "currentweather", position: "top_left", classes: 'scheduler', config: { module_schedule: {from: '5-59/10 * * * *', to: '0-59/10 * * * *'}, location: "Colechester", locationID: "2652618", //ID from http://www.openweathermap.org/help/city_list.txt appid: "..." } }, { module: "weatherforecast", position: "top_right", header: "Weather Forecast", classes: 'scheduler', config: { module_schedule: {from: '5-59/10 * * * *', to: '0-59/10 * * * *'}, location: "Colechester", locationID: "2652618", //ID from http://www.openweathermap.org/help/city_list.txt appid: "...", maxNumberOfDays: '4', } }, { module: "newsfeed", position: "top_bar", classes: 'scheduler', config: { feeds: [ { title: "BBC News", url: "http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml" } ], showSourceTitle: false, showPublishDate: false, module_schedule: {from: '5-59/10 * * * *', to: '0-59/10 * * * *'}, wrapTitle: false, ignoreOldItems: true, } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;} I am scratching my head. Thanks.
  • MMM-RandomBackground

    1
    0 Votes
    1 Posts
    1k Views
    Z
    Is there away to shrink the image so it doesn’t cover the whole screen … ie only the lower 1/3
  • Default Calendar - Bold and changing color

    1
    0 Votes
    1 Posts
    1k Views
    G
    Hi all, is there any chance to change the color and the style of letters for a event which is scheduled for today ? I only found the setting for change the displayed color for all events of the calendar. I have already looked up in the config of the module but didn’t find an special class for an event on the same day. It would be great if you could help me here.