Skip to content

Instantly share code, notes, and snippets.

@haade-administrator
haade-administrator / automation.yaml
Last active May 19, 2021 12:32
contact sec retour à l'état off d'un relais concerne tuto yunshan
alias: Contact sec Garage
description: 'retour d'état du relais switch on à off au bout de 400ms'
trigger:
- platform: state
entity_id: switch.porte_garage_relais
to: 'on'
condition: []
action:
- delay:
hours: 0
@haade-administrator
haade-administrator / zigbee2mqtt.yaml
Created August 10, 2021 14:48
config /packages zigbee2mqtt
# Input select for Zigbee2mqtt debug level
input_select:
zigbee2mqtt_log_level:
name: Niveau de log
options:
- debug
- info
- warn
- error
initial: info
@haade-administrator
haade-administrator / Grow-R503.yaml
Last active September 11, 2021 14:39
fingerprint grow r503 inclusive esphome home assistant
substitutions:
devicename: grow-r503
friendly_name: Capteur empreintes
device_description: Capteur empreintes grow R503
esphome:
name: $devicename
comment: ${device_description}
platform: ESP8266
board: d1_mini
@haade-administrator
haade-administrator / Zoneminder.yaml
Last active September 16, 2021 12:08
Zoneminder
# Intégration des caméras
camera:
- platform: zoneminder
# Intégration remontée du nombre d'évènements
sensor:
- platform: zoneminder
include_archived: false
# Exemple changement entre deux modes dans ZM ( modes disponibles: Nodect, Mocord, Modect, Record )
@haade-administrator
haade-administrator / yunshan-lysignal.yaml
Last active December 20, 2021 02:33
Integrate yunshan lysignal esp 8266 7 to 30v Input to homeassistant
substitutions:
devicename: esp-yunshan
friendly_name: Porte Garage
device_description: Controle Porte Garage
esphome:
name: $devicename
comment: ${device_description}
platform: ESP8266
board: esp12e
@haade-administrator
haade-administrator / esp-cam.yaml
Last active February 20, 2023 07:47
esp32-cam AI Thinker integration homeassistant esphome
substitutions:
devicename: esp-cam
friendly_name: espcam
esphome:
name: $devicename
esp32:
board: esp32cam
framework:
@haade-administrator
haade-administrator / esp32-cam-frigate.yaml
Last active February 20, 2023 07:47
esp32-cam AI Thinker integration Frigate
ESP32CAM: # Name of camera
ffmpeg:
input_args: -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -use_wallclock_as_timestamps 1 -c:v mjpeg
output_args:
detect: -f rawvideo -pix_fmt yuv420p
record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v libx264 -an
rtmp: -c:v libx264 -an -f flv
inputs:
- path: http://your-ip-address:8080
roles:
@haade-administrator
haade-administrator / 4-way-ha.yaml
Last active February 27, 2023 06:28
création d'un va et vient dans homeassistant avec 4 interrupteurs
blueprint:
name: Synchronize Four States
description: Bind four entities together to act in unison (selected entites must all support the same state values)
domain: automation
input:
switch_1:
name: Entity 1
selector:
entity:
domain: switch
@haade-administrator
haade-administrator / 3-way-ha.yaml
Last active February 27, 2023 06:29
création d'un va et vient dans homeassistant avec 3 interrupteurs
blueprint:
name: Synchronize 3 Way simulate
description: Bind Three switches together to act in unison
domain: automation
input:
switch_1:
name: Switch 1
selector:
entity:
domain: switch
@haade-administrator
haade-administrator / blueprint-irrigation.yaml
Created March 30, 2023 06:36
Blueprint Irrigation et meteo
blueprint:
name: Irrigation contrôlée par les conditions météorologiques
description: Basculer l'irrigation en fonction de la météo locale
domain: automation
input:
wind_sensor:
name: Capteur de vent
description: Sélectionnez un capteur de vent
selector:
entity: