Skip to main content

Emit MQTT events from Tinkerforge devices

Project description

tinkerforge2mqtt

tests codecov tinkerforge2mqtt @ PyPi Python Versions License GPL-3.0-or-later

Stage: Planing...

Usage

Preperation

Setup APT repository for Tinkerforge: https://www.tinkerforge.com/doc/Software/APT_Repository.html

work-a-round for missing tinkerforge.asc file:

wget -qO /tmp/tinkerforge.gpg https://download.tinkerforge.com/apt/$(. /etc/os-release; echo $ID)/tinkerforge.gpg
gpg  --keyring /tmp/temp.gpg  --no-default-keyring --import  /tmp/tinkerforge.gpg
gpg  --keyring /tmp/temp.gpg  --no-default-keyring  --export -a | sudo tee /etc/apt/trusted.gpg.d/tinkerforge.asc >/dev/null
rm -f /tmp/tinkerforge.gpg /tmp/temp.gpg

See: https://www.tinkerunity.org/topic/12201-fehler-beim-apt-quellen-einbinden/ (german)

Install Tinkerforge Brick Daemon: https://www.tinkerforge.com/doc/Software/Brickd.html

sudo apt install brickd
### Bootstrap

Clone the sources and just call the CLI to create a Python Virtualenv, e.g.:

```bash
~$ git clone https://github.com/jedie/tinkerforge2mqtt.git
~$ cd tinkerforge2mqtt
~/tinkerforge2mqtt$ ./cli.py --help

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tinkerforge2mqtt-0.1.0.tar.gz (52.7 kB view hashes)

Uploaded Source

Built Distribution

tinkerforge2mqtt-0.1.0-py3-none-any.whl (23.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page