Hi,
First of all, I want to apologize for my English. I’m from Spain.
I’m new for here, I have been enthusiastic about electronics, programming and automation since I was a kid, and over time I have learned to deal with these issues.
Last summer, I decided to learn another programing language and try to write some edge driver. I bought a Zigbee Moes Smart IR Remote Control and started to learn LUA, zigbee protocol and edge driver structure. Althought I’m very newbie yet, I want to share with you an edge driver for that device. This is the invitation to my channel
The zigbee2mqtt code has helped me a lot to understand how the device works. After the driver could learn and send IR codes, I used keypadInput and mode capabilities for the interface.
The driver has three fingerprints:
manufacturer: _TZ3290_ot6ewjvmejq5ekhl model: TS1201
manufacturer: _TZ3290_acv1iuslxi3shaaj model: TS1201
manufacturer: _TZ3290_j37rooaxrcdcqo5n model: TS1201
To learn a new code, you can select Learning in mode option, and press the button that you want to learn. Then, a led in the device turn on and you can press a button in your real remote control. You have 20 seconds for this, if you don’t press any button on Smartthings or in your remote control, the led will turn off and the mode will change to Learning Off. As well, you can delete all learned codes form Delete ALL buttons option.
I hope you like it.
otivax
2023-10-27 UPDATE
Added actions for keypad, delay between action buttons, power on/off Option 1, pressed and learned buttons in history, and new preferences for delay value and history
2023-10-31 BUG FIXED
The On and Off states now work correctly
2023-11-21 BUG FIXED
Learning Mode set to “Learning off” when driver is initialized
2024-01-04 DEVICE ADDED - Happy new year!
New fingerprint _TZ3290_7v1k4vufotpowp9z. TS1201 device without battery
2024-02-20 DEVICE LIST ADDED
You can now control up to ten devices.
2024-08-06 DEVICE ADDED
Added new fingerprint, manufacturer: _TZ3290_gnl5a6a5xvql7c2a model: TS1201
2024-10-08 DEVICE ADDED
Added new fingerprint, manufacturer: _TZ3290_u9xac5rv model: TS1201