Skip to content

Instantly share code, notes, and snippets.

View rubin110's full-sized avatar
🦩
Flamingo

Rubin Abdi rubin110

🦩
Flamingo
View GitHub Profile
# Hey! This is the docker-compose file for DeepHarbor.
# It defines all the services that make up the DeepHarbor application,
# including the database, main application service, dispatcher,
# business logic services, worker services, and the gateway service.
# Are you having weirdness with your containers? Try running:
# docker-compose down -v
# to remove all containers and volumes, then start fresh with:
# docker-compose up --build -d
# Also, if you _really_ want to start fresh, run:
---
#
# HA Default Red
#
ha_default_red:
modes:
dark:
primary-color: "#ff0000"
accent-color: "#e34040"
2025-03-01 17:34:33.471254698 [INFO] Preparing new go2rtc config...
2025-03-01 17:34:33.471451390 [INFO] Preparing Frigate...
2025-03-01 17:34:33.471847126 [INFO] Starting NGINX...
2025-03-01 17:34:33.475263994 [INFO] No TLS certificate found. Generating a self signed certificate...
2025-03-01 17:34:33.507017360 [INFO] Starting Frigate...
2025-03-01 17:34:33.749940309 [INFO] Starting go2rtc...
2025-03-01 17:34:33.821603907 17:34:33.821 INF go2rtc platform=linux/amd64 revision=b2399f3 version=1.9.2
2025-03-01 17:34:33.821606595 17:34:33.821 INF config path=/dev/shm/go2rtc.yaml
2025-03-01 17:34:33.822116351 17:34:33.822 INF [api] listen addr=:1984
2025-03-01 17:34:33.822117987 17:34:33.822 INF [rtsp] listen addr=:8554
2025-02-28 21:53:56.503871737 [INFO] Preparing new go2rtc config...
2025-02-28 21:53:56.503955305 [INFO] Preparing Frigate...
2025-02-28 21:53:56.504352560 [INFO] Starting NGINX...
2025-02-28 21:53:56.507807391 [INFO] No TLS certificate found. Generating a self signed certificate...
2025-02-28 21:53:56.541504001 [INFO] Starting Frigate...
2025-02-28 21:53:56.818154407 [INFO] Starting go2rtc...
2025-02-28 21:53:56.891509411 21:53:56.891 INF go2rtc platform=linux/amd64 revision=b2399f3 version=1.9.2
2025-02-28 21:53:56.891512158 21:53:56.891 INF config path=/dev/shm/go2rtc.yaml
2025-02-28 21:53:56.891854714 21:53:56.891 INF [api] listen addr=:1984
2025-02-28 21:53:56.891856392 21:53:56.891 INF [rtsp] listen addr=:8554
substitutions:
name: sunroom-atom-echo
friendly_name: "Sunroom Atom Echo"
micro_wake_word_model: okay_nabu # alexa, hey_jarvis, hey_mycroft are also supported
esphome:
name: ${name}
name_add_mac_suffix: true
friendly_name: ${friendly_name}
min_version: 2025.2.0
@rubin110
rubin110 / docker-compose.yaml
Created February 20, 2025 00:43
SearXNG with MullVad VPN for search engine aggregation
# version: "3.7"
# Docker Compose config for SearXNG running through a VPN via MullVad
# This stack puts together a virtual network under 172.89.0.0/24 subnet,
# brings up gluetun which VPN connects to MullVad, redis for SearXNG, and
# finally SearXNG frontend. The end result is that you can access SearXNG
# locally, but all traffic SearXNG generates when aggregating results from other
# search engines will be sent through the VPN, effectively preventing 3rd parties
# (advertisers) from tracking your search habits. Keep in mind all traffic generated
@rubin110
rubin110 / air-1-aqi.yaml
Last active November 22, 2024 07:12
Generate AQI from PM2.5 on the great Apollo Automation AIR-1!
Generate AQI from PM2.5 on the great Apollo Automation AIR-1!
# https://apolloautomation.com/products/air-1
# https://wiki.apolloautomation.com/books/air-1
# https://github.com/ApolloAutomation/AIR-1
# This can also be applied to basically any other PM2.5 sensor.
# ESPHome doesn't provide a simple means to generate an AQI value from a PM2.5 sensor.
# AQI is subjective based on where you live in the world, so this is something you need
# to put together by hand. This can be done within ESPHome (as shown here) or a template
# https://style.oversubstance.net/2021/08/diy-use-an-ikea-vindriktning-air-quality-sensor-in-home-assistant-with-esphome/
# https://github.com/Hypfer/esp8266-vindriktning-particle-sensor
logger:
baud_rate: 0
i2c:
sda: 4
scl: 5
scan: True
@rubin110
rubin110 / blinds.yaml
Last active June 16, 2025 23:36
ESPHome blinds with a stepper motor
# ESPHome config to control veneitan style blinds where a stepper motor has been attached to the spinning rod that lits the blinds one direction or other.
# 3D printed model by sidoh:
# https://www.printables.com/model/22186-retrofitted-motor-mount-for-blinds-automation
# Cobble a bunch of code from the designer's config:
# https://github.com/sidoh/esphome/tree/master
# This is setup to use a ULN2003 driver. Also a bit of modification because saving the end_posotion
# value didn't make sense.
#
# If it's not clear, this device is setup with 2 steppers for 2 different sets of blinds, left and right
# Please pay attention to which direction your stepper motor is turning during the intial config