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 40.0k 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.
    • G Offline
      georgeashton02
      last edited by lavolp3

      @sdetweil Thanks i was being dumb, however i do have another problem any ideas why this is throwing errors at me?

      sitemap MMM label="MMM-Openhab"
      {
      	        // Set for MMM-Openhab
      	Webview url="/static/MMM-View.html"
      }
      
      Frame label="TV"
      {
          Switch item= BedroomTVPower
          Switch item= BedroomPauseTv
      }
      
      Frame label="Lights" 
      {
          Colorpicker item= My_Room_Light_Colour
          Switch item= My_Room_Lights
      }
      

      This was all working before i added the code that i was told to add by the MMM-openhab github page…

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

        @georgeashton02 where are those? In config?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • G Offline
          georgeashton02
          last edited by

          @sdetweil Yes, That code if from my openhab .sitemap file

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

            @georgeashton02 ok, i dont know what that means

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • G Offline
              georgeashton02
              last edited by georgeashton02

              @tbbear when i add that line my code throws errors back at me? The code worked before regardless of what the name is…
              Screenshot 2020-06-01 at 18.25.20.png

              Any suggestions thanks

              tbbearT 1 Reply Last reply Reply Quote 0
              • tbbearT Offline
                tbbear Module Developer @georgeashton02
                last edited by

                @georgeashton02 As u can see the error is already marked… The name of your sitemap is MMM.sitemap so name it as MMM not ourhome

                Robert the Bear

                G 1 Reply Last reply Reply Quote 0
                • G Offline
                  georgeashton02 @tbbear
                  last edited by georgeashton02

                  @tbbear No I understand this, as i said the name even when changed doesnt make a difference for some reason
                  Screenshot 2020-06-01 at 20.07.30.png

                  tbbearT 1 Reply Last reply Reply Quote 0
                  • tbbearT Offline
                    tbbear Module Developer @georgeashton02
                    last edited by

                    @georgeashton02 I dont know why your check tthows an error cause i typed your sitemap and i could run it without any problems in openhab2.5

                    Robert the Bear

                    1 Reply Last reply Reply Quote 0
                    • G Offline
                      georgeashton02
                      last edited by

                      @tbbear That is very odd… what would you suggest i do?

                      tbbearT 1 Reply Last reply Reply Quote 0
                      • tbbearT Offline
                        tbbear Module Developer @georgeashton02
                        last edited by

                        @georgeashton02 use it!

                        Robert the Bear

                        M 1 Reply Last reply Reply Quote 0
                        • G Offline
                          georgeashton02
                          last edited by

                          @tbbear I used this sitemap, put the url for my sitemap in the config script and put that config script into the magic mirror config file. What other steps do i need to complete. Im sorry very confused my bad… Thanks

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            Mrtrol2013 @tbbear
                            last edited by

                            @tbbear Please tell me if I can use notifications to update my sitemaps in this module?

                            tbbearT 1 Reply Last reply Reply Quote 0
                            • tbbearT Offline
                              tbbear Module Developer @Mrtrol2013
                              last edited by

                              @Mrtrol2013 No, the update is done by Openhab

                              Robert the Bear

                              1 Reply Last reply Reply Quote 0
                              • 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

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 3 / 3
                                            • 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