Skip to content

Instantly share code, notes, and snippets.

View langerma's full-sized avatar
🔥
Working from home

DataPoints langerma

🔥
Working from home
View GitHub Profile
@jbuncle
jbuncle / build-patched-kernel.sh
Last active September 23, 2021 12:20
Compile and install Linux Kernel with patch for Lenovo Legion 5 15ARH05 Touchpad
#! /bin/bash
#
# Lenovo Legion 5 Patch Utility
#
# This script aims to simplify the application of various patches required for Lenovo Legion 5 15ARH05.
# For convenience you can run this script with `bash <(curl https://gist.githubusercontent.com/jbuncle/7dacde983b3c33b3b816b10e2fd2308a/raw/build-patched-kernel.sh)`
#
# References:
# - Original bug and related patch: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1887190
# - Touchpad patch file: https://www.spinics.net/lists/linux-input/msg69458.html
@owenb321
owenb321 / epaper_sensor_update.yaml
Created February 5, 2021 16:36
Home Assistant sensors used in epaper display
# Automation to publish sensor data to MQTT
- id: publish_epaper_sensors
alias: Publish epaper sensors
initial_state: true
mode: parallel
max: 50
trigger:
- platform: state
entity_id: input_boolean.waveshare_ota_mode
- platform: state

Create a collector

Requirements

Step by step

  • Create a file called mainifest.yaml with contents