MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    UNSOLVED Adding a new line on Current Weather module (the default one)

    Troubleshooting
    2
    2
    101
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bboromatt last edited by

      For the module “Weather” that is the default module, i was wondering in the files, where i can add a new line below feels like?

      I play pickleball alot, and if anyone plays it, knows that the weather has a huge impact, including wind speeds. I was looking to add a new line and add a new function to say if windspeed > 10 show “Dont Play” else Play…also i would need to figure out adding Rain into the mix but that is down the line.

      If this can be done for Current weather and also for hourly, that would be greatly appeciated

      S 1 Reply Last reply Reply Quote 0
      • S
        sdetweil @bboromatt last edited by

        @bboromatt the new weather module uses the njk templating engine. see the njk files.

        this takes data from a data structure and lays it out according to the template.

        Sam

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy