homebridge-tuya-lan
homebridge-tuya-lan copied to clipboard
New Device Type: Door/Window Sensor
I have just made the purchase of a new Mirrabella Genio Wifi Door/Window Sensor (Mirrabella Genio Wifi Door/Window Sensor) that uses the tuya protocol and I want to add it into homekit. I have successfully acquired the id and key from the device using tuya-lan-find --schema
. The only issue is that after setting the device up as a SimpleLight
in my config.json file, homebridge is unable to find the device and comes back with the error [TuyaLan] Failed to discover (Device Name) (Device ID) in time but will keep looking.
I only have the schema due to this and i am unable to acquire the signature. Can you please advise me of any other way to acquire the signature so that i can help and get this device type supported by the TuyaLan Homebridge Plugin. Thanks
Here is the schema i acquired:
def: { schema: '[{"mode":"ro","code":"switch","name":"\\u5f00\\u5173","property":{"type":"bool"},"id":101,"type":"obj","desc":"\\u4e0a\\u62a5\\u95e8\\u7a97\\u5f00\\u5173\\u72b6\\u6001"},{"mode":"ro","code":"TamperedAlarm","name":"\\u9632\\u62c6\\u62a5\\u8b66","property":{"type":"bool"},"id":102,"type":"obj","desc":"mcu \\u4e0a\\u62a5\\u62c6\\u9664\\u4fe1\\u606f"},{"mode":"ro","code":"Battery","name":"\\u7535\\u6c60\\u7535\\u91cf","property":{"unit":"%","min":0,"max":100,"scale":0,"step":10,"type":"value"},"id":103,"type":"obj","desc":"mcu \\u4e0a\\u62a5\\u7535\\u6c60\\u7535\\u91cf\\u4fe1\\u606f"},{"mode":"ro","code":"state","name":"\\u72b6\\u6001","property":{"type":"bool"},"id":105,"type":"obj","desc":"\\u4e0a\\u62a5\\u4ea7\\u54c1\\u662f\\u201c\\u4f11\\u7720\\u201d\\u8fd8\\u662f\\u201c\\u79bb\\u7ebf\\u201d"}]',
Hi @TheHomekitWayFinder
Want to do the same, did you have any luck getting this to work by any chance? Would appreciate if you could share config if you have had access? Many thanks!
So is anyone gonna add support to this device type anytime soon?