Skip to content

Instantly share code, notes, and snippets.

@TheGroundZero
TheGroundZero / homeassistant_telenet_digicorder_IR.yaml
Last active November 24, 2020 11:11
Configuration for a Broadlink RM4 Pro in Home Assistant, including some RF codes for Telenet Digicorder (black remote w/out voice).
remote:
- platform: broadlink
host: 192.168.xxx.xxx
mac: 'ab:cd:ef:12:34:56':
switch:
- platform: broadlink
host: 192.168.xxx.xxx
mac: 'ab:cd:ef:12:34:56'
switches:
@TheGroundZero
TheGroundZero / nodered-notify.json
Created January 27, 2021 16:36
Node-RED Notify sub-flow
[{
"id": "cb290db1.265c48",
"type": "subflow",
"name": "Notify",
"info": "",
"category": "",
"in": [{
"x": 40,
"y": 100,
"wires": [{
@TheGroundZero
TheGroundZero / nodered-vuilnisophaling.json
Created January 27, 2021 16:45
Node-RED Notification for garbage collection
[{
"id": "cff3f2b8.ed05c8",
"type": "tab",
"label": "Vuilnis ophaling",
"disabled": false,
"info": ""
}, {
"id": "3653f0c5.b43408",
"type": "inject",
"z": "cff3f2b8.ed05c8",
@TheGroundZero
TheGroundZero / nodered-rhasspy_announcement
Created January 27, 2021 16:55
Node-RED subflow for Rhasspy notifications
[{
"id": "2489ff2a.b70c5",
"type": "subflow",
"name": "Rhasspy announcement",
"info": "",
"category": "",
"in": [{
"x": 40,
"y": 60,
"wires": [{

Keybase proof

I hereby claim:

  • I am thegroundzero on github.
  • I am sequr (https://keybase.io/sequr) on keybase.
  • I have a public key ASB95OjvR5seIgCuBpXpfmVv4uv3fSNEgVXc76ofXJAk7Ao

To claim this, I am signing this object:

@TheGroundZero
TheGroundZero / espcam.yaml
Last active April 14, 2021 13:22
ESPcam ESP32-S AI-Thinker camera
# Board: https://www.aliexpress.com/item/32807887667.html
# FTDI flasher: https://www.aliexpress.com/item/32650148276.html
# Use 3.3V from FTDI for flashing
# Use 5V 1A+ power supply for powering the board
substitutions:
esphome_name: espcam_example
camera_name: Camera example
esphome:
@TheGroundZero
TheGroundZero / nodered_lights_motionsensor.json
Last active May 6, 2021 11:20
Node-RED flow controlling lights, triggered by motion sensor and overruled by physical switch
[
{
"id": "459b89f5.f3b8f8",
"type": "server-state-changed",
"z": "7798af19.c13fb",
"name": "Beweging",
"server": "2ce15169.23b9de",
"version": 1,
"exposeToHomeAssistant": false,
"haConfig": [
@TheGroundZero
TheGroundZero / ha_webradio.yaml
Last active August 13, 2021 15:14
Webradio player for Home Assistant, with dropdown list and input field
# Requirements
# - Media extractor integration - https://www.home-assistant.io/integrations/media_extractor/
# - Mini media player (HACS) - https://github.com/kalkih/mini-media-player
# - A smart speaker, e.g. Xiaomi Mi Smart Speaker - https://s.click.aliexpress.com/e/_A0zLJq
# - Some URLs for web radio stations
# - (optional) Images/logos of the radio stations
# configuration.yaml
# ------------------
@TheGroundZero
TheGroundZero / ha_afvalbeheer.yaml
Created August 20, 2021 06:51
Custom sensor based of Pippyn's Afvalbeheer integration
---
# Waste collection integration
#
# Home Assisant sensor component for Afvalbeheer
# https://github.com/pippyn/Home-Assistant-Sensor-Afvalbeheer
#
# sensor:
- platform: afvalbeheer
wastecollector: RecycleApp # Change this to match your waste collector
resources:
@TheGroundZero
TheGroundZero / hyperion_fix_mmap.sh
Last active August 30, 2021 09:32
Fix Hyperion mmap() issue with WS281x LEDs
# ssh pi@<ip.of.raspberry.pi> # password: raspberry
# Run Hyperion service as root
sudo systemctl disable --now hyperion@pi.service
sudo systemctl enable --now hyperion@root.service
# Created symlink /etc/systemd/system/multi-user.target.wants/hyperion@root.service → /etc/systemd/system/hyperion@.service.
# Update Message of the Day to check correct service
sudo sed -i 's/pi.service/root.service/' /etc/update-motd.d/10-hyperbian