Can you create a script from a scene? I can see all my remote buttons in HA scenes. If i activate it nothing happens.
Found my problem thanks. Had to reset my tuya receiver a few month ago and when I looked in my tap to run I noticed that all actions were removedš.
All is now sorted againš
same problem
So, local tuya (hacs) isnāt able to control tuya IR blasters? Has anyone tried to ātasmotizeā one ?
Just found this page
Iāll try to reflash (=brick) mine
I succeeded to flash my unnamed/unmodeled IR blaster with Tasmota. My IR Blaster was powered by the ātasmotisableā TYWE3S module.
I applied the YTF Universal Remote IR Controller (from YTF Universal Remote IR Controller Configuration for Tasmota) and it seems to work well.
Now I am able to send IR commands to my Yamaha Hi-Fi stereo system from a custom Lovelace buttons card that mimics the original Remote:
Thanks to @ChewbaccaBG for suggesting the right thing to do.
How did you flash it? Did you have to connect the EN pin to GND to reset the device to enter boot mode?
Iām trying to flash mine with a similar chip but canāt get it to work
No, I used this cabling, with a Raspberry Pi as a serial programmer.
To make the TYWE3S boot in flash mode, you need to short pin GPIO0 with GND. Give power, count to ten, and then you can disconnect that pin, the module should be ready to flash.
I used a step down converter from the 5V pin of the Raspberry to avoid drawing too much current from the 3v3 pin of the Raspberry GPIO. But this is only an āexcess of cautionā (I donāt know if this is correct in english): I have been said that the 3v3 current from the raspberry is enough to power up the TYWE3S.
If you use esptool, you can test the flash mode issuing the āflash_idā command:
esptool.py -p /dev/ttyAMA0 -b 115200 flash_id
You should obtain information about the module.
HTH!
Lorenzo
another workaround to ensure it can work locally
using ZigBee IR paired to your Tuya any kind of ZigBee Hub
get a ZigBee Socket that has timer option
in Tuya, preset certain timer value to be preset IR action
e.g.
- when Socket A timer set to 1000, then run action B from IR controller, after that, set the Socket A timer back to whichever it belongs, preferably 0
- in HomeAssistant with Local-Tuya or Tuya-Local integration, in your automation, set the Socket A timer to 1000.
Pros : no need to purchase zha or z2m. Also no flasing required, so your Tuya IR can still be controlled by cloud voice assistant such as GoogleAssistant/Alexa/Siri
Cons : if the Socket is down and you are replacing with a new socket, u need to reprogram all the timer.
I am sure if you are Tuya + ZigBee fans, you must have certain ZigBee sockets.
so wait you telling me the S18 Tuya WIFI Smart IR Remote Control with the Smart Life app noooo one has got it working? Its as less than $5 item thats perfect and sighā¦ need to do some more digging, maybe i can tasmatize it or something.
It is possible to use these Tuya Wifi IR remotes completely locally with IR capabilities. If you add it to Tuya Local or Local Tuya fork then itāll show up with a remote entity.
Then in a very similar way to how you learn codes with a Broadlink devices you use action: remote.learn_command
to learn the codes and action: remote.send_command
to send the commands. It stores it in /config/.storage/tuya_local_remote_codes
or localtuya_remotes_codes
I even got it to work with the SmartIR fork (it probably also works with the original version)
You simply add the device as a Broadlink device. Unfortunately the IR code is different to Broadlink or Tuya Zigbee IR codes so youāll need to learn them fresh. I donāt know if there are any converters yet.
- platform: smartir
name: Tuya AC
unique_id: tuya_ac
device_code: 10274
controller_data:
controller_type: Broadlink
remote_entity: remote.universal_remote_control
delay_secs: 1.5
num_repeats: 1
temperature_sensor: sensor.universal_remote_control_temperature
humidity_sensor: sensor.universal_remote_control_humidity
I found if I tried to use Tuya Zigbee IR codes it would crash the Tuya Wifi IR remote and Iād have to power cycle it. It would transmit Broadlink codes alright but none of my devices would respond to it. Ultimately Iām probably gonna swap it out with an ESP chip and run ESPHome or Tasmota but it was fun to see how far it could go with just Tuya. This was all tested with the S1 Pro Tuya Wifi Remote/Blaster https://www.aliexpress.com/item/1005007191700863.html. It has a CB3S chip and has patched Tuya firmware so canāt currently be flashed OTA.