135 lines
2.8 KiB
YAML
135 lines
2.8 KiB
YAML
openid:
|
|
base_url: "https://login.huizinga.dev/api/oidc"
|
|
|
|
mqtt:
|
|
host: "mosquitto"
|
|
port: 8883
|
|
client_name: "automation_rs"
|
|
username: "mqtt"
|
|
password: "${MQTT_PASSWORD}"
|
|
|
|
ntfy:
|
|
topic: "${NTFY_TOPIC}"
|
|
|
|
presence:
|
|
topic: "automation/presence/+/#"
|
|
|
|
devices:
|
|
debug_bridge:
|
|
!DebugBridge
|
|
topic: "automation/debug"
|
|
|
|
hue_bridge:
|
|
!HueBridge
|
|
ip: &hue_ip "10.0.0.146"
|
|
login: &hue_token "${HUE_TOKEN}"
|
|
flags: { presence: 41, darkness: 43 }
|
|
|
|
|
|
living_light_sensor:
|
|
!LightSensor
|
|
topic: "zigbee2mqtt/living/light"
|
|
min: 22000
|
|
max: 23500
|
|
|
|
living_zeus:
|
|
!WakeOnLAN
|
|
name: "Zeus"
|
|
room: "Living Room"
|
|
topic: "automation/appliance/living_room/zeus"
|
|
mac_address: "30:9c:23:60:9c:13"
|
|
broadcast_ip: "10.0.0.255"
|
|
|
|
&mixer living_mixer:
|
|
!KasaOutlet
|
|
ip: "10.0.0.49"
|
|
|
|
&speakers living_speakers:
|
|
!KasaOutlet
|
|
ip: "10.0.0.182"
|
|
|
|
living_audio:
|
|
!AudioSetup
|
|
topic: "zigbee2mqtt/living/remote"
|
|
mixer: *mixer
|
|
speakers: *speakers
|
|
|
|
|
|
kitchen_kettle:
|
|
!IkeaOutlet
|
|
outlet_type: "Kettle"
|
|
name: "Kettle"
|
|
room: "Kitchen"
|
|
topic: "zigbee2mqtt/kitchen/kettle"
|
|
timeout: 300
|
|
remotes:
|
|
- topic: "zigbee2mqtt/bedroom/remote"
|
|
- topic: "zigbee2mqtt/kitchen/remote"
|
|
|
|
|
|
bathroom_light:
|
|
!IkeaOutlet
|
|
type: "IkeaOutlet"
|
|
outlet_type: "Light"
|
|
name: "Light"
|
|
room: "Bathroom"
|
|
topic: "zigbee2mqtt/bathroom/light"
|
|
timeout: 2700
|
|
|
|
bathroom_washer:
|
|
!Washer
|
|
topic: "zigbee2mqtt/bathroom/washer"
|
|
threshold: 1
|
|
|
|
workbench_charger:
|
|
!IkeaOutlet
|
|
outlet_type: "Charger"
|
|
name: "Charger"
|
|
room: "Workbench"
|
|
topic: "zigbee2mqtt/workbench/charger"
|
|
timeout: 72000
|
|
|
|
workbench_outlet:
|
|
!IkeaOutlet
|
|
name: "Outlet"
|
|
room: "Workbench"
|
|
topic: "zigbee2mqtt/workbench/outlet"
|
|
|
|
|
|
hallway_lights:
|
|
!HueGroup
|
|
ip: *hue_ip
|
|
login: *hue_token
|
|
group_id: 81
|
|
scene_id: "3qWKxGVadXFFG4o"
|
|
timer_id: 1
|
|
remotes:
|
|
- topic: "zigbee2mqtt/hallway/remote"
|
|
|
|
hallway_frontdoor:
|
|
!ContactSensor
|
|
topic: "zigbee2mqtt/hallway/frontdoor"
|
|
presence:
|
|
topic: "automation/presence/contact/frontdoor"
|
|
timeout: 900
|
|
trigger:
|
|
devices: ["hallway_lights"]
|
|
timeout: 60
|
|
|
|
|
|
&air_filter bedroom_air_filter:
|
|
!AirFilter
|
|
name: "Air Filter"
|
|
room: "Bedroom"
|
|
topic: "pico/filter/test"
|
|
|
|
# Run the air filter everyday for 19:00 to 20:00
|
|
schedule:
|
|
0 0 19 * * *:
|
|
on:
|
|
- *air_filter
|
|
|
|
0 0 20 * * *:
|
|
off:
|
|
- *air_filter
|