Skip to content

Instantly share code, notes, and snippets.

View cscashby's full-sized avatar

Christian Ashby cscashby

  • Babelsoft
  • Buckinghamshire, UK
View GitHub Profile
@cscashby
cscashby / up111.yml
Last active October 20, 2022 23:22 — forked from Bouni/sp111.yml
ESPHome config for Gosund UP111 powerplugs (EDIT KEYS!)
---
substitutions:
devicename: "plug-XXX"
upper_devicename: "Plug XXX"
# Higher value gives lower watt readout
current_res: "0.002452"
# Lower value gives lower voltage readout
voltage_div: "939"
# GPIO config
sel_pin: GPIO12