• 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.

MMM-OneCallWeather - Wind in Meter pr second??

Scheduled Pinned Locked Moved Utilities
3 Posts 3 Posters 119 Views 3 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.
  • M Offline
    MadsF
    last edited by sdetweil 20 days ago 20 days ago

    Hi

    Is it in anyway possible to get Meter pr second istead of miles pr hour for the wind speed?
    I lave everything else with this module. But it’s so annoying not to have wind in my “normal”

            {
                module: "MMM-OneCallWeather",
                position: "top_right",
                header: "xxxxxx, // OPDATERET HEADER
                config: {
                    latitude: "xxxxxx", // OPDATERET LATITUDE
                    longitude: "xxxxx", // OPDATERET LONGITUDE
                    apikey: "xxxxxxx",
                    iconset: "4a",
                    iconsetFormat: "png",
                    units: "metric", // Styrer at vindhastighed er i m/s
                    fade: false,
                }
            },
    
    
    S 1 Reply Last reply 20 days ago Reply Quote 0
    • S Away
      sdetweil @MadsF
      last edited by 20 days ago

      @MadsF for the future when posting config or log info, please use the code block

      paste the info into the message editor
      blank line above and below

      select the text just pasted
      hit the </> button to insert the code block markdown

      i have corrected your pist above

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • S Offline
        schlomm
        last edited by schlomm 20 days ago 20 days ago

        It’s not documented in Github README, but you find the needed config in the implementation here

        So…try the following and add the windUnits property.

        {
                    module: "MMM-OneCallWeather",
                    position: "top_right",
                    header: "xxxxxx, // OPDATERET HEADER
                    config: {
                        latitude: "xxxxxx", // OPDATERET LATITUDE
                        longitude: "xxxxx", // OPDATERET LONGITUDE
                        apikey: "xxxxxxx",
                        iconset: "4a",
                        iconsetFormat: "png",
                        units: "metric", // Styrer at vindhastighed er i m/s
                        fade: false,
                        windUnits: "ms" //ADD THIS PROPERTY
                    }
                }
        
        1 Reply Last reply Reply Quote 1
        • 1 / 1
        1 / 1
        • First post
          3/3
          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