A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • Display a .png saved on the raspberry pi hard drive

    8
    0 Votes
    8 Posts
    5k Views
    N
    @snowman @cruunnerr You’re right. It is however baked into MMM-SimpleLogo. There is a time stamp query parameter appended to the image, so that it fetches a new version every time and does not load the cached version. Also, it has a refreshInterval config parameter to set how often it updates (e.g. "5*60*1000" for 5 minutes).
  • How to input a text from the user?

    keyboard input
    1
    0 Votes
    1 Posts
    1k Views
    H
    Dear all, I can imagine this is not a hard problem, but I haveing trouble to solve this. I am using the face recognition and when a face is detected, I would like to user to input his name. If the face is known, the view will switch to a personalized content. Can anybady help me, please?
  • Getting keyboard input

    2
    0 Votes
    2 Posts
    2k Views
    H
    Did you find a solution? I will make a new post because I have the same issue.
  • Newsfeeds module

    4
    0 Votes
    4 Posts
    2k Views
    S
    it worked ty
  • Wrote 2 modules already, but don't know where to start for another...

    4
    0 Votes
    4 Posts
    2k Views
    D
    Check the code of those modules that can switch modules on/off (if they don’t just hide them, that is). Basically, after changing the config, the browser has to be refreshed in order to load the the new configuration. What you want could be compared to that. Instead of removing a module, you change the language.
  • Simple welcome script

    4
    0 Votes
    4 Posts
    2k Views
    cruunnerrC
    You’re welcome ;)
  • call API (no CORS), used to do it with php proxy

    12
    0 Votes
    12 Posts
    13k Views
    D
    Sorry, but that doesn’t work. (It throws response.statusCode = 403, forbidden.) And it’s not surprising. As I said, the API source server doesn’t allow CORS and is not serving JSONP. So JavaScript calls are blocked. There are a lot of fine tools for specific jobs, XMLHttpRequest, fetch, request, fs, …, and they work if CORS is set up correctly on the server, allowing you access, or it’s giving you JSONP to handle, but PHP’s file_get_contents is the hammer in your toolbox. If everything else fails, you still can throw this at your problem (provided you have allow_url_fopen). And I know, it’s not always wise to use (or even throw) a hammer, access might be forbidden (to scripts) for a reason. But if you can read it in your browser, PHP can read, stringify and proxy it to your JS.
  • How to dynamically show/hide and configure other modules from my module?

    2
    0 Votes
    2 Posts
    2k Views
    D
    Sounds like you want the configuration from a json instead of the config.js – because then you can change the content. Or json first and config.js as fallback (and default after that as the last fallback). So the weather module would have to read it’s config from that json and you can create a module that writes to this json something like weather_source: “location”, and triggers the weather module to reload. Interesting idea. EDIT: I found this module while looking for help with something similar: https://github.com/Jopyth/MMM-Remote-Control
  • Display countdown at event

    1
    0 Votes
    1 Posts
    954 Views
    J
    Hi! I’ve a python script running, and when I press a button it takes a photo. I want to display a 3 seconds countdown after that. The easiest way (not the best) maybe that a module of MagicMirror display dynamically the content of a text file, and in python script I write to that file. How can i do that? Do you know any way to do that? Regards.
  • Question to Log.info in js file

    2
    0 Votes
    2 Posts
    1k Views
    P
    Log.Info will print to the Browser Console. In Firefox or Chrome hit: Ctrl+Shift+I and then click the “console button”
  • Voice control

    9
    1 Votes
    9 Posts
    7k Views
    Mykle1M
    @wireshark https://github.com/fewieden/MMM-voice And there are others here as well https://github.com/MichMich/MagicMirror/wiki/MagicMirror²-Modules#3rd-party-modules
  • Alexa vs Google AIY Voice kit

    2
    0 Votes
    2 Posts
    2k Views
    C
    I’m going on the basis of who has better youtube support and whether or not I can disable the module when I don’t want it to prevent spying. That said, I havent decided yet either.
  • Help getting started

    1
    0 Votes
    1 Posts
    990 Views
    B
    I trying to create a module for stats from the Swedish hockey league, im new to programming but im trying to learn as i go since there is such good documentation on creating a module, but im wondering one thing The Api from SHL already have a npm client and as i understand the files in the “lib” subfolder handles all the connection. How do i make so my module to load these files?
  • How to change Time zone of default clock?

    2
    0 Votes
    2 Posts
    7k Views
    Mykle1M
    @PRECIOUS-VIRAL https://github.com/MichMich/MagicMirror/tree/master/modules/default/clock
  • Problems with rss

    4
    2
    0 Votes
    4 Posts
    2k Views
    R
    To follow up… I got it to work by comparing parsed.feed.entries.length to the number of parsed entries, and when all entries were passed I called a callback that sent the notifications. I’m new to javascript so there’s still a lot to learn.
  • Multiple Pages of Modules using CSS

    6
    3
    1 Votes
    6 Posts
    7k Views
    A
    Hello, I installed your fork and it works just fine. That was what I was looking for with a touchscreen: D But now I have a problem. If I take the comment to activate other pages and check to a widget, the reference to page 3 is not displayed and the points to touch are just two. Is there anything else to modify in the main.js file? Thank you, Alberto
  • How to pass extra variable to a Https Get Request

    1
    0 Votes
    1 Posts
    969 Views
    P
    Hello everyone, I’m pretty new to NodeJS, but I’m working on a module for the Home automation JEEDOM. I’m stuck at being able to do a simple GET and having the context during async GET response in order to know from where my request came from var req = https.get("https://JEEDOMURL/core/api/jeeApi.php?apikey=...&type=cmd&id=127"); req.idx = "127"; req.on("response", function(res){ res.on('data', (d) => { console.log("DEBUG : " + req.idx +" / "+ typeof (d)); console.log("DEBUG : " + req.idx +" / "+ d); }) }); var req = https.get("https://JEEDOMURL/core/api/jeeApi.php?apikey=...&type=cmd&id=695"); req.idx = "695"; req.on("response", function(res){ res.on('data', (d) => { console.log("DEBUG : " + req.idx +" / "+ typeof (d)); console.log("DEBUG : " + req.idx +" / "+ d); }) }); With no surprise I’m getting DEBUG : 695 / object DEBUG : 695 / 5515 DEBUG : 695 / object DEBUG : 695 / 19.8 instead of getting DEBUG : 695 / object DEBUG : 127 / 5515 DEBUG : 695 / object DEBUG : 695 / 19.8 I know that is expected by JS async guru, but How can I explicitly pass a variable and getting my http get DATA synchronize. I’ve read a lot of module code, and unfortunately for me JEEDOM is not giving me any context information in the GET answer https://JEEDOMURL/core/api/jeeApi.php?apikey=...&type=cmd&id=127" is only responding 5515 and https://JEEDOMURL/core/api/jeeApi.php?apikey=...&type=cmd&id=695" is responding 19.8 Any help would be appreciate ? Thanks in advance for your time. I’m really stuck, and I don’t want to parse the URL to get back my ID.
  • C# Module Ideas for project

    1
    0 Votes
    1 Posts
    1k Views
    S
    I am making a mirror to showcase for a class project. Part of the requirements are that I actually develop something, specifically in C#. I know I can use C# through the Mono framework but past that, I’m not sure what to do. I’ve thought about creating a module for BlackBoard. Any ideas on what I could work on?
  • Including socketNotificationReceived in getDom function

    8
    0 Votes
    8 Posts
    4k Views
    ?
    @yours.mukul I think it is not good to put the noti into start() of node_helper.js. Because after finishing module loaded and DOM created, updateDOM() would be working properly, but your code tried too early. As you’ve said, you had your code in node_helper.js to get REAL latitude & longitude, isn’t it? My code was just an example. Send your REAL lat & lng to main module when your node_helper code gathers real target values.
  • How can I see the HTML that being generated?

    11
    0 Votes
    11 Posts
    7k Views
    Mykle1M
    @Zooooooom said in How can I see the HTML that being generated?: Thanks! I was missing the address from config. You’re welcome mate