Fabian Peter Hammerle 64fd346cd2 pylint: enable various optional checks/extensions | 2 years ago | |
---|---|---|
intertechno_cc1101 | 3 years ago | |
tests | 2 years ago | |
.gitignore | 3 years ago | |
.pylintrc | 2 years ago | |
CHANGELOG.md | 3 years ago | |
Pipfile | 3 years ago | |
Pipfile.lock | 2 years ago | |
README.md | 3 years ago | |
mypy.ini | 3 years ago | |
setup.py | 3 years ago |
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)