Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[miio] add channel for is_locating #10033

Closed
tommycw1 opened this issue Feb 2, 2021 · 1 comment · Fixed by #10036
Closed

[miio] add channel for is_locating #10033

tommycw1 opened this issue Feb 2, 2021 · 1 comment · Fixed by #10036
Labels
enhancement An enhancement or new feature for an existing add-on

Comments

@tommycw1
Copy link

tommycw1 commented Feb 2, 2021

I have an S4Max robot and take it from floor to floor. When it is determining which map is the correct map for the floor it is on, the vacuum says "Positioning" and once it figures out where it is is says "Position established"

2021-02-02 11:08:49.290 [DEBUG] [internal.handler.MiIoAbstractHandler] - Received response for 63c691d1 type: GET_STATUS, result: [{"msg_ver":2,"msg_seq":1949,"state":5,"battery":69,"clean_time":1310,"clean_area":22020000,"error_code":0,"map_present":1,"in_cleaning":1,"in_returning":0,"in_fresh_state":0,"lab_status":3,"water_box_status":0,"fan_power":103,"dnd_enabled":0,"map_status":3,"is_locating":0,"lock_status":0}],"exe_time":100}

I can see the "Is_locating" JSON response (above) to the GET_STATUS command in debug logs and see it change between 1 and 0 in correlation to whether or not the vacuum is determining its position. I would like to use the variable trigger my rule that used actionCommand.sendCommand("get_room_mapping") and parses the output to figure out what floor it is on.

Can this be added as a channel available?

@tommycw1 tommycw1 added the enhancement An enhancement or new feature for an existing add-on label Feb 2, 2021
marcelrv added a commit to marcelrv/openhab-addons that referenced this issue Feb 2, 2021
close: openhab#10033

Signed-off-by: Marcel Verpaalen <[email protected]>
Hilbrand pushed a commit that referenced this issue Feb 3, 2021
@openhab-bot
Copy link
Collaborator

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/xiaomi-roborock-room-clean-multi-level-map/108850/15

themillhousegroup pushed a commit to themillhousegroup/openhab2-addons that referenced this issue May 10, 2021
close: openhab#10033

Signed-off-by: Marcel Verpaalen <[email protected]>
Signed-off-by: John Marshall <[email protected]>
thinkingstone pushed a commit to thinkingstone/openhab-addons that referenced this issue Nov 7, 2021
marcfischerboschio pushed a commit to bosch-io/openhab-addons that referenced this issue May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants