A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • Need help for a module who give advice because of the weather

    4
    0 Votes
    4 Posts
    635 Views
    mumblebajM
    @Xx_Codeur_xX You could have a look at some of the modules that already does this. They get the weather from the default weather module, no need to redo this as it is already available. See either of the below. https://github.com/fruestueck/MMM-WeatherDependentClothes or https://github.com/Lavve/MMM-WeatherOutfit/tree/main
  • How to Use NY Times Subscription with Default Newsfeed Module

    9
    0 Votes
    9 Posts
    2k Views
    J
    @karsten13 – Yes, that’s what I figured. The problem from the provider’s perspective would be how to both give access to legitimate subscribers while limiting access to others. The only solution that springs to mind would be to authenticate the user when they query the server, but for something like this where all the users’ computers might each be coming for content several times each day - it begins to be a lot of computing overhead.
  • SampleCode for Module to read a specific Information from a webpage

    19
    0 Votes
    19 Posts
    5k Views
    S
    @newbi ok.
  • Need Help with Receiving Notifications

    4
    0 Votes
    4 Posts
    844 Views
    S
    @raspberrypi9 did you get this working?
  • Trouble with Sending Notifcation on Module Start

    5
    0 Votes
    5 Posts
    1k Views
    S
    @raspberrypi9 my pleasure, And actually DOM_OBJECTS_CREATED means YOUR module’s content has been placed in the DOM the first time And DOM_OBJECTS_UPDATED is each time after that Because updateDom() is asynchronous now If you ever tried to document.getElementByID after getDom(), but it returned null. Then you needed to wait for one of those notifications
  • How to communicate with magic mirror from a second raspberry pi?

    5
    0 Votes
    5 Posts
    1k Views
    S
    @raspberrypi9 i deleted the duplicate topic
  • Attribution Tag for Default Compliments Model

    8
    0 Votes
    8 Posts
    2k Views
    S
    @raspberrypi9 did you figure this out?
  • Help Implementing Custom Feature w/Calendar

    5
    0 Votes
    5 Posts
    762 Views
    S
    @sdetweil did you make any progress?
  • Need help MMM-touch MMM-pages MMM-page indicator

    27
    0 Votes
    27 Posts
    9k Views
    T
    @68jeeper yes! Sorry for the delayed response, I didn’t receive any notifications that you tagged me in this post. My solution was to use (https://github.com/JanLoebel/mmm-touchgestures). Hammer.js seems to be the difference and why this one works. The documentation was challenging for me ti follow but I was able to get it working through trial and error. My config look like this for MMM-touchgestures { module: 'mmm-touchgestures', config: { gestures: { "swipe": { enabled: true, threshold: 50 } }, actions: { "swiperight" : function() { return "PAGE_INCREMENT"; }, "swipeleft" : function() { return "PAGE_DECREMENT"; }, "swipeup" : function() { console.log("Triggered swipeup"); }, "swipedown" : function() { console.log("Triggered swipedown"); }, }, } },
  • Syntax Style for node_helper.js

    6
    0 Votes
    6 Posts
    900 Views
    KristjanESPERANTOK
    for MagicMirror purposes, is there a preferred style to be used for modules? @kayakbabe I agree with Sam, but here’s a more detailed answer anyway: This depends on where you are. In some modules there are no rules for this - there and in your own modules it is, as Sam says, up to you. However, to avoid poor code style, such as spaghetti code and inconsistently formatted code, which not only make maintenance and further development more difficult, but also affect team collaboration, many projects use static code analysis tools such as prettier and ESLint for checking code quality. In the MagicMirror core (and with this in the default modules), we use the ESLint object-shorthand rule (see https://archive.eslint.org/docs/rules/object-shorthand) to ensure that only the shorthand version is used.
  • How to make compliments word wrap?

    3
    0 Votes
    3 Posts
    597 Views
    S
    @raspberrypi9 google is your friend [image: 1740971825398-img_0817.png]
  • 0 Votes
    6 Posts
    769 Views
    S
    @kayakbabe and on the architecture/design topic if you are doing the signage solution, then one would want one data fetch and broadcast to each client vs each client getting the data on their own some provider apikeys count data access requests (openweather) . so while you dont NEED a node_helper, sometimes you want it. but some of the existing modules dont really support that thought
  • MMM-cryptocurrency mods - help needed - noob status

    2
    1
    0 Votes
    2 Posts
    347 Views
    S
    @FuzzBeard that will be quite a challenge. the easiest, maybe is only process part of the returned list each time thru getDom() so you would have to start another interval timer on a cycle of data_interval(numcryptos/display size) then change the loop control in getDom wrapper.appendChild(tableHeader); for (i = 0; i < data.length; i++) { // - this line to process the appropriate part of the data list
  • Send Notifications from Linux/RPi Command Line

    8
    0 Votes
    8 Posts
    1k Views
    S
    @raspberrypi9 and curl can send a whole file of json, not just a short blob
  • MMM-pages - how to know which page index my module has?

    29
    0 Votes
    29 Posts
    8k Views
    M
    @sdetweil Thanks for your help with this, Much appreciated I’m now away from the mirror for the weekend. I’ll give it a shot when I return on Tuesday
  • Changing Visibility of Newsfeed Article

    2
    0 Votes
    2 Posts
    371 Views
    S
    @raspberrypi9 see the newsfeed.css , which you can override in custom.css
  • How Can I Display Live Qibla Direction on My MagicMirror Without Lag?

    8
    0 Votes
    8 Posts
    1k Views
    S
    @Munya-Pualani this site https://www.movable-type.co.uk/scripts/latlong.html#:~:text=const Bx = Math.cos(,km has the formulas for bearing and distance using two gps locations. drawing an arrow pointing on that bearing using web technologies is also well known
  • Dynamic change in the size and position of modules

    11
    0 Votes
    11 Posts
    4k Views
    T
    @lucifer6669 Hi, thanks for using the module. Could you share a few more details about what is still working and what isn’t ? (i.e. which module you can move, does it still save the CSS to your computer, what happens when you try to move other ones, when you save, do you see the pop up ? Can you clear the pop up before moving other Modules , try running with the config set like this: { module: "MMM-ModulePosition", position: "fullscreen_below", config: { showAlerts: false, }, }, If you have a github account then you can respond to the issue I raised here: https://github.com/TheBodger/MMM-ModulePosition/issues/6 Thanks and i will help sort this out for you
  • MMM-Scrapey - I made something that could be useful?

    14
    3 Votes
    14 Posts
    4k Views
    F
    @AndyHazz said in MMM-Scrapey - I made something that could be useful?: .MMM-Scrapey td { line-height: 1; } Just that, perfect Thank you.
  • MMM-RemoteControl - set BRIGHTNESS with Python

    4
    0 Votes
    4 Posts
    792 Views
    S
    @Phoenix as I said there is no ‘simple’ way. one would have to write code to do that