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.

    THe install of addon doesnt work 100%

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    1 Posts 1 Posters 899 Views 1 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.
    • D Offline
      DawnLord
      last edited by

      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

      0_1538589010302_b51759db-7869-4829-ad9c-bc4ce3ffe90d-image.png

      /* 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;}
      
      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 / 1
      • 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