tinytuya icon indicating copy to clipboard operation
tinytuya copied to clipboard

Can we receive IR signal. I want to build 2 way control for my AC

Open duongvanba opened this issue 2 years ago • 3 comments

I see that we can control our IR device well. But if we can find solution to receive ir signal i think we can sync remote state with hass So can we do it, and how to do it Thank so much

duongvanba avatar Jul 28 '23 14:07 duongvanba

I'm not following, but assume are you requesting an enhancement for a particular IR device?

jasonacox avatar Jul 31 '23 22:07 jasonacox

I'm not sure but it sounds to me like he wants to put the IR blaster next to the A/C unit so when you use the remote control to change the A/C the blaster will also pick up and report the signal.

The blasters really are not designed to receive continuously like that, but I don't see why you couldn't fake it by creating a loop that puts it back into 'learn' mode every time it receives something. Running the learned signal through IRRemoteControlDevice.pulses_to_nec(...) or IRRemoteControlDevice.pulses_to_hex(...) should get you a usable code you can match against.

uzlonewolf avatar Aug 01 '23 02:08 uzlonewolf

So does it have local api for receiving hex signal ?

duongvanba avatar Aug 01 '23 03:08 duongvanba