Open duongvanba opened 1 year ago
What is S06? If the chip is getting hot, it's likely that you overloaded it with too high voltage (for example 5V instead of 3.3V). What is the chip in that device? I'm afraid I'll need more details to help.
It is CBU chip (BK7231N) I see 5V 0.5A in its case It is tuya product to send IR signal with tuya/smartlife app
How are you powering it for flashing? What voltage did you apply and where? A photo could also help.
I don't do anything with power With original firmware from tuya, device working well without hot problem I flashed with openbeken and no problem happend But after flashed to esphome it hot and so hot Both of tuya s06 and 06 pro same problem Can you check ? Thank so much
I have s06 pro, working for a few months already, and no issues.
esphome:
name: s06-pro
friendly_name: s06-pro
libretiny:
board: generic-bk7231t-qfn32-tuya
framework:
version: dev
# Enable Home Assistant API
api:
encryption:
key: ""
ota:
password: ""
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
fast_connect: true
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "S06-Pro Fallback Hotspot"
password: ""
captive_portal:
# Enable logging
logger:
baud_rate: 0
uart:
rx_pin: D6
tx_pin: D7
baud_rate: 9600
tuya:
status_led:
pin:
number: D5
sensor:
- platform: "tuya"
id: temp
name: "Temperature"
sensor_datapoint: 101
device_class: "temperature"
unit_of_measurement: "°C"
state_class: "measurement"
accuracy_decimals: 1
filters:
- multiply: 0.1
- offset: -0.8
- platform: "tuya"
name: "Humidity"
sensor_datapoint: 102
device_class: "humidity"
unit_of_measurement: "%"
state_class: "measurement"
accuracy_decimals: 1
remote_transmitter:
id: tamtr
pin:
number: D17
carrier_duty_percent: 50%
Hi @rakalex How about receiver PIN
@duongvanba
remote_receiver: id: rcvr pin: number: D4 inverted: True mode: input: True pullup: true tolerance: 55%
climate:
also no issue, I use it as Climate for my Mitsubishi AC.
Can you check my config, i added it to hass successfully but can not control my AC. Although it can detect remote control and change status on hass when I press button on my remote
esphome:
name: s06-pro
friendly_name: s06-pro
libretiny:
board: generic-bk7231t-qfn32-tuya
framework:
version: dev
# Enable logging
logger:
level: DEBUG
baud_rate: 0
# Enable Home Assistant API
api:
encryption:
key: "v1G36UtqDwcIZAuc3zjIH3KUI76RfKqUeRqkulwiasv="
# services:
# - service: send_raw_command
# variables:
# command: int[]
# then:
# - remote_transmitter.transmit_raw:
# code: !lambda 'return command;'
ota:
password: "c4f533ef8d08ec2b89f3a5b0bab95514"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
fast_connect: true
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "S06-Pro Fallback Hotspot"
password: ""
captive_portal:
uart:
rx_pin: D6
tx_pin: D7
baud_rate: 9600
tuya:
status_led:
pin:
number: D5
sensor:
- platform: "tuya"
id: temp
name: "Temperature"
sensor_datapoint: 101
device_class: "temperature"
unit_of_measurement: "°C"
state_class: "measurement"
accuracy_decimals: 1
filters:
- multiply: 0.1
- offset: -0.8
- platform: "tuya"
name: "Humidity"
sensor_datapoint: 102
device_class: "humidity"
unit_of_measurement: "%"
state_class: "measurement"
accuracy_decimals: 1
remote_receiver:
id: ir_rx
pin:
number: D4
inverted: True
mode: INPUT_PULLUP
dump: raw
remote_transmitter:
pin:
number: D17
carrier_duty_percent: 50%
id: ir_tx
climate:
- platform: climate_ir_lg
name: "Kiara master climate"
supports_cool: True
supports_heat: True
transmitter_id: ir_tx
receiver_id: ir_rx
header_high: 3265us
header_low: 9856us
It looks correct to me, maybe Esphome doesn't support your AC? I have 2 AC, one is Mitsubishi Electric - it's working, another Mitsubishi Heavy Industries - which doesn't support it.
So strange But i've successfully controled my AC with libretinty esphome before How do you start docker container for building firmware, manual build or pull from github Can you help me checking my docker-compose file
version: '3'
services:
libretiny-esphome:
container_name: esphome-libretiny
image: ghcr.io/libretiny-eu/libretiny-esphome-docker:latest
volumes:
- ./libretiny-esphome/configs:/config:rw
- /etc/localtime:/etc/localtime:ro
restart: always
privileged: false
network_mode: host
I think it pull from
ghcr.io/libretiny-eu/libretiny-esphome-docker:latest
but i think this link is not newest version
@duongvanba I'm using it as Addon on HA.
After flash with libretiny, my S06 so hot, tooo hot How can we fix that, is this problem with my chip or software problem ? Thank