|
|
há 5 anos atrás | |
|---|---|---|
| intertechno_cc1101_mqtt | há 5 anos atrás | |
| tests | há 5 anos atrás | |
| .dockerignore | há 5 anos atrás | |
| .gitignore | há 5 anos atrás | |
| .pylintrc | há 5 anos atrás | |
| Dockerfile | há 5 anos atrás | |
| Pipfile | há 5 anos atrás | |
| Pipfile.lock | há 5 anos atrás | |
| README.md | há 5 anos atrás | |
| docker-compose.yml | há 5 anos atrás | |
| mypy.ini | há 5 anos atrás | |
| setup.py | há 5 anos atrás |
MQTT client controlling Intertechno Outlets via a CC1101 Transceiver
Compatible with Home Assistant's MQTT Switch platform.
$ pip3 install --user --upgrade git+https://git.hammerle.me/fphammerle/intertechno-cc1101-mqtt
On Raspbian / Raspberry Pi OS, dependencies can optionally be installed via:
$ sudo apt-get install --no-install-recommends python3-spidev python3-paho-mqtt
$ intertechno-cc1101-mqtt --mqtt-host HOSTNAME_OR_IP_ADDRESS
Send ON or OFF to topic intertechno-cc1101/[ADDRESS]/[BUTTON_INDEX]/set.
$ mosquitto_pub -h MQTT_BROKER -t intertechno-cc1101/12345678/0/set -m ON
⚠️ Support for TLS is not implemented yet. Do not connect to brokers via unprotected networks (e.g., internet, wifi network).