-- Leo's gemini proxy

-- Connecting to tilde.pink:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;

The Diet Coke Button


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


Picture of the Diet Coke Button


Description


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.


Details


I decided to go with a NodeMCU implementation with the ESPHome firmware given that it's easy to work with and I'm familiar with it. The downside is that the button requires a power cord, limiting placement and authenticity as the original is wireless. The schematic and ESPHome YAML configuration are included in project files.


Build Pictures


Top

Back

Botton

Inside

Protoboard Closeup


Project Files


Schematic diagram


ESPHome Configuration File


Save this is diet_coke_button.yaml or whatever you prefer


esphome:
  name: diet_coke_button
  platform: ESP8266
  board: nodemcuv2

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

# Enable logging
logger:

# Enable Home Assistant API
api:
  password: "password456"

ota:
  password: "password456"


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

Art, 2021-01-26

-- Response ended

-- Page fetched on Fri Apr 19 21:54:07 2024