Skip to content

Instantly share code, notes, and snippets.

@Raphael909
Raphael909 / occupancy_lights.yaml
Last active September 24, 2022 18:26
Turn on a light when Occupancy is detected.
blueprint:
name: Occupancy-activated Light
domain: automation
input:
occupancy_entity:
name: Occupancy Sensor
selector:
entity:
domain: binary_sensor
device_class: occupancy
@Raphael909
Raphael909 / pfSense config.md
Created March 7, 2022 19:59 — forked from deergod1/pfSense config.md
pfSense Easy Configuration Guide for HP t620 Plus

pfSense Simple Home Configuration - 2.4.3 / 2.4.4

Starting from Scratch

This is my personal guide for installing pfSense. Hope you find it useful. I made these notes to capture the details of my "install from scratch" to ensure I didn't miss important details. Also, I'm trying build my network with discrete "disposable" components that make the system mutable and less rigid. It does not cover installing any packages like Squid or Suricata as that's way beyond the scope of a basic, functional install.

I migrated from an environment that was at various times running Tomato Toastman 1.28 or Asuswrt-Merlin on Netgear and ASUS routers across four "access points" (one always acting as the firewall/gateway, the rest as APs). It was OK pre-gigabit, but had roaming problems, and I was using large Wifi routers with most of the features disabled. Also, I found that I could easily swamp the network and tank VOIP and Wifi Calling without even trying. The only fix was to throttle everything by using Bandwidth Limit

@Raphael909
Raphael909 / zha_aqara_wireless_switch.yaml
Last active December 29, 2020 20:34
Blueprint Aqara wireless switch
blueprint:
name: ZHA - Aqara Wireless Remote Switch
description: Automate your Xiaomi Aqara Wireless Remote Switch using ZHA events.
domain: automation
input:
aqara_mini_switch:
name: Aqara Wireless Switch
description: Aqara Wireless Switch to use
selector:
device:
version: '3.1'
services:
unifi:
container_name: unifi
restart: unless-stopped
image: linuxserver/unifi
volumes:
- /srv/docker/unifi:/config
environment:
- PGID=0