A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • MMM-Remote-Control & MMM-webradio

    2
    1 Votes
    2 Posts
    3k Views
    SteffS

    @ramonbovenlander said in MMM-Remote-Control & MMM-webradio:
    I love your idea, just had the same thought to extend the Remote Control with an option to play radio on demand.
    Did you upload your module already somewhere in github ? If yes, could you please share the place ?

  • Want to stream rtp

    1
    0 Votes
    1 Posts
    1k Views
    S

    I want to stream rtp. (it is unlimited)
    At first, I try it with the modul MMM-Podcast but PtrBld says, that is not possible.
    If I use omxplayer, the stream works on my raspberry,
    now I want this steam in a modul for my MagicMirror.

    Any Idea to do this?
    f.e. a frame with omxplayer?

    Thanks

  • show ICLOUD ToDo's on Mirror

    1
    0 Votes
    1 Posts
    1k Views
    D

    On mir first version of the MagicMirror i’ve created a php file witch loads ICLOUD ToDo’s and shows it on the Mirror. Now i’ve updated to MagicMirror² an i have to create a Module witch loads the ToDo’s from the ICLOUD too.
    In the fist Version i used CURL to create the request for the ICLOUD, now i have to use something else to realize the request in JavaScript.

    Is there anyone who could help me with this?

    I’ve tried already NPM REQUEST but i have no Solution for CURLOPT_CUSTOMREQUEST, “REPORT”); and CURLOPT_RETURNTRANSFER, 1);

    This was my old php / CURL Request:
    // Do CalDAV request to iCloud
    $request_body = ‘’;
    $request_body .= ‘<c:calendar-query xmlns:d=“DAV:” xmlns:c=“urn:ietf:params:xml:ns:caldav”>’;
    $request_body .= ’ <d:prop>‘;
    $request_body .= ’ <c:calendar-data>’;
    $request_body .= ’ </c:calendar-data>‘;
    $request_body .= ’ </d:prop>’;
    $request_body .= ’ <c:filter>‘;
    $request_body .= ’ <c:comp-filter name=“VCALENDAR”>’;
    $request_body .= ’ <c:comp-filter name=“VTODO”>‘;
    $request_body .= ’ </c:comp-filter>’;
    $request_body .= ’ </c:comp-filter>‘;
    $request_body .= ’ </c:filter>’;
    $request_body .= ‘</c:calendar-query>’;
    $request_body = sprintf($request_body);

    $url = ‘https://’.$my_icloud_server.‘-caldav.icloud.com/’.$my_user_id.‘/calendars/’.$my_calendar_id.‘/’;
    $c = curl_init($url);
    curl_setopt($c, CURLOPT_HTTPHEADER, array( “Depth: 1”,
    “Content-Type: text/xml; charset=‘UTF-8’”,
    “User-Agent: DAVKit/4.0.1 (730); CalendarStore/4.0.1 (973); iCal/4.0.1 (1374); Mac OS X/10.6.2 (10C540)”
    ));
    curl_setopt($c, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
    curl_setopt($c, CURLOPT_USERPWD, $my_icloud_username.“:”.$my_icloud_password);
    curl_setopt($c, CURLOPT_CUSTOMREQUEST, “REPORT”);
    curl_setopt($c, CURLOPT_POSTFIELDS, $request_body);
    curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
    $caldav_answer = curl_exec($c);
    curl_close($c);

    $caldav_answer_object = simplexml_load_string($caldav_answer, ‘SimpleXMLElement’, LIBXML_NOCDATA);
    $caldav_answer_array = @json_decode(@json_encode($caldav_answer_object),1);;

  • Trello list like the wundelist module?

    3
    0 Votes
    3 Posts
    2k Views
    J

    Ya I have that one up and running but it scrolls thru the list like the newsfeed. I would want it to post as a list.

  • Google cast Module

    2
    0 Votes
    2 Posts
    2k Views
  • Module ignoring node_helper.js?

    3
    0 Votes
    3 Posts
    2k Views
    M

    Wow, thanks @mochman! Now that you mention it that makes perfect sense because node_helper.js isn’t executed on the client-end (right?).

  • Developing USGS Earthquake Map (2MB Gif Warning)

    8
    1 Votes
    8 Posts
    5k Views
  • Video Feed - Sports Highlights - ESPN

    2
    0 Votes
    2 Posts
    2k Views
    cowboysdudeC

    Always possible but seems no one wants to ‘tackle’ that … video is a tougher nut to crack.

  • Development MMM-OEBB Austrian Railway Info

    2
    0 Votes
    2 Posts
    2k Views
    D

    hi i am using the “localtransport” 3rd party module, if you enter the correct station name (zB xxxxx Hbf, xxxxx Hst,…) it works like a charm for austrian train connections.
    just to be honest, i have never checked if any railway delay is shown via this module, so there is a little bit of uncertainity about what you want and you ll get!
    But it definitively shows you your OEBB departures !

  • Diego Vieria Random-Photo read image from PI ?

    13
    0 Votes
    13 Posts
    6k Views
    A

    I did not specify what I did just because I removed and reinstalled in the form and everything worked immediately all.
    For the fact that change size and position of the image I was trying to change the form css but if you tell me that there is not enough to put your hand means that this change but the issue is more complex then await the development of your work.

    Congratulations for your job

    Thank you, Alberto

  • Making text etc clickable

    14
    0 Votes
    14 Posts
    8k Views
    brobergB

    Next up, adding a timer to the description that doesn’t mess with the news items that is next in line,
    Tried one version, but it couldn’t handle multiple start/stop clicks.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
  • Building an Image Module.

    10
    0 Votes
    10 Posts
    5k Views
    LukeCodewalkerL

    @shadymaple
    ok now i got the problem.
    can you please update the module. To do that just type git pullin the module directory (…/modules/MMM-Globe/). And in your config file you have to change your path to https://github.com/ddzurko/Mirror/blob/master/Gear.png?raw=true.
    Then it should work.

  • 1 Votes
    18 Posts
    9k Views
    Mr.MeeseeksM

    @rvdgeer do you have pm2 installed and configured? Oh looked above, you do. Well I have noticed even though logs show command error, it still works, I think it’s because node doesn’t surround commands in quotes.

  • skywriter - python to javascript

    18
    0 Votes
    18 Posts
    11k Views
    K

    This helps indeed for the error, thanks. But how to use it like I want? I mean, how can you do calculations within following up socketnotifications? It looks like with every gesture the this.config;gesture_up starts with the value 0.

  • ISS HD Earth Feed Module

    2
  • Module Creation Understading with Known APIs

    1
    0 Votes
    1 Posts
    966 Views
    R

    It has been an interesting two weeks playing around with my new MagicMirror for work purposes.

    I recently have had success in loading in the recent logs from a google spreadsheet using the quickstart.js file located here

    I would want to display that information onto the magicmirror in a corner somewhere.

    The issue I am having is trying to understand the module format with node.js and where things need to go if I want to create the quickstart.js as a module.

    I have been using this to better understand module creation but I am having trouble wrapping my mind on how I would make something like the quickstart.js in a module.

    Where would I put that code in the module and so forth.

    It is really neat that we can create and customize modules for our mirrors. I tried to look at other module codes to see how they are structured but it is also hard for me to learn the creators style of coding.

    For example, understanding what getDom() does and when I need it or what wrappers are and why I would need that.

    I do have coding experience but not with node.js.

    I am basically asking for layman’s terms on where to put code if you want it to do this and why it has to go there.

    Thank you for taking the time to read this message.

  • Passing Variables Around

    Solved
    7
    0 Votes
    7 Posts
    4k Views
    J

    Basically yes, that’s what I’m trying to do. Would that work, assuming I set it up as a new module according to the guidelines you sent earlier? (thank you by the way, that helped a lot).

    Essentially I’m just trying to be able to pull data from my MongoDB (I will probably roll this into its own module – right now I’ve committed the sin of modifying app.js directly until I get my bearings). Then use the Mongo data to populate data in other modules (think Hello World, Compliments, etc.).

    It sounds like I will need to create a second module that essentially takes my Mongo data and sends it in the form of a JSON object variable to other modules using sendNotification() and then have them update the DOM to reflect the change. I know there are some nuances, but for the sake of brevity, am I generalizing/thinking about it correctly?

  • Beginner. Trying to make a simple module

    3
    0 Votes
    3 Posts
    2k Views
    T

    Cool, thank you!

  • Tips for a module showing graphs from HTML scraping

    2
    0 Votes
    2 Posts
    1k Views
    LukeCodewalkerL

    @jhillairet
    Hey, i would recomend you to do all in javascript. I love python, but what you’ve planed is perfectly doable in javascript. See chart.js for example. As long as it’s possible to write a project in one language, i would never combine more languages.