This is really awesome but i cannot get it to work 100%
For example sensors and thermometers will not show.
Could anyone see whats wrong?
Using addon to Hass.IO
/* Magic Mirror Config for HASS.IO
*
* Orginal by Michael Teeuw http://michaelteeuw.nl
* MIT Licensed.
*
* For more information how you can configurate this file
* See https://github.com/MichMich/MagicMirror#configuration
*
* When running in HASS.IO the address and ipWhitelist need to be
* empty and any access mcontrols need to be on the host
* and not in the container.
*/
var config = {
address: "", // Empty as running in a docker container.
port: 8080, // Update port in HASS.IO configuration and not here.
ipWhitelist: [], // Empty as in docker container, ACL from the host.
//
// The settings below are for a basic setup, please modifiy as needed.
//
language: "en",
timeFormat: 24,
units: 'metric',
customCss: "css/custom.css",
modules: [
{
module: "alert",
},
{
module: "updatenotification",
position: "top_bar"
},
{
module: 'MMM-OnScreenMenu',
position: 'bottom_right',
config: {
touchMode: true,
enableKeyboard: true,
menuItems: {
notify1: { title: "Home",
icon: "eye",
notification: "PAGE_CHANGED",
payload: 0 },
notify2: { title: "Comics",
icon: "eye",
notification: "PAGE_CHANGED",
payload: 1 },
notify3: { title: "Home Assistant",
icon: "eye",
notification: "PAGE_CHANGED",
payload: 2 }
}
}
},
{
module: "MMM-pages",
config: {
modules: [
[ "calendar", "clock","weatherforecast","currentweather","newsfeed", "MMM-HASS", "MMM-homeassistant-sensors" ],
[ "DailyXKCD" ],
[ "MMM-iFrame" ]
],
excludes: ["alert", "updatenotification", "MMM-OnScreenMenu"],
}
},
{
module: 'MMM-iFrame',
position: 'fullscreen_below', // This can be any of the regions.
config: {
url: ["http://hassio.local:8123"],
updateInterval: 60 * 60 * 1000,// Refresh every 60 minutes
width: "100%",
height: "1000px"
}
},
{
module: "DailyXKCD",
position: 'top_left',
config: {
invertColors: true,
showTitle: true,
showAltText: false
}
},
{
module: "clock",
position: "top_left"
},
{
module: "calendar",
header: "Swedish Holidays",
position: "top_left",
config: {
calendars: [
{
symbol: "calendar-check-o ",
url: "https://www.calendarlabs.com/ical-calendar/ics/71/Sweden_Holidays.ics"
}
]
}
},
{
module: "compliments",
position: "lower_third"
},
{
module: "currentweather",
position: "top_right",
config: {
location: "Gothenburg, Sweden",
locationID: "2711537", //ID from http://www.openweathermap.org/help/city_list.txt
appid: "8855659590a1ea21d27d3279bddad567"
}
},
{
module: "weatherforecast",
position: "top_right",
header: "Weather Forecast",
config: {
location: "Gothenburg, Sweden",
locationID: "2711537", //ID from http://www.openweathermap.org/help/city_list.txt
appid: "8855659590a1ea21d27d3279bddad567"
}
},
{
module: "newsfeed",
position: "bottom_bar",
config: {
feeds: [
{
title: "SVT News",
url: "https://www.svt.se/nyheter/rss.xml"
}
],
showSourceTitle: true,
showPublishDate: true
}
},
{
module: "MMM-HASS",
position: "top_left",
config: {
host: "192.168.10.242", // Special docker ha api proxy
port: "8123",
https: false,
devices: [
{ deviceLabel: "Exterior",
deviceReadings: [
{ sensor: "sensor.medel_temp_ute", icon: "wi wi-thermometer", suffix: "°"},
{ sensor: "sensor.weather_humidity", icon: "wi wi-humidity", suffix: "%"}
]
},
{ deviceLabel: "Interior",
deviceReadings: [
{ sensor: "sensor.kitchen_temperature", icon: "wi wi-thermometer", suffix: "°", notification: "INDOOR_TEMPERATURE"},
{ sensor: "sensor.kitchen_temperature", icon: "wi wi-humidity", suffix: "%"}
]
}
]
}
},
{
module: 'MMM-homeassistant-sensors',
position: 'top_left',
config: {
url: 'http://192.168.10.242:8123', // Special docker ha api proxy
prettyName: false,
stripName: false,
values: [{
sensor: "sensor.processor_use",
icons: [{
"default": "chip"
}
]
}, {
sensor: "sensor.kitchen_motion_sensor",
icons: [{
"state_off": "run",
"state_on": "run-fast"
}
]
}, {
sensor: "light.sink",
icons: [{
"state_off": "lightbulb-outline",
"state_on": "lightbulb-on-outline"
}
]
}
]
}
}
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}