ESPHome analog meter
Converting an analog Western Electric meter to be used as a smart home gauge with ESPHome
Components
- NodeMCU ESP32
- Hammond 1455C801 enclosure
- DC barrels
- 10k potentiometer
- 3D-printed panel
- 3D-printed mounting bracket
- Alien Tape
ESPHome config
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);
Gallery