MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED Weather module shows past data

    Troubleshooting
    2
    2
    303
    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.
    • N
      n21brown last edited by

      Setup: Ras Pi. Standard install with no changes to default config.js file other than location and API key

      What happens: Device has just been started. Current date and time Thurs 26/09/2019 19.30 BST.
      Weather module shows forecast for the next seven days starting with Thursday (to next Wednesday)

      Despite the module refreshing data from openweather, the line for Thursday will remain until at least 6:00 BST despite the date being Friday.

      Expected: At some point the during the day, the data for the current day (ie Thursday) should be hidden meaning the next day is shown.

      In other words, the weather module needs to check if the first item returned from openweather and if its before the current date, or the current date and there are less than 8hrs remaining, the first element should be discarded.

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

        @n21brown you should open an issue on github for this, so it can be tracked and if anyone wants to contribute a solution for it

        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