Skip to content

Instantly share code, notes, and snippets.

View zsarnett's full-sized avatar

Zack Barett zsarnett

View GitHub Profile
/*
2020 Vinyl Development, LLC d/b/a Zudy
@author Zack Arnett <ZackArnett@zudy.com>
*/
import config from "./config.js";
var BTCA = new BTCAClient({
handle: "VINYL_REQUEST_LAUNCHER",
cache: true,
<!DOCTYPE html>
<html lang="en">
<head>
<script src="https://unpkg.com/btca-client/lib/btca.min.js"></script>
<script type="module" src="app.js"></script>
</head>
<body></body>
</html>
@zsarnett
zsarnett / lovelace.yaml
Created April 24, 2020 16:58
Lovelace YAML
########### Main Dashboard ###############
- badges: []
cards:
- cards:
- content: |
{% if now().month in (1,) %}
## January {{ now().day -}} ,
{% elif now().month in (2,) %}
## February {{ now().day -}},
{% elif now().month in (3,) %}
@zsarnett
zsarnett / OctoPrint_Notification.yaml
Last active May 29, 2023 21:47
Send Notification with Camera Snapshot when 3D Printer is Finished
blueprint:
name: Send a camera snapshot when OctoPrint Printer is Finsihed
description: >
This automation blueprint creates a camera snapshot if OctoPrint Status turns off
and sends a notification to your phone with the picture.
domain: automation
input:
printer:
name: 3D Printer
description: The Printer Device to monitor
@zsarnett
zsarnett / Garage_Open_Notification.yaml
Last active February 14, 2022 04:04
Garage Door Open Notification
blueprint:
name: Send a Notification when the garage door has been open for X min
description: >
This automation blueprint sends a notification to your phone when the garage door as been open for 10 min
domain: automation
input:
garage_device:
name: Garage Device
description: The garage device to monitor
selector:
blueprint:
name: Send TTS to a speaker when motion is sensed once a day
description: >
This automation blueprint sends TTS to a Speaker when motion is sensed once a day. Meaning the automation will only run one time per day
domain: automation
input:
motion_entity:
name: Motion Device
description: The motion device that will trigger the automation
selector:
@zsarnett
zsarnett / custom_greeting_motion_trigger.yaml
Last active May 27, 2022 19:53
Custom Greeting from Motion Blueprint
blueprint:
name: Jarvis Greets you in the morning when you trigger a motion sensor
description: >
This automation blueprint sends TTS to a Speaker when motion is sensed once a day. Meaning the automation will only run one time per day
domain: automation
input:
name:
name: Name you want Jarvis to call you (optional)
description: Jarvis will use this name to address you
default: ''
@zsarnett
zsarnett / light_follow.yaml
Last active December 19, 2022 03:04
Make two lights follow each other
blueprint:
name: "Make two lights follow each other's state and brightness"
description: "This automation blueprint makes it so two lights will always be the same"
domain: automation
input:
light_1:
name: "Light #1"
description: "This will be one of the lights you want to control"
selector:
entity:
@zsarnett
zsarnett / motion_open_blinds.yaml
Last active March 5, 2022 02:55
Open Blinds when motion is detected at a Certain Time of day
blueprint:
name: "Open Blinds when motion is detected at a Certain Time of day"
description: "This Automation has your Blinds open when motion is detected in a room"
domain: automation
input:
motion:
name: "Motion Detector"
description: "This will be the motion detector device that triggers the blinds to open"
selector:
entity:
@zsarnett
zsarnett / Motion_Activate_custom_light.yaml
Last active March 8, 2022 01:29
Turn on light to custom brightness and warmness
blueprint:
name: "Turn on light to custom brightness and warmness"
description: "This Automation lights turn on when motion is detected in a room"
domain: automation
input:
motion:
name: "Motion Detector"
description: "This will be the motion detector device that triggers the lights to turn on"
selector:
entity: