Skip to content

Instantly share code, notes, and snippets.

@jfarcher
jfarcher / phs1z2m.yaml
Last active November 3, 2022 21:20
Phillips Hue Dimmer Z2M Blueprint
blueprint:
name: Z2M - Hue Dimmer switch 4 buttons
description: 'Use the individual buttons of the Hue Dimmer Switch to control an action by either a click or a long press.
'
domain: automation
input:
dimmer:
name: Hue Dimmer switch
description: Hue Dimmer switch to use (Zigbee2mqtt Action Sensor)
selector:
@jfarcher
jfarcher / setup-taiga-centos.sh
Last active September 23, 2016 10:57 — forked from sink66/setup-taiga-centos.sh
Taiga.io minimum install & run commands / CentOS7.2
#!/bin/bash
# How to use
# 1. Replace the "YOURIP" to yourIP
# 2. Run at the root -> source setup-taiga-centos.sh
yum install -y gcc autoconf flex bison libjpeg-turbo-devel
yum install -y freetype-devel zlib-devel zeromq-devel gdbm-devel ncurses-devel
yum install -y automake libtool libffi-devel curl git tmux
yum install -y libxml2-devel libxslt-devel
@jfarcher
jfarcher / kodi-message.py
Last active August 7, 2016 22:04
Update XBMC/KODI Video Library
settings = {
'hostname': '192.168.0.250',
'port': '80',
'username': 'xbmc',
'password': 'xbmc'
}
http_address = 'http://%s:%s/jsonrpc' % (settings['hostname'], settings['port'])
Verifying that +jonarcher is my blockchain ID. https://onename.com/jonarcher