Нема описа

Fabian Peter Hammerle 64fd346cd2 pylint: enable various optional checks/extensions пре 2 година
intertechno_cc1101 98d1faf4d2 rename "output_power_setting" to "power_setting" пре 3 година
tests 9dc23ceb2a re-lock dev environment пре 2 година
.gitignore ab3ce21bc8 draft RemoteControl class to turn on/off intertechno outlets пре 3 година
.pylintrc 64fd346cd2 pylint: enable various optional checks/extensions пре 2 година
CHANGELOG.md 6e880a0cac release v0.2.0 пре 3 година
Pipfile ab3ce21bc8 draft RemoteControl class to turn on/off intertechno outlets пре 3 година
Pipfile.lock 9dc23ceb2a re-lock dev environment пре 2 година
README.md 50441aef11 readme: fix incomplete install command пре 3 година
mypy.ini ab3ce21bc8 draft RemoteControl class to turn on/off intertechno outlets пре 3 година
setup.py f9bd9e52b9 draft command-line tool "intertechno-cc1101" пре 3 година

README.md

intertechno-cc1101

Python Library & Command Line Tool to Switch Intertechno Outlets via CC1101 Transceivers

Requirements

Setup

$ 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

Usage

Command-line

$ intertechno-cc1101 --address 12345678 --button-index 0 --turn-on

Python Library

import intertechno_cc1101

remote_control = intertechno_cc1101.RemoteControl(address=12345678)
remote_control.turn_on(button_index=0)