Skip to content

Instantly share code, notes, and snippets.

@andrelung
andrelung / README.markdown
Created January 28, 2018 17:32 — forked from jasoncodes/README.markdown
Run VMware Fusion headless at Mac OS system startup

Run VMware Fusion headless at Mac OS system startup.

I heard you like headless VMs on your Mac so I wrote this script for your launchds.

Assumptions

  • Tested on Mac OS X 10.6.4 with VMware Fusion 2.0.5 and 3.1.1.
  • A interactive user automatically logs into the system at startup. I had some issues trying to get this running without an interactive user logged in. I automatically log in for Airfoil Speakers anyway.
  • Your virtual machines live in /Virtual Machines
blueprint:
name: Low moisture level detection & notification for all plant sensors
description: Regularly test all plant sensors with 'moisture' crossing
under their threshold.
domain: automation
input:
time:
name: Time to test on
description: Test is run at configured time
default: '10:00:00'
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.
@andrelung
andrelung / home-assistant_set-all-climates-to-target-temp-with-delay.yaml
Last active January 25, 2024 10:29
home-assistant_set-all-climates-to-target-temp-with-delay
blueprint:
name: Set-all-climates-to-target-temp-with-delay
domain: script
input:
target:
name: Target
description: Contains several climate entities
selector:
target:
entity: