No Description

Fabian Peter Hammerle 6b8d332fb5 release v0.1.0 3 years ago
intertechno_cc1101 dd38ea92e6 intertechno-cc1101 command: fix lib invocation on --turn-off/-0 3 years ago
.gitignore ab3ce21bc8 draft RemoteControl class to turn on/off intertechno outlets 3 years ago
.pylintrc ab3ce21bc8 draft RemoteControl class to turn on/off intertechno outlets 3 years ago
CHANGELOG.md ac373ecf52 release v0.1.0 3 years ago
Pipfile ab3ce21bc8 draft RemoteControl class to turn on/off intertechno outlets 3 years ago
Pipfile.lock ab3ce21bc8 draft RemoteControl class to turn on/off intertechno outlets 3 years ago
README.md 50441aef11 readme: fix incomplete install command 3 years ago
mypy.ini ab3ce21bc8 draft RemoteControl class to turn on/off intertechno outlets 3 years ago
setup.py f9bd9e52b9 draft command-line tool "intertechno-cc1101" 3 years ago

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)