Skip to content

Instantly share code, notes, and snippets.

@WilliamTaack
WilliamTaack / shelly_smart_bulb_control.js
Created October 10, 2025 12:13 — forked from camerongray1515/shelly_smart_bulb_control.js
Shelly Smart Bulb Control with Fallback
// Shelly 1 Mini Gen4 script
// Input: detached push button (input:0)
// Relay: switch:0
// Virtual boolean: id=200 ("Confirm")
let SW_INPUT = 0;
let SW_OUTPUT = 0;
let CONFIRMED_ID = 200;
let TIMEOUT_MS = 1000;
_ _ _ ____ _ _
| | | | __ _ ___| | __ | __ ) __ _ ___| | _| |
| |_| |/ _` |/ __| |/ / | _ \ / _` |/ __| |/ / |
| _ | (_| | (__| < | |_) | (_| | (__| <|_|
|_| |_|\__,_|\___|_|\_\ |____/ \__,_|\___|_|\_(_)
A DIY Guide
@WilliamTaack
WilliamTaack / Appx-Uninstaller.ps1
Created August 6, 2023 19:06 — forked from ThioJoe/Appx-Uninstaller.ps1
A basic script for uninstalling a list of app packages in Windows 10/11, including those pre-installed with Windows
# A basic script for uninstalling app packages in Windows 10/11, including those pre-installed with Windows
#
# Note: If you get an error about the script not being allowed to run, the below command will change the execution polciy temporarily for one session only:
# Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process
#
# To execute the script, open a Powershell window to the directory with the script and run the following command using your scripts file name (and don't forget the .\ )
# .\WhateverScriptName.ps1
# -------------------------------------------------------------------------------------------
# Script by ThioJoe - https://github.com/ThioJoe

Setting up Emporia Vue 2 whole-home power monitor with ESPHome

Changelog
  • 2022-07-30: add home assistant instructions & MQTT FAQ.
  • 2022-07-16: mention using UART adaptor's RTS pin, thanks to @PanicRide
  • 2022-07-02: mention mqtt is now supported
  • 2022-04-30: bump software version number to 2022.4.0
  • 2022-05-04: mention 64-bit ARM issues in FAQ
@WilliamTaack
WilliamTaack / unifi_ssl_import.sh
Created March 16, 2021 19:49 — forked from stevejenkins/unifi_ssl_import.sh
Import and use SSL certificates (including Let's Encrypt) with the Ubiquiti UniFi Controller on Unix/Linux Systems
# MOVED TO https://github.com/stevejenkins/unifi-linux-utils

Keybase proof

I hereby claim:

  • I am WilliamTaack on github.
  • I am williamtaack (https://keybase.io/williamtaack) on keybase.
  • I have a public key whose fingerprint is B87F ACE7 20B2 CF18 5620 51B6 758E 9BD2 11FA 4FBF

To claim this, I am signing this object: