A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • Device detection - personalised message

    5
    0 Votes
    5 Posts
    3k Views
    tidus5T

    :-p thanks :-)

  • Load,format,display a json file

    5
    0 Votes
    5 Posts
    3k Views
    J

    @strawberry-3.141 , the json will be on the server, check the link below. It will be very similar. The number 83139 refers to a bus stop and will query the bus arrival timings. The module will need to be able to reload the content every minute to get the updates arrival timings.

    Ability to query multiple bus stops will be great!

    https://arrivelah.herokuapp.com/?id=83139

  • Calendar module - var location

    3
    0 Votes
    3 Posts
    2k Views
    tidus5T

    @strawberry-3.141 thanks :-) yes was a bit lost in the code to found the broadcast

  • Alexa Goes Handsfree!

    23
    1 Votes
    23 Posts
    16k Views
    C

    I’m really interested in adding voice control, especially a solution provided by amazon or google with good recognition.
    I can see in the video above alexa can answer all sorts of questions but how can this be incorporated into magic mirror to do thing like restart, show and hide modules, etc?

    Also, how would alexa get information about things like the current location to give travel times etc?

    I guess the end goal would be to have other modules controlling things like lighting (phillips hue?) and using the voice control to turn it on/off & change colour as an example.

  • Offering completely free translations

    1
    1 Votes
    1 Posts
    1k Views
    S

    Hi guys.

    I can’t explain how much I love to see this community, just the story about how MagicMirror came to be.
    This is truly remarkable. I’ve decided to make a mirror of my own and I’m already begun to purchase the main parts.

    Before my mirror can be fully functional I’ll have to develop some modules for it - but, first things first. When you’re using open source and have the opportunity to contribute, you’re in my opinion obliged to do so.

    Therefore
    I’m offering to translate your modules from English to Danish. No matter if it’s a small module with 1 string, or a big one with 1.000+ strings.
    My only demand is that the module is open source and free to use for others MagicMirror users.

    Just post a GitHub repository link for your MagicMirror module in this thread, and I will fork it, translate it and create a pull request :-)

  • Hello World modul

    5
    0 Votes
    5 Posts
    3k Views
    G

    Oh OK sorry I I haven’t understand you right. It was my mistake. I will try your post tonight. Thank you again

    Greets gismo

  • Smartphone App for configuring MagicMirror

    10
    2 Votes
    10 Posts
    12k Views
    P

    @strawberry-3.141 hope you will get an awesome topic :)
    Good luck. I ve just finished my bachelor thesis 😄

  • more newsfeed's

    3
    0 Votes
    3 Posts
    3k Views
    strawberry 3.141S

    @geeflaxx on top of the suggestion of @bhepler you can also make chnges to your cumstom.css to limit the width of the newsfeed

  • My first module

    10
    0 Votes
    10 Posts
    5k Views
    strawberry 3.141S

    @gismo2006 no worries, if you come up with more questions don’t hesitate to ask

  • 0 Votes
    2 Posts
    1k Views
    strawberry 3.141S

    @gismo2006 look out for the else if statement http://www.w3schools.com/js/js_if_else.asp

  • MMM-PIR-Senor shut off usb port(s)

    2
    0 Votes
    2 Posts
    1k Views
    J

    From the quick googling I’ve done, it may be possible to disable/enable raspberry pi usb power with commands:

    Disable

    echo 0x0 > /sys/devices/platform/bcm2708_usb/buspower

    Enable

    echo 0x1 > /sys/devices/platform/bcm2708_usb/buspower

    However I haven’t tested. I’d recommend writing a new module that handles this and listens for the USER_PRESENCE event notification that the Pir module triggers.

  • Displaying JSON results onto my MagicMirror

    4
    0 Votes
    4 Posts
    3k Views
    strawberry 3.141S

    @zichao92 feel free to ask again if you stuck on something

  • New Module Debugging

    5
    0 Votes
    5 Posts
    4k Views
    MichMichM

    Most of the time when I develop, I run server only mode and test most of the work in a default browser.

  • Tutorials or Overview for Module Dev?

    6
    0 Votes
    6 Posts
    5k Views
    nbrennN

    Thanks for the responses, guys.

    The E-Monitor API specification has a listing of the supported API methods (page 3), like authenticate, deauthenticate, getCurrentData and so on.

    Aside from Module.register, getStyles, start: function(), and getDom, are these methods listed in the API specification the ones that I will use as functions in my code? For example:

    Module.resgister ("MMM-Emonitor.js", { }, getStyles: function() { }, start: function() { }, getDom: function() { }, // And then the EMonitor methods below: authenticate: function() { } deauthenticate: function() { } getCurrentData: function() { } //... and so on down the list of the supported API methods
  • Remote Administration & Updates

    3
    1 Votes
    3 Posts
    2k Views
    andrewchumchalA

    @bhepler I’m currently using a VPN called NeoRouter. It dose not require any ports to be open for the clients only for the server. The plus is if you have or host your own server somewhere like i do with Digital Ocean which only cost me 5 US dollars a month. I can control all of my Pi’s that are not connected to my network.

    I hope this help.

  • Christmas Countdown

    4
    0 Votes
    4 Posts
    2k Views
    cowboysdudeC

    @KirAsh4 said in Christmas Countdown:

    Since he said smart nerds … here ya go http://bfy.tw/80wP

    Excellent :)

  • Get value from Input Box

    Moved Unsolved
    6
    0 Votes
    6 Posts
    3k Views
    J

    @shvncrvn Well then you might just do something like this (needs jquery) in your module, and catch the typing of the scanner.

  • Humidity for Current Weather Module

    9
    0 Votes
    9 Posts
    4k Views
    cowboysdudeC

    @amcolash Well we’re not comparing as much as just joking around between a couple of NY’ers LOL

  • Dinner Shuffler - Randomly select dinner for every day of the week

    2
    0 Votes
    2 Posts
    2k Views
    paviroP

    Why not upload it to GitHub or GitLab and then present it in the module showcase section? :)

  • 0 Votes
    5 Posts
    4k Views
    I

    @Squawk09 - it is not a requirement to log when receiving notifications, but it can be useful when debugging. To prove you are receiving the notification, change the line to Log.log('The current temperature is ' + this.temp); and look in the browsers console and you should see the temperature displayed when it is sent from the current weather module.

    Once you have confirmed that your module is receiving the notifications, you can then move on to displaying the temperature.

    The trick is to understand the sequence of events that occur and how they affect your module. In your case the functions in your modules are currently fired in the following order:

    start notificationReceived (ALL_MODULES_STARTED) getDom notificationReceived (DOM_OBJECTS_CREATED) notificationReceived (Temperature)

    The result is that your getDom function is called before the Temperature notification is received, so this.temp hasn’t been set yet.

    Since you cannot control the order in which the modules are loaded, or when the Temperature notification is sent by the current weather module, you need to tell your module to call the getDom function again, after the Temperature notification has been received.

    To do this, change your notificationReceived function to

    notificationReceived: function(notification, payload, sender) { if (notification === 'Temperature' && sender.name === 'currentweather') { var currentweather = payload; if ( currentweather && currentweather.hasOwnProperty('temperature') ) { this.temp = currentweather.temperature; this.updateDom(); Log.log('The current temperature is ' + this.temp); } } },

    Check out the wiki for documentation, and of course keep asking questions here in these forums :)