MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. lavolp3
    3. Best
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 0
    • Followers 11
    • Topics 38
    • Posts 892
    • Groups 3

    Posts

    Recent Best Controversial
    • RE: Creating Module with API Key/Secret

      @lilpkstud Taking MMM-Strava as an example:

      MMM-Strava.js (the main js file)

      Module.register("MMM-Strava", {
          // Default module config.
          defaults: {
              client_id: "",
              client_secret: "",
              period: "recent",   
              ...
      
      

      config.js:

              //disabled: true,
              module: 'MMM-Strava',
              position: 'center',
              config: {
                  client_id: "my_id",
                  client_secret: "hereisthesecrethidden",
      
      
      posted in Development
      lavolp3L
      lavolp3
    • RE: MMM-Comics

      @cyberphox On first look, should work, will bring it on the list.
      It would help if you also open an “issue” on github so I have it tracked.

      posted in Entertainment
      lavolp3L
      lavolp3
    • RE: MM css help please

      to make fonts brighter you should add these lines to your custom.css and change them to your liking. Below are mine.
      I set all rather bright to be able to dim the monitor itself more. Then it doesn’t shine that much through the glass.

      
      .dimmed {
        color: #f5f5f5;
      }
      
      .normal {
        color: #fcfcfc;
      }
      
      .bright {
        color: #ffffff;
      }
      
      posted in Troubleshooting
      lavolp3L
      lavolp3
    • RE: My Full-Length Smart Mirror

      I agree, the glass looks great. Real silver mirror touch. What brand is it?

      The rest of course looks great too :-)

      posted in Show your Mirror
      lavolp3L
      lavolp3
    • RE: Creating Module with API Key/Secret

      @lilpkstud
      Well, you can call any variable from your config/defaults using the reference this.config.variable.
      Or this.config.requestToken respectively.

      Something important to remember:
      Sometimes, e.g. when you use a callback function, note that the this reference may change (better: the context changes).
      Therefore you will often see something like this in the module codes early in a function:

      self = this
      

      And later on in the callback function

      self.config.requestToken
      

      Here, the “this” instance that is bound to its context, gives it’s properties to the global variable “self” that can then be used in any context (because it is global).

      For (much) more information check out https://scotch.io/@alZami/understanding-this-in-javascript

      posted in Development
      lavolp3L
      lavolp3
    • MMM-Celebrations [german only!]

      MMM-Celebrations

      This is a MagicMirror module to display today’s celebrations.
      Shows some quite funny celebrations, also with (revolving) explanations.
      Currently only available in German!
      The data is fetched from welcher-tag-ist-heute.org

      Screenshot

      0_1574340809923_screenshot.jpg

      [card:lavolp3/MMM-Celebrations]

      Thanks

      Thanks go out to Chris Erler for his beautiful compilation of celebrations and the detailed explanations!

      posted in Entertainment
      lavolp3L
      lavolp3
    • RE: Works with Node Serveronly but not npm start MM

      @bhepler Added code tags for better readability

      posted in Troubleshooting
      lavolp3L
      lavolp3
    • RE: My Bathroom Mirror

      @sil3ntstorm That should be MMM-OpenWeatherForecast
      https://github.com/jclarke0000/MMM-OpenWeatherForecast

      posted in Show your Mirror
      lavolp3L
      lavolp3
    • RE: Touch input examples for MM Module

      @jcleary05 For touch input, have a look at these:

      https://github.com/werthdavid/MMM-Bring

      https://github.com/lavolp3/MMM-Keyboard (not ready yet, but soon!)
      https://github.com/lavolp3/MMM-NavigationBar

      As you see I’m working extensively on a “touch MM” as a kitchen hub.

      Regarding a database, I can’t help you

      posted in Development
      lavolp3L
      lavolp3
    • RE: MMM-Celebrations [german only!]

      @KamiSchami sorry for the late reply, currently not here very often.

      Try putting following in your custom.css

      .MMM-Celebrations {
          text-align: center
      }
      
      posted in Entertainment
      lavolp3L
      lavolp3
    • 1 / 1