0x5e / homebridge-tuya-platform

Make homebridge-tuya-platform great again.
MIT License
206 stars 59 forks source link

Some Presence sensors incorrectly set as switches (kg) under Tuya IoT Platform Device Information #342

Open sloukita opened 11 months ago

sloukita commented 11 months ago

Prerequisite

Cache

Version

1.7.0-beta.48

Device Infomation JSON File

Some Presence sensors incorrectly set as switches (kg) under Tuya IoT Platform Device Information
    "category": "kg",
    "product_id": "sxm7l9xa",
    "product_name": "Human presence sensor",

While other Presence sensors are correctly set as presence sensor (hps)
    "category": "hps",
    "product_id": "ztc6ggyl",
    "product_name": "ZigBee呼吸存在传感器",

I can override in homebridge to config for all to be hps, but it would be good if it was fixed such that by default they are all hps.

Also, even when set to hps, homekit doesn't see the illuminance_value light sensor value.

Device Control Mode

DP Instruction

Logs

No response

Other Infomations

presence sensors should all have category set to "hps" instead of switches "kg"

0x5e commented 11 months ago

this is beyond my ability, my solution is override in the plugin config. If you want to fix it on cloud side, please submit the ticket to tuya iot platform :)