Fabian Peter Hammerle 64fd346cd2 pylint: enable various optional checks/extensions | %!s(int64=2) %!d(string=hai) anos | |
---|---|---|
intertechno_cc1101 | %!s(int64=3) %!d(string=hai) anos | |
tests | %!s(int64=2) %!d(string=hai) anos | |
.gitignore | %!s(int64=3) %!d(string=hai) anos | |
.pylintrc | %!s(int64=2) %!d(string=hai) anos | |
CHANGELOG.md | %!s(int64=3) %!d(string=hai) anos | |
Pipfile | %!s(int64=3) %!d(string=hai) anos | |
Pipfile.lock | %!s(int64=2) %!d(string=hai) anos | |
README.md | %!s(int64=3) %!d(string=hai) anos | |
mypy.ini | %!s(int64=3) %!d(string=hai) anos | |
setup.py | %!s(int64=3) %!d(string=hai) anos |
Python Library & Command Line Tool to Switch Intertechno Outlets via CC1101 Transceivers
$ pip3 install --user --upgrade git+https://git.hammerle.me/fphammerle/intertechno-cc1101
On Raspbian / Raspberry Pi OS, dependencies can optionally be installed via:
$ sudo apt-get install --no-install-recommends python3-spidev
$ intertechno-cc1101 --address 12345678 --button-index 0 --turn-on
import intertechno_cc1101
remote_control = intertechno_cc1101.RemoteControl(address=12345678)
remote_control.turn_on(button_index=0)