owned this note
owned this note
Published
Linked with GitHub
# Button
**Mandatory:**
- Big push-button top, 10 USD: https://www.adafruit.com/product/1185
- Battery (flo has spares)
- Chip, 14 USD (worst case flo has a spare): https://www.adafruit.com/product/5395
- Case (flo will 3D print)
**Optional:**
Audio output (instead of car horn, to play announcement)
- Amp, 6 USD: https://www.adafruit.com/product/5769
- Speaker, 2 USD: https://www.adafruit.com/product/1314
- Speaker cable, 1 USD: https://www.adafruit.com/product/3922
Coloring to indicate who touched it:
- we can use oil painting colors - they take very long to dry (like more than 72h)
# Home Automation
None of this is technically mandatory but if someone takes the button to the bathroom and secretly pushes it, we might not notice.
On the plus side, all of this can be left in place for regular home automation (like switching the lights from your phone or having the on a timer)
**Mandatory:**
**Central brain** aka a small computer that runs the HomeAssistant software - this allows us to control the lights and receive the button trigger event from the button box. We can also use to control the music.
(Note for flo for later: https://github.com/sle118/squeezelite-esp32)
- Raspberry Pi 4 with either 2GB or ideally 4GB RAM: 45-55 CAD, https://www.canakit.com/raspberry-pi-4-2gb.html
- Power supply, SD Card, case no included and bought separately
- Alternative: RPi 4 Kit that comes with everything for 110 CAD - this option is better for a long-term installation, like as permanent Home Assistant Hub, https://www.canakit.com/raspberry-pi-4-starter-kit.html
- Alternative: If you don't want to keep the home assistant setup
**Optional:**
The **ceiling spotlights** are near impossible to replace (or make smart) directly, so the best thing we can do is change the light switches. Each light switch can be replaced with a smart switch that allows both physical (offline) turning on/off and smart switching (on your phone or on a timer).
I'd recommend at least one of these.
If I counted correctly, there's 5 light switches that we could use for this: Kitchen/living room has 3 switches, TV room has 1 switch, yoga room has 1 switch.
- Each light switch can be replaced with this smart switch, 20 USD https://www.athom.tech/blank-1/us-key-switch-for-esphome
- Alternatively, we could replace the 3 kitchen light switches with a touch control like this, 23 USD: https://www.athom.tech/blank-1/us-touch-switch-for-esphome The upside is that this gives you control over 3 ceiling lights for the price of one and you can still turn them on/off physically offline. Downside is that the touch switch feels kinda cheap and it's not as fun as the hard physical click you get from the other button.
Flo also has spare **RGB LED strips** (I think I have 1m length LEDs left) that we can set up across the house and integrate with HomeAssistant. I can lend that to you or you can buy a new strip if you like from Adafruit. Each meter is 15 USD and you can cut it into up to 60 segements and put these into different spots connected by wires: https://www.adafruit.com/product/2541
In the **living room**, there's a **lamp** with 3 standard E27 light bulbs. We can either
- turn it on/off with a power plug adapter, keeping the current light bulbs (flo has a spare)
or
- replace the 3 light bulbs with smart RGB LEDs that can do white light or colored light (integrated with HomeAssistant), each bulb is 15 USD: https://www.athom.tech/blank-1/15w-color-bulb-for-esphome
---
So in summary,
- Minimal setup: Button box without speaker, Flo lends you an old raspberry pi as temporary HomeAssistant controller, and Flo lends you a couple LED strips around the house that turn red or that turn on when someone pushes the button, ~25 USD
- Medium setup: Button box with speaker, 1-2 light switches are smart, permanent Raspberry Pi 4 that serves as HomeAssistant hub, 34 USD (box) + 55 CAD (RPi) + 23 USD (3-gang smart touch light switch in the kitchen)
- ULTIMATE setup: Button box with speaker, 5 smart light switches, permanent RPi4 as hub, 3 RGB light bulbs in the living room, 34 USD (box) + 110 CAD (RPi) + 100 USD (5x smart switches) + 45 USD (3x RGB LEDs)