A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Subcategories

  • Start without internet connection and restart with, make modul work?

    13
    0 Votes
    13 Posts
    3k Views
    R

    Werde ich gleich morgen Nachmittag testen, das wäre ja der große Knaller.
    Danke fürs recherchieren.
    Ich werde auf jedenfall Rückmelden.

    Will I test the same tomorrow afternoon, that would be the big bang.
    Thanks for researching.
    I will definitely confirm.

  • newsfeed error at every launch time pubdate undefined

    2
    0 Votes
    2 Posts
    883 Views
    bheplerB

    First, please use the Markdown features of the board when posting code & error messages.

    Second, the error seems to state that the RSS items in that newsfeed can’t be parsed by the module. The links seem to work just fine, so I suspect that the newsfeed uses some more advanced techniques that aren’t implemented by the Newsreader module.

    I would recommend switching to another news feed just to test the functionality. If the Newsfeed module works with a different source, then the problem is likely confined to that source.

  • Clean installation... fails left and right

    17
    0 Votes
    17 Posts
    5k Views
    S

    @devinhedge said in Clean installation... fails left and right:

    Install Node.js from source

    The Nodesource install scripts will save you some time/steps:

    curl -sL https://deb.nodesource.com/setup_10.x | bash - apt-get install -y nodejs

    It looks like everything installed correctly. As has been said before:

    @michmich said in Clean installation... fails left and right:

    As others have said, most of your problems are because you use Raspbian Lite.

    The electron-quick-start app tries to install electron v4.0, which as I said above, does not work on the latest version of Raspbian–you need to use v3.0.13 (npm i electron@3.0.13).

    Also, are you trying to run electron from the Pi’s desktop or SSH? If you’re running it from SSH you need to run it with DISPLAY=:0 npm start

  • Module not showing up anymore!!

    2
    0 Votes
    2 Posts
    802 Views
    idoodlerI

    @sam You have 23 errors, please show them to us.
    Just apply the error filter by clicking on the “Default levels” dropdown and deselect “Info”.

  • 24 Hour clock problem

    25
    0 Votes
    25 Posts
    6k Views
    Mykle1M

    @rasmus-rytter said in 24 Hour clock problem:

    Thanks, i learn some new everyday

    As do I, my friend. As do I. :thumbsup:

  • Please create a config file problem

    4
    0 Votes
    4 Posts
    1k Views
    R

    i found out thanks

  • unable to get noble package running

    6
    0 Votes
    6 Posts
    4k Views
    K

    @SvenSommer this solution worked for ur project?
    Having the same problem to run noble via ssh.

    for me the command : sudo setcap cap_net_raw+eip $(eval readlink -f which node) , seems to do nothing.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    27 Views
  • Adding new modules leads to irreversible error

    13
    0 Votes
    13 Posts
    7k Views
    J

    Top Google results ftw :)
    Your suggestion would have been helpful to know though. Thanks for the info!

  • NPM security warnings on fresh install

    9
    0 Votes
    9 Posts
    2k Views
    A

    Ok, works after installing desktop environment :D o_O
    Thank you!

  • how to add button in the screen?

    2
    0 Votes
    2 Posts
    1k Views
    A

    what exactly do you mean? How should the buttons be “pressed”? Touchscreen? Mouse?
    What do you want to do with the buttons?

  • Issue displaying images in alerts

    Unsolved
    9
    0 Votes
    9 Posts
    3k Views
    strawberry 3.141S

    @tagriel the url would be https://github.com/fewieden/MMM-soccer

    but the only thing you need is a module let’s call it imageserver, which is only responsible as an image host.

    directory structure:

    MagicMirror - modules - imageserver - public - kids.png - imageserver.js - node_helper.js

    imageserver.js

    Module.register("imageserver", {});

    node_helper.js

    const NodeHelper = require('node_helper'); module.exports = NodeHelper.create({});

    config.js

    { module: "imageserver" },

    command

    MM.getModules()[0].notificationReceived("SHOW_ALERT", {title: 'My Title', message: 'Some Text', imageUrl: '/imageserver/kids.png'}, {name: 'test'});

    0_1540843796205_93d389de-7eb6-4713-bab0-630e13884ac2-grafik.png

  • MMM-Hover module Error

    1
    0 Votes
    1 Posts
    1k Views
    R

    I have tried to run the MMM-Hover module with the mirror, but it’s giving an error which seems odd.

    ERROR! Could not validate main module js file.
    /home/pi/MagicMirror/modules/MMM-Hover/MMM-Hover.js:
    i2cBus: 0,
    ^^^^^^

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
  • update

    3
    0 Votes
    3 Posts
    934 Views
    F

    @justjim1220

    thanks …reboot …jajajjajaajja

    thanks

  • This topic is deleted!

    2
    0 Votes
    2 Posts
    7 Views
  • I can't upload pictures in a forum post

    3
    0 Votes
    3 Posts
    1k Views
    qu1queQ

    thanks @Mykle1, I will try it.

  • 0 Votes
    1 Posts
    769 Views
    P

    It’s always bugged me that instead of the actual title of a news item being displayed by the default newsfeed module, every item is preceded by the text in the ‘title’ field of the feed’s config in the newsfeed module’s section of the config.js file.

    To try and explain that, the feeds section of my config.js file is:

    config: { feeds: [ { title: "BBC UK", url: "http://feeds.bbci.co.uk/news/uk/rss.xml" }, { title: "BBC World", url: "http://feeds.bbci.co.uk/news/world/rss.xml", }, ], showSourceTitle: true, showPublishDate: false, showDescription: true }

    And the ‘Title’ shown on the mirror for every news item that comes from “http://feeds.bbci.co.uk/news/uk/rss.xml” is “BBC UK”, instead of the actual title of the item.

    I looked in the newsfeed.js file and there’s a line that says:

    if (this.config.showSourceTitle && this.newsItems[this.activeItem].sourceTitle !== '') sourceAndTimestamp.innerHTML = this.newsItems[this.activeItem].sourceTitle

    I then loaded the feed in Chrome & had a look at the xml source.
    In there the name of the title ‘field’ is “title”.
    I went to that line in the newsfeed.js file, changed .sourceTitle to title, rebooted the mirror and, yes!
    Each item in the feed has its proper title.

    So, my question is - Is this an issue specific to the BBC newsfeeds, or is it a more general ‘bug’ in the newsfeed module please?

  • Viewing Mirror from Browser

    7
    0 Votes
    7 Posts
    5k Views
    bheplerB

    @zimmerjo1 - Glad to hear it! Which part worked? The 127.0.0.1 address or the IP of your Pi?

  • MMM Remote & MMM-Admin-Interface Error: ipwhitelist error: Access Denied Error

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    N

    It doesn’t look like you have any IPs specifically whitelisted… you have to change your line:

    //ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, 192.168.2.1, ::ffff:192.168.2.15"], // Set [] to allow all IP addresses

    To something like this:

    ipWhitelist: [“127.0.0.1”, “192.168.2.15"], // Set [] to allow all IP addresses

    So basically uncomment the line and make sure to add your IP. You may want to just whitelist the entire subnet, to do that you would add "192.168.2.0/24"