• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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-xiaomi - Temperature and Humidity from your smarthome

Scheduled Pinned Locked Moved Utilities
141 Posts 27 Posters 171.1k Views 27 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.
  • B Offline
    blinky1989dk @barnosch
    last edited by Feb 22, 2018, 12:42 PM

    @barnosch my config file works. but as soon as i add mmm.xiaomi to config. then my config file does not work anymore and my mirror does not start up

    1 Reply Last reply Reply Quote 0
    • Y Offline
      yawns Moderator
      last edited by Feb 22, 2018, 1:04 PM

      Your config looks a bit misconfigured. Please remove these lines.

      	config: {
      		// See 'Configuration options' for more information.
      	}
      	},
      

      If this is still not working, then please paste your entire config.

      B 1 Reply Last reply Feb 22, 2018, 4:33 PM Reply Quote 0
      • B Offline
        blinky1989dk @yawns
        last edited by Feb 22, 2018, 4:33 PM

        @yawns is dot work. so i had try to send config fil to you on pb

        1 Reply Last reply Reply Quote 0
        • Y Offline
          yawns Moderator
          last edited by Feb 22, 2018, 4:43 PM

          /* Magic Mirror Config Sample
          
          By Michael Teeuw http://michaelteeuw.nl
          MIT Licensed.
          */
          var config = {
          zoom: 0.6,
          port: 8080,
          ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses.
          
          language: "da",
          timeFormat: 24,
          units: "metric",
          
          modules: [
          	{
          		module: "alert",
          	},
          	{
          		module: "clock",
          		position: "top_left"
          	},
          	{
          		module: 'MMM-WunderGround',
          		position: 'top_right',
          		config: {
          			apikey: 'xxxxxxxxxxxxxxxxxxxxxx', // private; don't share!
          			pws: 'pws:IVEJLE2', //culemborg
          			hourly: '1',
          			fctext: '1',
          			fcdaycount: "5",
          			fcdaystart: "0",
          			hourlyinterval: "3",
          			hourlycount: "2",
          			alerttime: 10000,
          			alerttruncatestring: "english:",
          			roundTmpDecs: 1,
          			UseCardinals: 0,
          			layout: "vertical",
          			iconset: "novaco",
          			sysstat: 0
          		}
          	},
          	{
          		module: "MMM-xiaomi",
          		position: "bottom_left",
          		header: "Temperature / Humidity", // This is optional
          		config: {
          			gatewayIP: "192.168.10.170",
          			gatewayToken: "xxxxxxxxxxxxxxxxxxx",
          			showwindow: true,
          			showVentilation: false,
          			minTemperature: true,
          			maxHumidity: true,
          			showlights: true,
          			rooms: [
          			{ name: "test", sortOrder: 30, devices: ["158d0001b911b9"] },
          			],
          		}
          	},
          	],
          	};
          
          /*************** DO NOT EDIT THE LINE BELOW ***************/
          if (typeof module !== "undefined") {module.exports = config;}
          

          Please try again. I don’t know which text editor you used, but it is very important to only use these around strings:

          • "
          • ’

          Do not use

          • ‘
          • “
          • ”
          B 2 Replies Last reply Feb 22, 2018, 5:09 PM Reply Quote 0
          • S Offline
            shgmongohh @mirko3000
            last edited by Feb 22, 2018, 5:01 PM

            @mirko3000
            Yes, i solved the problem with the token.

            to my css:
            I add

            .xm-xiaomi .small {
              font-size: 24px;
            }
            

            to get a bigger fonts.

            I try to change the default colours e.g.

            .xm-legend-temp {
              position: absolute;
              height: 100%;
              width: 3px;
              background-color: #FF1493;
              left: 9%;
              z-index: 0;
            

            And I want to have bigger figueres for temperature and humidity

            .xm-room-temp-humid {
               margin: 10px;
               
            }
            
            1 Reply Last reply Reply Quote 0
            • B Offline
              blinky1989dk @yawns
              last edited by Feb 22, 2018, 5:09 PM

              @yawns okay THX. I Will try

              1 Reply Last reply Reply Quote 0
              • B Offline
                blinky1989dk @yawns
                last edited by Feb 22, 2018, 5:18 PM

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • J Offline
                  joseska
                  last edited by Mar 2, 2018, 1:36 PM

                  Hi… We have an error with door sensor. Not show icons on MM. I think that the config is ok

                  {
                  			module: 'MMM-xiaomi',
                  			position: 'bottom_left',
                  			header: 'Temperatura / Humedad',
                  			config: {
                  				gatewayIP: '192.168.1.103',
                  				gatewayToken: 'xxxxxxxxxxxx872e8bc25e415a7005a2',
                  				showWindow: true,
                  				showVentilation: true,
                  				showLights: false,
                  				audioNotifications: true,
                  				rooms: [
                  					{ name: 'Salon', sortOrder: 10, devices: ['158d0001f531bf', '158d00020258f4'] }
                  				]
                  			}
                  		},
                  

                  any idea???
                  Thanks…

                  M 1 Reply Last reply Mar 3, 2018, 8:43 AM Reply Quote 0
                  • M Offline
                    mirko3000 @joseska
                    last edited by Mar 3, 2018, 8:43 AM

                    Hmm your config seems to be fine, make sure the IDs are ok, else it should work. Be aware that the icon only shows open window/doors, so if the door is closed you won’t see an icon.
                    I suppose the temperature sensor is working fine?

                    J 1 Reply Last reply Mar 3, 2018, 12:51 PM Reply Quote 0
                    • J Offline
                      joseska @mirko3000
                      last edited by Mar 3, 2018, 12:51 PM

                      @mirko3000 Now Work… I don´t know why…
                      simply copy again the id (the same) and change showVentilation: false (don´t have outdoor sensor) and work…

                      sorry and thanks…

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 9
                      • 10
                      • 11
                      • 12
                      • 13
                      • 14
                      • 15
                      • 11 / 15
                      • 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