Skip to content

Instantly share code, notes, and snippets.

@lksnyder0
lksnyder0 / hue-remote-dimmer-january-2022.yaml
Last active July 6, 2023 04:19 — forked from codycodes/hue-remote-dimmer-december-2021.yaml
Blueprint to create Home Assistant automations based on Hue Remote Dimmer Button Press/Holds (created using the RWL020 dimmer)
blueprint:
name: Hue Dimmer Remote With Hold
description: |
(Jan 2022 Update) Using a Hue bridge with which a dimmer remote is paired, allows you to configure actions based on said Hue Dimmer Remote
NOTE: tested with RWL020 but may also work with RWL021
domain: automation
source_url: https://gist.github.com/lksnyder0/6ad7bd5db9201f1c26019beb8bbb0ee7
input:
dimmer_device:
name: Dimmer Remote Device
input {
beats {
port => 5044
id => "beats-5044"
}
}
filter {
# Metadata
if [@metadata][beat] {

Keybase proof

I hereby claim:

  • I am lksnyder0 on github.
  • I am lksnyder0 (https://keybase.io/lksnyder0) on keybase.
  • I have a public key whose fingerprint is 7AB3 D798 CA3F 674B 5C22 FC65 5DB4 3516 B9EE AD45

To claim this, I am signing this object:

@lksnyder0
lksnyder0 / AttackerGraphs.py
Last active September 16, 2015 20:18
Linking kippo attackers with graphs
#!/usr/bin/env python3
"""
This is a program to link attackers together. I have designed it to create a
graph from a CSV file containing information from kippo honeypots. The
fields in the CSV can be customized but mine are:
"src_ip","client_country","client_city",username,password,url,filehost,filename,shasum,session,"_time"
These are all available from the version of Kippo available at
https://github.com/micheloosterhof/kippo. I am using splunk to create this