No Description

Fabian Peter Hammerle 64fd346cd2 pylint: enable various optional checks/extensions 2 months ago
intertechno_cc1101 98d1faf4d2 rename "output_power_setting" to "power_setting" 1 year ago
tests 9dc23ceb2a re-lock dev environment 2 months ago
.gitignore ab3ce21bc8 draft RemoteControl class to turn on/off intertechno outlets 1 year ago
.pylintrc 64fd346cd2 pylint: enable various optional checks/extensions 2 months ago
CHANGELOG.md 6e880a0cac release v0.2.0 1 year ago
Pipfile ab3ce21bc8 draft RemoteControl class to turn on/off intertechno outlets 1 year ago
Pipfile.lock 9dc23ceb2a re-lock dev environment 2 months ago
README.md 50441aef11 readme: fix incomplete install command 1 year ago
mypy.ini ab3ce21bc8 draft RemoteControl class to turn on/off intertechno outlets 1 year ago
setup.py f9bd9e52b9 draft command-line tool "intertechno-cc1101" 1 year 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)