README.md 1009 B

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)