A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • How to Change MMM-DWD-WarnWeather Module for Switzerland

    13
    0 Votes
    13 Posts
    8k Views
    S
    @LukeCodewalker thanks! But I still need a Solution to don’t Crash your Module while both modules are running at the same time… Let me know when you have more time to talk about that topic 😉
  • Displaying data from a CSV file saved on my Pi?

    Locked
    4
    0 Votes
    4 Posts
    4k Views
    nbrennN
    @morozgrafix That’s fine with me! Thanks!
  • NEW NFL Weather module...

    3
    3 Votes
    3 Posts
    2k Views
    cowboysdudeC
    @cyberphox said in NEW NFL Weather module...: @cowboysdude Great one man! love it Thanks! Ready to go if you want to give it a try!!! Under module show case!
  • Using already existing NodeJS Components in modules

    1
    0 Votes
    1 Posts
    1k Views
    I
    Hi Everyone, I have been working on a small project lately, which is to create an alarm clock for on the bed stand. I have seen the various modules, however I could not really find one that would work exactly as I would like it to. Therefore I started to piece together the alarm clock based mostly the default modules and the MMM-ModuleScheduler. One of the main features would be to be able to play audio streams, like internet radio stations, once the alarm has been triggered. Please understand that I am a very big noob when it comes to Node.JS so I would need some help to get started. I found on npmjs.com a very nice and elaborate audio player (React). I would like to use this to play the audio streams, and in the future also video streams. the thing I am struggling with is how to be able to use the functionality from the React components and player within the to be created module. Can anyone guide me to some documentation how this could be done? I have tried using the require method, but so far no luck. ps. Any hints on great books on Node.JS or other resources are very welcome too! Cheers, Marty
  • OAuth flows, thoughts and considerations. Looking for feedback.

    1
    0 Votes
    1 Posts
    1k Views
    morozgrafixM
    Hello, Sorry this may get a bit lengthy. I recently joined MagicMirror community and started to play around and develop modules. I’m not a newbie to coding, but never really worked on a node based project. I’m learning as I go along and looking at many great modules that folks have created around here to understand how thing are done. Throughout my career I’ve worked with a bunch of API providers building apps, clients and bots. As I’m venturing into building another module I have been having some thoughts and considerations about how API access, tokens and user authentication is handled by different modules. Some of the API providers make it easy to obtain access to their keys, some make it difficult. Others don’t, sometimes they restrict who can sign up for API access, how they sign up, At the moment I’m looking into creating a module to display data from Runkeeper. They have fairly standard OAuth2 authentication and it’s pretty trivial to create an app and get access token from them. Once my module is published I would like to make sure that potential users have a pleasant experience, that they can easily set it up and get it running with minimal effort. I don’t want to burden them with going through process of creating their own application on API provider site, getting client_ids, secrets, scopes, doing OAuth dance and finally getting a token that they can put in the config. All of the above steps can lead to unnecessary confusion, frustration and additional support responsibilities for me as a developer of the module. Which leaves me with a few options on how to handle data source API access and user authentication. I’m sure this is not a full list of options, but some of the options that I’ve considered. My App + My Site = Your Token: As a developer of the app I create an app with API provider and provide a very user friendly webpage where OAuth2 Authentication takes place and access token is granted and displayed to be inserted in the module config. Your App + My Site = Your Token: I provide a list of instructions along with the module on how and where to register for the app, user registers and then uses my site to enter needed info (client_id, secret etc) to get access token that can be used with the module config. I don’t store any of the info and just provide friendly web interface to get that done. Your App + My Script = Your Token: I provide a list of instructions along with the module on how and where to register for the app, after cloning the module repo user can run a script that will spin up a temporary local webserver to accept OAuth callback and get access token that can be entered into config for the module. Theoretically I can combine 2 and 3, or even offer all 3 options. Number one is probably most user friendly way, but depending on popularity of the module rate limiting may come into effect. 2 & 3 will likely require more effort from users and possibly more support from me. Any thoughts or suggestions on this? Thank you.
  • Connecting to a MySQL Server to Retrieve Data

    2
    0 Votes
    2 Posts
    2k Views
    brobergB
    You probably need something like this installed then : https://github.com/sidorares/node-mysql2/blob/master/README.md But more than that I don’t know
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    54 Views
  • Yet Another Voice Module (Sphinx + Alexa)

    40
    2 Votes
    40 Posts
    35k Views
    C
    @Mirrorolentia If you can’t get that one to work or want to try a different one checkout AlexaPi. It’s a python implementation of Alexa made for all sorts of platforms. You can get it from here: https://github.com/alexa-pi/AlexaPi You can also use this mirror module to give status feedback on the mirror: https://github.com/dgonano/MMM-AlexaPi Just be sure to pick the magicmirror platform during setup instead of the default raspberrypi
  • Creating own modules

    4
    0 Votes
    4 Posts
    2k Views
    strawberry 3.141S
    @shgmongohh https://github.com/MichMich/MagicMirror/tree/master/modules
  • 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
    3k Views
    schlachtkreuzer6S
    https://github.com/lanceseidman/picast
  • 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
    C
    Stop our conversations! I have to make a new thread: https://forum.magicmirror.builders/topic/1254/developing-usgs-earthquake-map-2mb-gif-warning-topic-2
  • 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
    8k 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
    11k 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.