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-Fuel

      [card:fewieden/MMM-Fuel]

      Changelog:

      Implemented voice commands to show the gas stations on a map with traffic layer

      alt text

      posted in Transport
      strawberry 3.141S
      strawberry 3.141
    • RE: How do you turn Off/On the monitor if not in use - Be Green

      @mpires with voice control

      posted in General Discussion
      strawberry 3.141S
      strawberry 3.141
    • RE: wrapper.innerHTML

      @adadws in the start function your module is not rendered yet. so it doesnt exist, if your trying for module specific stuff, but it would exist for elements like the body

      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: I cant seem to insall 3rd party modules correctly, what am i doing wrong?

      @jiggly the picture of your file tree shows that your module folder is called MMM-Coinmarketcap instead of MMM-CoinMarketCap. You should change that otherwise magicmirror can’t find the module

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

      i will check it this afternoon

      posted in Transport
      strawberry 3.141S
      strawberry 3.141
    • RE: Magic Mirror minus the mirror

      @cyberphox coloricon: true

      posted in General Discussion
      strawberry 3.141S
      strawberry 3.141
    • RE: Is node_helper really required?

      @E3V3A that is not true.

      A node helper is not required for a module, but if a module has a nodehelper this statement required, because it imports this file into your node helper https://github.com/MichMich/MagicMirror/blob/master/modules/node_modules/node_helper/index.js

      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: .txt file include

      @saschasp you can change your regular expressions to the following:
      /Meldung (.*)/ig;, /Zone (.*)/ig; and /Zeit (.*)/ig;. This should help you displaying the data. For the problem with the newest file you need to do the following steps: Scan the directory, sort file list by highest number, read the first file.

      Scan the directory https://nodejs.org/api/fs.html#fs_fs_readdir_path_options_callback

      Sort the file names https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort

      Read the file https://nodejs.org/api/fs.html#fs_fs_readfile_path_options_callback

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

      @Dom1n1c

      • null @jets is propably that they inserted the house number in the street name and the house number value returns null
      • for the street names i would split at the space character and then for each array item charAt(0).toUpperCase() and the rest of the string lowercase and finally join them together
      posted in Transport
      strawberry 3.141S
      strawberry 3.141
    • RE: try to find module

      @Fonfon

      calendars: [
        {
          symbol: 'calendar-check-o',
          url: 'first adress ical'
        },
        {
          symbol: 'calendar-check-o',
          url: 'second adress ical'
        }
      ]
      
      posted in General Discussion
      strawberry 3.141S
      strawberry 3.141
    • RE: can someone help pleas with my config/config.js

      @jiyar you have two issues, both are in the section of the module prayer time:

      1. after apiVersion there is a comma missing before your comment
        apiVersion: '1.0', // please, leave unchanged. reserved for future use.
      2. There are two brackets too much (} ]), it should be:
          alertTimer: 15000
        }
      },
      
      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: Shell scripts through mirror

      @trmst the way I’m calling the turn off monitor cmd in my voice module you can execute your shell script.

      https://github.com/fewieden/MMM-voice/blob/master/node_helper.js#L348

      official documentation https://nodejs.org/dist/latest-v8.x/docs/api/child_process.html#child_process_child_process_exec_command_options_callback

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

      Two new config options to limit size of the station and destination name

      [card:fewieden/MMM-WienerLinien]

      posted in Transport
      strawberry 3.141S
      strawberry 3.141
    • RE: Nodemailer, kind of related to MM

      @Mykle1 https://github.com/alexyak/camera#setup

      npm install in your module directory ~/MagicMirror/modules/camera

      posted in General Discussion
      strawberry 3.141S
      strawberry 3.141
    • RE: Separate Date from Time?

      @KairosZenith defaultmodules are also listed in this file https://github.com/MichMich/MagicMirror/blob/master/modules/default/defaultmodules.js, but i wouldn’t add your new one here, as it will give you problms in the future on updates, especially as there is ongoing work on a new default module.

      You rather take your dateclock out of the default directory and place it in the directory where all the 3rd party modules are.

      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: Need help in Javascript for resetting module if user no longer interacts after x seconds.

      @sean or

      this.resetTimeout = setTimeout(function(){
       ...
        this.sendNotification("PAGE_CHANGED", 0); 
        this.updateDom();
        ...
      }.bind(this));
      
      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: MMM-TPG

      @Maxzovirax Sounds like your module is not installed in ~/MagicMirror/modules/MMM-tpg. Did you probably installed it in ~/MagicMirror/modules/default/MMM-tpg?

      posted in Transport
      strawberry 3.141S
      strawberry 3.141
    • RE: How to resize Icon and Change Day language in WunderGround

      @wizz Ok I digged a little bit deeper than last time. As it points out the config option in MMM-Wunderground has an usage in the node_helper I didn’t check before. The problem is that Wunderground uses for some languages some uncommon language codes

      {
        module: "MMM-WunderGround",
        position: "top_left",
        config: {
          lang: "sw"
        }
      }
      

      the full list can be found here https://www.wunderground.com/weather/api/d/docs?d=language-support

      posted in General Discussion
      strawberry 3.141S
      strawberry 3.141
    • RE: default newsfeed and prohibitedWords

      @twosquirrels it has to be an array, see the documentation

      {
                      module: "newsfeed",
                      position: "bottom_bar",
                      config: {
                              prohibitedWords: ['trump'],
                              feeds: [
                                      {
                                              title: "New York Times",
                                              url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml",
                                      },
                                      {
                                              title: "The Verge",
                                              url: "https://www.theverge.com/rss/index.xml",
                                      },
                              ],
                      }
              },
      
      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: question about MMM-MarineWeather module

      @r3d6 you have two options.

      Either you change it globally for your mirror here (recommended, because it also controls the units for other modules):

      c9dfec93-e69b-4e47-a281-41c6d9bcc8b7-image.png

      Or only for this module specifically:

      fb2c2ee1-9674-40e8-91d9-0821b82e99c0-image.png

      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • 1
    • 2
    • 23
    • 24
    • 25
    • 26
    • 27
    • 25 / 27