Fabien Brachere
Fabien Brachere
Hi, I'm working on it, learning mode is functional, I need to write the code to send IR frames. I'll do a PR when it'll be finished.
Quirk is functional, here: https://github.com/ferehcarb/zha-device-handlers/blob/dev/zhaquirks/tuya/ts1201.py Learning mode must be set with "Manage Zigbee Device":  When you click on "Issue Zigbee Command" the blue led on the device should light...
> Hey THX a lot for that. I am trying to follow your guide but i don't seem to get any codes in my logs. The blue LED lights up...
@ranton1990 Is it working for your device ? I developed the last pieces of code outside my home and didn't test it on a real device...
Hi, the signature for "_TZ3290_7v1k4vufotpowp9z" is already in the quirk. Did you specify the custom directory for quirks in your config ?
"Foreign key constraint failed". Don't know from what it could came. We need a zha expert...
Well seen. Try to remove this lines: - https://github.com/ferehcarb/zha-device-handlers/blob/dev/zhaquirks/tuya/ts1201.py#L436 - https://github.com/ferehcarb/zha-device-handlers/blob/dev/zhaquirks/tuya/ts1201.py#L457 It seems there isn't PowerConfiguration cluster on your device.
Arf... you have another endpoint (242) too. You should add to "ENDPOINTS" dictionary signature I think.
Neither me, I wasn't know what it was 2 months ago ;-) I pushed a [new version](https://github.com/ferehcarb/zha-device-handlers/blob/dev/zhaquirks/tuya/ts1201.py) with your device signature, give it a try.
By the way, now you can get the learned IR code with an attribute:  You don't need any more to catch it in the hommeassistant logs.