BlitzHome AP2501  Air Purifier (BH-AP2501) 
  
  
    
  Available from:
      
      
    Usa.banggood.com
    
    Aliexpress.com
    
    
    
    
    
    
    
    
      
  Manufacturer:
      
      
      Blitzwolf.com
      
    
    
    
      Install method:
    
    
      
      Replace module
      
    
    
    
| GPIO # | Component | 
|---|---|
| GPIO00 | None | 
| GPIO01 | Tuya Tx | 
| GPIO02 | None | 
| GPIO03 | Tuya Rx | 
| GPIO04 | None | 
| GPIO05 | None | 
| GPIO09 | None | 
| GPIO10 | None | 
| GPIO12 | None | 
| GPIO13 | None | 
| GPIO14 | None | 
| GPIO15 | None | 
| GPIO16 | None | 
| GPIO17 | None | 
Configuration
  
  {"NAME":"BH-AP2501","GPIO":[0,2272,0,2304,0,0,0,0,0,0,0,0,0,0],"FLAG":0,"BASE":54}
  
  
  
  
  
  
  
    
    
      
  
  
  
  
  
  
  
  
  
  This device uses 
  WBR3
  
  module which needs to be replaced with
  
  ESP8685-WROOM-01, ESP-12, ESP-C3-12F, ESP-12H, ESPC2-12 or ESP8684-WROOM-01C. Read more about module replacement in a detailed guide.
  
  
  
  
    
				
Functions
| dpID | Function | Datatype | Additional Comments | 
|---|---|---|---|
| 1 | Power on/off | Boolean | Main power | 
| 2 | PM 2.5 sensor | Integer | Reporting in µg/m³, 499 being max value. Tasmota v12.0.2.4+ is needed to support fnId 80 | 
| 3 | Working Mode | Enum | 0 = Sleep , 1 = Auto, 2 = Manual | 
    
| 4 | Fan Speed | Enum | 0 = Speed 1, 1 = Speed 2 | 
    
| 5 | Filter life | Integer | Reports in percentage remaining | 
| 6 | Ionizer | Boolean | Ionizer control | 
| 9 | UV Sterilization | Boolean | UV Sterilization control | 
| 11 | Reset Filter | Boolean | Not reported with TuyaSend0 | 
    
| 19 | Preset Timer | Enum | 0 = off, 1 = 1h, 2 = 2h, 3 = 4h, 4 = 8h | 
    
| 21 | Air Quality | Enum | 0 = excellent, 1 = good, 2 = poor | 
    
Configuration
Please read TuyaMCU article to understand the terminology and configuration process.
A basic configuration option:
For PM 2.5 sensor using fnId 80 you need Tasmota v12.0.2.4+
Based on esphome configuration