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

How to display both Celsius and Fahrenheit

Scheduled Pinned Locked Moved Unsolved Troubleshooting
4 Posts 2 Posters 265 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.
  • D Offline
    digimunky
    last edited by Mar 15, 2025, 9:53 PM

    Hi community,

    New to playing with Magic Mirror platform and first Raspberry pi project.

    As the header eludes I am trying to figure out whether it is possible to display both Celsius and Fahrenheit together, the ideal would be to display 10°C / 50°F (In case wondering why the need for both, the context is that I am British and my partner is American). I am familiar with how to set metric or imperial both globally and per module, and would rather not duplicate modules for the sake of having both standards.

    So far, searching on this forum and others only finds posts seeking to solve issues where imperial is displayed instead of metric and vice versa. I had wondered whether there was a js solution, but I’m not familiar with the language so would need to read up on it.

    Not sure whether a config file is useful, but can share if needed. Currently using openweathermap as weather provider, and have been able to display Celsius or Fahrenheit but not both together. Any help or pointers to a solution welcome.

    S 1 Reply Last reply Mar 15, 2025, 10:18 PM Reply Quote 0
    • S Offline
      sdetweil @digimunky
      last edited by Mar 15, 2025, 10:18 PM

      @digimunky but two instances can display both

      the modules are designed for single temp range at a time

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • D Offline
        digimunky
        last edited by Apr 14, 2025, 5:43 PM

        @sdetweil Thank you Sam, I was getting the impression that each module could only handle one unit type, but appreciated the confirmation.

        By way of an update, I did explore your suggestion of a second instance, there are a few posts describing how to duplicate the default modules. I did pause this aspect of the project to work on other aspects until I worked out how to implement it (the thought of near exact duplicate modules at once was ghastly, and the idea of stripping the second to just imperial and merging it somehow with metric was headache inducing).

        I came back to this after finding MMM-Pages and it cycled quite nicely every 15 seconds between the metric and imperial display. Happy partner, happy me.

        Well, that was until I installed the MMM-GoogleTasks module which broke MMM-Pages. But, your input on the MMM-GoogleTasks not compatible with MMM-pages, MMM-Carousel, or MMM-ModuleScheduler thread solved that!

        Anyway, thank you. Much appreciated on both counts.

        S 1 Reply Last reply Apr 14, 2025, 6:46 PM Reply Quote 0
        • S Offline
          sdetweil @digimunky
          last edited by sdetweil Apr 18, 2025, 9:54 PM Apr 14, 2025, 6:46 PM

          @digimunky awesome, i don’t think you had to make a duplicate copy, just set the language in config.js on each instance

          all of the default modules support multi instance

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          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 Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy