Skip to content

Instantly share code, notes, and snippets.

View PaulHibbertMasterOfTheUniverse's full-sized avatar

PaulHibbertMasterOfTheUniverse

View GitHub Profile
@PaulHibbertMasterOfTheUniverse
PaulHibbertMasterOfTheUniverse / bilresa_hybrid_dimmer.yaml
Last active March 2, 2026 16:56
Creates a Home Assistant automation for the Bilresa dimmer button from Ikea
blueprint:
name: IKEA BILRESA - Final Manual Speed
description: "Exact replica of manual automation speed. Cures the 'Missing input' error."
domain: automation
input:
bilresa_device:
name: BILRESA Remote
selector:
device: {}
scene1_light:
@PaulHibbertMasterOfTheUniverse
PaulHibbertMasterOfTheUniverse / shelly_blu_rc_button_4_zha.yaml
Created February 9, 2026 14:41
Shelly BLU 4 button Home Assistant automation creator
blueprint:
name: Shelly BLU RC Button 4 ZB (ZHA) – 4 buttons (single/double/triple/hold)
description: >
ZHA blueprint for the Shelly BLU RC Button 4 ZB.
Lets you select your remote, then assign actions for:
single press, double press, triple press, and hold-release for each of the 4 buttons.
Note: “hold” here is the HOLD-RELEASE event (scene_id 11). The repeating “step” spam is ignored.
domain: automation
input:
remote_device:
@PaulHibbertMasterOfTheUniverse
PaulHibbertMasterOfTheUniverse / gist:9d3d7990d101ed1be400795700ccc9cf
Created August 22, 2025 08:34
An automation to send rich text (picture) notifications for cameras
blueprint:
name: Camera Motion Snapshot Notification (Simple / Fixed Tag)
description: >
On motion: take a snapshot and send a mobile app notification that
uses a fixed Android tag (per camera) and a channel/group so Android
recognizes updates as the same notification thread. No custom snooze logic.
domain: automation
input:
motion_entity:
name: Motion binary sensor
@PaulHibbertMasterOfTheUniverse
PaulHibbertMasterOfTheUniverse / gist:e4da731e5a151da55343a488d6191ca4
Last active October 26, 2025 11:32
Automation to automatically reload a video feed in Fully Kiosk in the background to keep it "warm"
blueprint:
name: Fully Kiosk – Warm Background Reload (v2)
description: >
Keeps Fully Kiosk preloaded on Fire TV by refreshing the last URL at a set interval
while Fully is not the foreground app. Uses a per-minute trigger + modulo check
(because time_pattern doesn't accept templates).
domain: automation
input:
fire_tv_entity:
name: Fire TV Media Player
@PaulHibbertMasterOfTheUniverse
PaulHibbertMasterOfTheUniverse / fully_kiosk_focus_no_reload.yaml
Last active August 12, 2025 06:19
Home Assistant Blueprint to create a script that shares cameras to TV's
blueprint:
name: Fully Kiosk – Focus camera view (no reload unless needed)
description: >
Bring Fully Kiosk to the foreground on Fire TV and only load a Lovelace
camera view if it's different from the last one shown (tracked via a text helper).
Includes conditional wake so it only sends KEYCODE_WAKEUP if the Fire TV looks asleep.
domain: script
input:
fire_tv_player:
name: Fire TV media_player
@PaulHibbertMasterOfTheUniverse
PaulHibbertMasterOfTheUniverse / gist:99e4bf0bfece13ac2f660aa14417c979
Created August 5, 2025 11:36
YAML to automatically switch scenes based on position in a room
alias: eMotion Max - Room Modes by Zone
description: >-
Turns on Studio mode when entering Studio zone and Chillout mode when entering
Desk zone (with 20 second delay to prevent quick switches back to studio).
triggers:
- entity_id:
- binary_sensor.lnlinkha_e04b41016e260000000000009cac0000_4
to: "on"
id: studio_zone_entered
trigger: state
Instruction For How To Control PC Or *ANY* Mac With Alexa Or Hey Siri: https://youtu.be/7PwrdtZ-yT0
Step 1: Install the latest Python if you don't already have it, in Windows you'll also need to tick add Python.exe to path during installation
Step 2: Create directories for your Automation files to live in (MAC: MacintoshHD/Users/YOURUSERNAME/HomeAssistantAppLauncher / PC: C://Users/YOURUSERNAME/HomeAssistantAppLauncher)
Step 3: Download my Python file from https://drive.google.com/drive/folders/1TQZDuA4PY08c4pdXZbkcmTau8CEV3abw?usp=sharing and drag the py file ... MAC: mac_app_launcher.py PC: win_app_launcher.py to the folder you created
Step 4: Open up Terminal/Command prompt and type the following and press enter to get to the right folder MAC: cd ~/HomeAssistantAppLauncher PC: cd C:\Users\YOURUSERNAME\HomeAssistantAppLauncher
In Terminal run the script we downloaded by typing the following and pressing Enter MAC: python3 mac_app_launcher.py PC: python win_app_launcher.py
@PaulHibbertMasterOfTheUniverse
PaulHibbertMasterOfTheUniverse / gist:836be2b7b8a041c52c5d5d5244db46da
Last active July 24, 2025 06:28
Automator script for Mac to automatically start Paul's HTTP server
#!/bin/bash
# Run the Python script in the background, redirecting output to log files
/usr/bin/python3 ~/HomeAssistantAppLauncher/mac_app_launcher.py > ~/HomeAssistantAppLauncher/app_launcher_stdout.log 2> ~/HomeAssistantAppLauncher/app_launcher_stderr.log &
@PaulHibbertMasterOfTheUniverse
PaulHibbertMasterOfTheUniverse / gist:a2a9ee480304a4b8b8bac2c6e5b6696d
Last active July 24, 2025 06:29
Script wrapper for Mac to automatically start Paul's HTTP server
cat << 'EOF' > ~/HomeAssistantAppLauncher/start_app_launcher.sh
#!/bin/bash
# Run the Python script in the background, redirecting output to log files
/usr/bin/python3 ~/HomeAssistantAppLauncher/mac_app_launcher.py > ~/HomeAssistantAppLauncher/app_launcher_stdout.log 2> ~/HomeAssistantAppLauncher/app_launcher_stderr.log &
EOF