Read the statement by Michael Teeuw here.
MMM-HomeAssistant-Sensors (Development) - Show your HA Sensors on your Mirror
-
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:

Different pictures depending on values from the sensors (with some modified CSS):

Different icons depending on values from the sensors:

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

Download:
[card:Snille/MMM-homeassistant-sensors]
-
@Snille very nice!
-
@sdetweil Thanks! :)
-
@iorifly see this module
-
I get an error:

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
-
@RdP I would recommend editing your token out when posting code.
-
I did use a dummy token
-
@RdP anything in the logs of home assistant ?
I use this module and does work.
-
@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 :-(
-
@RdP said in MMM-HomeAssistant-Sensors (Development) - Show your HA Sensors on your Mirror:
I get an error:

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?
-
@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?
-
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!
-
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.
-
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.
-
@Karlberg Hi, the module should be working. It sounds like you have something wrong with the token if HA reports failed logins…
-
This post is deleted! -
@Snille Yes something was wrong. its working with another token
-
@Karlberg Great! :)
-
@Snille Looks very nice, good job!
-
anyway to use https with self signed. I am getting error "“Error Fetching Stats”. No error on homeassistant and MM
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