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 217.6k 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.
    • garblefluxG Offline
      garbleflux Project Sponsor @lovesicker
      last edited by

      @lovesicker Hi,
      I think you are on the wrong way: You use gatewayIP and gatewayToken twice. Thats not necessary.
      Look to my configuration - this works fine:
      {
      module: ‘MMM-xiaomi’,
      position: ‘bottom_left’,
      colored: true,
      header: ‘Temperatur / Luftfeuchtigkeit’, // This is optional
      config: {
      gatewayIP: ‘192.168.160.xx’,
      outsideSensorId: ‘15xxx0201dxxx’,
      gatewayToken: ‘cd857eee1fc760d029767709cd50xxxx’,
      showWindow: true,
      showVentilation: true,
      showLights: false,
      showTend: false,
      showNotifications: false,
      audioNotifications: false,

                          rooms:  [
      		{
      		name: 'Büro',
      		minTemperature : 15,
                          maxTemperature : 35,
                          sortOrder: 1,
      		devices : ['158d0001c2cxxx']
      		},
      		{
      		name: 'Aussentemperatur  ',
      		sortOrder: 20,
                          devices : ['15xxx00201d4xxx']    
                          },                  
                          {
                          name: 'Wohnzimmer  ',
                          minTemperature : 15,
                          maxTemperature : 35,
                          sortOrder: 2,
                          devices : ['158d0001c2cxxx']
      		},
      		{
                          name: 'Schlafzimmer  ',
                          sortOrder: 3,
                          minTemperature : 15,
                          maxTemperature : 30,
                          devices : ['1xxx000201dxxx', '15xxx001f49xxx']
                          },
                          {
                          name: 'Philipp',
                          minTemperature : 15,
                          maxTemperature : 35,
                          sortOrder: 4,
                          devices : ['1xxd0001c14xxx']
                          },
                          {
      		name: 'Marco',
                          minTemperature : 15,
                          maxTemperature : 35, 
                          sortOrder: 5,
      		devices : ['15xxx01f54xxx']
                          }, 
                            {
      		name: 'HW-Raum',
                          minTemperature : 10,
                          maxTemperature : 35, 
                          sortOrder: 7,
      		devices : ['15xxx002029xxx']
                          }, 		
      					{
                          name: 'Garage',
                          minTemperature : 15,
                          maxTemperature : 35,
                          sortOrder: 10,
                          devices : ['15xxx001c1xxx']
                          },
                          {
                          name: 'Keller',
                          minTemperature : 15,
                          maxTemperature : 35,
                          sortOrder: 9,
                          devices : ['15xxx001c2axxx']
                          },
                          {
                          name: 'WC',
                          minTemperature : 15,
                          maxTemperature : 35,
                          sortOrder: 8,
                          devices : ['15xxx001c1axxx']
                          },
                          {
                          name: 'Bad',
                          minTemperature : 18,
                          maxTemperature : 35,
                          sortOrder: 6,
                          devices : ['15xxx001c2cxxx']
                          },  
      

      ]

      L 1 Reply Last reply Reply Quote 0
      • L Offline
        lovesicker @garbleflux
        last edited by lovesicker

        @garbleflux First, thank you for your reply.
        I have two different rooms. There are a temperature sensor and a gateway in each room! So I have to add two gateways in config.js file.

        garblefluxG 1 Reply Last reply Reply Quote 0
        • garblefluxG Offline
          garbleflux Project Sponsor @lovesicker
          last edited by

          @lovesicker Hi,
          why do you use two gateways? It’s not necessary. I use one gateway for my complete house. I use 10 temperature and humity sensors. Have a closer look to my config.
          Regards Mike.

          L 1 Reply Last reply Reply Quote 0
          • L Offline
            lovesicker @garbleflux
            last edited by

            @garbleflux thank you for your discussion.

            It’s difficult to explain. Let me try. Maybe my scenario is very different with yours.

            There are one Xiaomi temperature sensor, one Xiaomi air conditioning companion (gateway) and one Xiaomi intelligent clock (integrated partial AI function) in EACH bedroom.

            When I speak to the clock, “Hi Xiaoai, please tell me the room temperature” or “temperature”, the clock tell me the correct number of degrees via the RIGHT gateway. When I say “power on the air conditioning”, the same thing happen.

            It’s unsuitable that I say "tell me CHILDROOM temperature " or “power off CHILDROOM air conditioning” when I’m in my bedroom. Although I know it is realizable.

            I’m not sure I clearly explain the reason. Anyway, I need two gateways in my house.

            1 Reply Last reply Reply Quote 0
            • garblefluxG Offline
              garbleflux Project Sponsor
              last edited by

              @lovesicker OK. Did you try to start the module twice? Maybe this is the possibility to activate both gateways at the same time as you need it.
              Regards Mike

              L 1 Reply Last reply Reply Quote 0
              • L Offline
                lovesicker @garbleflux
                last edited by

                @garbleflux

                Yes, I can add two instances in config.js file at the same time.

                YOU ARE RIGHT!
                It’s not necessary. According to your suggestion, I register all of my sensors on ONE gateway. I can still fulfill all my needs.

                I’m stupid. I’ve made simple things complicated.

                Tanks again!
                Good luck.

                1 Reply Last reply Reply Quote 0
                • L Offline
                  lovesicker
                  last edited by lovesicker

                  Hi @mirko3000 ,

                  How to remove the ‘>’ symbols which in front of the temperature and humidity?

                  0_1558832311773_10344818-eeef-4b5a-ac89-aa44732dac4a-image.png

                  I try to set showTend: false, but it does not work.

                  Could you or anyone give me some suggestions? Thanks in advance.

                  1 Reply Last reply Reply Quote 0
                  • N Offline
                    norman
                    last edited by

                    Hello everyone,
                    is there a chance to use this module with the Aqara Gateway and the Aqara Sensors? I have a problem to find the sensors with miio. Thanks in advance!

                    Best regards!

                    StoffbeuteluweS 2 Replies Last reply Reply Quote 0
                    • StoffbeuteluweS Offline
                      Stoffbeuteluwe Project Sponsor @norman
                      last edited by

                      @norman if you get the token from the Aqara gateway it should work …

                      1 Reply Last reply Reply Quote 0
                      • StoffbeuteluweS Offline
                        Stoffbeuteluwe Project Sponsor @norman
                        last edited by

                        @norman I have the mii gateway with aqara sensors …works fine

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          mydiva
                          last edited by

                          Hi @mirko3000 … oooh an update… what’s new? thx…

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            mag999
                            last edited by

                            Hi mirko3000

                            Thanks for a great module.
                            What gateway are you using?

                            1 Reply Last reply Reply Quote 0
                            • N Offline
                              Nosaer
                              last edited by

                              You have no plans to increase the functionality of the module and add more sensors for display?

                              1 Reply Last reply Reply Quote 0
                              • N Offline
                                Nosaer
                                last edited by

                                If there is no humidity sensor in the room, but there is a sensor for opening windows and doors, how does it look like?

                                1 Reply Last reply Reply Quote 0
                                • E Offline
                                  ectovito @Smotx
                                  last edited by

                                  @smotx

                                  Thank you Mirko3000 for this great module.
                                  I was finally able to retrieve the Device IDs via the Aqara gateway, and the tokens from the gateway and vacuum in the Miio Mac application.
                                  I can correctly display the temperature and humidity of my different rooms in the house. The same for my vaccum via the Xiaomi-vaccum module.
                                  The only thing I can’t do is to declare the door sensors and the sensory sensors.
                                  What should I declare in the configuration file?

                                  What script should be entered to display all the sensors in this way?

                                  Thank you in advance for your help.

                                  1 Reply Last reply Reply Quote 0
                                  • E Offline
                                    Egnos
                                    last edited by

                                    Hi guys,
                                    can anyone tell me if this module still works? If yes, which gateway should I purchase to make sure I can view sensor data with the MM?

                                    thanks

                                    My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                                    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
                                    • 5
                                    • 6
                                    • 7
                                    • 8
                                    • 7 / 8
                                    • 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