Skip to content

Latest commit

 

History

History
44 lines (37 loc) · 785 Bytes

ace_3000_type_260.md

File metadata and controls

44 lines (37 loc) · 785 Bytes

ACE 3000 Type 260

UART configuration: 300 Baud, 7E1

Example

external_components:
  - source: github://mampfes/esphome_obis_d0

uart:
  id: uart_bus
  tx_pin: 1
  rx_pin: 3
  baud_rate: 300
  data_bits: 7
  parity: EVEN
  stop_bits: 1

obis_d0:
  id: mysml
  uart_id: uart_bus
  optimize_size: true

sensor:
  - platform: obis_d0
    name: "Energy"
    obis_d0_id: mysml
    obis_code: "1.8.0"
    unit_of_measurement: kWh
    accuracy_decimals: 1
    device_class: energy
    state_class: total_increasing
    value_regex: "\\d{6}\\.\\d{1}\\*kWh"
    # Filter, b/c sometimes NaN is received
    filters:
      - filter_out: nan

# ACE energy meter needs to be triggered manually to send out data
interval:
  - interval: 5min
    then:
      - uart.write: "/?!\r\n"