- 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
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 |
It's surprisingly simple to notarize an app using FNA. The structure of the app bundle doesn't follow macOS best practices but at the end of it you do get an app bundle that users can open up on macOS Catalina without any issues with Gatekeeper.
So here are the simple steps:
-
Build your macOS .app bundle using MonoKickstart. You probably already have this and I'm not going to explain that here.
-
Create a file called
mygame.entitlements
(the name really doesn't matter) with these contents:<?xml version="1.0" encoding="UTF-8"?>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.