AMoo-Miki / homebridge-tuya-lan

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

New device: LSC - Smart Door Sensor #171

Open huubpenris opened 4 years ago

huubpenris commented 4 years ago

Manufacturer: LSC Model: Smart Door Sensor https://www.action.com/nl-nl/p/lsc-smart-connect-deursensor/

Schema: def: { schema: '[{"mode":"ro","code":"doorcontact_state","name":"\\u95e8\\u78c1","property":{"type":"bool"},"iconname":"icon-zanting","id":1,"type":"obj","desc":"\\u3010\\u5fc5\\u9009\\u3011"},{"mode":"ro","code":"battery_state","name":"\\u7535\\u6c60\\u7535\\u91cf\\u72b6\\u6001","property":{"range":["low","middle","high"],"type":"enum"},"id":3,"type":"obj","desc":"\\u3010\\u975e\\u5fc5\\u9009\\u3011"}]', }

Unfortunately no Signature: Failed to discover Door Sensor 1 (***) in time but will keep looking.

mfw2010 commented 4 years ago

I have got a Tuya Smart WiFi Door sensor with exactly the same Schema as shared above. Would be amazing if this device type can be supported! Tried to add it as Outlet but it fails...

[TuyaAccessory] Socket had a problem and will reconnect to GateSensor (Error: ERR_CONNECTION_TIMED_OUT)