jcallaghan / home-assistant-config

My Home Assistant configuration & documentation.
https://www.jcallaghan.com/
MIT License
173 stars 8 forks source link

Sonoff power for Soldering iron #45

Open jcallaghan opened 4 years ago

jcallaghan commented 4 years ago

Objective

Build a smart switch to operate my soldering iron, fan, and workbench light. Inspired by Jonathan Oxer after watching an episode of Super House.

Ideas

Ingredients

jcallaghan commented 4 years ago

Note: Need to research how to integrate a buzzer and relay using the GPIO. These components may also need a 3D printed case. The GPIO pins aren't accessible on the POWR2 and DUAL2 from what I could see.

jcallaghan commented 4 years ago

Research

Useful ESPHome and Sonoff guides and samples.

jcallaghan commented 4 years ago

Wiring plan

jcallaghan commented 4 years ago

Build and install

image

image

image

image

image

jcallaghan commented 4 years ago

Lovelace configuration

I will mostly use voice to turn on/off my workstation light and soldering iron but I have created a couple of cards in a Lovelace panel to give me insight into the two Sonoffs. The energy graph will help me identify what power the soldering iron draws when idling. I will then use this to trigger an automation to turn off the soldering iron relay.

I think the material design icons rock!

image

jcallaghan commented 4 years ago

Energy data in Grafana

To help me create an automation that turns the soldering relay off I wanted to understand and study the power consumption for a few scenarios. For this, I took off to Grafana.

Scenario Watts Amps
LED light on, USB fan on max power, soldering iron at 480°C 40 0.30
All on, soldering iron on idle 14.5 0.11
Soldering circuit off, LED on 4.2 0.05
All off 0.8 0.04

image

jcallaghan commented 4 years ago

Next level soldering automation

I thought I was 21st century with a smart switch for my soldering iron but this person has taken soldering automation to the next level and added an automatic window opener when using their soldering iron.

image

https://www.facebook.com/groups/2707808076112047/permalink/3253109544915228/