No Description

Fabian Peter Hammerle 64fd346cd2 pylint: enable various optional checks/extensions 2 years ago
intertechno_cc1101 98d1faf4d2 rename "output_power_setting" to "power_setting" 3 years ago
tests 9dc23ceb2a re-lock dev environment 2 years ago
.gitignore ab3ce21bc8 draft RemoteControl class to turn on/off intertechno outlets 3 years ago
.pylintrc 64fd346cd2 pylint: enable various optional checks/extensions 2 years ago
CHANGELOG.md 6e880a0cac release v0.2.0 3 years ago
Pipfile ab3ce21bc8 draft RemoteControl class to turn on/off intertechno outlets 3 years ago
Pipfile.lock 9dc23ceb2a re-lock dev environment 2 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)