# Step-by-Step guide for adding Tuya-bulbs, Wi-Fi smart LED (Smart Life app) to OH2 using tuya-mqtt.js by AgentK

**URL:** <https://community.openhab.org/t/step-by-step-guide-for-adding-tuya-bulbs-wi-fi-smart-led-smart-life-app-to-oh2-using-tuya-mqtt-js-by-agentk/59371>\
**Category:** Tutorials & Examples\
**Tags:** tuya, smart-life, arilux\
**Created:** [December 10, 2018, 12:28pm UTC](https://community.openhab.org/t/step-by-step-guide-for-adding-tuya-bulbs-wi-fi-smart-led-smart-life-app-to-oh2-using-tuya-mqtt-js-by-agentk/59371 "2018-12-10T12:28:10Z")\
**Posts on this page:** 1\
**Showing post:** 220

<div class="post-metadata">

**Author:** ![stevenc88](https://community.openhab.org/user_avatar/community.openhab.org/stevenc88/32/75093_2.png) [@stevenc88](https://community.openhab.org/u/stevenc88)\
**Post date:** [September 14, 2020, 8:35pm UTC](https://community.openhab.org/t/step-by-step-guide-for-adding-tuya-bulbs-wi-fi-smart-led-smart-life-app-to-oh2-using-tuya-mqtt-js-by-agentk/59371/220 "2020-09-14T20:35:18Z")

</div>

Hello,  
I got the tuya-mqtt installed and working (I used the fork which supports protocol v 3.3). I can control my lights no problem.

I had a question about the “dps” index numbers. I have a Merkury RGB bulb from Walmart (link [HERE](https://www.walmart.com/ip/Merkury-Innovations-A21-Smart-Multicolor-LED-Bulb-75W-Dimmable/254063201)) and I was watching the transactions coming out of tuya-mqtt when controlling the bulb with the app.

Some of the DPS indices were obvious, like the ones for power (1), brightness (3), and setting the scene (2); but others are a mystery, and I see them getting set when I change scenes.

For example:

```auto
tuya/eb31b3020ddf10759blnao/da8fdb33370bf37f/192.168.50.52/dps/1 true
tuya/eb31b3020ddf10759blnao/da8fdb33370bf37f/192.168.50.52/dps/2 "white"
tuya/eb31b3020ddf10759blnao/da8fdb33370bf37f/192.168.50.52/dps/3 255
tuya/eb31b3020ddf10759blnao/da8fdb33370bf37f/192.168.50.52/dps/5 "ff00000000ffff"
tuya/eb31b3020ddf10759blnao/da8fdb33370bf37f/192.168.50.52/dps/6 "feedbb002c1a64"
tuya/eb31b3020ddf10759blnao/da8fdb33370bf37f/192.168.50.52/dps/8 "ffff3205ff000000ff00ffff00ff00ff0000ff"
tuya/eb31b3020ddf10759blnao/da8fdb33370bf37f/192.168.50.52/dps/9 "ffff3201ff0000"
tuya/eb31b3020ddf10759blnao/da8fdb33370bf37f/192.168.50.52/dps/10 "ffff3205ff000000ff00ffff00ff00ff0000ff"

```

Is there a way to find out what the other DPS indices mean? Or would someone know here?

Thanks!

---

_[View the full topic](https://community.openhab.org/t/step-by-step-guide-for-adding-tuya-bulbs-wi-fi-smart-led-smart-life-app-to-oh2-using-tuya-mqtt-js-by-agentk/59371)._
