Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 26/10/2024
- # Calibrated against 1800 W Hot air blower.
- # For 20 Amp CT Clamp:
- # gain_pga: 2X
- # gain_voltage: 15118
- # gain_ct: 18833
- # For 100 Amp CT Clamp:
- # gain_pga: 2X
- # gain_voltage: 15118
- # gain_ct: 18833
- # For 100 Amp CT Clamp:
- esphome:
- name: "meterbox"
- friendly_name: Meterbox
- esp32:
- board: esp32dev
- framework:
- type: arduino
- # Enable logging
- logger:
- # Enable Home Assistant API
- api:
- encryption:
- key: "ESRg66QaqKiqZTI1Zl/5kzRAoVBu4wkRiaFyNFc+mQE="
- ota:
- - platform: esphome
- wifi:
- ssid: !secret wifi_ssid
- password: !secret wifi_password
- # Enable fallback hotspot (captive portal) in case wifi connection fails
- ap:
- ssid: "meterbox"
- password: "2OXIbYoVYti8"
- captive_portal:
- spi:
- clk_pin: 18
- miso_pin: 19
- mosi_pin: 23
- sensor:
- - platform: atm90e32
- cs_pin: 5
- id: chip1 #Optional
- phase_a:
- voltage:
- name: "Line Voltage Sub House"
- current:
- name: "Current Sub House"
- power:
- name: "Active Power Sub House"
- gain_voltage: 15118
- gain_ct: 30614
- # phase_b: # This CT-Clamp is connected, but the circuit from the RCD does not appear to be connected to anything!
- # current: # See note on phone.
- # name: "Current 15A GPO"
- # power:
- # name: "Active Power 15A GPO"
- # gain_voltage: 15188
- # gain_ct: 18833
- phase_c: # This is RCD marked "Power". It's wired to top GPO in meter box and the GPOs in the north garden.
- current:
- name: "Current North Garden and Meter Box GPO"
- power:
- name: "Active Power North Garden and Meter Box GPO"
- gain_voltage: 15118
- gain_ct: 18833
- # frequency:
- # name: "EMON Line Frequency"
- line_frequency: 50Hz
- current_phases: 3
- gain_pga: 2X
- update_interval: 2s
- enable_offset_calibration: True
- - platform: atm90e32
- cs_pin: 4
- id: chip2 #Optional
- phase_a: # This is the CB marked "Main Switch". It should be total current to/from the grid.
- voltage:
- name: "Voltage Grid"
- current:
- name: "Current Grid"
- power:
- name: "Active Power Grid"
- forward_active_energy:
- name: Energy from grid
- reverse_active_energy:
- name: Energy to grid
- gain_voltage: 15118
- gain_ct: 30614
- # phase_b:
- # current:
- # name: "EMON CT5 Current"
- # power:
- # name: "EMON Active Power CT5"
- # gain_voltage: 15118
- # gain_ct: 18833
- # phase_c:
- # current:
- # name: "EMON CT6 Current"
- # power:
- # name: "EMON Active Power CT6"
- # gain_voltage: 15118
- # gain_ct: 18833
- # frequency:
- # name: "EMON Line Frequency-2"
- line_frequency: 50Hz
- current_phases: 3
- gain_pga: 2X
- update_interval: 2s
- enable_offset_calibration: True
- button:
- - platform: atm90e32
- id: chip1
- run_offset_calibration:
- name: "Chip1 - Run Offset Calibration"
- clear_offset_calibration:
- name: "Chip1 - Clear Offset Calibration"
- # - platform: atm90e32
- # id: chip2
- # run_offset_calibration:
- # name: "Chip2 - Run Offset Calibration"
- # clear_offset_calibration:
- # name: "Chip2 - Clear Offset Calibration"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement