Skip to content

Instantly share code, notes, and snippets.

View salimkayabasi's full-sized avatar
🎯
Representy ⚡️

Salim KAYABASI salimkayabasi

🎯
Representy ⚡️
View GitHub Profile
@salimkayabasi
salimkayabasi / phantomjs_intaller.sh
Last active February 19, 2016 13:24 — forked from wbotelhos/phantomjs_intaller.sh
Installing PhantomJS 2.1.1 on Ubuntu x64/x86
#!/bin/bash
sudo apt-get remove phantomjs
sudo unlink /usr/local/bin/phantomjs
sudo unlink /usr/local/share/phantomjs
sudo unlink /usr/bin/phantomjs
cd /usr/local/share
@salimkayabasi
salimkayabasi / .gitignore
Created August 22, 2017 09:34
common .gitignore configuration
.idea/
config/runtime.*
config/*.json
jest/
build/
dist/
### Windows template
# Windows thumbnail cache files
Thumbs.db
blueprint:
name: Window Open - Climate Off/On (Flexible Notification)
description: |
Automatically turns off a climate device when a window sensor is opened, and returns
it to 'auto' mode when the window is closed. Notification handling is provided by the user.
domain: automation
source_url: https://gist.github.com/salimkayabasi/f387083bf2f07a12cdf39da9f8e30dc0
input:
window_sensor:
name: Window/Door Sensor
blueprint:
name: Ecovacs Paused Resume (with Retry Limit)
description: Automatically triggers the Ecovacs robot to continue if it pauses, but stops retrying after a set limit. Sends notifications for all events.
domain: automation
source_url: https://gist.github.com/salimkayabasi/c6d3faeead35b1e42cc625ddd285fac2
input:
vacuum_entity:
name: Ecovacs Robot Vacuum
description: The entity_id of your Ecovacs robot vacuum (e.g., vacuum.my_robot).
selector:
blueprint:
name: Low battery level detection & notification (Interval Check) v2.1
description: Regularly test all sensors with 'battery' device-class for crossing
a certain battery level threshold and if so execute an action. The check runs at a configurable
interval and sends a notification via a selected service.
domain: automation
input:
threshold:
name: Battery warning level threshold
description: Battery sensors below threshold are assumed to be low-battery (as