Skip to content

Instantly share code, notes, and snippets.

@Hex29A
Hex29A / 2motion_sensors.yaml
Created December 6, 2023 14:43
Two motion sensors blueprint
blueprint:
name: Extend Motion Trigger
description: Extend motion trigger when multiple sensors are triggered.
domain: automation
input:
motion_sensor_1:
name: Motion Sensor 1
description: The first motion sensor.
selector:
Verifying that "hex29a.id" is my Blockstack ID. https://onename.com/hex29a

Keybase proof

I hereby claim:

  • I am hex29a on github.
  • I am hex29a (https://keybase.io/hex29a) on keybase.
  • I have a public key whose fingerprint is 14DB 537F E9BB 6FC8 741C 7168 2023 E219 30C7 6EBF

To claim this, I am signing this object:

@Hex29A
Hex29A / gist:0cbd42472018c2483b8b
Created November 26, 2014 11:43
Post commands to Sony Bravia TV with curl (volume down)
/usr/bin/curl -X POST -d '<?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:X_SendIRCC xmlns:u="urn:schemas-sony-com:service:IRCC:1"><IRCCCode>AAAAAQAAAAEAAAASAw==</IRCCCode></u:X_SendIRCC></s:Body></s:Envelope>' http://ip.to.tv/IRCC