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

How can I update my home assistant to use git master python-miio? #1705

Open
WarleyGabriel opened this issue Feb 1, 2023 · 3 comments
Open

Comments

@WarleyGabriel
Copy link

Hi guys, I'm new at this smart home world.

I would like to know how can I update my home assistant to use the git master from this repo instead of the last version 0.5.12?

Currently I'm getting on Home Assistant:

2023-02-01 01:32:52.825 WARNING (SyncWorker_1) [miio.device] Found an unsupported model 'dreame.vacuum.mc1808' for class 'RoborockVacuum'. If this is working for you, please open an issue at https://github.com/rytilahti/python-miio/
2023-02-01 01:33:08.875 ERROR (SyncWorker_1) [miio.miioprotocol] Got error when receiving: {'code': -9999, 'message': 'user ack timeout'}

I saw this issue which seems like the same problem.
I'm using this HA integration and I don't know how can I update to master branch and see if it works.
image

@WarleyGabriel
Copy link
Author

I also could connect to the robot using the CLI:

poetry run miiocli dreamevacuum --ip 10.0.0.174 --token 784e44676664386341376556584d4367 info
WARNING:miio.integrations.genericmiot.genericmiot:Got used name name, ignoring 'brush-cleaner:reset-brush-life': urn=<URN urn:miot-spec-v2:action:reset-brush-life:00002830:dreame-mc1808:1 parent:namespace='miot-spec-v2' type='service' name='brush-cleaner' internal_id='0000784C' model='dreame-mc1808' version=1 unexpected=None> description='Reset Brush Life' service=MiotService(siid=28, urn=<URN urn:miot-spec-v2:service:brush-cleaner:0000784C:dreame-mc1808:1 parent:None>, description='Side Cleaning Brush') aiid=1 inputs=[] outputs=[]
WARNING:miio.integrations.genericmiot.genericmiot:Got used name name, ignoring 'audio:set-voice': urn=<URN urn:dreame-spec:action:set-voice:00002802:dreame-mc1808:1 parent:namespace='dreame-spec' type='service' name='audio' internal_id='00000045' model='dreame-mc1808' version=1 unexpected=None> description='' service=MiotService(siid=24, urn=<URN urn:dreame-spec:service:audio:00000045:dreame-mc1808:1 parent:None>, description='audio') aiid=2 inputs=[] outputs=[]
WARNING:miio.integrations.genericmiot.genericmiot:Got used name name, ignoring 'audio:play-sound': urn=<URN urn:dreame-spec:action:play-sound:00002803:dreame-mc1808:1 parent:namespace='dreame-spec' type='service' name='audio' internal_id='00000045' model='dreame-mc1808' version=1 unexpected=None> description='' service=MiotService(siid=24, urn=<URN urn:dreame-spec:service:audio:00000045:dreame-mc1808:1 parent:None>, description='audio') aiid=3 inputs=[] outputs=[]
Model: dreame.vacuum.mc1808
Hardware version: Linux
Firmware version: 4.3.3_1122
Supported using: DreameVacuum
Command: miiocli dreamevacuum --ip 10.0.0.174 --token 784e44676664386341376556584d4367
Supported by genericmiot: True

@rytilahti
Copy link
Owner

Hi @WarleyGabriel, I'm currently working on adapting the homeassistant integration to the major rework (#1114) that has been done in the git master, but it is not yet in a usable state, and getting it there might take a while.

You can check out one of the custom components listed in the README of this project in the meantime. If you just want to control the device from the console, you can use the command given in that info output, or alternatively miiocli genericmiot to do that.

@WarleyGabriel
Copy link
Author

Hi @rytilahti, thanks!

I will take a look at the custom components, I would like to use the device with Home Assistant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants