Skip to content

Instantly share code, notes, and snippets.

View zsarnett's full-sized avatar

Zack Barett zsarnett

View GitHub Profile
@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 / 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,) %}
<!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>
/*
2020 Vinyl Development, LLC d/b/a Zudy
@author Zack Arnett <[email protected]>
*/
import config from "./config.js";
var BTCA = new BTCAClient({
handle: "VINYL_REQUEST_LAUNCHER",
cache: true,