Skip to content

Instantly share code, notes, and snippets.

View halomakes's full-sized avatar
🚗
zoom-zoom

Alex Griffith halomakes

🚗
zoom-zoom
View GitHub Profile
@halomakes
halomakes / readme.md
Created October 14, 2022 18:58
The Lounge Uploads Proxy with Inline MOV files

Proxies lounge uploads directory while adding headers to .MOV files (coming from Apple devices) to make them open in browser instead of downloading as an attachment.

@halomakes
halomakes / _DSC1304.JPG
Last active July 19, 2023 18:43
AirGradient Pro ESPHome Configuration
_DSC1304.JPG
@halomakes
halomakes / Dockerfile
Last active August 30, 2022 17:20
FileBrowser Docker
FROM alpine:latest as unzipper
RUN apk add unzip wget curl
RUN mkdir /download/
RUN mkdir /download/output/
RUN wget -O /download/file.zip https://filebrowser.linuxforphp.net/files/filebrowser-8.0.2.zip
RUN unzip /download/file.zip -d /download/output/
FROM php:7.4-apache
RUN apt update
@halomakes
halomakes / switchbot-plug-mini-esphome.yml
Last active July 18, 2022 13:53
SwitchBot Plug Mini ESPHome
substitutions:
device_name: switchbot-plug-1
device_description: Energy Monitoring Smart Plug (W1901400)
friendly_name: SwitchBot Plug Mini
esphome:
name: ${device_name}
comment: ${device_description}
platformio_options:
board_build.flash_mode: dio
@halomakes
halomakes / set-zen32-indicator-for-light.yml
Last active February 15, 2024 18:51
Blueprint: Set Indicator on a ZEN32 Scene Controller button Based on Light Status
blueprint:
name: Set Indicator Light on Scene Controller
description: For Zooz ZEN32. Sets the indicator color when light is off or dimmed.
domain: automation
input:
zooz_switch:
name: Zooz Switch
description: List of available Zooz ZEN32 switches.
selector:
device:
@halomakes
halomakes / control-light-with-zen32.yml
Last active February 16, 2024 19:20
Blueprint: Control a light with a button on a Zooz ZEN32 Scene Controller
blueprint:
name: Control Light with Scene Controller
description: For Zooz ZEN32. Toggle a light with a single press, set it to max brightness with double-tap, night-light mode with hold.
domain: automation
input:
zooz_switch:
name: Zooz Switch
description: List of available Zooz ZEN32 switches.
selector:
device: