The Diet Coke Button

Recreating the alleged "Diet Coke" button on Trump's Oval Office desk



One of the changes noticed in the Oval Office when Biden took office

was the absence of the "Diet Coke" button. Supposedly visitors would

think it would start nuclear war, but in reality it would just summon

a butler to bring a Diet Coke. Probably the insides were trivial and

just contained the guts off a wireless doorbell, but there is

something magical about a big red button embedded in an ornate wooden

box with the presidential seal and which appeals to the inner child in

all of us. I want to make my own. No one will get me a Diet Coke,

including (and especially) my spouse, so it will connect to

Smartthings/Home Assistant over Z-Wave and make things happen that

don't involve Coke or any other beverages.


I'm deciding to go with a NodeMCU implementation with the ESPHome

firmware for now, given that it's easy to work with and I'm familiar

with it. The downside is that the button will require a power cord,

limiting placement and authenticity as the original is wireless. The

schematic and ESPHome YAML configuration are included in project


Project Files

Schematic diagram

ESPHome Configuration File

Save this is diet_coke_button.yaml or whatever you prefer

  name: diet_coke_button
  platform: ESP8266
  board: nodemcuv2

  ssid: "Stop stealing my internet"
  password: "password123"

# Enable logging

# Enable Home Assistant API
  password: "password456"

  password: "password456"

  - platform: gpio
    id: sw1
    pin: D1
    name: Pushbutton
      - delayed_on: 10ms    

Art, 2021-01-26