p.kaczmarek2 wrote: I can't see any solder pads that could be a flashing port. You can still try probing with multimeter to find some, but maybe it would be worth to solder directly to CBU...
You don't have much wires to solder, you will only need to solder RX and TX to CBU pads.
Ground can be soldered elsewhere, for example, this large pad is most likely connected to ground - just check it first with multimeter.
Then, power, it can be supplied via USB connector, from the same machine that you have USB to UART converter connected to.
OK I was able to dump the stock firmware using ltchiptool but UPK2ESPHome was unable to get anything out of it. I flashed ESPHome and at this point I'm able to flash wirelessly, but the device isn't working, really, because I don't know how to get the IR to work of read the data from the sensors.
This is a CBU device and based on my research (I'm new at this) it doesn't have a TuyaMCU. I have no idea how to configure this device. I have a similar device (S06 Pro) but that one uses a TuyaMCU (temperature and humidity are read from the TuyaMCU, Pin 26 is the IR Transmitter and Pin 8 the IR Receiver so pretty easy under generic-bk7231t-qfn32-tuya with RX1 and TX1 for the UART bus at 9600 baud rate) and this one apparently does not.
Any idea on how to figure out the pins and stuff for this device? I attached the stock firmware dump in case that's useful
EDIT: Looks like the device I have is exactly like the one shown in this post:
https://www.elektroda.com/rtvforum/topic3974946.html#20560227, but the pinout specified there does not work for me (Pin 8 for the IR Transmitter and Pin 24 for the IR Receiver). This is the relevant part of my ESPHome YAML file:
bk72xx:
board: generic-bk7231n-qfn32-tuya
remote_transmitter:
pin: GPIO8
carrier_duty_percent: 50%
remote_receiver:
id: receiver
pin:
number: GPIO24
inverted: true
mode:
input: true
pullup: true
tolerance: 55%
dump: all