Open christianzappa opened 9 months ago
Hi,
Can you share how did you get to this screen? I installed it through HACS but can't get it to work :(
@Osher-Levy you'd be able to get to that screen by going to Developer tools-SERVICES Then type in Remote: Send command as the Service.
I doubt SmartIR currently supports TuyaLocal IR Blasters. Code would likely need to be added for it. It is quite cool to see that we can finally use Tuya based IR blasters locally.
@BenJamesAndo Thanks for telling me. I did manage to get to this scrren but can't control my IR remote. "Unknown error". It is a Tuya Loca ldevice. There is any way to control my AC?
Make sure you first learn the command. I don't have a Tuya IR blaster so I can't help much. You're better off asking on the tuya-local github page. Discussion about the feature getting added there is at https://github.com/make-all/tuya-local/issues/1215
From what I've seen, it seems Tuya Smart IR's doesn't work with home assistant. I ended up buying Broadlink RM4 MINI, I saw Broadlink remotes working good with home assistant. Thank you anyway.
I have several of these Tuya blasters, now configured using ESPhome (tuya cloudcutter works fine). Perhaps that may be a way forward
Hey guys, I have implemented the solution for the Tuya to work with SmartIR and on its own for example for climate devices. You can check it out here: https://github.com/drndos/hass-localtuya and smartIR here: https://github.com/drndos/SmartIR
In Tuya integration I have added the ability to send the header, so you can do as I did and press the buttons on your Tuya mobile app, check the debug logs in Cloud Tuya and then copy paste the commands into your custom SmartIR json (for my devices it even had logic and the numbers represented the settings, so you dont have to try all combinations). I am using "|" as a split between header and irCode, I have also added functionality of delay and ability to send raw codes that wasn't available.
In SmartIR I have added my Airwell climate config that you can check and get inspired for your own device and also added custom format and custom integration for Tuya devices.
You can add both repos as custom repository in HACS and add your custom json file on the file system or fork my SmartIR and change the URL in code that does the downloading of json files from github.
Good luck with your amazing projects and have a cool day with your new automated climate automation :)
PS: when adding the tuya devices you need to add custom DPS 201 and 202 for IR commands
Hey guys, I have implemented the solution for the Tuya to work with SmartIR and on its own for example for climate devices. You can check it out here: https://github.com/drndos/hass-localtuya and smartIR here: https://github.com/drndos/SmartIR
In Tuya integration I have added the ability to send the header, so you can do as I did and press the buttons on your Tuya mobile app, check the debug logs in Cloud Tuya and then copy paste the commands into your custom SmartIR json (for my devices it even had logic and the numbers represented the settings, so you dont have to try all combinations). I am using "|" as a split between header and irCode, I have also added functionality of delay and ability to send raw codes that wasn't available.
In SmartIR I have added my Airwell climate config that you can check and get inspired for your own device and also added custom format and custom integration for Tuya devices.
You can add both repos as custom repository in HACS and add your custom json file on the file system or fork my SmartIR and change the URL in code that does the downloading of json files from github.
Good luck with your amazing projects and have a cool day with your new automated climate automation :)
PS: when adding the tuya devices you need to add custom DPS 201 and 202 for IR commands
Nice job, @drndos ! Can you help me?
What do you mean with "add custom DPS"?
Can you show us your climate:
section? I'm using your repos, without success. The controller shows up on Home Assistant dashboard, but can't send commands to AC.
Home Assistant version 2024.1.3
SmartIR version Latest
SmartIR configuration
Describe the bug
I have a Tuya IR AC Controller, using TuyaLocal integration I can now learn and send IR codes and that works.
I'm trying to use SmartIR with the controller, I'm building a device JSON file BUT I can't seem to get things to work.
The only way I can send IR codes ATM is using the Remote Send Command Service Call, I need to enable the Device ID and use 202 (which I found as the send command code in Tuya Developer platform).
How can I proceed (sorry new to all this)?