@schrockwell :: now :: dev :: hw :: retro :: misc

ESPHome analog meter

Converting an analog Western Electric meter to be used as a smart home gauge with ESPHome

ESPHome analog meter

Components

ESPHome config

ESP32 pinout
output:
  - platform: esp32_dac
    pin: GPIO25
    id: dac_output

number:
  - platform: template
    name: "My Gauge"
    optimistic: true
    min_value: 0
    max_value: 100
    step: 1
    set_action:
      lambda: |-
        id(dac_output).set_level(x / 100.0);
Internals
Internals
Jammed in the enclosure
Jammed in the enclosure
Mounted to the back of the meter
Mounted to the back of the meter