- Remove back cover with philips scredriver and instert provided battery
- In home assistant select a ZHA always-on zigbee device - such as a powered light or signal repeater in the same room the shortcut button will end up in
- Select "Add device via this device"
- Press the pair button 4 times on the back of the shortcut button
- Wait
- If using an On/Off switch and you want to bind it to a bulb for non-controller dependant control (i.e will work if home assistant is down)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Validate input is present and is 1-4 | |
[[ $1 && $1 != *[^1-4]* ]] || { echo "Invalid input." >&2; exit 1; } | |
# Free TTY from any process reading it | |
lsof -t /dev/ttyUSB0 | xargs -r kill -9 | |
# Set output to File Descriptor 3 | |
exec 3</dev/ttyUSB0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POWER TOGGLE = JgDMAFUfDRANEQwfDR4rHg0QDRANEA0QDRANEA4QDRANEA0QGxANEA0QDh4cEA0QDR4cHg4QDRANEA0QDRAbEA0fDRANAAjTVSANEA0QDR4NHyofDg8NEA0QDRANEA0QDRANEA0QDRAcEA0QDRANHhwQDRANHx4cDRANEA0QDRANERsQDR4ODw4ACNNYHA0QDRANHw0eKh8NEA0QDREMEQwRDBANEA4QDRANEBsQDRANEA0fHBANEA0eHB4NEA4QDRANEA0QHA8NHw0QDQANBQAAAAAAAAAAAAAAAA== | |
POWER ON = JgDGAFcdEA4PDg8cDxwtHBAODw4PDg8ODw4PDg8ODw4PDg8OHg4PDg8ODw4PDg8ODw4PHB4cEA4PDg8OHhweHB4cEAAI0FgdDw4PDg8dDxwtHA8ODw4PDg8ODw4PDg8OEA0QDg8OHQ4PDg8OEA0QDRAODw4PHB4cDw4QDRAOHRweHB4dDwAI0VcdEA0QDg8cDxwtHBANEA4PDg8ODw4PDg8ODw4PDg8OHg4PDg8ODw4PDg8ODw4PHB4cEA4PDg8OHhweHB4cEAANBQAA | |
POWER OFF = JgDAAFceDRAPDg8cDx0sHBAODw4PDg8ODw4PDg8ODw4PDg8OHg4PDg0QDxweDg8ODx0dHQ8ODw4PDh0dHB4PDhwACOJXHQ4PDw4PHQ8cLRwQDQ4PDg8OEA4PDg8ODw4PDw4ODx0PDg8ODw4dHg4ODw4dHh0ODw4PDg8cHh0dDg8dAAjgWBwQDg8ODxwQHCwcEA4PDg8ODw4PDg8ODw4PDg8ODw4eDg8ODw4PHB4ODw4QHB4cDw4PDg8OHhweHBAOHQANBQAAAAAAAAAA | |
PLAY = JgDGAFgcEA4PDg8cEBwsHBAODw4PDg8ODw4PDg8ODw4PDhANHg4PDg8ODxwfDRANEBweHA8ODw4QDRANHhweDg8dDwAI0VcdDw4PDhAcDxwtHA8OEA0QDg8ODw4PDg8ODw4PD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# INPUT - Logstash listens on port 8514 for these logs. | |
# | |
input { | |
udp { | |
port => "8514" | |
type => "syslog-cisco" | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import paho.mqtt.client as mqtt | |
import time | |
import board | |
import neopixel | |
led = neopixel.NeoPixel(board.D18, 15) | |
bright = 0.75 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Clear the destination bundle and files if they already exist | |
echo "[INFO] Clearing existing files..." | |
rm -Rf "../Jellyfin.app" | |
rm -Rf "../Jellyfin.dmg" | |
rm -Rf "Jellyfin.app" | |
rm -Rf "Jellyfin.dmg" | |
# Create the bundle and folders we need |
codesign --entitlements Jellyfin_Server.entitlements --verbose --force --deep -o runtime --sign "Developer ID Application: Anthony Lavado" "Jellyfin Server.app/Contents/Resources/server/ffmpeg"
codesign --entitlements Jellyfin_Server.entitlements --verbose --force --deep -o runtime --sign "Developer ID Application: Anthony Lavado" "Jellyfin Server.app/Contents/Resources/server/jellyfin"
codesign --entitlements Jellyfin_Server.entitlements --verbose --force --deep -o runtime --sign "Developer ID Application: Anthony Lavado" "Jellyfin Server.app/Contents/Resources/server/ffprobe"
codesign --entitlements Jellyfin_Server.entitlements --verbose --force --deep -o runtime --sign "Developer ID Application: Anthony Lavado" "Jellyfin Server.app/Contents/Resources/server/System.Net.Security.Native.dylib"
codesign --entitlements Jellyfin_Server.entitlements --verbose --force --deep -o runtime --sign "Developer ID Application: Anthony Lavado" "Jellyfin Server.app/Contents/Resources/server/System.Security.Cryptograp
I hereby claim:
- I am anthonylavado on github.
- I am anthonylavado (https://keybase.io/anthonylavado) on keybase.
- I have a public key ASCkAuR2pjPMwG9m3undPvNnxBNrYzzVp_V1G0BfKuUVuwo
To claim this, I am signing this object:
NewerOlder