AMoo-Miki / homebridge-tuya-lan

Homebridge plugin for IoT devices that use Tuya Smart's platform
MIT License
196 stars 50 forks source link

Support for PIR sensor lights #258

Open LordBBQ opened 2 years ago

LordBBQ commented 2 years ago

I have been connecting a few Brilliant Smart tunable white sensor lights which have an extra datapoint for mode. I believe this is 3 modes, 0 being PIR sensor activated, 1 being override (controlled by HomeKit through home bridge normally), and 2 being flash (not important in this situation). I am not sure how to control another datapoint ID from home bridge. I was not sure if this could also be done with another tuya device added but set to this datapoint, and could be controlled like a smart plug, but I was unable to get this to work. I am also not sure if this could be added natively into the plugin.