Skip to content

Instantly share code, notes, and snippets.

View magic7s's full-sized avatar

Brad Downey magic7s

  • Laguna Beach, CA
View GitHub Profile
blueprint:
name: Send a notification with camera snapshot when motion is detected with blocking state and URL (or lovelace view) on click, critical or not, collapse or not.
description: >
This automation blueprint creates a camera snapshot if motion is detected
and sends a notification to your phone with the picture.
Optionally you can define a binary sensor that will block the automation from running when state is ON.
For Example do not run when somebody is home (you can use the people_home template example).
Furthermore you have the option to make the notification critical or high priority and to collapse/overwrite or not.
<html>
<head>
<title>Welcome to Public WiFi</title>
</head>
<body>
<h1>Welcome to Public WiFi</h1>
<?php
$base_grant_url = urldecode($_GET['base_grant_url']);
$user_continue_url = urldecode($_GET['user_continue_url']);