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-HomeAssistant-Sensors (Development) - Show your HA Sensors on your Mirror

    Scheduled Pinned Locked Moved Utilities
    66 Posts 19 Posters 50.0k Views 21 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.
    • SnilleS Offline
      Snille Module Developer
      last edited by

      I could not find a “good enough” Home Assistant Module for the Mirror, so I forked and developed a bit on the one I thought worked the best.

      Description:

      Adds the defined Home Assistant Sensors to your Magic Mirror.

      Screenshots:

      Simplest possible:
      simple
      Different pictures depending on values from the sensors (with some modified CSS):
      simple+css
      Different icons depending on values from the sensors:
      simple+icons

      And here is my personal advanced “look”… :)
      Advanced

      Download:

      [card:Snille/MMM-homeassistant-sensors]

      If you cant find it, make it and share it!
      Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

      S F 2 Replies Last reply Reply Quote 5
      • S Do not disturb
        sdetweil @Snille
        last edited by

        @Snille very nice!

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        SnilleS 1 Reply Last reply Reply Quote 0
        • SnilleS Offline
          Snille Module Developer @sdetweil
          last edited by

          @sdetweil Thanks! :)

          If you cant find it, make it and share it!
          Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

          1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil
            last edited by

            @iorifly see this module

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 1
            • R Offline
              RdP
              last edited by

              I get an error:

              Schermafbeelding 2020-06-27 om 15.41.28.png

              My config is like this:

              {
              	module: 'MMM-homeassistant-sensors',
              	position: 'top_left',
              	config: {
              		host: "192.168.0.185",
              		port: "8123",
              		https: false,
              		token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpiJmMmVQ4ODM0NzViYmQ4NzdlZTdlYmsImlhdCI6MTU5MjM5NjYxOSwiZXhwIjoxOTA3NzU2NjE5fQ.CxGIZP-TPWWZAFuNx3UV-sucjg8j8885ia00gCiG4vGg",
              		values: [
              			{
              				sensor: "sensor.jacuzzi_temperatuur",
              			},
              		]
              	    }
                  },
              

              Any help is more than welcome

              RaspiManuR R 2 Replies Last reply Reply Quote 0
              • RaspiManuR Offline
                RaspiManu @RdP
                last edited by

                @RdP I would recommend editing your token out when posting code.

                R 1 Reply Last reply Reply Quote 0
                • R Offline
                  RdP @RaspiManu
                  last edited by RdP

                  @RaspiManu

                  I did use a dummy token

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    JohnBachini @RdP
                    last edited by

                    @RdP anything in the logs of home assistant ?

                    I use this module and does work.

                    R 1 Reply Last reply Reply Quote 0
                    • R Offline
                      RdP @JohnBachini
                      last edited by

                      @JohnBachini said in MMM-HomeAssistant-Sensors (Development) - Show your HA Sensors on your Mirror:

                      @RdP anything in the logs of home assistant ?

                      I use this module and does work.

                      Nothing in the HA logs :-(

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

                        @RdP said in MMM-HomeAssistant-Sensors (Development) - Show your HA Sensors on your Mirror:

                        I get an error:

                        Schermafbeelding 2020-06-27 om 15.41.28.png

                        My config is like this:

                        {
                        	module: 'MMM-homeassistant-sensors',
                        	position: 'top_left',
                        	config: {
                        		host: "192.168.0.185",
                        		port: "8123",
                        		https: false,
                        		token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpiJmMmVQ4ODM0NzViYmQ4NzdlZTdlYmsImlhdCI6MTU5MjM5NjYxOSwiZXhwIjoxOTA3NzU2NjE5fQ.CxGIZP-TPWWZAFuNx3UV-sucjg8j8885ia00gCiG4vGg",
                        		values: [
                        			{
                        				sensor: "sensor.jacuzzi_temperatuur",
                        			},
                        		]
                        	    }
                            },
                        

                        Any help is more than welcome

                        Bump… Is there anyone who can point me in the right direction?

                        S N 2 Replies Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @RdP
                          last edited by

                          @RdP I don’t know anything about module, just asking questions

                          it was working and stopped? or is this the 1st time?

                          if u look at the logs (console, npm start, pm2 logs) or the developers window, ctrl-shift-i, select the console tab and scroll up to see any errors, usually red text, do you see anything?

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            smoysauce
                            last edited by

                            Love this module, I am just trying to figure out if it possible to merge the attribute pieces from this fork: https://github.com/moejetz/MMM-homeassistant-sensors with this one: to allow adding attributes. I’m trying to read up on how to do it, but not sure if it’s a lot of work to do or if there is an easy way to do it. I’m also checking for any guidance in the help forum. Any help would be appreciated!

                            1 Reply Last reply Reply Quote 1
                            • N Offline
                              NLCarrII @RdP
                              last edited by

                              @RdP

                              I had this last night and I got frustrated and shutdown the mirror and re-opened it via terminal and it worked. I only tested with one sensor. Then I added another sensor and I didn’t have to restart to have it show it up. Not sure what changed, but this might work for you. Something else I did was not install the right one TWICE, I instralled them as they appeared in the list on Github and found out about their issues, which caused me to install the next one and so on. At least I got experience installing modules. This was the last one I installed and I have a lock and a sensor displaying now. More to Come.

                              1 Reply Last reply Reply Quote 0
                              • K Offline
                                Karlberg
                                last edited by

                                i have the same problem. It never worked. I hassio i got “Login attempt failed
                                Login attempt or request with invalid authentication from raspberrypi (192.168.16.71)”

                                so something is wrong with this module.

                                SnilleS 1 Reply Last reply Reply Quote 0
                                • SnilleS Offline
                                  Snille Module Developer @Karlberg
                                  last edited by

                                  @Karlberg Hi, the module should be working. It sounds like you have something wrong with the token if HA reports failed logins…

                                  If you cant find it, make it and share it!
                                  Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

                                  K 1 Reply Last reply Reply Quote 0
                                  • K Offline
                                    Karlberg
                                    last edited by

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • K Offline
                                      Karlberg @Snille
                                      last edited by

                                      @Snille Yes something was wrong. its working with another token

                                      SnilleS B 2 Replies Last reply Reply Quote 0
                                      • SnilleS Offline
                                        Snille Module Developer @Karlberg
                                        last edited by

                                        @Karlberg Great! :)

                                        If you cant find it, make it and share it!
                                        Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

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

                                          @Snille Looks very nice, good job!

                                          1 Reply Last reply Reply Quote 0
                                          • V Offline
                                            vageesh79
                                            last edited by

                                            anyway to use https with self signed. I am getting error "“Error Fetching Stats”. No error on homeassistant and MM

                                            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
                                            • 4
                                            • 1 / 4
                                            • 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