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.

    Home Assistant Module

    Scheduled Pinned Locked Moved Requests
    22 Posts 12 Posters 24.6k Views 18 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.
    • tidus5T Offline
      tidus5
      last edited by

      ohhhh yes!!!

      1 Reply Last reply Reply Quote 0
      • O Offline
        onetwankyfive
        last edited by

        this could be really amazing

        1 Reply Last reply Reply Quote 0
        • R Offline
          robmarkcole
          last edited by

          Has anyone tried displaying the home-assistant front end in a browser window on the mirror?

          1 Reply Last reply Reply Quote 0
          • R Offline
            robmarkcole
            last edited by

            OK using the iFrame module (https://github.com/desertblade/iFrame) I got mirror to show the home-assistant demo page, so a little more work required to get something usable but a start.
            Cheers

            0_1483010955909_upload-65ef9cee-6e82-4886-b9ae-6fdf368131b0
            0_1483010883541_upload-ced3de75-80dd-48d9-9353-c590e3347bca

            cowboysdudeC 1 Reply Last reply Reply Quote 1
            • cowboysdudeC Offline
              cowboysdude Module Developer @robmarkcole
              last edited by

              @robmarkcole said in Home Assistant Module:

              OK using the iFrame module (https://github.com/desertblade/iFrame) I got mirror to show the home-assistant demo page, so a little more work required to get something usable but a start.
              Cheers

              0_1483010955909_upload-65ef9cee-6e82-4886-b9ae-6fdf368131b0
              0_1483010883541_upload-ced3de75-80dd-48d9-9353-c590e3347bca

              I am not a programmer either but am very interested in this…

              1 Reply Last reply Reply Quote 0
              • R Offline
                robmarkcole
                last edited by

                Hi Cowboy, this post suggests a way forward https://home-assistant.io/blog/2016/04/07/static-website/ I think rather than display the whole HA panel on the mirror, I would display just some key info, such as who is home, house temperature etc. The novel part of the project is then to use Alexa to display information in the centre panel of the mirror, and have that panel dynamically update. It would show the alexa feed (in my case at http://alexa.amazon.co.uk/spa/index.html#cards) but I would add extra functionality to Alexa by integrating with Home-assistant. E.g. if the door-bell rang, I could ask Alexa ‘whos at the door’, and a feed to the front door camera would show in the panel. Any thoughts on this approach?

                1 Reply Last reply Reply Quote 3
                • cowboysdudeC Offline
                  cowboysdude Module Developer
                  last edited by

                  Well this is where most of these are heading… I like the idea!! NOT to mention that I’m waiting on parts to build a 32" mirror as a control center for my house…

                  Temps
                  Thermostat
                  door locks

                  etc…

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

                    Hi,

                    take a look @:
                    https://github.com/tkoeberl/MMM-homeassistant-sensors

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      danielgr
                      last edited by

                      @tkoeberl Hi, looks awesome. Cant get mine to work though.
                      Did git clone https://github.com/tkoeberl/MMM-homeassistant-sensors.git in the modules folder. I can see a folder called MMM-homeassistant-sensors in the modules folder.

                      The config looks like this

                      {
                        module: 'MMM-homeassistant-feed',
                        position: 'top_left',
                        config: {
                          url: 'http://URL:8123/api/states?api_password=mypassword',
                          title: 'HA',
                          prettyName: 'true',
                          stripName: 'true',
                          values: ["sensor.olkyl_temperature"]
                        }
                      },
                      

                      And it’s nothing there. Like the module is not there at all.

                      If i change

                          module: 'MMM-homeassistant-feed',
                      

                      to

                          module: 'MMM-homeassistant-sensors',
                      

                      I loads and i just get “Error fetching stats”.

                      Any idea what i might have done wrong?

                      T 1 Reply Last reply Reply Quote 0
                      • T Offline
                        tkoeberl @danielgr
                        last edited by

                        @danielgr sorry, the first one was a mistake by me. Updated the readme accordingly.

                        About the “Error fetching stats”:
                        Just set a password for my API an it works like a charm. You have some special chars in your password?
                        If you point your browser to the url you can find the string?

                         "entity_id": "sensor.olkyl_temperature"
                        
                        D 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 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