Device config is now done through lua
This commit is contained in:
@@ -1,66 +0,0 @@
|
||||
openid:
|
||||
base_url: "https://login.huizinga.dev/api/oidc"
|
||||
|
||||
mqtt:
|
||||
host: "olympus.vpn.huizinga.dev"
|
||||
port: 8883
|
||||
client_name: "automation-ares"
|
||||
username: "mqtt"
|
||||
password: "${MQTT_PASSWORD}"
|
||||
tls: true
|
||||
|
||||
ntfy:
|
||||
topic: "${NTFY_TOPIC}"
|
||||
|
||||
presence:
|
||||
topic: "automation_dev/presence/+/#"
|
||||
|
||||
devices:
|
||||
debug_bridge:
|
||||
!DebugBridge
|
||||
topic: "automation_dev/debug"
|
||||
|
||||
living_light_sensor:
|
||||
!LightSensor
|
||||
topic: "zigbee2mqtt_dev/living/light"
|
||||
min: 23000
|
||||
max: 25000
|
||||
|
||||
kitchen_kettle:
|
||||
!IkeaOutlet
|
||||
outlet_type: "Kettle"
|
||||
name: "Kettle"
|
||||
room: "Kitchen"
|
||||
topic: "zigbee2mqtt/kitchen/kettle"
|
||||
timeout: 5
|
||||
remotes:
|
||||
- topic: "zigbee2mqtt/bedroom/remote"
|
||||
- topic: "zigbee2mqtt/kitchen/remote"
|
||||
|
||||
workbench_charger:
|
||||
!IkeaOutlet
|
||||
outlet_type: "Charger"
|
||||
name: "Charger"
|
||||
room: "Workbench"
|
||||
topic: "zigbee2mqtt/workbench/charger"
|
||||
timeout: 5
|
||||
|
||||
workbench_outlet:
|
||||
!IkeaOutlet
|
||||
name: "Outlet"
|
||||
room: "Workbench"
|
||||
topic: "zigbee2mqtt/workbench/outlet"
|
||||
|
||||
living_zeus:
|
||||
!WakeOnLAN
|
||||
name: "Zeus"
|
||||
room: "Living Room"
|
||||
topic: "automation/appliance/living_room/zeus"
|
||||
mac_address: "30:9c:23:60:9c:13"
|
||||
|
||||
hallway_frontdoor:
|
||||
!ContactSensor
|
||||
topic: "zigbee2mqtt/hallway/frontdoor"
|
||||
presence:
|
||||
topic: "automation_dev/presence/contact/frontdoor"
|
||||
timeout: 10
|
||||
@@ -14,121 +14,12 @@ ntfy:
|
||||
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/bedroom"
|
||||
|
||||
# Run the air filter everyday for 19:00 to 20:00
|
||||
schedule:
|
||||
0 0 19 * * *:
|
||||
on:
|
||||
- *air_filter
|
||||
- "bedroom_air_filter"
|
||||
|
||||
0 0 20 * * *:
|
||||
off:
|
||||
- *air_filter
|
||||
- "bedroom_air_filter"
|
||||
|
||||
@@ -15,119 +15,11 @@ ntfy:
|
||||
presence:
|
||||
topic: "automation_dev/presence/+/#"
|
||||
|
||||
devices:
|
||||
debug_bridge:
|
||||
!DebugBridge
|
||||
topic: "automation_dev/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_dev/living/light"
|
||||
min: 23000
|
||||
max: 25000
|
||||
|
||||
living_zeus:
|
||||
!WakeOnLAN
|
||||
name: "Zeus"
|
||||
room: "Living Room"
|
||||
topic: "automation/appliance/living_room/zeus"
|
||||
mac_address: "30:9c:23:60:9c:13"
|
||||
|
||||
&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: 5
|
||||
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: 60
|
||||
|
||||
bathroom_washer:
|
||||
!Washer
|
||||
topic: "zigbee2mqtt/bathroom/washer"
|
||||
threshold: 1
|
||||
|
||||
workbench_charger:
|
||||
!IkeaOutlet
|
||||
outlet_type: "Charger"
|
||||
name: "Charger"
|
||||
room: "Workbench"
|
||||
topic: "zigbee2mqtt/workbench/charger"
|
||||
timeout: 5
|
||||
|
||||
&outlet 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_dev/presence/contact/frontdoor"
|
||||
timeout: 10
|
||||
trigger:
|
||||
devices: ["hallway_lights"]
|
||||
timeout: 10
|
||||
|
||||
|
||||
bedroom_air_filter:
|
||||
!AirFilter
|
||||
name: "Air Filter"
|
||||
room: "Bedroom"
|
||||
topic: "pico/filter/bedroom"
|
||||
|
||||
# schedule:
|
||||
# 0/30 * * * * *:
|
||||
# on:
|
||||
# - *outlet
|
||||
#
|
||||
# 15/30 * * * * *:
|
||||
# off:
|
||||
# - *outlet
|
||||
schedule:
|
||||
# 0/30 * * * * *:
|
||||
# on:
|
||||
# - *outlet
|
||||
#
|
||||
# 15/30 * * * * *:
|
||||
# off:
|
||||
# - *outlet
|
||||
|
||||
Reference in New Issue
Block a user