Package Details: python-miio

Git Clone URL: (read-only, click to copy)
Package Base: python-miio
Description: Python library & console tool for controlling Xiaomi smart appliances
Upstream URL:
Keywords: Python smart-home Xiaomi
Licenses: GPL3
Submitter: patrick.luehne
Maintainer: None
Last Packager: patrick.luehne
Votes: 4
Popularity: 0.000067
First Submitted: 2017-11-18 21:21
Last Updated: 2020-03-29 19:00

Latest Comments

frostwork commented on 2020-12-10 12:48

Hey @patrick.luehne! Thanks for trying to maintain this package!

I don't know anything about dephell, but looks like

does what it should. You probably already found it yourself :)

patrick.luehne commented on 2020-12-09 14:04

@frostwork: Indeed, it seems that python-miio is now built with Poetry, and I don’t have much experience with that, let alone packaging software built with Poetry for Arch Linux. Dephell sounds interesting, I’ll give it a look. So far, I tried and gave up updating this PKGBUILD a couple of times already, but I’ll give it another shot at some point.

frostwork commented on 2020-12-09 13:47

Hello @patrick.luehne. Apologies for the late response as well - totally forgot about my comment here and it was just a coincidence that I just found it. I recently removed a local PKGBUILD from my system and found that AUR is flagged out of date. Just wanted to quickly bump it, but upstream did not only remove the, which could be "easily" fixed adding the tool "python-dephell" to makedepends which could generate it (pulls in a bunch of dependencies...) dephell deps convert --from pyproject.toml --to but the package also depends (at least - haven't checked further) on but the package is only for python2.

Still a nice tool, but I'm not sure if it is worth to fix that mess.

patrick.luehne commented on 2020-01-02 00:32

@frostwork: Apologies for the late response, I had missed your message. I’ve now brought this package up-to-date with the 0.4.8 release and removed the unneeded python_cron dependency while doing that. (Also, android_backup_tools is now an optional dependency.) Let me know if the package looks better to you now. I’ll also ask for the python-mirobo AUR package to be deleted to avoid user confusion.

frostwork commented on 2019-09-10 10:12

looks like upstream no longer depends on python-pretty-cron (out of date in aur). the only occurrence of "pretty_cron" is in requirements.txt. the patches in to replace the no longer maintained pretty-cron with cron_descriptor don't seem to be required as well. as python-miio and the ancient python-mirobo are the only packages depending on pretty-cron it might be the best idea to completely drop python-mirobo and pretty-cron

patrick.luehne commented on 2018-02-06 22:56

Update (2018-02-25): python-construct 2.9.34 is now in community, but python-miio now depends on python-construct = 2.9.33. I’ll have to sort this out.

Update (2018-02-23): python-construct 2.9.33 is now in community-testing.

This package currently can’t be upgraded to 0.3.5 due to the python-construct package being outdated (current version is 2.8.22, python-miio requires ≥ 2.9.33). I’ve flagged python-construct as out-of-date and will update python-miio after python-construct got its PKGBUILD updated.