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

Scheduled Pinned Locked Moved Utilities
12 Posts 4 Posters 6.0k 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 Mar 2, 2018, 1:00 PM

    @relm923 Thanks… my nodejs coding is very bad.
    I´m trying with MIIO API for xiaomi vaccum data but sometimes work and others not work…

    I´m trying…

    thanks…

    1 Reply Last reply Reply Quote 0
    • J Offline
      joseska @relm923
      last edited by Mar 6, 2018, 7:52 PM

      @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 Mar 6, 2018, 10:58 PM Reply Quote -1
      • R Offline
        relm923 @joseska
        last edited by Mar 6, 2018, 10:58 PM

        @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 Mar 7, 2018, 12:31 PM Reply Quote 0
        • J Offline
          joseska @relm923
          last edited by Mar 7, 2018, 12:31 PM

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • J Offline
            joseska @relm923
            last edited by Mar 7, 2018, 12:57 PM

            @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 Mar 7, 2018, 4:28 PM Reply Quote 0
            • R Offline
              relm923 @joseska
              last edited by Mar 7, 2018, 4:28 PM

              @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 Sep 26, 2020, 9:38 AM

                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
                • 1 / 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