• 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.0k 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.
  • M Offline
    mirko3000
    last edited by Nov 5, 2017, 7:57 AM

    Try the latest update (git pull), I just checked for null items - even i that should not happen.

    1 Reply Last reply Reply Quote 0
    • A Offline
      Albert2002
      last edited by Nov 5, 2017, 9:54 AM

      I did so. Restarted MM.
      No errors in the logs.

      mm out:

      Triggering Xiaomi Gateway upate
      Found device with ID 158d000119fcb2 of type magnet
      Found device with ID 158d00015aa973 of type controller
      Found device with ID 158d00015736a8 of type sensor
      

      This I got from the Browser Debug:

      main.js:404 Initializing MagicMirror.
      translator.js:197 Loading core translation file: translations/de.json
      translator.js:219 Loading core translation fallback file: translations/en.json
      loader.js:182 Load script: modules/MMM-xiaomi//MMM-xiaomi.js
      module.js:406 Check MagicMirror version for module 'MMM-xiaomi' - Minimum version:  2.0.0 - Current version: 2.1.3
      module.js:408 Version is ok!
      module.js:414 Module registered: MMM-xiaomi
      loader.js:152 Bootstrapping module: MMM-xiaomi
      loader.js:182 Load script: modules/MMM-xiaomi/String.format.js
      String.format.js Failed to load resource: the server responded with a status of 404 (Not Found)
      loader.js:190 Error on loading script: modules/MMM-xiaomi/String.format.js
      script.onerror @ loader.js:190
      loader.js:182 Load script: https://code.jquery.com/jquery-2.2.3.min.js
      loader.js:157 Scripts loaded for: MMM-xiaomi
      loader.js:197 Load stylesheet: modules/MMM-xiaomi/MMM-xiaomi.css
      loader.js:159 Styles loaded for: MMM-xiaomi
      loader.js:161 Translations loaded for: MMM-xiaomi
      loader.js:197 Load stylesheet: css/custom.css
      MMM-xiaomi.js:35 Starting module: MMM-xiaomi
      main.js:422 All modules started!
      module.js:117 MMM-xiaomi received a system notification: ALL_MODULES_STARTED
      module.js:117 MMM-xiaomi received a system notification: DOM_OBJECTS_CREATED
      MMM-xiaomi.js:28 received XIAOMI_DATA
      MMM-xiaomi.js:242 Uncaught TypeError: this.html.col.format is not a function
          at Class. (MMM-xiaomi.js:242)
          at Function.each (jquery-2.2.3.min.js:2)
          at Class.renderText (MMM-xiaomi.js:210)
          at Class.render (MMM-xiaomi.js:100)
          at Class.socketNotificationReceived (MMM-xiaomi.js:29)
          at module.js:183
          at r. (socketclient.js:25)
          at r.emit (index.js:133)
          at r.onevent (socket.js:270)
          at r.MMSocket.self.socket.onevent (socketclient.js:19)
      
      1 Reply Last reply Reply Quote 0
      • M Offline
        mirko3000
        last edited by Nov 5, 2017, 12:43 PM

        Ok, now another try :) Forgot to add utility class which was already present from other modules on my instance. Please update from GIT.

        1 Reply Last reply Reply Quote 1
        • A Offline
          Albert2002
          last edited by Nov 5, 2017, 2:14 PM

          Sometimes a pictures tells you more than words…

          You did it!

          You did it! Great job! Thank you! :-)

          Next step are to integrate te Yeelights ;-)

          1 Reply Last reply Reply Quote 1
          • M Offline
            mirko3000
            last edited by Nov 5, 2017, 2:27 PM

            Good to hear! :)

            Suggestions welcome, I have just added ventilation recommendation(see latest update), will also add window sensors - but still unsure how to visualize all that information. Suggestions welcome!

            1 Reply Last reply Reply Quote 1
            • A Offline
              Albert2002
              last edited by Nov 5, 2017, 5:02 PM

              Looking forward to see the window sensors! I would like to see the current state & the last change of it. Are you planing something like this?

              Name     State     Last change 
              Kitchen  closed   1.Nov. 18:01
              

              What I would like to see on my mirror as well are the sate of the Yeelights ( on / off)

              1 Reply Last reply Reply Quote 0
              • B Offline
                barnosch
                last edited by Nov 7, 2017, 6:32 AM

                So, sadly the german customs took my whole order from China.
                :(
                No CE sign, no german manual, wirless connection needs to be tested…
                i could puke.

                Can someone recommend a company i can order from germany, without getting to the customs (EU-Warenlager) ?

                ? 1 Reply Last reply Nov 7, 2017, 9:54 AM Reply Quote 0
                • ? Offline
                  A Former User @barnosch
                  last edited by Nov 7, 2017, 9:54 AM

                  @barnosch
                  So sad. I want to know also, is there good IoT set for home in EU(Germany).
                  I’ve tested some “Jinvoo” (another Chinese product?), it works somehow, but API is not opened.

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    Albert2002
                    last edited by Nov 7, 2017, 10:56 AM

                    Most of my Chinese stuff I get from gearbest.com If you choose „Standard Shipping > Germany Express“ you won’t get any problems. Watch out for mi smart home bundles on there website.

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      barnosch
                      last edited by Nov 7, 2017, 11:53 AM

                      The order was from gearbest .
                      Usually you have to choose “priority line” to get it without problems.
                      It wasn’t available at this time for the ordered stuff.
                      So i made the mistake.
                      But anycase, my problem. Don’t want to highjack the thread with some customs problems.

                      Found now a dealer to order the gateway from EU-warehouse and another dealer to get the sensors via Belgium.
                      Hopeing for the best ;)

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 14
                      • 15
                      • 4 / 15
                      4 / 15
                      • First post
                        32/141
                        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