A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • Come si cambia il Font nei vari moduli?

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    S
    @Alex2020 I have never tried this. as I said, I do not know ==== Non l’ho mai provato. come ho detto i, non lo so
  • Add Fade Opacity config option in config.js

    Unsolved
    1
    0 Votes
    1 Posts
    424 Views
    jca2112J
    When using the “Fade” option in the default modules (Calendar and Weather forecast, for example), on my set-up, the dimmed/faded gradient on the text is inconsistent. This is due to several factors, including different font sizes/weights, black-points/contrast/brightness on different monitors, different one-way mirror materials, etc. I was wondering if I could address this issue (in my case) if there was an Opacity variable added to the startFade function used in several default modules? Right now we can control via config.js where the fade starts in a div (fadePoint), but not a minimum amount of the opacity of the fade. (Right now it is based on an inline CSS div style of the opacity property set to the full 1.0 amount.) if (e >= startFade) { //fading currentFadeStep = e - startFade; dateRow.style.opacity = 1 - (1 / fadeSteps * currentFadeStep); } Is it worthwhile to add a fadeOpacity config that can be set to different base opacity amounts? Appreciate any help/feedback on this.
  • Re: Run MagicMirror https

    Unsolved know
    1
    0 Votes
    1 Posts
    318 Views
    A
    Re: Run MagicMirror https I didn’t see where the previous request was closed and the forum automatically suggested I create a new topic, so here: also I’m kinda scatterbrained right now so please ask questions if something isn’t clear How to configure HTTPS Based on this post: https://forum.magicmirror.builders/topic/8469/how-to-run-as-https Lines that are commented out (#) are pre-existing, shown for location reference only. They should not actually be commented out. Lines that are commented out (//) can be toggled based on preference. config/server.js var fs = require("fs"); #var express = require("express"); #var app = require("express")(); var options = { key: fs.readFileSync("config/certs/mirror.key"), cert: fs.readFileSync("config/certs/mirror.crt") }; //var server = require("http").Server(app); var server = require("https").Server(options, app); config/config.js #var config = { #address: "0.0.0.0", // Address to listen on, can be: #port: 8088, #ipWhitelist: [], // Set [] to allow all IP addresses useHttps: false, httpCerts: { path: "config/certs", cert: "config/certs/mirror.crt", key: "config/certs/mirror.key", port: 4433, }, Problem: config.js is loaded inside var Server, wayyyyy down at the bottom. var options must be defined prior to var server (not the same as var Server) this means that any settings must be defined directly inside server.js, which will be overwritten when updating MM. because of this, config.js is actually completely useless here. I’m including it as an example of what it should look like if this actually worked. Solution: I don’t know node.js, or really javascript. My first instinct is to extract the config definition to the very top of the file. But it seems like the config is loaded via the server, and I’m trying to define the server via the config. I tried to run a squid proxy server to handle https but I couldn’t figure that out. Maybe the answer is to run HTTP and HTTPS simultaneously. Maybe you could have an ipWhitelist for each if you wanted to restrict HTTP access but not HTTPS. To be honest though, I think the whitelist should be handled by the OS’s firewall. iptables isn’t that difficult. For the record, I’m using node serveronly and pushing to a chromecast via catt through cron.
  • disabled modules MMM-moduleScheduler

    Unsolved
    2
    0 Votes
    2 Posts
    536 Views
    C
    The best way wil be to disabled MMM-Pages at 7h00…at 12h00…
  • global variables in config.js

    Unsolved
    14
    0 Votes
    14 Posts
    3k Views
    ?
    @sdetweil said in global variables in config.js: @Sean “24” means not am/pm, and it shows seconds ticking… That is my point. Each value could have a different meaning in different modules. I can’t use MM-level-global-timeFormat in calendar and clock modules which are created by me because that value is too ambiguous and has a meaning only in default calendar/clock modules. But If timeFormat would become the definite global value,(well, frankly it is already) the user will expect it works also in my modules like default module. But I can’t. How about location? Some of the default weather-related-modules are using it like location: "New York", but other Geo-information-related-modules might need another format of value as that kind. If it could not be used really GLOBALLY, how it could become really useful?
  • config.js in JSON format

    Unsolved
    17
    0 Votes
    17 Posts
    5k Views
    S
    @Serge @Sean @lavolp3 cool I found this the other day, maybe it will help your UI https://github.com/Toreke/MMM-Dynamic-Modules allows live dynamically positioning module content
  • Core News Module: Cycle sources

    Unsolved
    2
    0 Votes
    2 Posts
    538 Views
    S
    @palula this is a volunteer project, with no dedicated development team… SO… if u can/want to… have at it… if it works and u want to give it back, you can
  • 0 Votes
    11 Posts
    3k Views
    M
    @sean i sent it
  • Budgeting Module

    Unsolved
    1
    0 Votes
    1 Posts
    485 Views
    F
    Is there a budgeting module out there? If not, is there a solution using a spreadsheet or something similar to display budget on Magic Mirror?
  • Help to change information to display

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    S
    @Mykle1 nice!
  • Use an GoogleHome as a remote speaker for the magic mirror?

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    S
    @dragontattoo this is really unrelated to the MagicMirror software… you need a bluetooth device in the hardware, and then connect the bluetooth speaker… same as for your phone. i think the pi has bluetooth see this https://lifehacker.com/everything-you-need-to-set-up-bluetooth-on-the-raspberr-1768482065
  • Date only module

    Solved
    3
    0 Votes
    3 Posts
    1k Views
    N
    I’ve cloned the clock module and tweaked the code to create a custom module.
  • light animation module...

    4
    0 Votes
    4 Posts
    2k Views
    E
    @j-e-f-f can you share a quick guide to how you did this and the simple module you created? this is exactly what I have been looking for. please and thank you
  • Tutorial of Github

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    R
    This is what I followed when I started learning. Short and simple: https://forum.magicmirror.builders/topic/1885/github-tutorial/2
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    376 Views
  • Horizontal Mode

    Unsolved
    1
    0 Votes
    1 Posts
    727 Views
    S
    I want to use kodi in my mirror with pressing a switch. But walking to the mirror and tilting it, is inconvenient and annoying. I couldnt find a configuration or a module for this pourpose. I am not that good at programming, so if I can change it easily somewhere in the code, I am sorry, I dont know how. Thanks
  • I need an explanation of how the magic mirror system works

    Unsolved
    12
    0 Votes
    12 Posts
    7k Views
    ejay-ibmE
    @aljosie thisis the first link I found on google. Their’s tons of doc if you search . https://www.tomsguide.com/us/connect-google-home-philips-hue,review-4217.html Ejay
  • Add further npm dependencies to basic MM installation

    4
    0 Votes
    4 Posts
    1k Views
    lavolp3L
    @michmich said in Add further npm dependencies to basic MM installation: And how would we select which dependencies we include in MM and which dependencies we don’t? Well that is obviously a case-by-case decision and therefore a bit tricky, I admit. But from these two I’m sure they are valuable to the MM environment. A Google translation API (which tbh needs to be chosen carefully because one on npm is currently not working unfortunately) A Charting tool. So why not use them? It’s “only” a few JS files. However, it’s your decision and I fully respect your point.
  • Run MagicMirror https

    2
    0 Votes
    2 Posts
    918 Views
    S
    @lacaca i don’t think so… you could fork the repo and add support for HTTPS (and how to make it work for others), and submit that back to the project for inclusion in a future release I looked at this for someone else… came to same conclusion you did
  • Divide Config.js into modules

    Unsolved
    21
    0 Votes
    21 Posts
    8k Views
    S
    @artieikon u can get files from the filesystem without special config settings just setup an express url handler in the node helper. See the MMM-ImagesPhotos module for an example use. Node_helper sets up the express url handler, module does a request to that url, and handler gets invoked, and files are found and their names are returned. The a url request is made for a file and it’s contents are returned. Module doesn’t know helper provided the files list or data