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

    Posts

    Recent Best Controversial
    • RE: MMM-ModuleScheduler - Module Schedules and Notifications

      @dr4ke616 hide module will call the hide method of the module

      quote from the readme When a module is hidden (using the module.hide() method), the suspend() method will be called. By subclassing this method you can perform tasks like halting the update timers. so you can do the specific behaviour you want in there

      for show module it’s the resume method

      posted in System
      strawberry 3.141S
      strawberry 3.141
    • RE: PIR sensor behind glass?

      it will not work behind glass but @alexyak wrote a module for webcams or pi cams to detect motion, which can be hidden behind glass https://forum.magicmirror.builders/topic/490/motion-detector

      posted in Hardware
      strawberry 3.141S
      strawberry 3.141
    • RE: Old Modules from MM1 transfer to MM2

      it’s a physical button because you can define which pin it’s connected to on gpio in your module config :)

      this one is just a virtual button https://github.com/masters1222/mm-hide-all

      it is definitely possible to adopt those modules but it’s probably less effort to rewrite them from scratch

      posted in Development
      strawberry 3.141S
      strawberry 3.141
    • RE: modifying css to only one instance of a module

      @N3RD every module has a wrapper with an id. This is is the module identifier e.g. module_1_clock. There is no need to modify files. You can then target specifically that instance in CSS.

      #module_1_clock {
          margin: 20px;
      }
      

      you can find out the identifier in the DOM.

      posted in Custom CSS
      strawberry 3.141S
      strawberry 3.141
    • RE: custom.css

      @ianperrin maybe i was quicker, but I learned it out of your contribution to my module ;)

      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: MMM-ip

      [card:fewieden/MMM-ip]

      Changelog:

      Implemented voice commands to show ip and mac adress, so it can be hidden by default

      alt text

      posted in System
      strawberry 3.141S
      strawberry 3.141
    • RE: Do you use a Power Switch for your MM?

      I ordered this one for a safe shutdow for another project http://mausberrycircuits.com/collections/frontpage/products/shutdown-circuit-use-your-own-switch

      posted in Hardware
      strawberry 3.141S
      strawberry 3.141
    • RE: Parse HTML String

      I think it’s weird that this works, because your looking for attribute class = data_1 but it’s an id

      the css selector for an id is #, and when you put p behind it will look for paragraphs in the element with the id data_1

      when you replace

      $('div[class=data_1]').find('p').each(function (index, element) {
      	data_array.push($(element).text());
      });
      

      with

      data_array.push($('#data_1 p').text());
      

      does it still work? Not sure if it will return the element if just one occurance is found or will return an array anyways

      posted in Development
      strawberry 3.141S
      strawberry 3.141
    • RE: MMM-Soccer - Standings, Schedules and Top Scorers

      this is how the module looks like for the german league

      0_1466075701079_soccer standings

      posted in Sport
      strawberry 3.141S
      strawberry 3.141
    • RE: Failed at the magicmirror@2.0.0 start script 'electron js/electron.js'.

      that must be a pretty old turorial when your running node on version 4

      i would recommend to take this tutorial https://forum.magicmirror.builders/topic/236/complete-setup-tutorial

      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • 1
    • 2
    • 13
    • 14
    • 15
    • 16
    • 17
    • 53
    • 54
    • 15 / 54