devices.esphome.io
Kogan Smart Air Purifier 2S
Kogan Smart Air Purifier 2S
Device Type: miscElectrical Standard: auBoard: esp8266
Flashing Tips (Home Assistant Thread).
GPIO Pinout
Pin | Function |
---|---|
GPIO13 | RX |
GPIO15 | TX |
Basic Config
substitutions: name: kogan-air-purifier
esphome: name: "${name}" platform: ESP8266 board: esp01_1m
wifi: ssid: "YourSSID" password: "YourWifiPassword"
# Enable logginglogger: baud_rate: 0
# Enable Home Assistant APIapi:
# Allow OTA updatesota:
uart: #Serial connection between the TYWE1S and the Tuya MCU - id: uart_0 rx_pin: GPIO13 tx_pin: GPIO15 baud_rate: 9600
#Tuya component: https://esphome.io/components/tuya.htmltuya: uart_id: uart_0
#Tuya Fan: https://esphome.io/components/fan/tuya.htmlfan: - platform: tuya name: ${kogan-air-purifier} switch_datapoint: 1 #ON, OFF speed_datapoint: 4 # 0 = off, 1 = sleep, 2 = high, 3 = auto speed_count: 3
number: #19 Timer Mode - platform: tuya name: "${name} Timer Mode" number_datapoint: 19 # 0 = off, 1 = 4hr, 2 = 8hr min_value: 0 max_value: 2 step: 1
#20 Timer Countdown - platform: tuya name: "${name} Timer Countdown Mins" number_datapoint: 20 #counts down from inital timer mode value of 4hr = 240min or 8hr = 480min min_value: 0 max_value: 480 step: 1
#101 LED Brightness - platform: tuya name: "${name} LED Brightness" number_datapoint: 101 #0 = off, 1 = mid, 2 = high min_value: 0 max_value: 2 step: 1
#22 Air Quality Level - platform: tuya name: "${name} Air Quality Level" #Only seems to report air quality when in auto mode. 0 = Good, 1 = Yellow/Poor ,2 = Red/Bad number_datapoint: 22 min_value: 0 max_value: 2 step: 1#5 Unknown# - platform: tuya# name: "${name} DP5 Unknown" #Unknown. Could be % filter Left?# number_datapoint: 5# min_value: 0# max_value: 200# step: 1
#11 Unknown# switch:# - platform: tuya# name: "${name} DP11 Unknown" #Unknown. Could maybe be reset button or wifi connection?. Have not tested.# entity_category: config# switch_datapoint: 11