Skip to content

Instantly share code, notes, and snippets.

View vhsdream's full-sized avatar

vhsdream

  • Canada
  • 10:29 (UTC -04:00)
View GitHub Profile
@tetele
tetele / README.md
Last active July 3, 2024 14:25
ESPHome config - Onju Voice/Home as a voice assistant satellite in Home Assistant
@tetele
tetele / README.md
Last active February 16, 2024 23:30
# Custom sentences and intents for chaining and delaying intents

Here are a couple of custom sentences and custom intents that will handle the following scenarios in Home Assistant's Assist:

  • "turn on the bathroom light and then turn on the bathroom fan"
  • "turn off the living room heating in 10 minutes"

Installation

  • copy the contents of custom_sentences.yaml to <your config folder>/custom_sentences/en/chain_delay.yaml
  • append the contents of configuration.yaml to <your config folder>/configuration.yaml
  • restart HA (mandatory to reload the custom sentences)

After the restart, in any Assist session (voice or text) you can chain instructions using "and"/"and then"/"then" or instruct HA to do something after some time.

@HarmJ0y
HarmJ0y / PowerView-3.0-tricks.ps1
Last active July 22, 2024 11:58
PowerView-3.0 tips and tricks
# PowerView's last major overhaul is detailed here: http://www.harmj0y.net/blog/powershell/make-powerview-great-again/
# tricks for the 'old' PowerView are at https://gist.github.com/HarmJ0y/3328d954607d71362e3c
# the most up-to-date version of PowerView will always be in the dev branch of PowerSploit:
# https://github.com/PowerShellMafia/PowerSploit/blob/dev/Recon/PowerView.ps1
# New function naming schema:
# Verbs:
# Get : retrieve full raw data sets
# Find : ‘find’ specific data entries in a data set