Python middleware for Tuya WiFi smart devices to MQTT
Project description
Listens on MQTT topic and routes requests to Tuya devices, based on a one to one topic translation in e.g. Home-Assistant config-files. 1:1 topic translation is limited to simple tasks (like switching ON/OFF); only boolean values.
TuyaMQTT uses TuyaFace to communicate locally (no cloud connection needed) with your tuya devices.
In v1.1 Tuya device configuration can be done with GismoCaster. In which you can set discovery messages for both TuyaMQTT and Home Assistant and opens up the ability to set boolean/integer/float/string types.
The goal for version v1.2 is to add input/output processing functions and to improve on HA message values.
Docs
https://github.com/TradeFace/tuyamqtt/wiki
Get involved!
Anyone who is willing to test, write code, add documentation, etc. is welcome to make a contribution.
Acknowledgements
- https://github.com/emontnemery development tuyaclient and implementation in tuyamqtt
- https://github.com/jkerdreux-imt testing tuyaclient
- https://github.com/SDNick484 testing protocol 3.1 reimplementation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tuyamqtt-1.1.6.tar.gz
.
File metadata
- Download URL: tuyamqtt-1.1.6.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3456862e820aea321741e81ecae1b883206cec99f060ac483ab2f10b5b86e098 |
|
MD5 | 87d32cdcf8af3dab84185fe7e7adf215 |
|
BLAKE2b-256 | 053592814edc2a8dcdda87101fcb266770c2f6edd8c65559a9519506ef5209c6 |
File details
Details for the file tuyamqtt-1.1.6-py3-none-any.whl
.
File metadata
- Download URL: tuyamqtt-1.1.6-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 240206805700dfba3252be04aeae18ce98dd51dd7abddb93b8b95b99cb762563 |
|
MD5 | 77d995591777b9a51cdedb26953b5520 |
|
BLAKE2b-256 | 2fa2083c211791c15f9d461827a03ffe20a8cd77c97c4661bccbaeb0067f962e |