Skip to content

Instantly share code, notes, and snippets.

SqyD / hh24-badge.yaml
Last active April 9, 2024 19:33
ESPHome for HackerHotel 2024 Badge
name: hh24-badge
friendly_name: HH24 badge
board: esp32-c6-devkitc-1
variant: esp32c6
type: esp-idf
SqyD /
Last active December 22, 2023 11:42
Trafasi: Laundry monitor


Simple laundry monitor


  • Raspberry Pi Zero
  • lechacal RPIZ CT3T1 power monitor hat for Raspberry Pi Zero
  • Two sct-013-000 clamps to measure the Washer and Dryer power consumption


  • Using Raspberry OS lite
SqyD /
Last active December 12, 2023 11:16
Leoladio: Simple Internet Radio


Simple Internet Radio

An easy to use Internet Radio. Just 5 push buttons to select different radio stations. Based on a Raspberry Pi and Moode Audio

Components used

  • A basic electronics case
  • Raspberry Pi 3b+ (any other model will do)
SqyD / wiccon-badge.yaml
Created November 28, 2023 09:14
Connect the Wiccon 2023 Badge to Home Assistant
# Simple configuration to connect the event badge for Wiccon 2023 to Home Assistant through Esphome
# More info:
# Wiccon:
# Wiccon 2023 Badge:
# ESPHome:
# Home Assistant:
name: wiccon-badge
friendly_name: wiccon badge
SqyD / showermic
Created May 18, 2021 21:31
Quick and dirty Python script to allow a handsfree recording, based on
#!/usr/bin/env python3
import struct
import pyaudio
import pvporcupine
import wave
import time
porcupine = None
pa = None
SqyD / ESPHome_big_red_rick_roll_button.yaml
Last active September 5, 2019 20:15
The Big Red Rick Roll Button Project
name: big_button
platform: ESP8266
board: d1_mini
ssid: "WifiSSID
password: "yourwifipassword"
# Enable logging
SqyD / ventilation.yaml
Last active April 14, 2023 07:48
ESPHome PWM fan using a Wemos D1 mini lite
# Controlling my Buva Qstream ventilation system using:
# * A Wemos D1 mini lite (an ESP8266 based board)
# * A Wemos power shield so I can power the Wemos from the ventilation units 12V supply.
# * A simple PWM to 10V convertor like this:
# * The amazing ESPHome firmware tool:
# * Home Assistant to tie it all together:
# I used to use a Raspberry Pi and some Python code for this. See
# The Wemos approach seems more stable and doesn't require external USB power.
SqyD /
Last active November 23, 2022 07:30

MQTT client to control a PWM fan from a raspberry pi

A simple python script to control a fan from Home Assistant.

Note: I have replaced this Raspberry based solution with an Wemos/ESPHome based one you can find here:

  • Installing dependencies on a stock Raspbian install:
sudo apt-get update
SqyD / acquia-pipelines.yml
Last active November 22, 2016 11:37
Acquia Pipelines script to assemble from various git sources
version: 1.0.0
- build:
type: script
- bash -e scripts/
SqyD / config.yml
Created October 10, 2016 15:59
Parse YAML from bash with sed and awk.
adapter: mysql2
encoding: utf8
database: my_database
username: root
- somepackage
- anotherpackage