Skip to content

Instantly share code, notes, and snippets.

@talmuth
talmuth / README.md
Last active August 18, 2023 23:44
Installation of Unify & Synology MIBs on Debian

Install snmp

> sudo apt-get -y install snmp 

Install snmp-mibs-download

> sudo apt-get -y install snmp-mibs-downloader

See [here][1] if you are getting the following error

@talmuth
talmuth / window_controlled_heater.yaml
Last active June 8, 2021 00:41 — forked from quallenbezwinger/window_controlled_heater.yaml
Homeassistant blueprint to switch heater on or off depending on window or door sensor
blueprint:
name: window controlled heater
description: turn on/off heater when opening/closing window or door sensor
domain: automation
# forked_from: https://gist.github.com/dirkk1980/8ba849b480844b32e9ca484e6de5d552
source_url: https://gist.github.com/talmuth/cecf9197c480e870dd7ceeff3fc6f19f
input:
heating_target:
name: Heater
selector:
.gb_Ba.gb_Ea.gb_j,
.gb_Ba.gb_Ea.gb_j .gb_va,
.gb_db.gb_Ea.gb_j,
.gb_zb.gb_j.gb_Fb {display: none !important;}
.gb_yb.gb_Fb.gb_j {min-width: auto !important;}
--totals=yes
--tag-relative=yes
--exclude=_fixtures
--exclude=.svn
--exclude=.git
--exclude=temlates_c
--exclude=*min.js
--exclude=*.html
--exclude=*.htm
[color]
ui = auto
diff = auto
branch = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold