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-Openhab

    Scheduled Pinned Locked Moved Utilities
    58 Posts 18 Posters 33.3k Views 20 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
      cmachtel
      last edited by

      Hi, This is great and works as described. But could you help me changing the html/css to make the module smaller and to remove the white square and the red Home icon? I Would like to have only the 3 lines with onformations.
      Capture.PNG

      Thank you

      1 Reply Last reply Reply Quote 0
      • T Offline
        T-Moe
        last edited by

        Great plugin! Is there a way to get rid of the frame around the container?

        cowboysdudeC 1 Reply Last reply Reply Quote 0
        • cowboysdudeC Offline
          cowboysdude Module Developer @T-Moe
          last edited by

          @t-moe Why yes there is you can do 1 of 2 ways:

          First way:
          Add this to your custom.css

          .MMM-Openhab .ifr { 
          	border: 0;
          }
          

          OR
          In the modules directory where this module is open the css file and where you see this…

          .MMM-Openhab .ifr {
           	width: 400px;
          	height: 680px; 
          }
          

          Change it to this:

          .MMM-Openhab .ifr {
           	width: 400px;
          	height: 680px;
          	border: 0;
          }
          

          Should do it.

          1 Reply Last reply Reply Quote 0
          • F Offline
            falter
            last edited by

            Hi all,
            thanks for the module, it’s really a great addon for my MMs.
            Since OH4.2 the theming is to be configured via the sitemap itself. Since I cannot use the mouse in electron, how could I change the settings to black and small arrangement?
            Thanks in advance…

            F 1 Reply Last reply Reply Quote 1
            • C Offline
              clakkentt
              last edited by

              Hi

              Does anyone know how to change the font size in MMM-Openhab?

              I have tried modifying every CSS and HTML style file and nothing seems to make a difference.

              Thank you

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

                @clakkentt no, but see the link in my signature below for how to use the developers window to see and adjust css

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                C 1 Reply Last reply Reply Quote 0
                • C Offline
                  clakkentt @sdetweil
                  last edited by

                  @sdetweil Thank you for the guide. The properties of the elements I want to change seem to come from a material design style sheet .scss from the website hosting the webpage that is displayed in MagicMirror . Way above my level.
                  I’ll have to live with the current font size

                  Thanks again

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

                    @clakkentt yeh, if the page is presented in an iframe, you can’t fiddle with its styles anyhow…

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      falter @falter
                      last edited by

                      said in MMM-Openhab:

                      Hi all,
                      thanks for the module, it’s really a great addon for my MMs.
                      Since OH4.2 the theming is to be configured via the sitemap itself. Since I cannot use the mouse in electron, how could I change the settings to black and small arrangement?
                      Thanks in advance…
                      I figured out that you indeed can use the mouse. Just add the code in custom.css, restart and apply with connected mouse, remove the code, restart, done :)

                      html {   
                             cursor: unset;
                      }
                      
                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 6 / 6
                      • 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