Description for MQTT DPS topics for subdevices (cid) behind Tuya Gateway

This commit is contained in:
lehanspb
2023-02-15 12:36:25 +03:00
parent a170287e9e
commit 1d1ab0d62a
2 changed files with 4 additions and 6 deletions

View File

@@ -157,6 +157,7 @@ In addition to the DPS Key topics, it's possible to use the DPS for devices behi
This example demostrates DPS values and commands for Tuya Smart Thermostat Radiator Valve behind Tuya Gateway: This example demostrates DPS values and commands for Tuya Smart Thermostat Radiator Valve behind Tuya Gateway:
```
Thermostat mode: Thermostat mode:
tuya/zgw1/1a24fkfffe6b4e24/dsp/4/state --> {"4":"auto"} tuya/zgw1/1a24fkfffe6b4e24/dsp/4/state --> {"4":"auto"}
Possible values: auto/temp_auto/holiday/manual/comfort/eco/BOOST Possible values: auto/temp_auto/holiday/manual/comfort/eco/BOOST
@@ -175,13 +176,13 @@ Valve percent:
tuya/zgw1/1a24fkfffe6b4e24/dps/109/state --> {"109": 30} tuya/zgw1/1a24fkfffe6b4e24/dps/109/state --> {"109": 30}
Where 30 - 30% Where 30 - 30%
tuya/zgw1/dps/command <-- {"dps": 109, "set": 40, "cid": "1a24fkfffe6b4e24"} tuya/zgw1/dps/command <-- {"dps": 109, "set": 40, "cid": "1a24fkfffe6b4e24"}
```
## Issues ## Issues
Not all Tuya protocols are supported. For example, some devices use protocol 3.2 which currently remains unsupported by the TuyAPI project due to lack of enough information to reverse engineer the protocol. If you are unable to control your devices with tuya-mqtt please verify that you can query and control them with tuya-cli first. If tuya-cli works, then this script should also work, if it doesn't then this script will not work either. Not all Tuya protocols are supported. For example, some devices use protocol 3.2 which currently remains unsupported by the TuyAPI project due to lack of enough information to reverse engineer the protocol. If you are unable to control your devices with tuya-mqtt please verify that you can query and control them with tuya-cli first. If tuya-cli works, then this script should also work, if it doesn't then this script will not work either.
## Integration with other Home Automation tools ## Integration with openHAB
openHAB examples are [here](docs/openHAB.md). openHAB 3.x examples are [here](docs/openHAB.md).
## Contributors ## Contributors
- [TheAgentK](https://github.com/TheAgentK) - [TheAgentK](https://github.com/TheAgentK)

View File

@@ -1,6 +1,3 @@
:exclamation: There is a greate Step-By-Step guide from user HolgiHab at openhab community ([Step-By-Step Guide](
https://community.openhab.org/t/step-by-step-guide-for-adding-tuya-bulbs-smart-life-to-oh2-using-tuya-mqtt-js-by-agentk/59371)). This guide is not only for light bulbs, but also applies to sockets. :exclamation:
## Example items for OpenHAB 3.x Bindings ## Example items for OpenHAB 3.x Bindings
### Tuya Smart Thermostat Radiator Valve behind Tuya Gateway ### Tuya Smart Thermostat Radiator Valve behind Tuya Gateway