logo elektroda
logo elektroda
X
logo elektroda

[BK7231N] AUBESS WiFi MiNi Smart Switch With Energy Monitor 16A - templates, gpio, configuration

zmrzlinabelektroda 1992 2
ADVERTISEMENT
  • #1 20760030
    zmrzlinabelektroda
    Level 2  
    Circuit board of the AUBESS WiFi MiNi Smart Switch with enclosure.

    AUBESS WiFi MiNi Smart Switch With Energy Monitor 16A is a simple device with a Button, Relay, LED and toggle switch terminal.

    Here are configs/templates:

    openBK:
    Code: JSON
    Log in, to see the code

    If you have BL0942 version, remember to use startDriver BL0942

    esphome:
    
    uart:
      id: uart_bus
      rx_pin: RX1
      tx_pin: TX1
      baud_rate: 4800
      stop_bits: 1
    
    sensor:
      - platform: bl0942
        uart_id: uart_bus
        voltage:
          name: 'BL0942 Voltage'
        current:
          name: 'BL0942 Current'
        power:
          name: 'BL0942 Power'
          filters:
            multiply: -1
        energy:
          name: 'BL0942 Energy'
        frequency:
          name: "BL0942 Frequency"
          accuracy_decimals: 2
    
        update_interval: 10s
    
    
    
    switch:
      - platform: gpio
        name: Relay
        pin: P26
        id: relay
    
    
    binary_sensor:
    
    
      - platform: gpio
        name: "gum_ohisje"
        pin:  
          number: 23
          inverted: true
          mode: INPUT_PULLUP
        on_press:
          then:
            - switch.toggle: relay
    
      - platform: gpio
        name: "Vhod-S1"
        pin:  
          number: 24
          inverted: true
          mode: INPUT_PULLUP
        on_press:
          then:
            - switch.toggle: relay
    
    status_led:
      pin:
        number: P8
        inverted: true
  • ADVERTISEMENT
  • #2 20760323
    belveder79
    Level 4  

    I got 2 shipments with those and those work great, whether you do a brain-transplant with ESP to tasmotize them or with OpenBeken. I just received another shipment yesterday, and they are entirely different:

    Aubess Mini Smart Switch circuit board with its casing. Close-up of a circuit board with an integrated circuit and component markings.

    They moved the Beken straight onto the main plate, so no more transplant possible. Need to figure out the pin config now to flash them with OpenBeken... any ideas?
ADVERTISEMENT