Open Jhonattan-Souza opened 3 years ago
@Jhonattan-Souza IR uses Extension APIs, not like normal devices. https://developer.tuya.com/en/docs/cloud/universal-infrared?id=K9jgsgd7buln4
You are welcome to create a new PR at https://github.com/tuya/tuya-iot-python-sdk. It will be better to develop a new IR driver base on it.
Thank you tsutsuku, I will take a look on it!
Hi @tsutsuku :)
I'm finishing the implementation of the infrared into the sdk , but, looking at the docs, there's no option to receive feedback from the physical controller, to start a automation from a physical remote arriving at the Tuya IR,
Can you guide me towards this problem? I don't know how to apply devices to receive notification in the mqtt o.o
Describe the bug Im trying to add the Infrared TV remote capabilities, writing the device driver but when I send the commands this is the response:
I`ve also tried with just 'value' as the parameter in the json, but without success.
POST, url = https://openapi.tuyaus.com/v1.0/devices/ebc41ada7f2f4cdda9dfda/commands, params = None, body =
{'commands': [{'code': 'Volume+', 'values': 'Volume+'}]}
POST, url = https://openapi.tuyaus.com/v1.0/devices/ebc41ada7f2f4cdda9dfda/commands, params = None, body =
{'commands': [{'code': 'Volume+', 'values': 'Volume+'}]}
Can you guys help me with this ?
Device info (please complete the following information, which can be found in log):
Device specifications (please complete the following information, which can be found in log):
Additional context Add any other context or logs about the problem here.