• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

[A Fix] The "Feels" Weather Condition in Metric is calculated improperly

Scheduled Pinned Locked Moved Bug Hunt
4 Posts 3 Posters 1.5k Views 2 Watching
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.
  • C Offline
    chef
    last edited by chef Jun 30, 2018, 5:57 PM Jun 30, 2018, 5:18 PM

    Yeah, metric “Feels” value returns Imperial data.

    TO fix this open “currentWeather.js” and change:

    switch (this.config.units){
    			case "metric": this.feelsLike = (Hindex / 2.2).toFixed(0);
    				break;
    

    You have to divide by 2.2 in order to return approximate metric values.
    The value doesn’t have to be perfect because it has a fixed decimal place of zero.

    Now in Canada it “Feels 40” degress instead of 80, which is correct!

    Thanks @MichMich, I’d do a pull request but I suck at pull requests LOL.

    You’re the man!

    1 Reply Last reply Reply Quote 0
    • C Offline
      chef
      last edited by Jun 30, 2018, 5:55 PM

      Wanted to bump this, sorry.

      S 1 Reply Last reply Jun 30, 2018, 7:46 PM Reply Quote 0
      • S Offline
        strawberry 3.141 Project Sponsor Module Developer @chef
        last edited by Jun 30, 2018, 7:46 PM

        @chef you might want to try the develop branch or wait for the next release, which should be tomorrow :D there were multiple feels like temperture fixes in pull requests

        Please create a github issue if you need help, so I can keep track

        1 Reply Last reply Reply Quote 0
        • M Offline
          MichMich Admin
          last edited by Jul 1, 2018, 7:04 PM

          I just released a new master release. So this should be fixed. :)

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            2/4
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy