Skip to content

Instantly share code, notes, and snippets.

View marco44's full-sized avatar

Marc Cousin marco44

View GitHub Profile
@marco44
marco44 / TRV-Windows_Sync.yaml
Last active February 9, 2024 15:28
TRV-Windows Sync
blueprint:
name: TRV-Windows Sync
description: Turn off TRV(s) on window(s) open
domain: automation
input:
window_entity:
selector:
entity:
domain:
- binary_sensor
@marco44
marco44 / fence_virtualbox
Created February 6, 2017 16:43
fence virtualbox for pacemaker
#!/usr/bin/perl
# A virtualbox fence agent for cman and pacemaker, using VBoxManage.
# Author:
# klwang (http://klwang.info)
# Note:
# authorized_keys configuration are required
# just for test, enjoy it!
use Data::Dumper;
use Getopt::Std;