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-Roomba980] - Live Roomba Stats

    Scheduled Pinned Locked Moved Utilities
    12 Posts 4 Posters 6.2k Views 4 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.
    • J Offline
      joseska @relm923
      last edited by

      @relm923

      Hey… Can you help me… the module always is “LOADING”.
      for Now the data is trought json url because miio not work property. JSON work well, but the module always is “LOADING”. not work
      the url of the module is: https://github.com/joseska/MMM-Xiaomi-Vacuum
      sorry, is a copy-paste of your module, for now I have not been able to put the credits on github…

      thanks…

      R 1 Reply Last reply Reply Quote -1
      • R Offline
        relm923 @joseska
        last edited by

        @joseska I’m not familiar with the Miio/Xiaomi API.

        Are you seeing data returned from the raw HTTP request (looks like you’re logging some)? If you are, you’ll need to call self.sendSocketNotification('STATS', self.stats); after updating self.stats to tell your module to update. Unfortunately I can’t test anything since I don’t have a Xiaomi.

        You may want to look at using https://github.com/aholstenson/miio too.

        J 2 Replies Last reply Reply Quote 0
        • J Offline
          joseska @relm923
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • J Offline
            joseska @relm923
            last edited by

            @relm923 Hi… WORK… ;)
            the error was that I rename renderPhase function to renderPhase2. (Novice)
            I need to change some things still and use miio to get vacuum data, but for now WORK…

            When use miio to get data I upload to github and publish here If you give me permission to use your module as the base of mine…

            thanks for your time…

            0_1520427445797_2.jpg

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              relm923 @joseska
              last edited by

              @joseska Nice work! Feel free to use my module how ever you want

              1 Reply Last reply Reply Quote 1
              • B Offline
                Baschti
                last edited by

                I got the whole time only “loading” on my screen! I Installed Dorita980 und the module! Did you have some hints?

                1 Reply Last reply Reply Quote 0
                • 1
                • 2
                • 2 / 2
                • 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