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 34.2k 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.
    • O Offline
      Orakel
      last edited by Orakel

      after updating my openhab server your module works !!! i am so happy that it works.
      but there is still one little problem, when i am using your MMM-View.html and your MMM-Style.css.
      when i open my sitemap in the paperui it looks like it should. with one word awesome.
      but in my magicmirror its still white.
      but when i am using the mystyle.css and DarkTheme.html it works in the MagicMirror too.
      i dont know how to insert the code … but i found them in an openhab forum.

      1 Reply Last reply Reply Quote 0
      • L Offline
        LordMM
        last edited by

        Hello,
        i tried this module today.

        Where is the example sitemap file after installing the module ?

        Regards

        Jürgen

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

          @LordMM Hi Jürgen, looks like you speak german. Also das Beispiel ist in der readme mehr ist nicht nötig. Gruß Robert

          Robert the Bear

          1 Reply Last reply Reply Quote 0
          • J Offline
            johntech
            last edited by

            I am running OH2 and just ran across your article about interfacing OH2 with MagicMirror. First of all thank you for this program. I’m just starting to use Magic Mirror.
            Questions:
            I have installed your code into Magic Mirror.
            I have added your code to the MM config.js file
            I have added the 2 files to my OH2 html directory.
            Where I ran into trouble is in adding the code to my sitemap file.
            You indicate that this added to the beginning of that code:

            sitemap MMM label="MMM-Openhab"
            {
            	        // Set for MMM-Openhab
            	Webview url="/static/MMM-View.html"
            	...
            }
            

            DO I replace my original code :

            sitemap ourhome label="Our Home" { 
            
                Frame label="Today" {
                    Text item=Date icon="calendar"
                    Text item=Time  icon="time"
                
                }
            

            with your above code? If I do this then my OH2 will not start. Am I missing something? Thank you for any information!
            John

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

              @johntech Nooo only insert this line

              sitemap ourhome label="Our Home" { 
                   Webview url="/static/MMM-View.html"
              
                  Frame label="Today" {
                      Text item=Date icon="calendar"
                      Text item=Time  icon="time"
                  
                  }
              

              Robert the Bear

              J G 2 Replies Last reply Reply Quote 0
              • Z Offline
                Zacki84
                last edited by

                HI,
                your module works perfect.
                I changed the css file a litte bit, but it didn´t refresh in MM.
                When I open the browser I cleard cache and see the new version. Do you know how to clear cache for this Module/MM?
                THX

                1 Reply Last reply Reply Quote 0
                • J Offline
                  johntech @tbbear
                  last edited by

                  @tbbear

                  Thank you for the reply! I have added the line as instructed in your reply. I also had to move the css file into the css directory in the html directory. Looking at the openHAB Basic UI on the screen the colors changed to black as set .

                  In this screen, are you supposed to see the button layout as you displayed at the beginning of this article? There is the icon at the top of the screen showing that looks like something is missing.

                  On the Magic Mirror screen, the only thing I see is a rectangle white bordered box on the screen.
                  I seem to still be missing something.
                  John

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

                    @johntech Webview url=“/static/MMM-View.html” icon=none

                    Robert the Bear

                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      johntech @tbbear
                      last edited by

                      @tbbear Ok that got rid of the icon on the openHAB web interface but I still get nothing on the Magic Mirror screen but the rectangular screen with a white border.

                      What creates the buttons and labels on the Magic Mirror screen?

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

                        @johntech Please check again if u did all steps from my readme. looks like u have no fitting sitemap.

                        Robert the Bear

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 3 / 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