GithubHelp home page GithubHelp logo

smileydude / homebridge-xiaomi-roborock-vacuum Goto Github PK

View Code? Open in Web Editor NEW

This project forked from homebridge-xiaomi-roborock-vacuum/homebridge-xiaomi-roborock-vacuum

16.0 16.0 4.0 1.21 MB

A Xiaomi Roborock vaccum plugin (1st, 2nd generation) for homebridge.

Home Page: https://www.loggn.de

License: MIT License

JavaScript 100.00%

homebridge-xiaomi-roborock-vacuum's People

Contributors

nicoh88 avatar smileydude avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebridge-xiaomi-roborock-vacuum's Issues

Use resume_zoned_clean to resume zoned cleanup

Hi,
I think we need another operation to resume zoned cleanup.
By running wireshark I found the following operation to resume zoned cleanup:
-> {"id":7442,"method":"resume_zoned_clean"}
<- {"result":["ok"],"id":7442}

Automated go to waste bin configuration

Hi!

Another feature request. As far as I understand xiaomis hooks this should be possible…
Could you implement the "goto" feature?
Scenario; scheduled journey to the trash bin to empty the waste tank.

Thank you,

desq

Cannot install plugin on Hoobs

Hi. I've been using Hoobs as a homebridge service, but I cannot install this plugin. It gives notice like below. Could you please give a look on this? Any ideas?

64327317_10157690678878755_6787121932065046528_o

always cleaning whole house when zoned cleanup

Hi, thanks for your work on this plugin. You're really the only one out there supporting zoned cleanup for homebridge.

I've got things working and the zones appear in the Apple Home app. Except, regardless of what I provide as coordinates, the vacuum always cleans the entire house. In index.js I found that

if (config.zones) { that.zones = config.zones; } else { that.zones = [[51200, 51200, 0, 0]]; }

which would make me think my zones aren't set up properly. Here's my config. I can't seem to see anything wrong with it. I've tried various coordinates like below, even just setting 25000, 25000, 25000, 25000. Which would send it to a location and back, I would think.

"accessories": [{ "accessory": "XiaomiRoborockVacuum", "name": "test zone9", "ip": "x", "token": "x", "dock": false, "pause": false, "zones": [ [ 22000, 28000, 22100, 28100 ] ] } ] }

everytime cleaning whole house

Hi

I've got the new Roborock S6... all work quietly good... but i don't get it with the zones... everytime the roborock cleans the whole house

{
"accessory": "XiaomiRoborockVacuum",
"name": "test",
"ip": "192.168.178.XX",
"token": "XXXXX",
"dock": false,
"pause": false,
"zones": [
[
28200,
21800,
30500,
25500,
1
]
]
},

this is my config
and this my coordinates
Unbenannt
thanks for help

Global cleanup without zones

Have you thought about implementing a global cleanup without zones? You say in the description that "you are going to want a zone to represent all the zones, so you can send it off to clean each room in one go", but what about this?: If the 'zones' value is not in the accessory configuration, the vacuum's behavior is the same that in the original homebridge-xiaomi-roborock-vacuum plugin.

What do you think?

Vacuum goes to sleep...

Xiaomi Vacuum goes to sleep and requires power On to be pressed twice before it works.

The first one wakes the device up.
Second time actually executed the command properly.
Since we don’t know the command to wake the xiaomi devices.
Would putting a dummy event before the actual event workaround this problem?

One zone activated, all zones active.

…would it be possible to show the actual zone which has been activated?
If I "switch on" zone A, the Home-App shows all zones (A, B, C, D). (as shown here in homebridge)
bildschirmfoto 2019-02-13 um 11 12 03

Question regarding status update

Hi,
Thanks for the plugin!
I've forked this to test some strange issue with my network, hope you don't mind.
Basically I found during the cleaning job the robot lost contact to homebridge and the status is not updated after then (even when WIFI connection is restored). I don't know if it is something related to poor wifi coverage in the house.
I'm not very familiar with javascript but when I read the code of the plugin and miio it looks like status updates are "pushed" from the robot to the plugin. I need some hints on:

  1. What could cause the plugin stop receiving status updates?
  2. Is there a way to periodically pull status instead of being pushed? In miio I only found a way to getHistory but no getStatus :(

Thank you in advance!

S6 - No vacuum cleaner is discovered

Hello
I have this error in the log

ERR getDevice | Is not a vacuum cleaner!
No vacuum cleaner is discovered

And this ist my miio output.

pi@raspberrypi:~ $ npm list -g miio /usr/local/lib ├─┬ [email protected] │ └── [email protected] (git://github.com/nicoh88/miio.git#4a126d3a13a05035c057777442a2ae36e9977a13) ├─┬ [email protected] │ └── [email protected] (git://github.com/Smileydude/miio.git#4279bba6a0349d1bb794185e7aab9d85a605f44c) └── [email protected]
Here my settings

{
"accessory": "XiaomiRoborockVacuum",
"name": "Office",
"ip": "192.168.99.110",
"token": "31.......4",
"dock": false,
"pause": false,
"zones": [
[
24000,
24000,
31000,
28000
]
]
},
`

I don't know what's the problem

Thank you very much for the help.
Greeting

xiaomi zone cleanup multiplier

Hi,

just testing your Plugin. Just what I was looking for.
Are you consider to implement the "multiplier" for multiple cleanings?

app_zoned_clean;[[24077,26109,27427,27659,2]]

Thank you.

Regards,

desq

Status not correct with newest firmware 3.3.9_001702

Hello,
yesterday I installed the latest firmware update.
Don't do it for the moment!!!
Unfortunately since that the status information received in the Home app ist not correct anymore:

  • To start a zone cleaning you have to start, stop and start again from the Home app. Sometimes it leaves the dock for 20 centimeters, and docks again.
  • The dock sensor does not react anymore, it is always triggered as on.
  • When the robot has returned to the dock, the status in Home app remains "cleaning".

Has anyone observed this faults, too?

Thank you for a reply or help!

Roborock S6 compability

Hey,

I'm planning to buy new roborock. Can you confirm that this plugin doesn't work with brand new S6 model - only S5?

Feature request: forbidden zones definition in config.json

Hello, thank you for this awesome homebridge plugin!
It would be nice to define forbidden zones: If our S50 is on the way for wet cleaning, it should not take a route over the carpets. So I would like to define the carpet areas as forbidden zones, like I could do in the xiaomi app. But for convenience in the config.json.
Do you think, this feature is possible for the homebridge plugin?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.