💾 Archived View for hektor.flounder.online › diet-coke-button.gmi captured on 2024-08-24 at 23:40:54. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

-=-=-=-=-=-=-

The Diet Coke Button

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

images/diet_coke_button.jpg

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'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

files.

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