|
|
пре 4 година | |
|---|---|---|
| intertechno_cc1101 | пре 4 година | |
| tests | пре 4 година | |
| .gitignore | пре 4 година | |
| .pylintrc | пре 4 година | |
| CHANGELOG.md | пре 4 година | |
| Pipfile | пре 4 година | |
| Pipfile.lock | пре 4 година | |
| README.md | пре 4 година | |
| mypy.ini | пре 4 година | |
| setup.py | пре 4 година |
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)