-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added configuration for TYWE3S module on YTF Universal IR device (send & recv) #4855
Comments
Great finding, could you add to wiki please? |
Device is now in dev release. |
@pastudan Great work. i happen to buy a Tuya app based universal IT remote, I have flashed it with TASMOTA. I was able to figure out IR receive & Send GPIO (ref below image) Query:
OFF: IRsend {"Protocol":"NEC","Bits":32,"Data":50153655} WORKING ON: IRsend {"Protocol":"NEC","Bits":32,"Data":50153655} NOT WORKING
@arendst advised to change the tasmoto source with following values , but still with those changes i dont get the full RAW code. Have you come across these issues? Do u have a solution? |
@ceaswaran you'll notice that the IR code starts repeating somewhere after the first 50 or so comma separated numbers. Not exactly, but I think thats because of how it is encoded vs how raw recv displays the data. I suspect if you copy the code up to the dots and use irsend (keep in mind you need to add a leading 0 to signify 38khz) you should see it works fine. |
@pastudan prefixed 0 & added code till dot dot dot. using IRsend |
* Add support for OBI Power Socket 2 (arendst#4829) * Add support for YTF IR Bridge (arendst#4855)
I got the same device, how do I apply your configuration? Sorry very new to this |
This seems to be the same layout for the Monoprice Stitch device. (Same hardware) |
Interestingly, I had to cut the trace going from the RX and TX serial pads towards the USB port. It appears they were being bridged somehow, causing all sorts of serial errors. |
@viertaxa nice solution. In the latest development versions I disabled serial comms for this device which also solves the serial loopback issue. So no need to cut wires. |
@viertaxa thanks for mentioning that. I thought I just had a faulty device! I didn't have the loopback issue when I first loaded the firmware, but it popped up later. Can you show an image with exactly which trace you cut? My PCB is black so it's difficult to follow the traces. I wonder why they would bridge those 🤔 |
@pastudan load latest firmware and you dont have this issue without cutting traces |
@Jason2866 @arendst wouldn't that create a problem where you can't configure your device over serial? I needed the serial interface to configure my wifi username / password after loading the sonoff firmware, since I didn't want to take the time to compile a version with them built in. Maybe there's a better way I'm missing? |
Via wifi. Read wiki... |
@pastudan I tried shorting GPIO 0 to GND and RST to GND, but failed. Thanks! |
@jamietang68 if I recall correctly, you need to connect GPIO 0 to GND during boot, and then release it during flashing |
@pastudan Thanks for reply. Yeah i tried that but it doesnt seems to work.. do you remember if the blue led is blinking or stays on during flashing mode? |
If any LEDs blink while powering up then it didn't go into programming mode. When GPIO0 is grounded (and kept grounded for 3-4 seconds), no LEDs should light. |
@meingraham got it! thanks for the info! |
Anyone still here? I develop tech for special needs kids. I am wanting to control this YTF IR blaster via a iOS app. Is there an API or has anyone hacked with Python or something? |
@rjcooper725 this firmware supports MQTT which is a well documented API that you could build an iOS app around. https://github.com/arendst/Sonoff-Tasmota/wiki/MQTT-Overview |
@rjcooper725, besides MQTT, Tasmota also supports control over HTTP and over KNX IP MULTICAST See wiki at: https://github.com/arendst/Sonoff-Tasmota/wiki/Commands for control over HTTP |
Hi!
Please check this one out for me? (IR blaster)
Tx!
…Sent from my iPhone
On Mar 22, 2019, at 5:16 PM, Adrian Scillato ***@***.***> wrote:
@rjcooper725, besides MQTT, Tasmota also supports control over HTTP and over KNX IP MULTICAST
See wiki at: https://github.com/arendst/Sonoff-Tasmota/wiki/Commands for control over HTTP
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Thanks for providing the pinout for this device @pastudan.
Edit: Nevermind, found that Tasmota uses IRRemoteESP8266. Has anyone configured Tasmota IRHVAC climate control on HA? Thanks again for the information! |
@2016for use Tasmota it can send receive raw codes |
Hey I am finally ready to flash this. Any suggestions on how to flash it without having to solder wires onto the flat PCB solder pads? |
Tuya Convert does backup firmware |
Hello, I flashed this IR blaster:
and it works only when I power the esp directly from the usb/serial programmer, but if I power it from the microusb connector it does not show any working activity, green leds are powered and the voltage in the gnd and vcc pins are correct. I am out of ideas :-( ... any idea why it might be happening? |
Can you upload a picture of the internal board/PCB? |
@damocles-git i use it with tasmota . are u able to see sonoff-XXXX wifi? |
Hi ceaswaran, yes .. I can use tasmota with the esp8266 chip (this is mqtt and http) only when it is powered directly from the serial programmer even the green leds are on, wifi settings are configured through the user_config_override_sample.h file, but when I disconnect the programmer and use the microusb connector to power it the green leds are on again and not wifi activity is showed in my wifi network, no smartconfig, nothing! |
Did you flash the chip using DIO? This happened to me when using DOUT before.
… On May 27, 2019, at 6:14 AM, damocles-git ***@***.***> wrote:
@damocles-git <https://github.com/damocles-git> i use it with tasmota . are u able to see sonoff-XXXX wifi?
Hi ceaswaran, yes .. I can use tasmota with the esp8266 chip (this is mqtt and http) only when it is powered directly from the serial programmer even the green leds are on, wifi settings are configured through the user_config_override_sample.h file, but when I disconnect the programmer and use the microusb connector to power it the green leds are on again and not wifi activity is showed in my wifi network, no smartconfig, nothing!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#4855>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AIAWFAZTDY6XTEL7ZWZXOTLPXOQ75ANCNFSM4GOVPOAQ>.
|
I flashed it with DOUT, as stated in the wiki:
this is my command line: 'esptool.py -c esp8266 -p /dev/ttyUSB0 -b 921600 write_flash --flash_mode dout --flash_size 1MB 0x0 sonoff-6.5.0.2.bin' |
Finally it worked :-) Normally I use an usb hub to connect the devices, I test it with a different power adapter and it worked, very big thanks for this fantastic software!! |
Were you able to fix the dot dot dot issue? |
Hi Pastudan, Thanks for your help. |
If I remember correctly you have to use a thin screwdriver or knife to get the case open (separating the top and bottom of the case).
There is a way to do it without snapping plastic or otherwise damaging the unit, just move around the edges until you feel a spot with less resistance and start applying a little pressure there.
…Sent from my iPhone
On Aug 23, 2019, at 5:38 PM, thomas-lentz ***@***.***> wrote:
Hi Pastudan,
how did you open the IR Blaster? There aren't any screws visible on mine.
Thanks for your help.
Greetings
Tom
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I just looked at my device and it seems like the place to start is the green highlighted area in the attached photo |
Hi Arduino43, |
Hi, I did the exact same steps as i did with the plugs. I put the YTF bridge into pairing mode (blue led blinking fast) and then started the flashing process. Initial results show that the convert program is connecting to the device as the flashing stops after a few seconds and i get a solud blue led which then turns off. Unfortunately the flashing process does not go further from this point onwards. The original FW is not downloaded and i cannot flash tasmota. Is there something i should do differently for this to work? Don't really want to crack the unit open and solder. I just want to get the same tuyaconvert OTA method working if thats a doable way. Cheers |
@Freakadude Did you manage to flash tasmota using tuya convert? |
A listing in Aliexpress promising TYWE3S (with pictures) shipped me a WR3E so be careful with new devices. |
I managed to flash an YTF IR Bridge (TYWE3S) using tuya-convert without needing to open it's case or solder any wires. |
@koivunen Regarding these new non-ESP based devices, here is a full thread discussing them: |
How to handle some raw data like what I'm getting from my ceiling fan, |
Please refrain from posting in an old and closed issue. Reach out on Discord. The encoding is explained here: https://tasmota.github.io/docs/IRSend-RAW-Encoding/ and there's an online tool to convert to uncompressed format |
Go to https://tasmota.hadinger.fr/util and paste the code from your RawData and press Go to decode it.
Exemple: |
Can you give some info about how to do this? |
You find here all the information you need: |
I was looking for a smart IR device to control some IR curtains, and tried this YTF Wifi Smart IR remote from Amazon (https://www.amazon.com/gp/product/B07H46LJZK).
Unfortunately the app didn't allow custom programmed IR codes to be hooked up to Automation / Google Home / IFTTT (only predefined ones), so I cracked it open to see what was inside and if it was hackable. I became hopeful after seeing what looked like a familiar ESP8266, and discovering that the TYWE3S is exactly that.
I stumbled across this repo in my googling, and decided to give it a try. Got it running with no problem, and I wanted to share my pin configuration after a few hours of trial and error:
This device is a sleek little smart IR module for ~$30, and this software makes it a ton more useful. Thanks!
The text was updated successfully, but these errors were encountered: