Skip to content

Instantly share code, notes, and snippets.

@alexberry
alexberry / automate-ubiquity-ap-leds-homeassistant.md
Last active March 28, 2025 23:17
Automating Ubiquity AP LEDs with Home Assistant & Unifi Network

This is a small guide to set up Unifi AP LED Control using Home Assistant.

Known Supported Hardware

These scripts have been tested as working on the following hardware:

Home Assistant Hosting

@alexberry
alexberry / instance_configs.cfg
Last active March 3, 2023 09:20
GCP Consistent snapshots for linux
# As per https://cloud.google.com/compute/docs/disks/creating-linux-application-consistent-pd-snapshots
# Append to existing file
# /etc/default/instance_configs.cfg
[Snapshots]
enabled = true
timeout_in_seconds = 60
@alexberry
alexberry / westinghouse-ha.ino
Last active August 2, 2022 18:53
Westinghouse 6/ID6 Arduino Home Assistant
#include <ESP8266WiFi.h>
// https://github.com/dawidchyrzynski/arduino-home-assistant
#include <ArduinoHA.h>
// https://github.com/crankyoldgit/IRremoteESP8266
#include <IRremoteESP8266.h>
#include <IRsend.h>
const uint16_t kIrLed = 4;
IRsend irsend(kIrLed);