Skip to content

Instantly share code, notes, and snippets.

View florian-asche's full-sized avatar

Florian Asche florian-asche

View GitHub Profile
---
# waste_collection_schedule source configuration
waste_collection_schedule:
sources:
- name: abfallnavi_de
args:
service: gt2
ort: Gütersloh
strasse: WILHELM-LEHMANN-STR.
@florian-asche
florian-asche / valetudo-re-notification.yaml
Created December 24, 2023 15:37
Valetudo-RE Notification
blueprint:
name: 'Valetudo-RE: Notifications'
description: Sends a notification after a successful clean-up run and on error.
source_url: https://github.com/mundschenk-at/ha-valetudo-blueprints/blob/main/yaml/automation/valetudo-notifications.yaml
domain: automation
homeassistant:
min_version: 2022.6.0
input:
vacuum:
name: Vacuum Robot
@florian-asche
florian-asche / custom_playbook.yml
Created June 19, 2023 20:52
Ansible Playbook for Pihole and OpenWRT
# pihole
- hosts: storage
gather_facts: false # needed for os detection
ignore_unreachable: true
roles:
- { role: own_pihole_dns_entries, tags: ["pihole_custom", "pihole_conf"] }
# openWRT
# DONE: Packages und System komplett
@florian-asche
florian-asche / paperless-ngx.yml
Created October 7, 2022 12:24
Docker-Compose: Paperless-NGX
version: '3.4'
networks:
internal:
external:
name: florian-dockernetwork
services:
broker:
container_name: paperless-redis
###################
# RGBWW - DEVICES #
###################
define dev_tasmota_rgbww_5411 MQTT2_DEVICE
attr dev_tasmota_rgbww_5411 archetypeFilter TASMOTA-RGBW
attr dev_tasmota_rgbww_5411 alias RGBW - Licht - Schlafzimmer - Bett
attr dev_tasmota_rgbww_5411 room Schlafzimmer
attr dev_tasmota_rgbww_5411 group Global-RGB
attr dev_tasmota_rgbww_5411 deviceID 5411
@florian-asche
florian-asche / zigbee_heating_example.pl
Created January 29, 2021 17:00
FHEM - Zigbee Heating Example - Archetype
define dev_zigbee_heating_0x5c0272fffec265a6 MQTT2_DEVICE
attr dev_zigbee_heating_0x5c0272fffec265a6 archetypeFilter ZIGBEE-HEATING
attr dev_zigbee_heating_0x5c0272fffec265a6 alias Heizung - Schlafzimmer
attr dev_zigbee_heating_0x5c0272fffec265a6 room Alle
attr dev_zigbee_heating_0x5c0272fffec265a6 group Heizung
attr dev_zigbee_heating_0x5c0272fffec265a6 deviceID 0x5c0272fffec265a6
attr dev_zigbee_heating_0x5c0272fffec265a6 readingList zigbee2mqtt/0x5c0272fffec265a6:.* { my %h;;;; my $temp = $EVENT;;;; $temp =~ s/,?("(holidays|workdays)":.([^]]+))./$h{$2}=$3/ge;;;; $EVENT =~ s/,?("(holidays|workdays)":.([^]]+)).//g;;;; my $h2 = json2nameValue($EVENT,'',$JSONMAP);;;; %h = (%h,%$h2);;;; \%h }
#####################
@florian-asche
florian-asche / gist:13115cf2ee9c472fd53ba4a5d2709a95
Last active December 13, 2020 14:13
FHEM - Zigbee Remote Switch for multiple rooms
#################
# ZIGBEE-SWITCH #
#################
define lightscene_zigbeeswitch_dummy dummy
attr lightscene_zigbeeswitch_dummy alias Zigbee Switch Dummy
attr lightscene_zigbeeswitch_dummy group Zigbee
attr lightscene_zigbeeswitch_dummy room System
attr lightscene_zigbeeswitch_dummy webCmd ON:OFF
define lightscene_zigbeeswitch LightScene lightscene_zigbeeswitch_dummy
@florian-asche
florian-asche / FHEM.txt
Last active January 12, 2020 18:52
Tasmota Luani MQTT
###########
# TASMOTA #
###########
#DbLogExclude: ENERGY_Voltage,Time,Uptime,Vcc,Wifi_RSSI
#event-on-change-reading: POWER,ENERGY_Power,ENERGY_Total,LWT
# attr MyDevice1 DbLogExclude .*
# attr MyDevice1 DbLogInclude state...
@florian-asche
florian-asche / error.txt
Last active December 23, 2019 10:20
Fhem - archetype - error #1
2019.12.23 11:17:01.054 3: archetype (mqtt_rgb) - starting inheritance inheritors
2019.12.23 11:17:01.245 3: Please define Licht first
2019.12.23 11:17:01.246 3: attr Licht DbLogExclude sensor,setup,result : Please define Licht first
2019.12.23 11:17:01.250 3: Please define Licht first
2019.12.23 11:17:01.251 3: attr Licht event-min-interval (ENERGY.*|POWER|Vcc|Wifi_RSSI|state|precence|sensor|setup|result):1800 : Please define Licht first
2019.12.23 11:17:01.255 3: Please define Licht first
2019.12.23 11:17:01.256 3: attr Licht event-on-change-reading (ENERGY.*|POWER|Vcc|Wifi_RSSI|state|precence|sensor|setup|result) : Please define Licht first
2019.12.23 11:17:01.260 3: Please define Licht first
2019.12.23 11:17:01.261 3: attr Licht group RGB : Please define Licht first
@florian-asche
florian-asche / gist:c4d3e1b259139f33e875502be02bc385
Last active December 21, 2019 13:44
FHEM - MQTT - RGB - ARCHETYPE
###############
# TASMOTA RGB #
###############
define dev.gosund.5411 MQTT_DEVICE
setuuid dev.gosund.5411 5d8e9915-f33f-1a24-ced3-87ca5de89661ae74
attr dev.gosund.5411 archetypeFilter RGB
attr dev.gosund.5411 alias RGBW - Schlafzimmer
attr dev.gosund.5411 group RGB
attr dev.gosund.5411 room Licht,Schlafzimmer