A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • This might be a daft question, but...

    27
    0 Votes
    27 Posts
    20k Views
    strawberry 3.141S
    @Mitchfarino feel free to contact me via personal message
  • How to use Font Awesome?

    2
    1 Votes
    2 Posts
    3k Views
    P
    Hello, i want make a own module. Sadly i don’t know how add Font Awesome to project. getStyles: function() { return ["font-awesome.css"]; }, and what next? e.g. <i class="fa fa-cog"></i>
  • Parse HTML String

    7
    0 Votes
    7 Posts
    6k Views
    A
    @strawberry-3-141 You are absolutly right, I made a bad example. The real html code is a little bit more complicated, so I mixed the real code with this example. @ianperrin My input html is more complicated, but thanks for your answer, good to know! @Plati It helped me a lot to look at other modules. You should use a node_helper.js, there you can create a function which gets the html code of the website. //function which gets the data from the given URL getTheData: function(theURLtoCatch) { var options = {url: theURLtoCatch}; request(options, (error, response, body) => { if (response.statusCode === 200) { this.sendSocketNotification("DATA", this.parseHTML(body)); } else { console.log("Error getting Data " + response.statusCode); this.sendSocketNotification("ERROR", response.statusCode); } }); }, parseHTML: function(dataBody) { //use something like ianperrin and strawberry showed in his example }
  • Need some advise. Digital Ocean Modules

    19
    0 Votes
    19 Posts
    12k Views
    andrewchumchalA
    Thanks you so much @strawberry-3-141.
  • How to make sure dependencies get installed?

    3
    0 Votes
    3 Posts
    3k Views
    andrewchumchalA
    @strawberry-3.141 said in Hey Guys.: create a package.json file with npm init fill out the fields, after that type npm install --save Thanks for the quick reply.
  • Schedule a function in a module.

    3
    0 Votes
    3 Posts
    2k Views
    V
    @yo-less I solved in a different way that it was planned before, but just for the fill the lack of knowledge, can you share your solution? tks!
  • Handle dependencies

    4
    0 Votes
    4 Posts
    2k Views
    strawberry 3.141S
    @alexyak e.g. [ card : alexyak/motiondetector ] without spaces
  • How to receive push notifications from another server?

    6
    0 Votes
    6 Posts
    5k Views
    paphkoP
    @strawberry-3.141 Awesome, thank you! That’s exactly what I was looking for :-)
  • Sound cards of different Pi models

    microphone sound card
    2
    0 Votes
    2 Posts
    2k Views
    J
    @strawberry-3.141 said in Sound cards of different Pi models: To optimise one of my modules, I would like to ask you guys to type cat /proc/asound/cards in your console and provide the output together with your raspberry pi module and what kind of microphone you’re using Raspberry Pi 3 / USB Microphone No modules running now, Jbl Go with Bluetooth on a pi3. 0 [ALSA ]: bcm2835 - bcm2835 ALSA bcm2835 ALSA
  • Get user input

    3
    0 Votes
    3 Posts
    2k Views
    V
    Great it worked!!! My mistake was that I was creating the app after a notification and not at the start of my module! Thanks a lot!
  • py/php question

    1
    0 Votes
    1 Posts
    1k Views
    cowboysdudeC
    Quick question… The module I’m trying to create [that I already have in php] … I know I can call it from a py script just have NO clue about py so any help here would be great!! Thank you!
  • Auto-disable module

    12
    0 Votes
    12 Posts
    9k Views
    yo-lessY
    @KirAsh4 - It’s amazing for me to see how helpful and how full of good advice people on this forum are. Thank your for that! I’ve got my module up and running now and will go through troubleshooting it. As soon as I feel that it’s working as it should, I will try to implement the feature to automatically disable it if necessary, I will study your code then as well. Thanks for pointing me in a good direction!
  • Access the default values in outside functions

    Solved
    3
    0 Votes
    3 Posts
    2k Views
    G
    @MichMich Oh okay, thanks for the help!
  • Having issues loading library

    Solved
    5
    0 Votes
    5 Posts
    3k Views
    G
    @MichMich Thanks! I’ll fix my code accordingly so that I won’t modify vendor.js
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    11 Views
  • Fade-in/Fade-out with Electron

    6
    0 Votes
    6 Posts
    4k Views
    I
    and also take a look at https://github.com/MichMich/MagicMirror/blob/develop/modules/default/weatherforecast/weatherforecast.js#L142 - this is where the MMM-soccer fade functionality was derived from credits to @MichMich and the MM team :)
  • Instagram feed?

    4
    0 Votes
    4 Posts
    4k Views
    K
    Looking forward to see how you make it better! When I have some free time I’ll work on something else for it also…
  • Old Modules from MM1 transfer to MM2

    8
    0 Votes
    8 Posts
    4k Views
    ooom416354O
    I’m actually looking to do the reverse, take some MM2 modules and add them into my current MM1 (more for learning purposes). Any idea if this is possible?
  • Its may a problem with node_helper

    31
    1 Votes
    31 Posts
    21k Views
    P
    @schnep202 Still version 1 in the github yeah? Cheers again mate this is awesome
  • OpenCV problem

    Solved
    3
    0 Votes
    3 Posts
    3k Views
    P
    @piedaniel : Hello, I’ved tried to use the facetrainer tool from my raspberry pi 3 and pi camera but no luck. I’ve installed Opencv on my mac with the tutorial in your previous post (thank you for that) but how did you do the face training part ? with python capture.py ? Let me know Thanks